@font-face {
            font-family: 'Cera Pro';
            src: url('../../style-direction/fonts/Cera-Pro/CeraPro-Regular_subset.woff2') format('woff2');
            font-weight: 400;
            font-style: normal;
        }
        @font-face {
            font-family: 'Cera Pro';
            src: url('../../style-direction/fonts/Cera-Pro/CeraPro-Medium_subset.woff2') format('woff2');
            font-weight: 500;
            font-style: normal;
        }
        @font-face {
            font-family: 'Cera Pro';
            src: url('../../style-direction/fonts/Cera-Pro/CeraPro-Bold_subset.woff2') format('woff2');
            font-weight: 700;
            font-style: normal;
        }

        :root {
            --bg-base: #F8F4F1;
            --text-dark: #323232;
            --text-muted: #888888;
            --accent: #5769B1;
            --blue: #5769B1;
            --white: #FFFFFF;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Cera Pro', sans-serif; }
        
        body { 
            margin: 0;
            padding: 0;
            background-color: var(--white);
            font-family: 'Cera Pro', sans-serif;
            color: var(--text-dark); 
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        /* ==========================================
         * LOAD ANIMATIONS
         * ========================================== */
        @keyframes navSlideDown {
            from { transform: translateY(-100%); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }
        @keyframes contentFadeUp {
            from { transform: translateY(30px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }
        @keyframes imageRevealScale {
            from { transform: scale(0.92); opacity: 0; filter: blur(10px); }
            to { transform: scale(1); opacity: 1; filter: blur(0px); }
        }
        @keyframes stackFadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* Hero */
        .hero {
            position: relative;
            padding: 6rem 3rem 12rem;
            min-height: calc(100vh + 250px);
            display: flex;
            align-items: center;
            z-index: 10;
            background-color: transparent;
            background-image: 
                radial-gradient(circle at 55vw 80px, rgba(206,218,245,0.7) 0%, transparent 700px),
                radial-gradient(circle at 90vw 100px, rgba(230,235,245,0.5) 0%, transparent 800px),
                radial-gradient(circle at 50vw 800px, rgba(240,230,235,0.5) 0%, transparent 1000px),
                linear-gradient(to bottom, var(--bg-base) 0%, var(--bg-base) calc(100% - 250px), var(--white) 100%);
            background-repeat: no-repeat;
        }

        .hero__container {
            max-width: 1320px;
            margin: 0 auto;
            width: 100%;
            display: grid;
            grid-template-columns: 0.85fr 1.15fr;
            gap: 5rem;
            align-items: center;
        }

        .hero__content {
            max-width: 540px;
        }

        .hero__title,
        .hero__subtitle,
        .hero__actions {
            opacity: 0;
            animation: contentFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }
        
        .hero__title { animation-delay: 0.3s; }
        .hero__subtitle { animation-delay: 0.4s; }
        .hero__actions { animation-delay: 0.5s; }

        .hero__title {
            font-size: 4rem;
            line-height: 1.1;
            font-weight: 400;
            color: var(--text-dark);
            margin-bottom: 1.5rem;
            letter-spacing: -0.01em;
        }

        .hero__title .text-accent {
            color: #63A3EE; 
        }

        .hero__subtitle {
            font-size: 1.1rem;
            line-height: 1.6;
            color: #475569;
            margin-bottom: 2.5rem;
            max-width: 95%;
        }

        .hero__actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50em;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            gap: 0.5rem;
        }

        .btn.is--primary {
            background-color: #5769B1;
            color: white;
            padding: 0.85em 1.25em;
            font-size: 1.1rem;
            border-radius: 40px;
            border: 1px solid transparent;
            box-shadow: 0 4px 14px rgba(87, 105, 177, 0.25);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-flex;
            gap: 10px;
            align-items: center;
        }

        .btn.is--primary svg {
            transition: transform 0.3s ease;
        }

        .btn.is--primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(87, 105, 177, 0.4);
            background-color: #4a5a9a;
        }

        .btn.is--primary:hover svg {
            transform: translateX(4px);
        }

        .btn.is--link {
            color: var(--text-dark);
            background: transparent;
            font-size: 1.1rem;
            padding: 0.85em 1.25em;
            font-weight: 500;
            border: 1px solid rgba(15, 23, 42, 0.12);
            border-radius: 40px;
        }

        .btn.is--link:hover {
            opacity: 1;
            border-color: rgba(15, 23, 42, 0.3);
            background-color: rgba(15, 23, 42, 0.02);
            color: var(--blue);
        }

        .hero-logo-banner {
            position: absolute;
            bottom: 260px;
            left: 0;
            right: 0;
            margin: 0 auto;
            z-index: 10;
            width: 100%;
            max-width: calc(1320px + 6rem);
            padding: 0 3rem;
            text-align: center;
            z-index: 5;
            opacity: 0;
            animation: contentFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            animation-delay: 1.2s;
        }
        .hero-logo-banner .subtitle {
            font-size: 0.75rem;
            letter-spacing: 1.5px;
            color: #94a3b8;
            font-weight: 600;
            text-transform: uppercase;
            margin-bottom: 2rem;
        }
        .hero-logo-banner__grid {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 2rem;
            flex-wrap: wrap;
            opacity: 0.85;
            transition: opacity 0.3s;
            width: 100%;
        }
        .hero-logo-banner__grid:hover {
            opacity: 1;
        }
        .hero-logo-banner__grid svg {
            height: 32px;
            width: auto;
            color: #1c2340;
        }

        /* Hero Visual & Cards */
        .hero__visual {
            position: relative;
            width: 100%;
        }

        .hero__visual-inner {
            position: relative;
            padding-right: 40px; 
            padding-bottom: 40px;
        }

        .hero__image-wrapper {
            position: relative;
            background: transparent;
            border-radius: 16px;
            box-shadow: 0 30px 60px rgba(0,0,0,0.08); 
            z-index: 1;
            overflow: hidden;
            opacity: 0;
            animation: imageRevealScale 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            animation-delay: 1.4s;
        }

        .hero__image-wrapper img {
            display: block;
            width: 100%;
            height: auto;
            border-radius: 16px;
            object-fit: cover;
            aspect-ratio: 4 / 3;
            transform: scale(1.2);
            transform-origin: center;
            will-change: transform;
        }

        .hero__overlap-photo {
            position: absolute;
            top: 55%;
            transform: translateY(-50%);
            right: -20px;
            width: 250px;
            aspect-ratio: 3 / 4;
            border-radius: 16px;
            border: none;
            box-shadow: 0 30px 60px rgba(0,0,0,0.18);
            z-index: 12;
            overflow: hidden;
            animation: imageRevealScale 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            animation-delay: 0.6s;
            opacity: 0;
            background: transparent;
            transform-origin: right center;
        }

        .hero__overlap-photo img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 16px;
            transform: scale(1.15);
            transform-origin: center;
        }

        .hero-notifications-stack {
            position: absolute;
            left: 45%;
            transform: translateX(-50%);
            bottom: 0px;
            width: 100%;
            max-width: 340px;
            height: 120px;
            z-index: 20;
            opacity: 0;
            animation: stackFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            animation-delay: 0.8s;
            transform-style: preserve-3d;
        }
        
        .hero-notifications-stack .data-card {
            background: rgba(255, 255, 255, 0.75);
            -webkit-backdrop-filter: blur(60px) saturate(160%);
            backdrop-filter: blur(60px) saturate(160%);
            border: 1px solid rgba(255, 255, 255, 0.7);
            padding: 10px 24px 10px 10px;
            border-radius: 28px;
            position: absolute;
            top: 0;
            left: 50%;
            width: 100%;
            max-width: 400px;
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.5);

            /* Match standard bounce animation */
            transform: translate(-50%, 20px) scale(0.95);
            opacity: 0;
            transition: opacity 0.1s ease-out, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .hero-notifications-stack .data-card.active {
            opacity: 1;
            transform: translate(-50%, 0) scale(1);
            z-index: 5;
        }

        /* Visibility of card content when active */
        .hero-notifications-stack .data-card .card-text,
        .hero-notifications-stack .data-card .card-header-icon {
            opacity: 0;
            transform: translateY(6px);
            transition: opacity 0.2s ease, transform 0.2s ease;
        }
        
        .hero-notifications-stack .data-card.active .card-text,
        .hero-notifications-stack .data-card.active .card-header-icon {
            opacity: 1;
            transform: translateY(0);
            transition: opacity 0.2s ease 0.05s, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s;
        }

        /* Insight Item styles */
        .hero-card__header strong {
            font-size: 1rem;
            color: #5769B1;
            font-weight: 500;
            display: block;
            margin-bottom: 0.5rem;
        }

        .hero-card__insight-item {
            width: 100%;
        }

        .insight-item-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.85rem;
            font-weight: 700;
            color: #334155;
            margin-bottom: 6px;
        }

        .hero-card__insight-item p {
            font-size: 0.8rem;
            color: #64748b;
            line-height: 1.5;
            margin: 0;
        }

        .hero-card__insight-item.border-top {
            padding-top: 1rem;
            margin-top: 0.25rem;
            border-top: 1px dashed rgba(0,0,0,0.1);
        }

        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-12px); }
            100% { transform: translateY(0px); }
        }

        @media (max-width: 991px) {
            .hero__container { grid-template-columns: 1fr; gap: 3rem; }
            .hero__content { margin: 0 auto; text-align: center; }
            .hero__title { font-size: 3rem; }
            .hero__actions { justify-content: center; }
            .hero__visual-inner { padding: 0 10px; }
            .hero-notifications-stack {
                bottom: 40px;
                transform: translateX(-50%) scale(0.9);
            }
        }
        @media (max-width: 768px) {
            .hero { padding: 8rem 1.5rem 4rem; }
            .hero__title { font-size: 2.5rem; }
        }
        .subtitle {
            font-size: 1rem; color: var(--text-muted); opacity: 0.5;
            letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
        }


        /* Image Sequence Core */
        .image-sequence__wrap {
          width: 100%;
          height: 500vh;
          position: relative;
        }

        .image-sequence__sticky {
          justify-content: center;
          align-items: center;
          width: 100%;
          height: 100vh;
          display: flex;
          position: sticky;
          top: 0;
          overflow: hidden;
        }

        /* The stage — contains canvas + all overlays */
        .stage {
          width: 828px;
          max-width: 90%;
          aspect-ratio: 1664 / 1244;
          position: relative;
        }

        .image-sequence__element {
          z-index: 0;
          width: 100%;
          height: 100%;
          position: absolute;
          inset: 0%;
          mix-blend-mode: multiply;
        }

        .image-sequence__canvas {
          width: 100%;
          height: 100%;
          padding: 0;
          position: relative;
          display: block;
        }

        /* ===== OVERLAY UI ===== */

        /* The Giant Timeline Ring — positioned behind the stage in the sticky view */
        .timeline-ring {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 90vmin;
            height: 90vmin;
            border-radius: 50%;
            border: none;
            z-index: 100;
            will-change: transform;
            pointer-events: none;
            transition: opacity 0.8s ease, transform 0.8s ease;
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.85);
        }


        /* UI Overlay Layer — positioned over the stage */
        .ui-layer {
            position: absolute;
            inset: 0;
            z-index: 50;
            pointer-events: none;
        }

        .card-header-icon {
            width: 46px; height: 46px; border-radius: 23px; display: flex; align-items: center; justify-content: center;
            flex-shrink: 0;
        }
        .card-header-icon svg { width: 22px; height: 22px; }
        .card-text { display: flex; flex-direction: column; justify-content: center; flex: 1; min-width: 0; }
        .card-title-row { display: flex; justify-content: flex-start; align-items: center; width: 100%; margin-bottom: 4px; gap: 8px; }
        .card-title { margin: 0; font-size: 0.95rem; font-weight: 800; color: #1c2340; line-height: 1.2; }
        .card-time { font-size: 0.65rem; color: #6b7280; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
        .card-subtitle { margin: 0; font-size: 0.8rem; color: #4b5563; line-height: 1.3; }

        .activity-feed {
            position: absolute;
            top: 25%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 110;
            pointer-events: none;
            width: 400px;
            height: 80px;
        }

        /* Stack cards on top of each other — glassmorphism */
        .data-card {
            position: absolute;
            left: 0;
            top: 0;
            background: rgba(255, 255, 255, 0.45);
            backdrop-filter: blur(48px) saturate(180%);
            -webkit-backdrop-filter: blur(48px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.65);
            padding: 10px 24px 10px 10px;
            border-radius: 28px;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255,255,255,0.8);
            display: flex;
            align-items: center;
            gap: 0.85rem;
            opacity: 0;
            transform: translateY(20px) scale(0.95);
            transition: opacity 0.1s ease-out, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            will-change: opacity, transform;
            width: 100%;
            max-width: 360px;
        }

        /* Unified Clean Glass Styles */
        .data-card.tint-orange .card-title { color: #a16207; }
        .data-card.tint-blue .card-title { color: #1e40af; }
        .data-card.tint-red .card-title { color: #9f1239; }
        .data-card.tint-green .card-title { color: #166534; }
        .data-card.tint-green .card-title { color: #00662D; }

        .data-card.active {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .data-card.active ~ .data-card.active,
        .card-1.active { z-index: 1; }
        .card-2.active { z-index: 2; transform: translateY(0) scale(1); }
        .card-3.active { z-index: 3; transform: translateY(0) scale(1); }
        .card-4.active { z-index: 4; transform: translateY(0) scale(1); }
        .card-5.active { z-index: 5; transform: translateY(0) scale(1); }

        /* Pushed-down cards shrink behind */
        .card-1.stacked { transform: translateY(12px) scale(0.92); opacity: 0.5; z-index: 0; }
        .card-2.stacked { transform: translateY(12px) scale(0.92); opacity: 0.5; z-index: 1; }
        .card-3.stacked { transform: translateY(12px) scale(0.92); opacity: 0.5; z-index: 2; }
        .card-4.stacked { transform: translateY(12px) scale(0.92); opacity: 0.5; z-index: 3; }

        /* WhatsApp Style Live Location Avatar */
        .live-avatar-pin {
            position: absolute;
            top: 67%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 15;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            animation: floatBob 3s ease-in-out infinite;
            opacity: 0;
            transition: opacity 1s ease, top 0.6s cubic-bezier(0.4, 0, 0.2, 1), left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .live-avatar-pin.active {
            opacity: 1;
        }

        .avatar-photo-wrapper {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: linear-gradient(135deg, #546AD1, #3D94E7);
            border: none;
            box-shadow: 0 8px 24px rgba(44, 54, 94, 0.3);
            overflow: hidden;
            position: relative;
            z-index: 2;
            padding: 3px;
        }
        
        .avatar-photo-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        .pin-point {
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 10px solid #4A7FDC;
            margin-top: -2px;
            z-index: 1;
        }

        @keyframes floatBob {
            0%, 100% { transform: translate(-50%, -50%) translateY(0); }
            50% { transform: translate(-50%, -50%) translateY(-10px); }
        }
        
        /* Sensor Network Wave Styles */
        .sensor-flow .wave {
            opacity: 0;
            transition: opacity 1s ease;
        }

        .sensor-flow.active .wave {
            filter: url(#organicWobble);
        }
        
        .sensor-flow.active .w1 { opacity: 0.6; }
        .sensor-flow.active .w2 { opacity: 0.4; }
        .sensor-flow.active .w3 { opacity: 0.5; }
        .sensor-flow.active .w4 { opacity: 0.4; }
        .sensor-flow.active .w5 { opacity: 0.6; }

        /* Modern Ripple Pulse */
        @keyframes modernPulse {
            0% { transform: scale(1); opacity: 0.6; stroke-width: 2px; }
            100% { transform: scale(1.5); opacity: 0; stroke-width: 1px; }
        }
        .plug-pulse {
            transform-origin: center;
            animation: modernPulse 2.5s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
        }
        
        @keyframes circleBreathe {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.4); box-shadow: 0 0 10px rgba(255,255,255,0.8); }
        }
        
        .sensor-flow circle {
            opacity: 0;
            transition: opacity 0.5s ease;
            transform-box: fill-box;
            transform-origin: center;
        }
        
        .sensor-flow.active circle {
            opacity: 1;
            animation: circleBreathe 3s ease-in-out infinite;
        }

        /* Conversion / Outro */
        .conversion { 
            padding: 8rem 4rem; text-align: center; background: var(--text-dark); color: #fff; 
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            min-height: 100vh;
        }
        .conversion h2 { font-size: 2.5rem; font-weight: 300; margin-bottom: 1rem; }
        .cta-btn { 
            font-size: 1.25rem; font-weight: 600; background: #fff; color: var(--text-dark); 
            padding: 1.5rem 4rem; border-radius: 100px; text-decoration: none; margin-top: 3rem; transition: transform 0.2s;
        }
        .cta-btn:hover { transform: scale(1.05); }

        .glass-effect {
            -webkit-backdrop-filter: blur(24px) saturate(150%);
            backdrop-filter: blur(24px) saturate(150%);
            pointer-events: none;
            isolation: isolate;
            color: #201d1d;
            border-radius: inherit;
            position: absolute;
            inset: 0;
            overflow: hidden;
            /* Faint border line enclosing the glass shape */
            box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.2);
        }
        .glass-effect__fill {
            opacity: 1;
            border-radius: inherit;
            background-color: rgba(255, 255, 255, 0.4);
            position: absolute;
            inset: 0;
            transition: background-color 0.3s ease;
        }
        
        /* The strong top edge shine and volumetric top gradient (like an extruded surface reflecting overhead light) */
        .glass-effect__highlight-strong {
            border-radius: inherit;
            position: absolute;
            inset: 0;
            /* Sharp 1px bright white line at the very top edge + a soft glow bleeding downwards */
            box-shadow: inset 0 1.5px 0px rgba(255, 255, 255, 0.9),
                        inset 0 2px 10px rgba(255, 255, 255, 0.3);
            /* Specular diagonal gloss sweeping across */
            background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.1) 20%, rgba(255,255,255,0) 50%);
        }
        
        /* The bounce-light / reflection on the bottom rim */
        .glass-effect__edge-light {
            border-radius: inherit;
            position: absolute;
            inset: 0;
            /* Sharp 1px subtle white line on bottom + slight upward glow */
            box-shadow: inset 0 -1px 0px rgba(255, 255, 255, 0.5),
                        inset 0 -3px 8px rgba(255, 255, 255, 0.15);
            background: linear-gradient(to top right, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 25%);
        }
        
        /* Disabling unused layers by hiding them, retaining DOM structure */
        .glass-effect__fill-burn, .glass-effect__highlight-soft, 
        .glass-effect__edge-dark, .glass-effect__inner-glow {
            display: none;
        }

        /* ==========================================
         * MODERN TITLE EFFECT
         * ========================================== */
        .modern-title .word {
            display: inline-block;
            opacity: 0;
            color: #334155;
            transform: translateY(20px);
            filter: blur(12px);
            will-change: transform, opacity, filter;
        }


        /* ==========================================
         * NAV BAR LAYOUT
         * ========================================== */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            margin: 0 auto;
            width: 100%;
            max-width: 1800px;
            padding: 1.5rem 3rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            animation: navSlideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }
        .nav-bar__left {
            display: flex;
            align-items: center;
        }
        .nav-logo {
            font-family: 'Cera Pro', sans-serif;
            font-weight: 700;
            font-size: 1.1rem;
            letter-spacing: -0.02em;
            color: var(--text-dark);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        .demo-element {
            border-radius: 50em;
            height: 3.5em;
            position: relative;
            display: inline-flex;
            align-items: center;
            box-shadow: 0 12px 32px rgba(0,0,0,0.1);
        }
        .nav__inner {
            position: relative;
            z-index: 10;
            display: flex;
            align-items: center;
            padding: 0 1.75em;
            gap: 1.75em;
            border-radius: inherit;
            height: 100%;
            transition: background-color 0.6s ease, color 0.6s ease;
        }
        .nav-bar__a {
            transition: color 0.6s ease, opacity 0.6s ease;
            color: var(--text-dark);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            letter-spacing: -0.01em;
        }
        .nav-bar__a:hover { opacity: 0.7; }
        .nav-bar__a.is--btn {
            background-color: var(--blue);
            color: #fff !important;
            padding: 0.85em 1.25em;
            border-radius: 50em;
            font-weight: 500;
            letter-spacing: -0.01em;
            min-width: 80px;
            text-align: center;
            display: inline-flex;
            gap: 8px;
            align-items: center;
            justify-content: center;
        }
        .nav-bar__a.is--btn svg {
            transition: transform 0.3s ease;
        }
        .nav-bar__a.is--btn:hover { opacity: 1; background-color: #4a5a9a; }
        .nav-bar__a.is--btn:hover svg {
            transform: translateX(4px);
        }
        .nav-bar__right { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; min-width: 70px; }

        /* SCROLL THEME VARIANTS */
        [data-theme-nav="light"] .nav-bar__a:not(.is--btn) { color: var(--text-dark); }
        [data-theme-nav="light"] .nav__inner { color: #131313; }
        [data-theme-nav="light"] .nav-logo { color: var(--text-dark); }
        [data-theme-nav="dark"] .nav-bar__a:not(.is--btn) { color: #fff; }
        [data-theme-nav="dark"] .nav__inner { color: #EFEEEC; }
        [data-theme-nav="dark"] .nav-logo { color: #fff; }
        [data-bg-nav="dark"] .glass-effect__fill { background-color: rgba(31, 31, 31, 0.65); }

        /* ==========================================
         * MOBILE HAMBURGER BUTTON
         * ========================================== */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
            z-index: 1010;
            position: relative;
        }
        .mobile-menu-toggle .bar {
            display: block;
            width: 22px;
            height: 2px;
            background-color: var(--text-dark);
            border-radius: 2px;
            transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.25s ease;
        }
        .mobile-menu-toggle .bar + .bar {
            margin-top: 5px;
        }
        /* Animate to X when open */
        .mobile-menu-toggle.is-open .bar:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }
        .mobile-menu-toggle.is-open .bar:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
        }
        .mobile-menu-toggle.is-open .bar:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }
        /* Theme-aware bar color */
        [data-theme-nav="dark"] .mobile-menu-toggle .bar {
            background-color: #fff;
        }
        [data-theme-nav="light"] .mobile-menu-toggle .bar {
            background-color: var(--text-dark);
        }

        /* ==========================================
         * MOBILE OVERLAY MENU
         * ========================================== */
        .mobile-menu-overlay {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 999;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
            opacity: 0;
            transform: translateY(-10px);
            transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            pointer-events: none;
        }
        .mobile-menu-overlay.is-open {
            display: flex;
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }
        .mobile-menu-overlay a {
            font-size: 1.4rem;
            font-weight: 500;
            color: var(--text-dark);
            text-decoration: none;
            letter-spacing: -0.02em;
            opacity: 0;
            transform: translateY(12px);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }
        .mobile-menu-overlay.is-open a {
            opacity: 1;
            transform: translateY(0);
        }
        .mobile-menu-overlay.is-open a:nth-child(1) { transition-delay: 0.1s; }
        .mobile-menu-overlay.is-open a:nth-child(2) { transition-delay: 0.15s; }
        .mobile-menu-overlay.is-open a:nth-child(3) { transition-delay: 0.2s; }
        .mobile-menu-overlay.is-open a:nth-child(4) { transition-delay: 0.25s; }
        .mobile-menu-overlay.is-open a:nth-child(5) { transition-delay: 0.3s; }
        .mobile-menu-overlay a:hover {
            color: var(--blue);
        }
        .mobile-menu-overlay a.is--btn {
            background-color: var(--blue);
            color: #fff;
            padding: 0.75em 2em;
            border-radius: 50em;
            font-size: 1.1rem;
            margin-top: 0.5rem;
            display: inline-flex;
            gap: 8px;
            align-items: center;
            justify-content: center;
        }
        .mobile-menu-overlay a.is--btn svg {
            transition: transform 0.3s ease;
        }
        .mobile-menu-overlay a.is--btn:hover {
            background-color: #4a5a9a;
            color: #fff;
        }
        .mobile-menu-overlay a.is--btn:hover svg {
            transform: translateX(4px);
        }

        /* ==========================================
         * FEATURES BENTO SECTION
         * ========================================== */
        .features-section {
            position: relative;
            z-index: 10;
            padding: 8rem 3rem 6rem;
            background:
                radial-gradient(ellipse 60% 40% at 15% 30%, rgba(206,218,245,0.5) 0%, transparent 60%),
                radial-gradient(ellipse 50% 50% at 85% 70%, rgba(230,220,240,0.3) 0%, transparent 60%),
                linear-gradient(180deg, var(--white) 0%, var(--bg-base) 30%, var(--bg-base) 70%, var(--white) 100%);
        }

        .features-section__inner {
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }

        /* ---- Editorial Header ---- */
        .features-header {
            margin-bottom: 4.5rem;
            max-width: 680px;
        }

        .features-label {
            display: inline-block;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--accent);
            margin-bottom: 1.25rem;
            padding: 0.4em 1em;
            border-radius: 50em;
            background: rgba(87, 105, 177, 0.08);
            border: 1px solid rgba(87, 105, 177, 0.12);
        }

        .features-headline {
            font-size: clamp(2.2rem, 4.5vw, 3.4rem);
            font-weight: 400;
            line-height: 1.15;
            letter-spacing: -0.03em;
            color: var(--text-dark);
            margin-bottom: 1.5rem;
        }

        .features-headline__accent {
            background: linear-gradient(135deg, #63A3EE 0%, #5769B1 40%, #8b5cf6 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .features-description {
            font-size: 1.05rem;
            line-height: 1.7;
            color: #64748b;
            max-width: 560px;
        }

        /* ---- Asymmetric Bento Grid ---- */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.25rem;
        }

        /* ---- Feature Card Base ---- */
        .feature-card {
            position: relative;
            background: rgba(255, 255, 255, 0.5);
            backdrop-filter: blur(20px) saturate(150%);
            -webkit-backdrop-filter: blur(20px) saturate(150%);
            border: 1px solid rgba(255, 255, 255, 0.7);
            border-radius: 20px;
            padding: 2rem;
            overflow: hidden;
            transition:
                transform 0.4s cubic-bezier(0.19, 1, 0.22, 1),
                box-shadow 0.4s cubic-bezier(0.19, 1, 0.22, 1),
                border-color 0.3s ease;
            box-shadow:
                0 1px 3px rgba(0, 0, 0, 0.02),
                0 8px 24px rgba(0, 0, 0, 0.04);
        }

        .feature-card:hover {
            transform: translateY(-4px);
            box-shadow:
                0 4px 12px rgba(0, 0, 0, 0.04),
                0 16px 48px rgba(0, 0, 0, 0.08);
            border-color: rgba(87, 105, 177, 0.15);
        }

        /* Ambient glow behind card */
        .feature-card__glow {
            position: absolute;
            bottom: -40px;
            right: -40px;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
            pointer-events: none;
            transition: opacity 0.5s ease;
            opacity: 0;
        }
        .feature-card:hover .feature-card__glow {
            opacity: 1;
        }

        /* Icon pill */
        .feature-card__icon-wrap {
            width: 48px;
            height: 48px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.4));
            border: 1px solid rgba(255,255,255,0.7);
            box-shadow:
                0 2px 8px rgba(0,0,0,0.04),
                inset 0 1px 0 rgba(255,255,255,0.9);
            margin-bottom: 1.5rem;
            color: var(--card-accent);
            transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
        }

        .feature-card:hover .feature-card__icon-wrap {
            transform: scale(1.08);
            box-shadow:
                0 4px 16px rgba(0,0,0,0.06),
                inset 0 1px 0 rgba(255,255,255,0.9);
        }

        .feature-card__title {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 0.6rem;
            letter-spacing: -0.01em;
            line-height: 1.3;
        }

        .feature-card__desc {
            font-size: 0.9rem;
            line-height: 1.65;
            color: #64748b;
            margin: 0;
        }

        /* ---- Card Variants ---- */
        .feature-card--tall {
            grid-row: span 2;
            display: flex;
            flex-direction: column;
        }
        .feature-card--tall .feature-card__desc {
            flex: 1;
        }

        .feature-card--wide {
            grid-column: span 2;
        }

        /* Photo card */
        .feature-card--photo {
            padding: 0;
            overflow: hidden;
            border: none;
            background: none;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
        }
        .feature-card--photo img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 20px;
            transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
        }
        .feature-card--photo:hover img {
            transform: scale(1.04);
        }
        .feature-card--photo__overlay {
            position: absolute;
            inset: 0;
            border-radius: 20px;
            background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.08) 100%);
            pointer-events: none;
        }

        .feature-card--photo-short img {
            min-height: 200px;
        }

        /* ---- Scroll Reveal Animations ---- */
        [data-animate] {
            opacity: 0;
            transform: translateY(28px);
            transition:
                opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
        }
        [data-animate].is-visible {
            opacity: 1;
            transform: translateY(0);
        }
        [data-animate][data-delay="1"] { transition-delay: 0ms; }
        [data-animate][data-delay="2"] { transition-delay: 100ms; }
        [data-animate][data-delay="3"] { transition-delay: 200ms; }

        /* ---- Features Section Responsive ---- */
        @media (max-width: 991px) {
            .features-section { padding: 6rem 2rem 4rem; }
            .features-grid {
                grid-template-columns: 1fr 1fr;
            }
            .feature-card--tall {
                grid-row: span 1;
            }
        }

        @media (max-width: 640px) {
            .features-section { padding: 4rem 1.25rem 3rem; }
            .features-header { margin-bottom: 2.5rem; }
            .features-grid {
                grid-template-columns: 1fr;
            }
            .feature-card--wide {
                grid-column: span 1;
            }
            .feature-card--photo img {
                aspect-ratio: 16 / 9;
            }
        }

        /* ==========================================
         * MOBILE BREAKPOINT
         * ========================================== */
        @media (max-width: 768px) {
            nav {
                padding: 1rem 1.25rem;
            }
            .nav-bar__center {
                display: none;
            }
            .desktop-cta {
                display: none !important;
            }
            .mobile-menu-toggle {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
            }
        }
