/* Kredi Başvuru Sistemi - Tailwind destek stilleri */

/* Brand Colors - CSS Custom Properties ile dinamik */
.bg-brand-50 { background-color: var(--brand-50, #eef2ff); }
.bg-brand-100 { background-color: var(--brand-100, #e0e7ff); }
.bg-brand-200 { background-color: var(--brand-200, #c7d2fe); }
.bg-brand-300 { background-color: var(--brand-300, #a5b4fc); }
.bg-brand-400 { background-color: var(--brand-400, #818cf8); }
.bg-brand-500 { background-color: var(--brand-500, #6366f1); }
.bg-brand-600 { background-color: var(--brand-600, #4f46e5); }
.bg-brand-700 { background-color: var(--brand-700, #4338ca); }
.bg-brand-800 { background-color: var(--brand-800, #3730a3); }
.bg-brand-900 { background-color: var(--brand-900, #312e81); }

.text-brand-50 { color: var(--brand-50, #eef2ff); }
.text-brand-100 { color: var(--brand-100, #e0e7ff); }
.text-brand-200 { color: var(--brand-200, #c7d2fe); }
.text-brand-300 { color: var(--brand-300, #a5b4fc); }
.text-brand-400 { color: var(--brand-400, #818cf8); }
.text-brand-500 { color: var(--brand-500, #6366f1); }
.text-brand-600 { color: var(--brand-600, #4f46e5); }
.text-brand-700 { color: var(--brand-700, #4338ca); }
.text-brand-800 { color: var(--brand-800, #3730a3); }
.text-brand-900 { color: var(--brand-900, #312e81); }

.border-brand-200 { border-color: var(--brand-200, #c7d2fe); }
.border-brand-300 { border-color: var(--brand-300, #a5b4fc); }
.border-brand-400 { border-color: var(--brand-400, #818cf8); }
.border-brand-500 { border-color: var(--brand-500, #6366f1); }
.border-brand-600 { border-color: var(--brand-600, #4f46e5); }

.hover\:bg-brand-500:hover { background-color: var(--brand-500, #6366f1); }
.hover\:bg-brand-700:hover { background-color: var(--brand-700, #4338ca); }
.hover\:text-brand-600:hover { color: var(--brand-600, #4f46e5); }
.hover\:border-brand-200:hover { border-color: var(--brand-200, #c7d2fe); }

/* Shadow Utilities */
.shadow-soft { box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12), 0 4px 8px rgba(15, 23, 42, 0.08); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* Cursor Utilities */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }

/* Select Utilities */
.select-none { user-select: none; }
.select-text { user-select: text; }
.select-all { user-select: all; }

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #0f172a;
    background-color: #f8fafc;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-500, #6366f1), var(--gradient-end, #0ea5e9));
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
    opacity: 1;
    transform: translateY(0);
}

#siteNav {
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.97), rgba(30, 41, 59, 0.94));
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
}

#siteNav .nav-link {
    color: #e2e8f0;
}

#siteNav .nav-link::after {
    background: linear-gradient(90deg, var(--brand-300, #c4b5fd), var(--gradient-end, #38bdf8));
}

#siteNav .nav-link:hover,
#siteNav .nav-link:focus-visible,
#siteNav .nav-link.is-active {
    color: #fff;
}

.nav-pill {
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #e2e8f0 !important;
    background-color: transparent !important;
    backdrop-filter: blur(6px);
}

.nav-pill--primary {
    border-color: transparent !important;
    background: linear-gradient(120deg, var(--brand-300, #a5b4fc), var(--gradient-end, #38bdf8)) !important;
    color: #0f172a !important;
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.35);
}

[data-nav-sticky].is-condensed #siteNav {
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.95));
}

[data-nav-sticky].is-condensed #siteNav {
    background-color: rgba(15, 23, 42, 0.92);
    box-shadow: 0 10px 40px rgba(2, 6, 23, 0.25);
    border-color: rgba(148, 163, 184, 0.2);
}

[data-nav-sticky].is-condensed #siteNav .nav-link {
    color: #e2e8f0;
}

.site-hero {
    position: relative;
    overflow: hidden;
}

.site-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.25), transparent 55%);
    pointer-events: none;
}

.hero-content {
    color: #0f172a;
}

.hero-content h1 {
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-content h1 .text-brand-600 {
    color: #c7d2fe !important;
}

.hero-content p,
.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 1.5rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(10px);
}

.hero-stat-card strong {
    color: #0f172a;
}

.hero-stat-card p {
    color: #1e293b;
    font-weight: 500;
}

.hero-metadata span {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.15);
}

.stat-glow {
    box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand-600, #4f46e5) 15%, transparent);
    border-radius: 999px;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brand-500, #6366f1) 40%, transparent), transparent);
}

.floating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    width: fit-content;
    max-width: 100%;
    word-wrap: break-word;
}

.gradient-ring {
    position: relative;
    border-radius: 999px;
    isolation: isolate;
}

.gradient-ring::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(120deg, var(--brand-500, rgba(99, 102, 241, 0.6)), var(--gradient-end, rgba(14, 165, 233, 0.6)));
    opacity: 0.6;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

@media (max-width: 1023px) {
    #primary-mobile-menu.show {
        display: flex !important;
    }
}

[data-dismiss-alert] {
    font-weight: 600;
    line-height: 1;
}

.product-link {
    background: linear-gradient(135deg, var(--brand-500, #6366f1), var(--gradient-end, #0ea5e9));
    box-shadow: 0 20px 40px color-mix(in srgb, var(--brand-600, #4f46e5) 25%, transparent);
    color: #fff;
}

.product-link:hover {
    background: linear-gradient(135deg, var(--brand-600, #4f46e5), var(--gradient-end, #0284c7));
}

.process-track {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    padding-top: 1.5rem;
}

.process-bullet {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 4px solid color-mix(in srgb, var(--brand-500, #6366f1) 25%, transparent);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--brand-700, #4338ca);
    box-shadow: 0 20px 35px color-mix(in srgb, var(--brand-600, #4f46e5) 20%, transparent);
    position: relative;
    z-index: 1;
}

.process-step h3 {
    color: #0f172a;
}

.process-step p {
    color: #475569;
}

@media (min-width: 768px) {
    .process-track {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem;
        padding: 0 1.5rem;
    }

    .process-track::before {
        content: '';
        position: absolute;
        top: 46px;
        left: calc(56px / 2 + 1rem);
        right: calc(56px / 2 + 1rem);
        height: 3px;
        background: linear-gradient(90deg, color-mix(in srgb, var(--brand-500, #6366f1) 40%, transparent), color-mix(in srgb, var(--gradient-end, #0ea5e9) 40%, transparent));
        z-index: 0;
    }
}

.form-stepper {
    position: relative;
    border-radius: 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: radial-gradient(circle at 20% 20%, rgba(148, 163, 184, 0.2), transparent 55%);
    padding: 1.75rem;
    overflow: hidden;
}

.form-stepper__progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(15, 23, 42, 0.08);
}

.form-stepper__bar {
    position: absolute;
    inset: 0 auto 0 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(120deg, var(--brand-600, #4f46e5), var(--gradient-end, #06b6d4));
    border-radius: 999px;
    transition: width 0.3s ease;
}

.form-stepper__list {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.form-stepper__item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem;
    border-radius: 1.25rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.form-stepper__item.is-active {
    background-color: color-mix(in srgb, var(--brand-600, #4f46e5) 8%, transparent);
}

.form-stepper__circle {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 2px solid color-mix(in srgb, var(--brand-600, #4f46e5) 45%, transparent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--brand-900, #312e81);
    background-color: #fff;
    box-shadow: 0 12px 25px color-mix(in srgb, var(--brand-600, #4f46e5) 15%, transparent);
}

.form-stepper__item.is-active .form-stepper__circle {
    border-color: transparent;
    background: linear-gradient(135deg, var(--brand-500, #6366f1), var(--gradient-end, #0ea5e9));
    color: #fff;
}

.form-stepper__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
}

.form-stepper__text {
    font-size: 0.8rem;
    color: #475569;
}

.form-step-panel {
    animation: stepSlide 0.25s ease;
}

@keyframes stepSlide {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.form-step-button {
    border-radius: 999px;
    padding: 0.9rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.form-step-button--primary {
    background: linear-gradient(120deg, var(--brand-600, #4f46e5), var(--gradient-end, #0ea5e9));
    color: #fff;
    box-shadow: 0 15px 35px color-mix(in srgb, var(--gradient-end, #0ea5e9) 25%, transparent);
    border: none;
}

.form-step-button--primary:hover {
    transform: translateY(-1px);
}

.form-step-button--ghost {
    border: 1px solid rgba(15, 23, 42, 0.15);
    color: #0f172a;
    background-color: #fff;
}

.form-step-button--ghost:hover {
    border-color: color-mix(in srgb, var(--brand-600, #4f46e5) 35%, transparent);
    color: var(--brand-600, #4f46e5);
}

.bank-offer-card {
    width: 100%;
    border-radius: 1.75rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background-color: #fff;
    padding: 1.25rem;
    text-align: left;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bank-offer-card:hover {
    border-color: color-mix(in srgb, var(--brand-600, #4f46e5) 35%, transparent);
    transform: translateY(-2px);
}

.bank-offer-card.is-active {
    border-color: var(--brand-600, #4f46e5);
    box-shadow: 0 18px 35px color-mix(in srgb, var(--brand-600, #4f46e5) 18%, transparent);
}

.bank-offer-card__logo {
    width: 60px;
    height: 60px;
    padding: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.bank-offer-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: #0ea5e9;
    color: #fff;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.35);
}

.bank-offer-card[aria-pressed="true"] {
    outline: 2px solid color-mix(in srgb, var(--brand-600, #4f46e5) 35%, transparent);
}

