
        /* ==========================================================================
           1. CSS VARIABLES: THE FOUNDATION OF LIGHT & DARK MODES
           ========================================================================== */
        :root {
            /* CYBERPUNK / HIGH-TECH MODE */
            --bg-base: #050510;
            --bg-surface: #0b0b1a;
            --bg-elevated: #13132b;
            --bg-glass: rgba(11, 11, 26, 0.4);
            --bg-glass-hover: rgba(19, 19, 43, 0.6);

            --text-primary: #f0f4ff;
            --text-secondary: #94a3b8;
            --text-tertiary: #64748b;
            --text-inverse: #000000;

            --brand-primary: #3b82f6;
            --brand-hover: #60a5fa;
            --brand-glow: rgba(59, 130, 246, 0.5);
            --brand-glow-intense: rgba(59, 130, 246, 0.8);

            --accent-cyan: #06b6d4;
            --accent-purple: #a855f7;

            --gradient-text: linear-gradient(to right, #38bdf8, #a855f7);
            --gradient-surface: linear-gradient(180deg, rgba(19, 19, 43, 0.8) 0%, rgba(11, 11, 26, 0.4) 100%);
            --gradient-border: linear-gradient(135deg, rgba(56, 189, 248, 0.3) 0%, rgba(168, 85, 247, 0.1) 100%);

            --border-subtle: 1px solid rgba(56, 189, 248, 0.15);
            --border-highlight: 1px solid rgba(168, 85, 247, 0.3);

            --glass-blur: blur(20px);
            --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.6);
            --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.8);
            --shadow-lg: 0 24px 50px -10px rgba(0, 0, 0, 0.9);
            --shadow-glow: 0 0 30px var(--brand-glow);

            --radius-sm: 12px;
            --radius-md: 16px;
            --radius-lg: 24px;
            --radius-xl: 32px;
            --radius-pill: 9999px;

            --transition-fast: 0.2s ease;
            --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
            --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            --transition-slow: 1s cubic-bezier(0.16, 1, 0.3, 1);
        }

        [data-theme="light"] {
            /* LIGHT MODE */
            --bg-base: #f0f4f8;
            --bg-surface: #ffffff;
            --bg-elevated: #e2e8f0;
            --bg-glass: rgba(255, 255, 255, 0.6);
            --bg-glass-hover: rgba(255, 255, 255, 0.9);

            --text-primary: #0f172a;
            --text-secondary: #475569;
            --text-tertiary: #94a3b8;
            --text-inverse: #ffffff;

            --brand-primary: #2563eb;
            --brand-hover: #1d4ed8;
            --brand-glow: rgba(37, 99, 235, 0.3);
            --brand-glow-intense: rgba(37, 99, 235, 0.6);

            --accent-cyan: #0891b2;
            --accent-purple: #7e22ce;

            --gradient-text: linear-gradient(to right, #0284c7, #7e22ce);
            --gradient-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(226, 232, 240, 0.6) 100%);
            --gradient-border: linear-gradient(135deg, rgba(2, 132, 199, 0.2) 0%, rgba(126, 34, 206, 0.1) 100%);

            --border-subtle: 1px solid rgba(15, 23, 42, 0.1);
            --border-highlight: 1px solid rgba(15, 23, 42, 0.2);

            --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);
            --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.08);
            --shadow-lg: 0 24px 50px -10px rgba(0, 0, 0, 0.12);
            --shadow-glow: 0 0 30px rgba(0, 102, 204, 0.15);
        }

        /* ==========================================================================
           2. CSS RESET & GLOBAL STYLES
           ========================================================================== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background-color: var(--bg-base);
            color: var(--text-primary);
            overflow-x: hidden;
            transition: background-color 0.8s ease, color 0.8s ease;
        }

        body {
            position: relative;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        ::selection {
            background: var(--brand-primary);
            color: #ffffff;
        }

        ::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-base);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--bg-elevated);
            border-radius: 5px;
            border: 1px solid var(--border-subtle);
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--brand-primary);
        }

        /* ==========================================================================
           3. TYPOGRAPHY SYSTEM
           ========================================================================== */
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: 'Outfit', sans-serif;
            color: var(--text-primary);
            letter-spacing: -0.02em;
            margin-bottom: 1rem;
            transition: color 0.5s ease;
        }

        h1 {
            font-size: clamp(48px, 8vw, 120px);
            line-height: 1.05;
            font-weight: 900;
            letter-spacing: -0.04em;
        }

        h2 {
            font-size: clamp(36px, 5vw, 72px);
            line-height: 1.08;
            font-weight: 800;
            letter-spacing: -0.03em;
        }

        h3 {
            font-size: clamp(24px, 3vw, 36px);
            font-weight: 700;
            line-height: 1.2;
        }

        h4 {
            font-size: clamp(18px, 2vw, 24px);
            font-weight: 600;
        }

        p {
            color: var(--text-secondary);
            font-size: 18px;
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }

        .text-large {
            font-size: clamp(18px, 2vw, 24px);
            line-height: 1.6;
            font-weight: 400;
            color: var(--text-secondary);
        }

        .text-small {
            font-size: 14px;
            color: var(--text-tertiary);
        }

        a {
            color: var(--brand-primary);
            text-decoration: none;
            transition: var(--transition-smooth);
            display: inline-block;
        }

        a:hover {
            color: var(--brand-hover);
        }

        .gradient-text {
            background: var(--gradient-text);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: inline-block;
            transition: text-shadow 0.5s ease;
        }

        [data-theme="dark"] .gradient-text {
            text-shadow: 0 0 30px var(--brand-glow);
        }

        .uppercase-tracking {
            text-transform: uppercase;
            letter-spacing: 0.15em;
            font-weight: 700;
            font-size: 13px;
        }

        /* ==========================================================================
           4. 3D CANVAS & BACKGROUND EFFECTS
           ========================================================================== */
        #canvas-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: -2;
            pointer-events: none;
            opacity: 0.5; /* Fade out 3D elements heavily */
            transition: opacity 1s ease;
        }

        .ambient-glow {
            position: fixed;
            width: 80vw;
            height: 80vw;
            max-width: 800px;
            max-height: 800px;
            border-radius: 50%;
            background: radial-gradient(circle, var(--brand-glow) 0%, transparent 40%);
            filter: blur(100px);
            z-index: -1;
            opacity: 0.4;
            pointer-events: none;
            top: -20%;
            left: -10%;
            transition: background 1s ease;
        }

        .ambient-glow.secondary {
            top: auto;
            bottom: -20%;
            left: auto;
            right: -10%;
            background: radial-gradient(circle, rgba(138, 43, 226, 0.2) 0%, transparent 60%);
        }

        /* ==========================================================================
           5. LAYOUT & GRID SYSTEMS
           ========================================================================== */
        .container {
            width: 100%;
            max-width: 1440px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .container-fluid {
            width: 100%;
            padding: 0 24px;
        }

        section {
            padding: 180px 0;
            position: relative;
            z-index: 10;
        }

        .section-padding-sm {
            padding: 100px 0;
        }

        .section-header {
            text-align: center;
            margin-bottom: 80px;
            max-width: 800px;
            margin-inline: auto;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* CSS Grid Utilities */
        .grid {
            display: grid;
        }

        .grid-2 {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 60px;
        }

        .grid-3 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 32px;
        }

        .grid-4 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
        }

        /* Flexbox Utilities */
        .flex {
            display: flex;
        }

        .flex-col {
            flex-direction: column;
        }

        .flex-center {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .flex-between {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .gap-sm {
            gap: 12px;
        }

        .gap-md {
            gap: 24px;
        }

        .gap-lg {
            gap: 48px;
        }

        /* ==========================================================================
           6. NAVIGATION & MENUS
           ========================================================================== */
        nav {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 95%;
            max-width: 1400px;
            z-index: 1000;
            background: var(--bg-glass);
            backdrop-filter: var(--glass-blur);
            -webkit-backdrop-filter: var(--glass-blur);
            border: var(--border-subtle);
            border-radius: var(--radius-pill);
            box-shadow: var(--shadow-sm);
            padding: 8px 24px;
            transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }

        nav.scrolled {
            top: 10px;
            width: 98%;
            background: var(--bg-glass-hover);
            box-shadow: var(--shadow-lg);
            padding: 8px 24px;
        }

        .nav-wrapper {
            padding: 8px 0;
        }

        nav.scrolled .nav-wrapper {
            padding: 8px 0;
        }

        .logo-text {
            font-family: 'Outfit', sans-serif;
            font-size: 28px;
            font-weight: 900;
            letter-spacing: -1px;
            color: var(--text-primary);
            position: relative;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-icon {
            width: 32px;
            height: 32px;
            background: var(--gradient-text);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
            box-shadow: 0 4px 15px var(--brand-glow);
        }

        .nav-links {
            display: flex;
            gap: 40px;
            align-items: center;
        }

        .nav-link {
            color: var(--text-primary);
            font-size: 15px;
            font-weight: 500;
            opacity: 0.7;
            position: relative;
            padding: 8px 0;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0%;
            height: 2px;
            background: var(--gradient-text);
            transition: width 0.3s ease;
            border-radius: 2px;
        }

        .nav-link:hover {
            opacity: 1;
            transform: translateY(-2px);
        }

        .nav-link:hover::after {
            width: 100%;
        }

        /* Theme Toggle Switch */
        .theme-switch-wrapper {
            display: flex;
            align-items: center;
        }

        .theme-switch {
            position: relative;
            width: 68px;
            height: 34px;
            display: inline-block;
        }

        .theme-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider-toggle {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: var(--bg-elevated);
            border: var(--border-subtle);
            border-radius: var(--radius-pill);
            transition: var(--transition-smooth);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 8px;
            box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        .slider-toggle:before {
            content: "";
            position: absolute;
            height: 26px;
            width: 26px;
            left: 3px;
            bottom: 3px;
            background-color: var(--brand-primary);
            border-radius: 50%;
            transition: var(--transition-bounce);
            z-index: 2;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

        input:checked+.slider-toggle:before {
            transform: translateX(34px);
            background-color: #f0c420;
            box-shadow: 0 2px 10px rgba(240, 196, 32, 0.4);
        }

        .icon-moon,
        .icon-sun {
            font-size: 14px;
            z-index: 1;
            user-select: none;
        }

        /* Mobile Menu Toggle */
        .mobile-menu-btn {
            display: none;
            background: transparent;
            border: none;
            color: var(--text-primary);
            cursor: pointer;
            padding: 10px;
        }

        .mobile-menu-btn svg {
            width: 28px;
            height: 28px;
        }

        /* ==========================================================================
           7. BUTTONS & INTERACTIVE ELEMENTS
           ========================================================================== */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 16px 32px;
            border-radius: var(--radius-pill);
            font-weight: 600;
            font-size: 16px;
            font-family: 'Inter', sans-serif;
            border: none;
            cursor: pointer;
            transition: var(--transition-bounce);
            text-decoration: none;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .btn-primary {
            background: var(--brand-primary);
            color: #ffffff;
            box-shadow: 0 4px 15px var(--brand-glow);
        }

        .btn-primary:hover {
            transform: scale(1.05) translateY(-2px);
            box-shadow: 0 8px 25px var(--brand-glow-intense);
        }

        .btn-outline {
            background: transparent;
            color: var(--text-primary);
            border: 2px solid var(--border-highlight);
        }

        .btn-outline:hover {
            background: var(--bg-surface);
            border-color: var(--brand-primary);
            color: var(--brand-primary);
            transform: scale(1.05);
            box-shadow: 0 0 20px var(--brand-glow);
        }

        .btn-accent {
            background: var(--gradient-text);
            color: #ffffff;
            box-shadow: 0 10px 20px var(--brand-glow);
            border: 1px solid rgba(255,255,255,0.2);
        }

        .btn-accent:hover {
            box-shadow: 0 15px 30px var(--brand-glow-intense);
            transform: scale(1.05) translateY(-2px);
            color: #ffffff;
            border: 1px solid rgba(255,255,255,0.5);
        }

        .btn-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--bg-elevated);
            border: var(--border-subtle);
            color: var(--text-primary);
            transition: var(--transition-bounce);
            cursor: pointer;
        }

        .btn-icon:hover {
            background: var(--brand-primary);
            color: #ffffff;
            transform: scale(1.1) rotate(5deg);
            box-shadow: var(--shadow-glow);
        }

        .btn-large {
            padding: 20px 48px;
            font-size: 18px;
        }

        /* Badges */
        .badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 20px;
            border-radius: var(--radius-pill);
            background: var(--bg-elevated);
            color: var(--text-primary);
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 0.5px;
            border: var(--border-subtle);
            margin-bottom: 24px;
            box-shadow: var(--shadow-sm);
            transition: var(--transition-smooth);
        }

        .badge-accent {
            background: rgba(0, 122, 255, 0.1);
            color: var(--brand-primary);
            border: 1px solid rgba(0, 122, 255, 0.2);
        }

        .badge:hover {
            transform: translateY(-2px);
            border-color: var(--border-highlight);
            background: var(--bg-surface);
        }

        /* ==========================================================================
           8. CARDS, BENTO BOXES & UI CONTAINERS
           ========================================================================== */
        .glass-card {
            background: var(--bg-glass);
            backdrop-filter: var(--glass-blur);
            -webkit-backdrop-filter: var(--glass-blur);
            border: var(--border-subtle);
            border-radius: var(--radius-lg);
            padding: 48px;
            position: relative;
            overflow: hidden;
            transition: var(--transition-smooth);
            box-shadow: var(--shadow-md);
            display: flex;
            flex-direction: column;
            z-index: 1;
        }

        .glass-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--gradient-border);
            z-index: -1;
            opacity: 0.5;
            transition: opacity 0.5s ease;
        }

        .glass-card:hover {
            transform: translateY(-10px);
            border-color: var(--brand-primary);
            box-shadow: 0 10px 40px -10px var(--brand-glow-intense);
            background: var(--bg-glass-hover);
        }

        .glass-card:hover::before {
            opacity: 1;
        }

        .icon-box-lg {
            width: 80px;
            height: 80px;
            border-radius: 20px;
            background: var(--bg-elevated);
            border: var(--border-subtle);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 32px;
            color: var(--brand-primary);
            transition: var(--transition-bounce);
            box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .icon-box-sm {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: var(--bg-elevated);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--brand-primary);
            flex-shrink: 0;
        }

        .glass-card:hover .icon-box-lg {
            transform: scale(1.1) translateY(-5px);
            background: var(--gradient-text);
            color: #ffffff;
            border-color: transparent;
            box-shadow: 0 10px 20px var(--brand-glow);
        }

        .icon-box-lg svg {
            width: 40px;
            height: 40px;
            stroke-width: 1.5;
        }

        /* Bento Grid Specifics */
        .bento-grid {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            grid-auto-rows: minmax(300px, auto);
            gap: 24px;
        }

        .bento-large {
            grid-column: span 7;
        }

        .bento-small {
            grid-column: span 5;
        }

        .bento-half {
            grid-column: span 6;
        }

        .bento-full {
            grid-column: span 12;
        }

        .bento-content-bottom {
            margin-top: auto;
        }

        /* ==========================================================================
           9. PORTFOLIO & IMAGE CONTAINERS
           ========================================================================== */
        .project-card {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            background: var(--bg-elevated);
            border: var(--border-subtle);
            cursor: pointer;
            min-height: 500px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            box-shadow: var(--shadow-md);
            transition: var(--transition-smooth);
            text-decoration: none;
        }

        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px var(--brand-glow-intense);
            border-color: var(--brand-primary);
        }

        .project-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
            z-index: 1;
        }

        .project-card:hover .project-bg {
            transform: scale(1.08);
        }

        .project-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 100%);
            z-index: 2;
        }

        .project-content {
            position: relative;
            z-index: 3;
            padding: 48px;
            color: #ffffff;
            /* Always white over images */
        }

        .project-content h3 {
            color: #ffffff;
            font-size: 36px;
            margin-bottom: 12px;
        }

        .project-content p {
            color: rgba(255, 255, 255, 0.8);
            font-size: 18px;
            max-width: 80%;
            margin-bottom: 0;
        }

        /* ==========================================================================
           10. TIMELINE (PROCESS SECTION)
           ========================================================================== */
        .timeline-wrapper {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
            padding: 40px 0;
        }

        .timeline-line {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 2px;
            left: 31px;
            background: var(--brand-glow-intense);
            z-index: 1;
        }

        .timeline-item {
            position: relative;
            margin-bottom: 80px;
            width: 100%;
            display: flex;
            justify-content: flex-start;
            align-items: flex-start;
            padding-left: 100px;
            z-index: 2;
        }

        .timeline-item:last-child {
            margin-bottom: 0;
        }

        .timeline-content {
            width: 100%;
            background: var(--bg-glass);
            backdrop-filter: var(--glass-blur);
            padding: 40px;
            border-radius: var(--radius-lg);
            border: var(--border-subtle);
            box-shadow: var(--shadow-md);
            transition: var(--transition-smooth);
        }

        .timeline-item:hover .timeline-content {
            border-color: var(--brand-primary);
            box-shadow: var(--shadow-glow);
            transform: translateY(-5px);
        }

        .timeline-icon {
            position: absolute;
            left: 32px;
            top: 0;
            transform: translate(-50%, 0);
            width: 64px;
            height: 64px;
            background: var(--bg-elevated);
            border: 2px solid var(--brand-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 800;
            font-family: 'Outfit', sans-serif;
            color: var(--text-primary);
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
            transition: var(--transition-bounce);
        }

        .timeline-item:hover .timeline-icon {
            background: var(--gradient-text);
            color: #ffffff;
            border-color: transparent;
            transform: translate(-50%, 0) scale(1.2);
            box-shadow: 0 0 30px var(--brand-glow);
        }

        /* ==========================================================================
           11. PRICING TABLES
           ========================================================================== */
        .pricing-card {
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .pricing-header {
            margin-bottom: 32px;
        }

        .pricing-price {
            font-family: 'Outfit', sans-serif;
            font-size: 64px;
            font-weight: 900;
            color: var(--text-primary);
            margin: 24px 0;
            display: flex;
            align-items: baseline;
            gap: 8px;
        }

        .pricing-price span {
            font-size: 20px;
            font-weight: 500;
            color: var(--text-tertiary);
        }

        .pricing-features {
            list-style: none;
            flex-grow: 1;
            margin-bottom: 40px;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .pricing-features li {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 16px;
            color: var(--text-secondary);
            padding-bottom: 16px;
            border-bottom: 1px solid var(--border-subtle);
        }

        .pricing-features li:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .pricing-features li svg {
            color: var(--brand-primary);
            flex-shrink: 0;
        }

        .pricing-card.featured {
            border-color: var(--brand-primary);
            box-shadow: var(--shadow-glow);
            transform: scale(1.05);
            z-index: 10;
        }

        /* ==========================================================================
           12. FAQ ACCORDION
           ========================================================================== */
        .faq-wrapper {
            max-width: 900px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .faq-item {
            background: var(--bg-glass);
            border: var(--border-subtle);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: var(--transition-smooth);
        }

        .faq-item:hover {
            border-color: var(--border-highlight);
            background: var(--bg-surface);
        }

        .faq-question {
            padding: 32px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            font-family: 'Outfit', sans-serif;
            font-size: 20px;
            font-weight: 600;
            color: var(--text-primary);
        }

        .faq-icon {
            width: 24px;
            height: 24px;
            color: var(--brand-primary);
            transition: transform 0.4s ease;
        }

        .faq-item.active .faq-icon {
            transform: rotate(180deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            padding: 0 32px;
        }

        .faq-item.active .faq-answer {
            padding-bottom: 32px;
        }

        /* ==========================================================================
           13. INFINITE MARQUEE (TECH STACK & PARTNERS)
           ========================================================================== */
        .marquee-wrapper {
            overflow: hidden;
            white-space: nowrap;
            position: relative;
            padding: 60px 0;
            background: var(--bg-surface);
            border-top: var(--border-subtle);
            border-bottom: var(--border-subtle);
            display: flex;
            flex-direction: column;
            gap: 40px;
        }

        .marquee-wrapper::before,
        .marquee-wrapper::after {
            content: '';
            position: absolute;
            top: 0;
            width: 200px;
            height: 100%;
            z-index: 2;
            pointer-events: none;
        }

        .marquee-wrapper::before {
            left: 0;
            background: linear-gradient(to right, var(--bg-surface) 0%, transparent 100%);
        }

        .marquee-wrapper::after {
            right: 0;
            background: linear-gradient(to left, var(--bg-surface) 0%, transparent 100%);
        }

        .marquee-track {
            display: inline-flex;
            animation: scrollMarquee 40s linear infinite;
            gap: 80px;
            padding-right: 80px;
            align-items: center;
        }

        .marquee-track:hover {
            animation-play-state: paused;
        }

        .marquee-item {
            display: flex;
            align-items: center;
            gap: 16px;
            opacity: 0.5;
            filter: grayscale(100%);
            transition: var(--transition-smooth);
            cursor: pointer;
        }

        .marquee-item:hover {
            opacity: 1;
            filter: grayscale(0%);
            transform: scale(1.1);
        }

        .marquee-item svg {
            height: 50px;
            width: auto;
            fill: var(--text-primary);
        }

        .marquee-item h3 {
            margin: 0;
            font-size: 24px;
        }

        @keyframes scrollMarquee {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        @keyframes scrollMarqueeReverse {
            0% {
                transform: translateX(-50%);
            }

            100% {
                transform: translateX(0);
            }
        }

        .marquee-track.reverse {
            animation-name: scrollMarqueeReverse;
        }

        /* ==========================================================================
           14. FOOTER & NEWSLETTER
           ========================================================================== */
        footer {
            background: var(--bg-elevated);
            padding: 120px 0 40px;
            border-top: var(--border-subtle);
            position: relative;
            overflow: hidden;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.5fr;
            gap: 60px;
            margin-bottom: 80px;
        }

        .footer-col h4 {
            margin-bottom: 32px;
            font-size: 18px;
            color: var(--text-primary);
        }

        .footer-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .footer-links a {
            color: var(--text-secondary);
            font-size: 16px;
        }

        .footer-links a:hover {
            color: var(--brand-primary);
            padding-left: 5px;
        }

        .newsletter-form {
            display: flex;
            gap: 12px;
            margin-top: 24px;
        }

        .newsletter-input {
            flex-grow: 1;
            padding: 16px 24px;
            border-radius: var(--radius-pill);
            background: var(--bg-surface);
            border: var(--border-subtle);
            color: var(--text-primary);
            font-size: 16px;
            font-family: 'Inter', sans-serif;
            outline: none;
            transition: var(--transition-fast);
        }

        .newsletter-input:focus {
            border-color: var(--brand-primary);
            box-shadow: 0 0 0 3px var(--brand-glow);
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 40px;
            border-top: 1px solid var(--border-subtle);
            flex-wrap: wrap;
            gap: 24px;
        }

        /* ==========================================================================
           15. ANIMATION CLASSES (INTERSECTION OBSERVER)
           ========================================================================== */
        .reveal-up {
            opacity: 0;
            transform: translateY(60px);
            transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .reveal-scale {
            opacity: 0;
            transform: scale(0.9);
            transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .reveal-left {
            opacity: 0;
            transform: translateX(-60px);
            transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .reveal-right {
            opacity: 0;
            transform: translateX(60px);
            transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .is-visible {
            opacity: 1 !important;
            transform: translate(0) scale(1) !important;
        }

        /* Delay Classes for Staggering */
        .delay-100 {
            transition-delay: 100ms;
        }

        .delay-200 {
            transition-delay: 200ms;
        }

        .delay-300 {
            transition-delay: 300ms;
        }

        .delay-400 {
            transition-delay: 400ms;
        }

        .delay-500 {
            transition-delay: 500ms;
        }

        @keyframes float {
            0% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-20px);
            }

            100% {
                transform: translateY(0px);
            }
        }

        .animate-float {
            animation: float 6s ease-in-out infinite;
        }

        .hero-visuals {
            position: relative; height: 500px; display: flex; align-items: center; justify-content: center;
        }

        .hero-card-1 {
            padding: 40px; position: absolute; z-index: 2; top: 10%; right: 10%; width: 280px;
            border: 1px solid rgba(56, 189, 248, 0.3);
            box-shadow: 0 10px 40px rgba(56, 189, 248, 0.2);
        }

        .hero-card-2 {
            padding: 40px; position: absolute; z-index: 1; bottom: 10%; left: 10%; width: 280px; backdrop-filter: blur(60px);
            border: 1px solid rgba(168, 85, 247, 0.3);
            box-shadow: 0 10px 40px rgba(168, 85, 247, 0.2);
        }

        /* ==========================================================================
           16. RESPONSIVE DESIGN & MEDIA QUERIES
           ========================================================================== */
        @media (max-width: 1200px) {

            .bento-large,
            .bento-small,
            .bento-half {
                grid-column: span 12;
            }

            .timeline-content {
                width: 40%;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 992px) {
            section {
                padding: 120px 0;
            }

            .grid-2,
            .grid-3,
            .grid-4 {
                grid-template-columns: 1fr;
            }

            .timeline-line {
                left: 24px;
            }

            .timeline-item, .timeline-item:nth-child(odd) {
                padding-left: 70px;
            }

            .timeline-content {
                width: 100%;
            }

            .timeline-icon {
                left: 24px;
                width: 48px;
                height: 48px;
                font-size: 18px;
            }

            .glass-card {
                padding: 32px;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            /* Mobile menu needs custom JS toggle */
            .mobile-menu-btn {
                display: block;
            }

            #auth-section {
                display: none;
            }

            nav { width: 100%; top: 0; border-radius: 0; left: 0; transform: none; padding: 0; }
            nav.scrolled { width: 100%; top: 0; border-radius: 0; }

            /* Hide auth on mobile nav, move to hamburger */

            /* Mobile Top Bar Optimizations */
            .container {
                padding: 0 16px;
            }

            .nav-wrapper {
                padding: 12px 0;
            }

            .logo-text {
                font-size: 20px;
                gap: 8px;
            }

            .logo-icon {
                width: 28px;
                height: 28px;
                font-size: 16px;
            }

            nav .flex-center.gap-md {
                gap: 0px;
            }

            .theme-switch {
                transform: scale(0.75);
                transform-origin: right center;
            }

            .mobile-menu-btn {
                padding: 8px;
            }

            .hero-visuals {
                height: auto; flex-direction: column; gap: 24px; margin-top: 40px;
            }

            .hero-card-1,
            .hero-card-2 {
                position: relative; top: auto; right: auto; bottom: auto; left: auto; width: 100%;
            }

            h1 {
                font-size: 56px;
            }

            h2 {
                font-size: 40px;
            }

            section {
                padding: 80px 0;
            }

            .pricing-card.featured {
                transform: scale(1);
            }

            .marquee-wrapper::before,
            .marquee-wrapper::after {
                width: 50px;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .newsletter-form {
                flex-direction: column;
            }
        }

        @media (max-width: 480px) {
            h1 {
                font-size: 48px;
            }

            .glass-card {
                padding: 24px;
            }

            .timeline-item, .timeline-item:nth-child(odd) {
                padding-left: 60px;
            }
            .timeline-content {
                padding: 24px;
            }

            .btn {
                width: 100%;
            }
        }

        /* Dropdown Styles */
        .dropdown {
            position: relative;
            display: inline-block;
        }

        .dropdown-content {
            display: none;
            position: absolute;
            background-color: var(--bg-elevated);
            min-width: 240px;
            box-shadow: var(--shadow-lg);
            border-radius: 12px;
            border: var(--border-subtle);
            padding: 8px 0;
            z-index: 1001;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            backdrop-filter: var(--glass-blur);
        }

        .dropdown:hover .dropdown-content {
            display: block;
            animation: fadeInDropdown 0.3s ease;
        }

        .dropdown-item {
            color: var(--text-primary);
            padding: 12px 20px;
            text-decoration: none;
            display: flex;
            align-items: center;
            font-size: 14px;
            transition: background-color 0.2s;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        }

        .dropdown-item:last-child {
            border-bottom: none;
        }

        .dropdown-item:hover {
            background-color: rgba(255, 255, 255, 0.05);
            color: var(--brand-primary);
            padding-left: 24px;
        }

        @keyframes fadeInDropdown {
            from {
                opacity: 0;
                transform: translateX(-50%) translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateX(-50%) translateY(0);
            }
        }

        /* Mobile Menu Overlay */
        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            right: 0;
            width: 320px;
            max-width: 90vw;
            height: 100vh;
            background: var(--bg-glass-hover);
            backdrop-filter: var(--glass-blur);
            -webkit-backdrop-filter: var(--glass-blur);
            z-index: 2000;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: flex-start;
            pointer-events: none;
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            transform: translateX(100%);
            padding: 80px 32px 40px;
            overflow-y: auto;
            border-left: var(--border-subtle);
        }

        .mobile-menu-overlay.active {
            pointer-events: all;
            transform: translateX(0);
        }

        .mobile-nav-links {
            display: flex;
            flex-direction: column;
            gap: 24px;
            text-align: left;
            width: 100%;
        }

        .mobile-nav-links a.nav-link-mobile {
            font-family: 'Outfit', sans-serif;
            font-size: 24px;
            font-weight: 700;
            color: var(--text-primary);
            opacity: 0.8;
            transition: 0.3s;
            padding: 8px 0;
            text-decoration: none;
            display: flex;
            align-items: center;
        }

        .mobile-nav-links a.nav-link-mobile:hover {
            color: var(--brand-primary);
            opacity: 1;
            padding-left: 8px;
        }

        .mobile-menu-close {
            position: absolute;
            top: 24px;
            right: 24px;
            background: var(--bg-elevated);
            border: var(--border-subtle);
            color: var(--text-primary);
            cursor: pointer;
            padding: 0;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: 0.3s;
        }

        .mobile-menu-close:hover {
            background: var(--brand-primary);
            color: white;
            transform: rotate(90deg);
        }

        .mobile-menu-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1999;
            /* Below the menu */
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s ease;
        }

        .mobile-menu-backdrop.active {
            opacity: 1;
            pointer-events: all;
        }

        /* Extra small screen adjustments */
        @media (max-width: 380px) {
            h1 {
                font-size: 36px;
            }

            .btn {
                padding: 14px 24px;
                font-size: 14px;
            }
        }

        /* Stats Grid Responsive Borders */
        .stat-item {
            position: relative;
            transition: transform 0.3s ease;
        }
        .stat-item:hover {
            transform: translateY(-5px);
        }
        .stat-item:hover h3 {
            text-shadow: 0 0 20px var(--brand-glow-intense);
        }

        @media (min-width: 993px) {
            .stat-item:not(:first-child) {
                border-left: var(--border-subtle);
            }
        }

        @media (max-width: 992px) {
            .stat-item {
                padding: 24px 0;
                border-bottom: var(--border-subtle);
            }

            .stat-item:last-child {
                border-bottom: none;
                padding-bottom: 0;
            }

            .stat-item:first-child {
                padding-top: 0;
            }
        }

        /* Mobile Menu Staggered Animation */
        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .mobile-menu-overlay.active .nav-link-mobile {
            opacity: 0;
            animation: slideInUp 0.5s ease forwards;
        }

        .mobile-menu-overlay.active .nav-link-mobile:nth-child(1) {
            animation-delay: 0.1s;
        }

        .mobile-menu-overlay.active .nav-link-mobile:nth-child(2) {
            animation-delay: 0.2s;
        }

        .mobile-menu-overlay.active .nav-link-mobile:nth-child(3) {
            animation-delay: 0.3s;
        }

        .mobile-menu-overlay.active .nav-link-mobile:nth-child(4) {
            animation-delay: 0.4s;
        }

        .mobile-menu-overlay.active .nav-link-mobile:nth-child(5) {
            animation-delay: 0.5s;
        }

        /* Enhanced Mobile Polish */
        @media (max-width: 768px) {
            p {
                font-size: 16px;
                line-height: 1.6;
            }

            .text-large {
                font-size: 18px;
            }

            .project-card {
                min-height: 350px;
            }

            .marquee-wrapper {
                padding: 30px 0;
                gap: 20px;
            }

            .marquee-item svg {
                height: 32px;
            }

            .marquee-item h3 {
                font-size: 18px;
            }

            #hero {
                padding-top: 100px !important;
            }

            .chart-container {
                height: 280px !important;
                padding: 12px !important;
            }

            .analytics-card {
                padding: 32px 20px !important;
            }

            .analytics-grid {
                gap: 40px !important;
            }
        }
