:root {
    --navy: #001F5B;
    --gold: #D4AF37;
    --gold-light: #F0D78C;
    --gold-dark: #B8942E;
}

/* ── Typography & hero ── */
.hero-gradient-text {
    background: linear-gradient(135deg, #F0D78C 0%, #D4AF37 40%, #FFF8E7 60%, #D4AF37 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-overlay {
    background:
        linear-gradient(115deg, rgba(0, 31, 91, 0.97) 0%, rgba(0, 31, 91, 0.82) 42%, rgba(0, 31, 91, 0.45) 72%, rgba(0, 31, 91, 0.25) 100%);
}

.hero-math-bg {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Ctext x='10' y='40' fill='%23D4AF37' fill-opacity='0.06' font-size='14' font-family='serif'%3Ea²+b²=c²%3C/text%3E%3Ctext x='80' y='120' fill='%23D4AF37' fill-opacity='0.05' font-size='12' font-family='serif'%3E∫f(x)dx%3C/text%3E%3Ctext x='30' y='180' fill='%23D4AF37' fill-opacity='0.04' font-size='11' font-family='serif'%3Eπr²%3C/text%3E%3C/svg%3E");
    background-size: 280px 280px;
}

.gold-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
}

.gold-line-center {
    margin-left: auto;
    margin-right: auto;
}

/* ── Brand mark (header + footer) ── */
.site-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.site-brand-monogram {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 800;
    font-size: 0.68rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.site-brand:hover .site-brand-monogram {
    transform: scale(1.04);
}

.site-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.site-brand-name {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--navy);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.site-brand-tagline {
    font-size: 0.62rem;
    font-weight: 500;
    color: #6b7280;
    letter-spacing: 0.02em;
    margin-top: 0.12rem;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.site-brand:hover .site-brand-tagline {
    color: var(--gold-dark);
}

.site-brand--footer {
    margin-bottom: 1rem;
}

.site-brand--footer .site-brand-name {
    color: #fff;
}

.site-brand--footer .site-brand-tagline {
    color: rgba(212, 175, 55, 0.9);
}

.site-brand--footer:hover .site-brand-name {
    color: var(--gold-light);
}

@media (min-width: 768px) {
    .site-brand-monogram {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.72rem;
    }

    .site-brand-name {
        font-size: 0.9rem;
    }

    .site-brand-tagline {
        font-size: 0.68rem;
    }
}

/* ── Google yorum grid (3 sütun × 2 satır) ── */
.google-reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .google-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.1rem;
    }
}

@media (min-width: 1024px) {
    .google-reviews-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

.google-review-card {
    display: flex;
    flex-direction: column;
    min-height: 10.5rem;
}

.google-review-card .review-body {
    flex: 1 1 auto;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Header ── */
.site-header {
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 4px 30px rgba(0, 31, 91, 0.08);
}

.site-header.hero-header {
    background: transparent;
    border-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
}

.site-header:not(.hero-header) .nav-link {
    color: #4b5563;
}

.site-header.hero-header:not(.scrolled) .site-brand-name,
.site-header.hero-header:not(.scrolled) .nav-link {
    color: white;
}

.site-header.hero-header:not(.scrolled) .site-brand-tagline {
    color: rgba(255, 255, 255, 0.82);
}

.site-header.hero-header:not(.scrolled) .site-brand:hover .site-brand-tagline {
    color: var(--gold-light);
}

.site-header.hero-header:not(.scrolled) .btn-navy {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.site-header.hero-header:not(.scrolled) .btn-navy:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.site-header.hero-header .nav-link:hover,
.site-header.hero-header .nav-link-active {
    color: var(--gold) !important;
}

.site-header.hero-header.scrolled .site-brand-name {
    color: var(--navy);
}

.site-header.hero-header.scrolled .site-brand-tagline {
    color: #6b7280;
}

.site-header.hero-header.scrolled .nav-link {
    color: #4b5563;
}

.site-header.hero-header #mobileMenuBtn {
    color: white;
}

.site-header.hero-header.scrolled #mobileMenuBtn {
    color: var(--navy);
}

/* Mobil / tablet yatay menü — tüm sekmeler (Ücretsiz Demo Ders dahil) kaydırılarak görünür */
.site-nav-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.site-nav-scroll::-webkit-scrollbar {
    display: none;
}

.site-nav-scroll__link {
    color: #374151;
}

.site-nav-scroll__link:hover {
    color: var(--navy);
    background: rgba(0, 31, 91, 0.06);
}

.site-nav-scroll__link.nav-link-active {
    color: var(--gold) !important;
    background: rgba(212, 175, 55, 0.12);
    font-weight: 600;
}

.site-header.hero-header:not(.scrolled) .site-nav-scroll {
    border-color: rgba(255, 255, 255, 0.12);
}

.site-header.hero-header:not(.scrolled) .site-nav-scroll__link {
    color: rgba(255, 255, 255, 0.92);
}

.site-header.hero-header:not(.scrolled) .site-nav-scroll__link:hover {
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.08);
}

.site-header.hero-header:not(.scrolled) .site-nav-scroll__link.nav-link-active {
    color: var(--gold-light) !important;
    background: rgba(212, 175, 55, 0.18);
}

.site-header.hero-header.scrolled .site-nav-scroll__link {
    color: #374151;
}

.site-nav-desktop {
    scrollbar-width: none;
}

.site-nav-desktop::-webkit-scrollbar {
    display: none;
}

/* Mobil menü paneli her zaman beyaz — linkler hero-header'dan bağımsız koyu renk */
#mobileMenu .nav-link {
    color: #374151 !important;
}

#mobileMenu .nav-link:hover {
    color: var(--navy) !important;
}

#mobileMenu .nav-link-active {
    color: var(--gold) !important;
}

#mobileMenu .btn-navy {
    background: var(--navy) !important;
    border-color: var(--navy) !important;
    color: #fff !important;
    display: flex;
}

.nav-link-active {
    color: var(--gold) !important;
    font-weight: 600;
    position: relative;
}

.nav-link-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

/* ── Buttons ── */
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 0.9rem 2rem;
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    display: inline-block;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #fff 0%, var(--gold-light) 100%);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: white;
    font-weight: 600;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    padding: 0.9rem 2rem;
    border-radius: 2px;
    transition: all 0.25s ease;
    display: inline-block;
}

.btn-outline-light:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
}

.btn-navy {
    background: var(--navy);
    color: white;
    border: 1px solid var(--navy);
    font-weight: 600;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
    padding: 0.65rem 1.25rem;
    border-radius: 2px;
    transition: all 0.25s ease;
}

.btn-navy:hover {
    background: white;
    color: var(--navy);
    border-color: var(--gold);
}

/* ── Cards & effects ── */
.gold-glow {
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35), 0 12px 40px rgba(0, 31, 91, 0.15);
}

.card-charisma {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.card-charisma:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 31, 91, 0.12);
}

.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--gold));
}

.badge-experience {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy);
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    animation: pulse-gold 3s ease-in-out infinite;
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(212, 175, 55, 0.65); }
}

.quote-block {
    border-left: 4px solid var(--gold);
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.08) 0%, transparent 100%);
}

.teacher-frame {
    position: relative;
}

.teacher-frame::before {
    content: '';
    position: absolute;
    inset: -3px;
    border: 2px solid var(--gold);
    border-radius: 12px;
    opacity: 0.6;
    transform: rotate(2deg);
    z-index: 2;
    pointer-events: none;
}

.teacher-frame::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 80px;
    height: 80px;
    border-bottom: 3px solid var(--gold);
    border-right: 3px solid var(--gold);
    border-radius: 0 0 12px 0;
    opacity: 0.5;
    z-index: 2;
    pointer-events: none;
}

/* Ana sayfa — yatık portre galerisi */
.hero-portre-wrap {
    transform: rotate(var(--portre-rotate, 14deg));
    transform-origin: center center;
    filter: drop-shadow(0 22px 36px rgba(0, 31, 91, 0.38));
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.55s ease, max-width 0.35s ease;
    padding: 0.35rem;
    width: 100%;
}

.hero-portre-gen--kucuk { max-width: 240px; width: 100%; }
.hero-portre-gen--orta { max-width: 320px; width: 100%; }
.hero-portre-gen--buyuk { max-width: 400px; width: 100%; }
.hero-portre-gen--cok-buyuk { max-width: 480px; width: 100%; }

@media (min-width: 640px) {
    .hero-portre-gen--kucuk { max-width: 260px; }
    .hero-portre-gen--orta { max-width: 360px; }
    .hero-portre-gen--buyuk { max-width: 440px; }
    .hero-portre-gen--cok-buyuk { max-width: 520px; }
}

.hero-portre-wrap:hover {
    transform: rotate(var(--portre-rotate-hover, 11deg)) scale(1.02);
    filter: drop-shadow(0 28px 44px rgba(0, 31, 91, 0.45));
}

.hero-portre-frame::before {
    transform: rotate(-3deg);
    opacity: 0.75;
}

.hero-portre-frame::after {
    transform: rotate(-3deg);
}

.hero-portre-stage {
    position: relative;
    width: 100%;
    padding-top: var(--portre-aspect, 125%);
    overflow: hidden;
    border-radius: 0.75rem;
    background: #001a45;
}

.hero-portre-kat {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: var(--portre-odak, center center);
    background-repeat: no-repeat;
    transform-origin: center center;
    will-change: opacity, transform;
}

.hero-portre-efekt--blur .hero-portre-kat {
    will-change: opacity, transform, filter;
}

.hero-portre-efekt--slide .hero-portre-stage {
    overflow: hidden;
}

.hero-portre-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 7px;
    pointer-events: none;
    transform: rotate(var(--portre-dots-rotate, -14deg));
}

.hero-portre-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.55);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    transition: background 0.4s ease, transform 0.4s ease;
}

/* ── Wizard ── */
.wizard-progress {
    top: 4.25rem;
    scroll-margin-top: 5.5rem;
    background-color: #fafbfc;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    box-shadow: 0 6px 16px rgba(0, 31, 91, 0.06);
}

@media (min-width: 768px) {
    .wizard-progress {
        top: 4.5rem;
    }
}

.wizard-panels-wrap {
    min-height: 18rem;
}

@media (min-width: 768px) {
    .wizard-panels-wrap {
        min-height: 20rem;
    }
}

.wizard-step-active {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
}

.wizard-step-inactive {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
}

.card-select input:checked + .card-inner,
label.card-select:has(input:checked) .card-inner {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.4), 0 8px 30px rgba(212, 175, 55, 0.15);
    background: rgba(212, 175, 55, 0.08) !important;
}

.bg-pattern-gold {
    background-color: #fafbfc;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ── Page heroes (inner pages) ── */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #002d7a 50%, #001a45 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.35) 20%, var(--gold) 50%, rgba(212, 175, 55, 0.35) 80%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
}

.page-hero--demo {
    background: linear-gradient(135deg, #001530 0%, #002566 48%, #001a45 100%);
}

.page-hero--demo::before {
    background:
        radial-gradient(ellipse at 15% 40%, rgba(168, 85, 247, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 55%, rgba(212, 175, 55, 0.14) 0%, transparent 58%);
}

.page-tone-section {
    position: relative;
}

.page-tone-section--demo {
    background: linear-gradient(180deg, #001540 0%, var(--navy) 100%);
}

.page-hero--image::before {
    z-index: 1;
    background: radial-gradient(ellipse at 70% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 55%);
}

.page-hero-image-overlay {
    background: linear-gradient(115deg, rgba(0, 31, 91, 0.94) 0%, rgba(0, 31, 91, 0.82) 45%, rgba(0, 31, 91, 0.55) 100%);
}

.monogram-bg {
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(8rem, 20vw, 14rem);
    font-weight: 800;
    color: rgba(212, 175, 55, 0.06);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

/* ── Scroll reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Testimonial ── */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 4rem;
    line-height: 1;
    color: rgba(212, 175, 55, 0.2);
    font-family: Georgia, serif;
}

/* ── CTA band ── */
.cta-band {
    background: linear-gradient(135deg, var(--navy) 0%, #001540 100%);
    position: relative;
    overflow: hidden;
}

.cta-band::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

/* ── Trust marquee ── */
.trust-ticker {
    animation: ticker 25s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
