*, *::before, *::after {
            box-sizing: border-box;
        }

        :root {
            /* Palette */
            --bg: #090a0f;
            --bg-deep: #060609;
            --text: #f4f3ef;
            --text-muted: #8d909a;
            --gold: #d4af64;
            --gold-light: #ebd6a8;
            --gold-glow: rgba(212, 175, 100, 0.18);
            --border: rgba(255, 255, 255, 0.08);
            --border-hover: rgba(212, 175, 100, 0.3);
            --surface: rgba(255, 255, 255, 0.02);
            --surface-hover: rgba(255, 255, 255, 0.05);
            
            /* Fonts */
            --font-serif: 'Fraunces', Georgia, serif;
            --font-display: 'DM Sans', sans-serif;
            --font-mono: 'DM Mono', monospace;

            --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
            --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            
            --header-bg: rgba(9, 10, 15, 0.3);
            --header-scrolled-bg: rgba(9, 10, 15, 0.65);
        }

        :root[data-theme="light"] { --nav-text-color: #555555;
            --bg: #f5f5f7;
            --bg-deep: #ffffff;
            --text: #1d1d1f;
            --text-muted: #6e6e73;
            --gold: #b38b4d;
            --gold-light: #d4af64;
            --gold-glow: rgba(179, 139, 77, 0.12);
            --border: rgba(0, 0, 0, 0.08);
            --border-hover: rgba(212, 175, 100, 0.4);
            --surface: rgba(255, 255, 255, 0.85);
            --surface-hover: #ffffff;
            
            --header-bg: rgba(245, 245, 247, 0.95); /* Apple-like light grey */
            --header-scrolled-bg: rgba(245, 245, 247, 0.98);
        }

        :root[data-theme="light"] header:not(.scrolled) {
            background: transparent !important; /* En üstteyken arka plan yok */
            border-bottom: none !important;
            box-shadow: none !important;
        }

        :root[data-theme="light"] header.scrolled {
            background: #f5f5f7;
            backdrop-filter: none;
            border-bottom: none !important;
            box-shadow: 0 4px 24px rgba(0,0,0,0.05) !important;
        }

        /* Scrolled (Krem Arka Plan) İçi Koyu Yazılar */
        :root[data-theme="light"] header.scrolled .nav-link,
        :root[data-theme="light"] header.scrolled .lang-btn,
        :root[data-theme="light"] header.scrolled button i,
        :root[data-theme="light"] header.scrolled .brand-logo {
            color: #1a1a1c !important; 
            font-weight: 500;
        }

        /* En Üstte (Şeffaf Arka Plan) İçi Beyaz Yazılar (Karanlık Videoda Okunması İçin) */
        :root[data-theme="light"] header:not(.scrolled) .nav-link,
        :root[data-theme="light"] header:not(.scrolled) .lang-btn,
        :root[data-theme="light"] header:not(.scrolled) button i,
        :root[data-theme="light"] header:not(.scrolled) .brand-logo {
            color: #ffffff !important; 
            font-weight: 500;
            text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Videoda kaybolmasın diye gölge */
        }

        /* Logo: Dark mode = white logo, Light mode = white when top, dark when scrolled */
        .nav-logo-dark { display: block; }
        .nav-logo-light { display: none; }

        :root[data-theme="light"] header.scrolled .nav-logo-dark { display: none !important; }
        :root[data-theme="light"] header.scrolled .nav-logo-light { display: block !important; }

        /* Subtle glow on hero video for readability */
        header:not(.scrolled) .nav-brand-img {
            filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
        }
        header.scrolled .nav-brand-img {
            filter: none;
        }

        /* When scrolled (light background), active/hover is gold */
        :root[data-theme="light"] header.scrolled .nav-link:hover,
        :root[data-theme="light"] header.scrolled .nav-link.active,
        :root[data-theme="light"] header.scrolled .lang-btn:hover {
            color: var(--gold) !important; 
        }

        /* When NOT scrolled (transparent background over bright sky), keep it white but add text shadow and underline */
        :root[data-theme="light"] header:not(.scrolled) .nav-link:hover,
        :root[data-theme="light"] header:not(.scrolled) .nav-link.active,
        :root[data-theme="light"] header:not(.scrolled) .lang-btn:hover {
            color: #ffffff !important; 
            text-shadow: 0 4px 16px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.6);
        }

        /* Re-enable the gold underline indicator in light mode for active links */
        :root[data-theme="light"] .nav-link::after {
            display: block !important;
            height: 2px;
            bottom: -4px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        :root[data-theme="light"] .brand-logo svg {
            transition: color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        /* Clean transparent native SVG logo */

        /* Reset & Base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            scroll-behavior: smooth;
        }

        html, body {
            background-color: var(--bg);
            color: var(--text);
            font-family: var(--font-display);
            -webkit-font-smoothing: antialiased;
            line-height: 1.7;
        }

        section {
            scroll-margin-top: 100px;
        }

        /* Grain overlay */
        /* Removed grain overlay due to Safari click-blocking bugs */

        /* Glow effects */
        .glow-orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(140px);
            z-index: 0;
            pointer-events: none;
            opacity: 0.4;
        }

        .glow-1 {
            top: 15%;
            left: -10%;
            width: 50vw;
            height: 50vw;
            background: radial-gradient(circle, rgba(212, 175, 100, 0.08) 0%, transparent 80%);
        }

        .glow-2 {
            bottom: 20%;
            right: -10%;
            width: 45vw;
            height: 45vw;
            background: radial-gradient(circle, rgba(59, 111, 212, 0.07) 0%, transparent 80%);
        }

        /* Typography */
        h1, h2, h3, h4 {
            color: var(--text);
            font-weight: 300;
            letter-spacing: -0.02em;
        }

        h1 {
            font-family: var(--font-serif);
            font-style: italic;
            font-size: clamp(3rem, 7vw, 6rem);
            line-height: 1.05;
        }

        h2 {
            font-family: var(--font-serif);
            font-style: italic;
            font-size: clamp(2.2rem, 4.5vw, 3.8rem);
            line-height: 1.15;
        }

        h3 {
            font-size: clamp(1.4rem, 2vw, 2.2rem);
            font-family: var(--font-display);
            font-weight: 500;
        }

        p {
            color: var(--text-muted);
            font-size: 0.98rem;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        .italic-accent {
            font-family: var(--font-serif);
            font-style: italic;
            color: var(--gold-light);
        }

        /* Layout Container */
        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 2.5rem;
            width: 100%;
            position: relative;
            z-index: 2;
        }

        /* Monospace Label */
        .section-tag {
            font-family: var(--font-mono);
            font-size: 0.72rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--gold);
            display: inline-flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 24px;
        }

        .section-tag::before {
            content: '';
            width: 24px;
            height: 1px;
            background: var(--gold);
            opacity: 0.6;
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 14px 28px;
            border-radius: 6px;
            font-size: 0.88rem;
            font-weight: 500;
            letter-spacing: 0.02em;
            cursor: pointer;
            transition: var(--transition);
            border: 1px solid transparent;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--gold), var(--gold-light));
            color: var(--bg-deep);
            box-shadow: 0 4px 24px var(--gold-glow);
            font-weight: 600;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 32px rgba(212, 175, 100, 0.35);
        }

        .btn-outline {
            background: rgba(255, 255, 255, 0.02);
            border-color: rgba(255, 255, 255, 0.15);
            color: var(--text);
        }

        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.05);
            border-color: var(--gold);
            color: var(--gold-light);
        }

        /* Light Mode Button & Text Overrides */
        :root .btn-outline {
            border-color: rgba(0, 0, 0, 0.15);
            color: #222;
            background: rgba(255, 255, 255, 0.6);
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        :root .btn-outline:hover {
            background: #fff;
            border-color: var(--gold);
            color: var(--gold);
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        :root .btn-primary {
            color: #fff;
            text-shadow: 0 1px 3px rgba(0,0,0,0.3);
        }
        /* Text colors for Glass Card based on theme */
        :root[data-theme="light"] .glass-card p {
            color: #444 !important;
            font-weight: 500;
        }
        :root[data-theme="light"] .glass-card h2 {
            color: #111 !important;
        }
        
        :root:not([data-theme="light"]) .glass-card p {
            color: rgba(255, 255, 255, 0.85) !important;
            font-weight: 400;
        }
        :root:not([data-theme="light"]) .glass-card h2 {
            color: #ffffff !important;
        }

        /* Glassmorphic Panels */
        .glass-card {
            background: rgba(14, 16, 21, 0.65); /* Darkened background for readability */
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 32px;
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px); /* Safari support */
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
            transition: var(--transition);
        }

        .glass-card:hover {
            border-color: var(--gold);
            background: var(--surface-hover);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 24px rgba(212, 175, 100, 0.2);
            transform: translateY(-8px);
        }

        /* Light Mode Glassmorphism Enhancements */
        :root[data-theme="light"] .glass-card {
            background: #ffffff;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
            border: 1px solid rgba(0, 0, 0, 0.08);
            transform: translateY(0);
            transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }
        
        :root[data-theme="light"] .glass-card:hover {
            box-shadow: 0 30px 60px rgba(212, 175, 100, 0.15), 0 15px 30px rgba(0, 0, 0, 0.05);
            border-color: var(--gold);
            transform: translateY(-8px);
        }

        /* Header Navigation */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 80px;
            z-index: 1000;
            display: flex;
            align-items: center;
            background: var(--header-bg);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            transition: var(--transition);
        }

        header.scrolled {
            height: 64px;
            background: var(--header-scrolled-bg);
            border-bottom-color: var(--border-hover);
        }

        .nav-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }

        .brand-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-family: var(--font-serif);
            font-style: italic;
            font-size: 1.3rem;
            color: var(--text);
            font-weight: 600;
        }

        .brand-logo span {
            font-family: var(--font-mono);
            font-style: normal;
            font-size: 0.65rem;
            letter-spacing: 0.18em;
            color: var(--gold);
            text-transform: uppercase;
            margin-top: 4px;
            display: block;
        }

        .nav-menu {
            display: flex;
            align-items: center;
            gap: 28px;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .nav-link {
            font-size: clamp(0.75rem, 0.9vw, 0.85rem);
            font-weight: 400;
            color: var(--nav-text-color);
            text-shadow: 0 1px 4px rgba(0,0,0,0.4);
            letter-spacing: 0.02em;
            transition: color 0.3s;
            position: relative;
            padding: 8px 0;
            white-space: nowrap;
            text-decoration: none;
            list-style: none;
            display: inline-block;
        }

        .nav-link:hover, .nav-link.active {
            color: var(--text);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 1px;
            background: var(--gold);
            transition: width 0.3s ease;
            font-size: 0;
            line-height: 0;
            overflow: hidden;
        }

        .nav-link:hover::after, .nav-link.active::after {
            width: 100%;
        }

        /* Mobile Toggle */
        .mobile-btn {
            display: none;
            background: none;
            border: none;
            color: var(--text);
            cursor: pointer;
            font-size: 1.5rem;
        }

        /* Mobile Drawer */
        .mobile-drawer {
            position: fixed;
            inset: 0;
            top: 80px;
            background: rgba(3, 4, 7, 0.98);
            z-index: 999;
            display: flex;
            flex-direction: column;
            padding: 40px;
            gap: 24px;
            transform: translateX(100%);
            transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
            backdrop-filter: blur(20px);
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .mobile-drawer.open {
            transform: translateX(0);
        }

        /* ══════════════════════════════════════════
           PORTAL SCROLL SECTION (CINEMATIC)
           ══════════════════════════════════════════ */
        .portal-container {
            position: relative;
            width: 100%;
            height: 400vh; /* Natively holds the scroll duration */
            background: var(--bg-deep);
        }

        .portal-sticky {
            position: sticky;
            top: 0;
            width: 100%;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        /* Scroll-Driven Video View */
        .video-container {
            position: absolute;
            inset: 0;
            z-index: 1;
            overflow: hidden;
            background: var(--bg-deep);
        }

        .gate-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

        .video-overlay {
            position: absolute;
            inset: 0;
            /* Lighter elegant vignette to preserve natural sky brightness while keeping text readable */
            background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.3) 100%);
            z-index: 2;
            pointer-events: none;
        }

        .hero-glass-panel {
            background: rgba(5, 6, 12, 0.62);
            backdrop-filter: blur(28px);
            -webkit-backdrop-filter: blur(28px);
            border: 1px solid rgba(212, 175, 100, 0.15);
            padding: 36px 52px;
            border-radius: 28px;
            box-shadow: 0 24px 56px rgba(0,0,0,0.55), 0 0 0 1px rgba(212,175,100,0.08) inset, inset 0 1px 0 rgba(255,255,255,0.05);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        
        @media (max-width: 768px) {
            .hero-glass-panel { padding: 24px 16px; border-radius: 20px; width: 100%; box-sizing: border-box; }
        }

        /* Editorial content overlays */
        .portal-slides-container {
            position: absolute;
            inset: 0;
            z-index: 999;
            pointer-events: none; /* Container ignores clicks */
        }

        .portal-slide {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            margin: auto;
            width: 90%;
            max-width: 620px;
            height: max-content;
            opacity: 0;
            transform: translateY(40px);
            visibility: hidden;
            pointer-events: none;
            /* No transition — JS scrubGate controls opacity directly */
        }

        .portal-slide.active {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }


        /* Initial Screen Title (before gate opens) */
        .gate-initial-hero {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 5;
            text-align: center;
            pointer-events: auto;
            max-width: 680px;
            width: 100%;
            padding: 0 24px;
            will-change: transform, opacity;
        }

        .gate-initial-hero h1 {
            font-size: clamp(2.2rem, 5vw, 4rem);
            margin-bottom: 20px;
            color: #ffffff !important;
            text-shadow: 0 4px 20px rgba(0,0,0,0.7), 0 2px 8px rgba(0,0,0,0.4);
            line-height: 1.15;
            text-align: center;
            font-weight: 600;
        }
        
        .gate-initial-hero h1 em {
            background: linear-gradient(135deg, #ffffff, var(--gold));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-style: italic;
            font-weight: 600;
            filter: drop-shadow(0 2px 12px rgba(0,0,0,0.3));
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 20px;
            border-radius: 100px;
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(212, 175, 100, 0.3);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            font-family: var(--font-mono);
            font-size: 0.75rem;
            letter-spacing: 0.2em;
            color: var(--gold) !important;
            text-transform: uppercase;
            margin-bottom: 28px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.5);
        }

        .pulse-dot {
            width: 6px;
            height: 6px;
            background: var(--gold);
            border-radius: 50%;
            box-shadow: 0 0 12px var(--gold);
            animation: pulse-dot-anim 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

        @keyframes pulse-dot-anim {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.4; transform: scale(1.5); }
        }

        .hero-seo-desc {
            font-size: 1.15rem;
            display: block;
            opacity: 0.95;
            color: #e2e2e5 !important;
            text-shadow: 0 4px 16px rgba(0,0,0,0.9);
            font-weight: 400;
            letter-spacing: 0.02em;
        }

        /* Mouse indicator */
        .scroll-hint {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 6;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            color: rgba(244, 243, 239, 0.45);
            font-family: var(--font-mono);
            font-size: 0.65rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            pointer-events: none;
            transition: opacity 0.4s ease;
        }

        .mouse-icon {
            width: 20px;
            height: 32px;
            border: 2px solid rgba(244, 243, 239, 0.25);
            border-radius: 12px;
            position: relative;
        }

        .mouse-dot {
            width: 4px;
            height: 8px;
            background: var(--gold);
            border-radius: 2px;
            position: absolute;
            top: 6px;
            left: 50%;
            transform: translateX(-50%);
            animation: mouse-scroll 1.6s infinite;
        }

        @keyframes mouse-scroll {
            0% { transform: translate(-50%, 0); opacity: 1; }
            100% { transform: translate(-50%, 8px); opacity: 0; }
        }

        /* ══════════════════════════════════════════
           THE 3 PILLARS / BENTO SECTION
           ══════════════════════════════════════════ */
        .section-padding {
            padding: 90px 0; /* Reduced from 140px to close the huge gaps */
            position: relative;
            overflow-x: hidden;
        }

        .bento-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
            margin-top: 48px;
        }

        .bento-card {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 480px;
        }

        .bento-card h3 {
            font-family: var(--font-serif);
            font-style: italic;
            font-size: 1.8rem;
            margin-bottom: 16px;
        }

        .card-header-icon {
            width: 48px;
            height: 48px;
            border-radius: 8px;
            background: rgba(212, 175, 100, 0.08);
            border: 1px solid rgba(212, 175, 100, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gold);
            margin-bottom: 28px;
        }

        .card-points {
            list-style: none;
            margin: 28px 0;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .card-points li {
            font-size: 0.92rem;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .card-points li::before {
            content: '→';
            color: var(--gold);
            font-weight: 500;
        }

        /* SPERRKONTO CALCULATOR */
        .calculator-layout {
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            gap: 64px;
            align-items: center;
        }

        .calc-slider-box {
            display: flex;
            flex-direction: column;
            gap: 32px;
        }

        .slider-group {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .slider-header {
            display: flex;
            justify-content: space-between;
            font-size: 0.95rem;
            font-weight: 500;
        }

        .slider-value {
            color: var(--gold);
            font-family: var(--font-mono);
            font-weight: bold;
        }

        .custom-range {
            -webkit-appearance: none;
            width: 100%;
            height: 6px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 3px;
            outline: none;
        }

        .custom-range::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--gold);
            box-shadow: 0 0 12px var(--gold-glow);
            cursor: pointer;
            transition: 0.2s ease-in-out;
        }

        .custom-range::-webkit-slider-thumb:hover {
            transform: scale(1.2);
        }

        .calc-visual-wrap {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 16px;
        }

        .calc-progress-bar {
            height: 12px;
            border-radius: 6px;
            background: rgba(255, 255, 255, 0.08);
            display: flex;
            overflow: hidden;
        }

        .bar-slice-sperr { background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
        .bar-slice-fee { background: #3b6fd4; }

        .calc-result-panel {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 40px;
            text-align: center;
        }

        .calc-total-number {
            font-family: var(--font-serif);
            font-style: italic;
            font-size: 3.5rem;
            color: var(--gold);
            line-height: 1.1;
            margin: 12px 0 24px;
        }

        .calc-breakdown {
            display: flex;
            flex-direction: column;
            gap: 14px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding-top: 24px;
            text-align: left;
        }

        .breakdown-row {
            display: flex;
            justify-content: space-between;
            font-size: 0.92rem;
            color: var(--text-muted);
        }

        .calc-legend {
            display: flex; 
            gap: 24px; 
            font-size: 0.8rem; 
            font-family: var(--font-mono); 
            margin-top: 8px;
            color: var(--text-muted);
        }

        /* Light Mode Overrides for Calculator */
        :root[data-theme="light"] .custom-range {
            background: rgba(0, 0, 0, 0.1);
        }
        :root[data-theme="light"] .calc-progress-bar {
            background: rgba(0, 0, 0, 0.1);
        }
        :root[data-theme="light"] .calc-result-panel {
            border: 1px solid rgba(0, 0, 0, 0.05);
            background: rgba(0, 0, 0, 0.02);
            box-shadow: 0 4px 12px rgba(0,0,0,0.02);
        }
        :root[data-theme="light"] .calc-breakdown {
            border-top: 1px solid rgba(0, 0, 0, 0.06);
        }
        :root[data-theme="light"] .breakdown-row {
            color: #555;
        }
        :root[data-theme="light"] .breakdown-row strong {
            color: #111;
        }
        :root[data-theme="light"] .calc-legend {
            color: #555;
        }

        /* ELITE UNIVERSITIES */
        .univ-slider {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
            margin-top: 48px;
        }

        .univ-card {
            overflow: hidden;
            padding: 0;
            display: flex;
            flex-direction: column;
        }

        .univ-image-holder {
            width: 100%;
            height: 240px;
            overflow: hidden;
            position: relative;
        }

        .univ-image-holder img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s var(--ease-out-expo);
        }

        .univ-card:hover .univ-image-holder img {
            transform: scale(1.08);
        }

        .univ-info {
            padding: 36px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            flex-grow: 1;
        }

        .univ-meta {
            display: flex;
            justify-content: space-between;
            font-family: var(--font-mono);
            font-size: 0.72rem;
            color: var(--gold);
        }

        .univ-info h3 {
            font-family: var(--font-serif);
            font-style: italic;
            font-size: 1.45rem;
        }

        /* DANIŞMANLIK PAKETLERİ (Pricing Grid) */
        .pricing-table {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
            margin-top: 48px;
        }

        .price-card {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
        }

        .price-card.featured {
            border-color: var(--gold);
            box-shadow: 0 24px 56px var(--gold-glow);
        }

        .featured-badge {
            position: absolute;
            top: -14px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, var(--gold), var(--gold-light));
            color: var(--bg-deep);
            padding: 4px 18px;
            border-radius: 30px;
            font-family: var(--font-mono);
            font-size: 0.65rem;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        .price-header {
            text-align: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            padding-bottom: 28px;
            margin-bottom: 28px;
        }

        .price-amount {
            font-family: var(--font-serif);
            font-style: italic;
            font-size: 3.2rem;
            color: var(--gold-light);
            margin: 8px 0;
        }

        .price-features {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin-bottom: 40px;
            flex-grow: 1;
        }

        .price-features li {
            font-size: 0.92rem;
            color: var(--text-muted);
            display: flex;
            gap: 12px;
            align-items: flex-start;
        }

        .price-features li.check::before {
            content: '✓';
            color: var(--gold);
            font-weight: bold;
        }

        .price-features li.cross::before {
            content: '✕';
            color: rgba(255, 255, 255, 0.15);
        }

        .price-features li.cross {
            opacity: 0.4;
            text-decoration: line-through;
        }

        :root[data-theme="light"] .price-features li.cross::before {
            color: rgba(0, 0, 0, 0.25);
        }

        :root[data-theme="light"] .price-features li.cross {
            opacity: 0.7;
            color: #888888;
        }

        /* BUT WIZARD */
        .wizard-layout {
            max-width: 800px;
            margin: 48px auto 0;
        }

        .wizard-step {
            display: none;
            flex-direction: column;
            gap: 28px;
        }

        .wizard-step.active {
            display: flex;
            animation: fadeInStep 0.4s ease forwards;
        }

        @keyframes fadeInStep {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .wizard-buttons {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .wizard-btn-option {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 8px;
            padding: 24px;
            color: var(--text);
            cursor: pointer;
            transition: var(--transition);
            text-align: center;
            font-family: var(--font-display);
            font-size: 1rem;
            font-weight: 500;
        }

        .wizard-btn-option:hover {
            border-color: var(--gold);
            background: rgba(212, 175, 100, 0.08);
            color: var(--gold-light);
            box-shadow: 0 8px 24px rgba(212, 175, 100, 0.15);
            transform: translateY(-4px);
        }

        .wizard-progress {
            height: 3px;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 2px;
            margin-bottom: 32px;
            overflow: hidden;
        }

        .wizard-progress-bar {
            height: 100%;
            background: var(--gold);
            width: 25%;
            transition: width 0.4s ease;
        }

        .wizard-result-box {
            text-align: center;
            padding: 24px 0;
        }

        /* SOMMERCAMP TIMELINE */
        .camp-timeline {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 32px;
            margin-top: 48px;
        }

        /* BOOKING FORM */
        .booking-layout {
            display: grid;
            grid-template-columns: 0.9fr 1.1fr;
            gap: 64px;
            align-items: start;
        }

        .booking-info-box {
            display: flex;
            flex-direction: column;
            gap: 28px;
        }

        .contact-item {
            display: flex;
            gap: 20px;
            align-items: flex-start;
        }

        .contact-icon {
            width: 44px;
            height: 44px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gold);
            flex-shrink: 0;
        }

        .booking-form-box {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .form-row-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .form-group label {
            font-family: var(--font-mono);
            font-size: 0.72rem;
            color: var(--text-muted);
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        .form-group select option {
            background-color: var(--bg-deep);
            color: var(--text);
        }

        .form-group input, .form-group select {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 6px;
            padding: 14px 18px;
            color: var(--text);
            font-family: var(--font-display);
            font-size: 0.95rem;
            outline: none;
            transition: var(--transition);
        }

        .form-group input:focus, .form-group select:focus {
            border-color: var(--gold);
            box-shadow: 0 0 12px rgba(212, 175, 100, 0.15);
        }

        /* Custom Time/Date Picker Cards */
        .picker-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
        }

        .picker-cell {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 6px;
            padding: 12px;
            text-align: center;
            font-size: 0.88rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
        }

        .picker-cell:hover {
            border-color: var(--gold);
            background: rgba(212, 175, 100, 0.05);
        }

        .picker-cell.active {
            background: var(--gold);
            border-color: var(--gold);
            color: var(--bg-deep);
            font-weight: 600;
        }

        /* Light Theme Form Input Enhancements */
        :root[data-theme="light"] .form-group input, 
        :root[data-theme="light"] .form-group select,
        :root[data-theme="light"] .startbot-input input {
            background: #ffffff;
            border: 1px solid rgba(0, 0, 0, 0.15);
            color: #222222;
        }

        :root[data-theme="light"] .form-group input:focus, 
        :root[data-theme="light"] .form-group select:focus,
        :root[data-theme="light"] .startbot-input input:focus {
            border-color: var(--gold);
            background: #f5f5f7;
            box-shadow: 0 0 10px rgba(212, 175, 100, 0.2);
        }

        :root[data-theme="light"] .picker-cell {
            background: #ffffff;
            border: 1px solid rgba(0, 0, 0, 0.15);
            color: #444444;
        }

        :root[data-theme="light"] .picker-cell:hover {
            border-color: var(--gold);
            background: rgba(212, 175, 100, 0.05);
        }

        /* Chatbot StartBot */
        .startbot-container {
            position: fixed;
            bottom: 32px;
            right: 32px;
            z-index: 1000;
        }

        .startbot-bubble {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--gold), var(--gold-light));
            color: var(--bg-deep);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 8px 32px rgba(212, 175, 100, 0.3);
            border: none;
            transition: var(--transition);
            position: relative;
        }

        .startbot-bubble:hover {
            transform: scale(1.06) rotate(6deg);
        }

        .startbot-pulse {
            position: absolute;
            inset: 0;
            border-radius: 50%;
            border: 2px solid var(--gold-light);
            animation: bot-radar 2.4s infinite ease-out;
            pointer-events: none;
        }

        @keyframes bot-radar {
            0% { transform: scale(1); opacity: 0.8; }
            100% { transform: scale(1.6); opacity: 0; }
        }

        /* --- PREMIUM CHATBOT UI --- */
        .startbot-window {
            position: fixed; /* Changed to fixed so it stays in viewport while scrolling */
            bottom: 80px;
            right: 20px;
            width: 320px;
            height: 420px;
            /* Premium Dark Mode Glass */
            background: rgba(14, 16, 21, 0.85);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 24px;
            box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 40px rgba(212, 175, 100, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
            display: none;
            flex-direction: column;
            overflow: hidden;
            backdrop-filter: blur(30px) saturate(150%);
            -webkit-backdrop-filter: blur(30px) saturate(150%);
            z-index: 999999;
            transform: translateY(20px);
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }
        
        .startbot-window.active {
            display: flex;
            transform: translateY(0);
            opacity: 1;
            animation: botSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        @keyframes botSlideIn {
            0% { transform: translateY(20px) scale(0.95); opacity: 0; }
            100% { transform: translateY(0) scale(1); opacity: 1; }
        }

        /* Light Mode Overrides for Startbot */
        :root[data-theme="light"] .startbot-window {
            background: rgba(255, 255, 255, 0.85);
            border: 1px solid rgba(0, 0, 0, 0.08);
            box-shadow: 0 40px 100px rgba(0, 0, 0, 0.12), 0 0 40px rgba(212, 175, 100, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
        }
        :root[data-theme="light"] .startbot-header {
            background: rgba(0, 0, 0, 0.03);
            border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        }
        :root[data-theme="light"] .startbot-header button {
            color: #666;
        }
        :root[data-theme="light"] .chat-msg.bot {
            background: #ffffff;
            border: 1px solid rgba(0, 0, 0, 0.08);
            color: #1a1a1c !important;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        }
        :root[data-theme="light"] .chat-msg.bot strong {
            color: var(--gold);
        }
        :root[data-theme="light"] .startbot-chips {
            border-top: none; /* Removed cluttered line */
        }
        :root[data-theme="light"] .startbot-chip {
            background: #f5f5f7; /* Apple soft grey */
            border: none; /* Removed harsh border */
            color: #1d1d1f;
            padding: 6px 14px;
        }
        :root[data-theme="light"] .startbot-chip:hover {
            background: var(--gold);
            color: #fff;
        }
        :root[data-theme="light"] .startbot-input {
            border-top: 1px solid rgba(0, 0, 0, 0.06);
        }
        :root[data-theme="light"] .startbot-input input {
            background: #ffffff;
            border: 1px solid rgba(0, 0, 0, 0.1);
            color: #1a1a1c;
        }
        :root[data-theme="light"] .startbot-input input:focus {
            border-color: var(--gold);
            box-shadow: 0 0 0 2px rgba(212, 175, 100, 0.2);
        }

        .startbot-window.active {
            display: flex;
        }

        .startbot-header {
            padding: 18px 24px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(255, 255, 255, 0.02);
        }

        .startbot-header h4 {
            font-family: var(--font-serif);
            font-style: italic;
            font-size: 1.15rem;
            color: var(--gold-light);
        }

        .startbot-chat {
            flex-grow: 1;
            padding: 20px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .chat-msg {
            padding: 10px 14px;
            border-radius: 18px;
            font-size: 0.84rem;
            max-width: 85%;
            line-height: 1.5;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        .chat-msg.bot {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #ffffff !important;
            align-self: flex-start;
            border-bottom-left-radius: 6px;
        }
        .startbot-window {
            z-index: 999999;
        }
        .chat-msg.bot strong {
            color: var(--gold-light);
        }
        

        .chat-msg.user {
            background: linear-gradient(135deg, var(--gold), var(--gold-light));
            color: var(--bg-deep);
            align-self: flex-end;
            font-weight: 500;
            border-bottom-right-radius: 6px;
            border: none;
        }

        .startbot-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            padding: 12px 20px;
            border-top: none;
        }

        .startbot-chips::-webkit-scrollbar {
            display: none;
        }

        .startbot-chip {
            background: rgba(255, 255, 255, 0.06);
            border: none; /* Removed harsh border */
            color: #ffffff;
            padding: 6px 14px;
            border-radius: 30px;
            font-size: 0.72rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
        }

        .startbot-chip:hover {
            background: var(--gold);
            color: var(--bg-deep);
        }

        .startbot-input {
            padding: 12px 20px;
            display: flex;
            gap: 10px;
            border-top: 1px solid rgba(255, 255, 255, 0.04);
        }

        .startbot-input input {
            flex-grow: 1;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 6px;
            padding: 10px 14px;
            color: var(--text);
            font-family: var(--font-display);
            font-size: 0.88rem;
            outline: none;
            transition: all 0.3s;
        }
        .startbot-input input:focus {
            border-color: var(--gold);
            box-shadow: 0 0 0 2px rgba(212, 175, 100, 0.2);
        }

        .startbot-input button {
            width: 38px;
            height: 38px;
            border-radius: 6px;
            background: var(--gold);
            color: var(--bg-deep);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        /* Footer */
        footer {
            background: var(--bg-deep);
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding: 100px 0 40px;
            position: relative;
            z-index: 2;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr;
            gap: 48px;
            margin-bottom: 60px;
        }

        .footer-logo {
            font-family: var(--font-serif);
            font-style: italic;
            font-size: 1.5rem;
            color: var(--text);
            margin-bottom: 16px;
        }

        .footer-logo span {
            font-family: var(--font-mono);
            font-style: normal;
            font-size: 0.7rem;
            color: var(--gold);
            letter-spacing: 0.2em;
            text-transform: uppercase;
        }

        .footer-links h4 {
            font-family: var(--font-mono);
            font-size: 0.75rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: var(--gold);
            margin-bottom: 24px;
        }

        .footer-links ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .footer-links a {
            color: var(--text-muted);
            font-size: 0.92rem;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--text);
        }

        .vnn-stamp {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: rgba(212, 175, 100, 0.05);
            border: 1px solid rgba(212, 175, 100, 0.2);
            border-radius: 4px;
            font-family: var(--font-mono);
            font-size: 0.72rem;
            color: var(--gold-light);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding-top: 32px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .bento-grid, .univ-slider, .pricing-table, .footer-grid {
                grid-template-columns: 1fr;
            }

            .calculator-layout, .booking-layout, .camp-timeline {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            .booking-layout > div, .calculator-layout > div {
                min-width: 0;
            }
            .form-row-2 {
                grid-template-columns: 1fr;
            }
            .picker-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .nav-menu, .btn-header-consult {
                display: none;
            }

            .mobile-btn {
                display: block;
            }
        }        /* University Modal Gallery */
        .univ-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s ease;
        }
        .univ-modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        .univ-modal-content {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            width: 90%;
            max-width: 1200px;
            max-height: 90vh;
            display: flex;
            flex-direction: column;
            box-shadow: 0 25px 50px rgba(0,0,0,0.5);
            transform: translateY(20px) scale(0.98);
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            overflow: hidden;
        }
        .univ-modal-overlay.active .univ-modal-content {
            transform: translateY(0) scale(1);
        }
        .univ-modal-header {
            padding: 24px 32px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255, 255, 255, 0.02);
        }
        .univ-modal-header h2 {
            font-size: 1.5rem;
            margin: 0;
            background: var(--gold-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .univ-modal-close {
            background: none;
            border: none;
            color: var(--text-color);
            cursor: pointer;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        .univ-modal-close:hover {
            background: rgba(212, 175, 100, 0.1);
            color: var(--gold);
        }
        .univ-modal-body {
            padding: 32px;
            overflow-y: auto;
            flex: 1;
        }
        .univ-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 24px;
        }
        
        .univ-modal-body::-webkit-scrollbar {
            width: 8px;
        }
        .univ-modal-body::-webkit-scrollbar-track {
            background: transparent;
        }
        .univ-modal-body::-webkit-scrollbar-thumb {
            background: var(--border-hover);
            border-radius: 4px;
        }

        /* Light Theme Wizard Enhancements */
        :root[data-theme="light"] .wizard-btn-option {
            background: #ffffff;
            border: 1px solid rgba(0, 0, 0, 0.12);
            color: #333333;
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
        }
        :root[data-theme="light"] .wizard-btn-option:hover {
            border-color: var(--gold);
            background: #ffffff;
            color: var(--gold);
            box-shadow: 0 12px 32px rgba(212, 175, 100, 0.25);
            transform: translateY(-4px);
        }
        :root[data-theme="light"] .wizard-progress {
            background: rgba(0, 0, 0, 0.06);
        }
        :root[data-theme="light"] .wizard-step h4 {
            color: #111111;
        }

        /* Online Camp Cards Hover Lift */
        #camp .glass-card {
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }
        #camp .glass-card:hover {
            transform: translateY(-12px);
            box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2), 0 0 30px rgba(212, 175, 100, 0.15);
        }
        :root[data-theme="light"] #camp .glass-card:hover {
            box-shadow: 0 40px 80px rgba(212, 175, 100, 0.15), 0 15px 30px rgba(0, 0, 0, 0.08);
        }
        
        /* Fix list borders in light mode */
        :root[data-theme="light"] #camp li[style*="border-bottom"] {
            border-bottom: 1px solid rgba(0,0,0,0.06) !important;
        }


/* --- COMPREHENSIVE MOBILE FIXES --- */
@media (max-width: 768px) {
    /* Typography Scaling */
    .gate-initial-hero h1, .hero-content h1 { font-size: 2.2rem !important; line-height: 1.2 !important; }
    .gate-initial-hero h1 em, .hero-content h1 em { font-size: 2.2rem !important; }
    .hero-seo-desc { font-size: 0.95rem !important; padding: 0 10px; }
    .hero-badge { margin-bottom: 16px !important; font-size: 0.65rem !important; }
    .gate-initial-hero p, .hero-content p { font-size: 1rem !important; padding: 0 10px; }
    .section-title h2 { font-size: 2.2rem !important; }
    .section-title p { font-size: 1rem !important; }
    
    /* Layout & Spacing */
    section { padding: 60px 0 !important; }
    .container { padding: 0 20px !important; }
    
    /* Portal Slides (Cinematic Gate) */
    .portal-slide { width: 95% !important; max-width: 100% !important; }
    .portal-slide .glass-card { padding: 24px 16px !important; }
    
    /* StartBot Chat Window */
    .startbot-window { 
        width: calc(100% - 32px) !important; 
        right: 16px !important; 
        bottom: 80px !important; 
        height: 60vh !important; 
        max-height: 460px !important;
        border-radius: 20px !important; 
    }
    
    /* Pricing & University Cards */
    .pkg-card { padding: 24px !important; }
    .pkg-header h3 { font-size: 1.5rem !important; }
    
    /* Calculator Modal */
    .calculator-layout { gap: 20px !important; }
    
    /* Forms & Inputs */
    input, textarea, select { font-size: 16px !important; /* Prevents iOS Zoom */ }
    
    /* Modals */
    .univ-modal-content {
        width: 95% !important;
        max-height: 95vh !important;
    }
    .univ-grid, .wizard-buttons {
        grid-template-columns: 1fr !important;
    }
    .section-padding { padding: 50px 0 !important; }
}


html {
    width: 100%;
    margin: 0;
    padding: 0;
}
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* startbot-window-fix */
@media(max-width:768px) {
    .startbot-window:not(.active) {
        display: none !important;
    }
}
