
    /* Global fixes for scrolling */
    html, body {
        overflow-x: hidden;
        width: 100%;
        margin: 0;
        padding: 0;
        scroll-behavior: smooth;
    }

    body {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    /* Home page specific styles only */
    #home {
        --ink: #0A0907;
        --ink-2: #1C1A16;
        --ink-3: #2E2B24;
        --mid: #6B6455;
        --pale: #A09485;
        --rule: #E8E2D8;
        --rule-2: #D8D0C4;
        --paper: #FAF8F4;
        --paper-2: #F3EFE8;
        --paper-3: #EDE7DC;
        --white: #FFFFFF;
        --blue: #1D3557;
        --blue-m: #2B4F82;
        --blue-l: #5B86B5;
        --blue-xl: #C0D4EA;
        --blue-bg: #EEF4FB;
        --gold: #9A6C2E;
        --gold-m: #C4873A;
        --gold-l: #E5B877;
        --gold-xl: #F3DFB8;
        --gold-bg: #FBF5EA;
        --green: #2D5A3D;
        --green-m: #3D7A52;
        --green-l: #7AB592;
        --green-xl: #BEDFC9;
        --green-bg: #EDF6F0;
        --r-sm: 6px;
        --r-md: 12px;
        --r-lg: 18px;
        --r-xl: 24px;
        --r-2xl: 36px;
        --r-full: 9999px;
        --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
        --spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
        font-family: 'Outfit', system-ui, sans-serif;
        background: var(--paper);
        color: var(--ink-3);
        overflow-y: visible !important;
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    #home .container {
        max-width: 1320px;
        margin: 0 auto;
        padding: 0;
        width: 100%;
    }

    #home .hero-texture {
        position: absolute; inset: 0; pointer-events: none;
        background-image:
            radial-gradient(ellipse 70% 55% at 60% 0%, rgba(43,79,130,0.05) 0%, transparent 60%),
            radial-gradient(ellipse 50% 40% at 5% 75%, rgba(61,122,82,0.04) 0%, transparent 60%),
            radial-gradient(ellipse 40% 30% at 95% 80%, rgba(196,135,58,0.04) 0%, transparent 60%);
    }

    #home .hero-grid {
        position: absolute; inset: 0; opacity: 0.3;
        background-image:
            linear-gradient(var(--rule) 1px, transparent 1px),
            linear-gradient(90deg, var(--rule) 1px, transparent 1px);
        background-size: 64px 64px;
        mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 0%, transparent 100%);
    }

    #home .hero-body {
        position: relative; z-index: 1;
        max-width: 1320px; margin: 0 auto;
        padding: clamp(48px,8vw,120px) clamp(20px,5vw,80px) 0;
        display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
        align-items: start;
    }

    #home .hero-left {
        padding-right: clamp(32px,5vw,80px);
        border-right: 1px solid var(--rule);
        padding-bottom: 80px;
    }

    #home .hero-label {
        display: inline-flex; align-items: center; gap: 10px;
        margin-bottom: 36px;
        opacity: 0; animation: riseup .7s .05s var(--ease-out) forwards;
    }

    #home .live-pill {
        display: flex; align-items: center; gap: 6px;
        background: var(--green-bg); border: 1px solid var(--green-xl);
        border-radius: var(--r-full); padding: 4px 12px 4px 8px;
        font-size: 0.72rem; font-weight: 600; color: var(--green-m); letter-spacing: 0.03em;
    }

    #home .live-dot {
        width: 6px; height: 6px; border-radius: 50%; background: var(--green-m);
        animation: pulse-ring 2.2s ease-out infinite;
        box-shadow: 0 0 0 0 rgba(61,122,82,0.5);
    }

    @keyframes pulse-ring {
        0%   { box-shadow: 0 0 0 0 rgba(61,122,82,0.5); }
        70%  { box-shadow: 0 0 0 6px rgba(61,122,82,0); }
        100% { box-shadow: 0 0 0 0 rgba(61,122,82,0); }
    }

    #home .label-text {
        font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
        text-transform: uppercase; color: var(--pale);
    }

    #home .hero-headline {
        font-family: 'Cormorant Garamond', serif;
        font-size: clamp(2.4rem, 3.5vw, 3.2rem);
        font-weight: 300;
        line-height: 1.0; letter-spacing: -0.025em;
        color: var(--ink);
        opacity: 0; animation: riseup .9s .1s var(--ease-out) forwards;
    }

    #home .hero-headline em {
        font-style: italic; font-weight: 600;
        color: var(--blue-m);
        position: relative;
    }

    #home .hero-headline em .uline {
        position: absolute; bottom: 1px; left: 0; right: 0;
        height: 2px; border-radius: 2px;
        background: linear-gradient(90deg, var(--blue-m), var(--gold-m));
        transform: scaleX(0); transform-origin: left;
        animation: draw 0.6s 1.15s var(--ease-out) forwards;
    }

    @keyframes draw { to { transform: scaleX(1); } }

    #home .hero-sub {
        margin-top: 28px; max-width: 440px;
        font-size: 1.0625rem; font-weight: 300; line-height: 1.72; color: var(--mid);
        opacity: 0; animation: riseup .8s .2s var(--ease-out) forwards;
    }

    #home .hero-ctas {
        display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px;
        opacity: 0; animation: riseup .8s .3s var(--ease-out) forwards;
    }

    #home .btn-primary {
        display: inline-flex; align-items: center; gap: 9px;
        padding: 14px 30px; border-radius: var(--r-full);
        font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 600;
        color: var(--white); background: var(--ink);
        text-decoration: none; cursor: pointer; border: none;
        box-shadow: 0 2px 0 var(--ink-2), 0 8px 28px rgba(10,9,7,0.20);
        transition: transform .25s var(--ease-out), box-shadow .25s;
        position: relative; overflow: hidden;
    }

    #home .btn-primary::before {
        content: ''; position: absolute; inset: 0;
        background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent);
    }

    #home .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--ink-2), 0 16px 44px rgba(10,9,7,0.28); }
    #home .btn-primary i { font-size: 0.65rem; transition: transform .2s; }
    #home .btn-primary:hover i { transform: translateX(3px); }

    #home .btn-secondary {
        display: inline-flex; align-items: center; gap: 8px;
        padding: 13px 26px; border-radius: var(--r-full);
        font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 500;
        color: var(--ink-3); background: var(--white);
        border: 1.5px solid var(--rule-2); cursor: pointer; text-decoration: none;
        box-shadow: 0 1px 4px rgba(10,9,7,0.05);
        transition: border-color .2s, transform .25s var(--ease-out), box-shadow .2s;
    }

    #home .btn-secondary:hover { border-color: var(--ink-3); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(10,9,7,0.10); }

    #home .hero-proof {
        display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px;
        opacity: 0; animation: riseup .8s .42s var(--ease-out) forwards;
    }

    #home .proof-chip {
        display: inline-flex; align-items: center; gap: 7px;
        padding: 6px 13px; border-radius: var(--r-full);
        background: var(--white); border: 1px solid var(--rule);
        font-size: 0.78rem; font-weight: 500; color: var(--mid);
        box-shadow: 0 1px 2px rgba(10,9,7,0.04);
    }

    #home .proof-chip .ic-b { color: var(--blue-m); font-size: 0.6rem; }
    #home .proof-chip .ic-g { color: var(--green-m); font-size: 0.6rem; }

    #home .hero-right {
        padding: 0 0 80px clamp(32px,5vw,72px);
        display: flex; flex-direction: column; gap: 12px;
        opacity: 0; animation: fadein .9s .28s var(--ease-out) forwards;
    }

    @keyframes fadein {
        from{ opacity:0; }
        to{ opacity:1; }
    }

    #home .dash-card {
        background: var(--white);
        border: 1px solid var(--rule);
        border-radius: var(--r-xl);
        padding: 22px;
        box-shadow: 0 4px 24px rgba(10,9,7,0.06);
    }

    #home .dash-head {
        display: flex; align-items: center; justify-content: space-between;
        padding-bottom: 16px; margin-bottom: 18px;
        border-bottom: 1px solid var(--paper-3);
    }

    #home .dash-user { display: flex; align-items: center; gap: 11px; }

    #home .dash-ava {
        width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
        background: linear-gradient(135deg, var(--blue-m), var(--green-m));
        display: flex; align-items: center; justify-content: center;
        font-family: 'Cormorant Garamond', serif; font-style: italic;
        font-weight: 700; font-size: 0.95rem; color: #fff;
    }

    #home .dash-name { font-size: 0.875rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
    #home .dash-class { font-size: 0.72rem; color: var(--pale); margin-top: 1px; }

    #home .dash-status {
        display: flex; align-items: center; gap: 5px;
        background: var(--green-bg); border: 1px solid var(--green-xl);
        border-radius: var(--r-full); padding: 4px 10px;
        font-size: 0.7rem; font-weight: 600; color: var(--green-m);
    }

    #home .dash-status i { font-size: 0.45rem; }

    #home .prog-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }

    #home .prog-top {
        display: flex; justify-content: space-between; align-items: center;
        margin-bottom: 6px;
    }

    #home .prog-label {
        display: flex; align-items: center; gap: 6px;
        font-size: 0.78rem; font-weight: 500; color: var(--mid);
    }

    #home .prog-label i { font-size: 0.55rem; width: 12px; text-align: center; }
    #home .prog-pct { font-size: 0.78rem; font-weight: 700; }
    #home .prog-pct.b { color: var(--blue-m); }
    #home .prog-pct.g { color: var(--green-m); }
    #home .prog-pct.o { color: var(--gold-m); }

    #home .prog-track {
        height: 3.5px; background: var(--paper-3); border-radius: var(--r-full); overflow: hidden;
    }

    #home .prog-bar {
        height: 100%; border-radius: var(--r-full); width: 0;
        transition: width 1.3s var(--ease-out);
    }

    #home .prog-bar.b { background: linear-gradient(90deg, var(--blue-m), var(--blue-l)); }
    #home .prog-bar.g { background: linear-gradient(90deg, var(--green-m), var(--green-l)); }
    #home .prog-bar.o { background: linear-gradient(90deg, var(--gold-m), var(--gold-l)); }

    #home .ai-tip {
        background: var(--blue-bg); border: 1px solid var(--blue-xl);
        border-radius: var(--r-md); padding: 12px 14px;
        display: flex; gap: 10px; align-items: flex-start;
    }

    #home .ai-tip-icon {
        width: 24px; height: 24px; flex-shrink: 0;
        background: var(--blue-m); border-radius: 7px;
        display: flex; align-items: center; justify-content: center;
        color: #fff; font-size: 0.6rem;
    }

    #home .ai-tip-text { font-size: 0.78rem; color: var(--ink-3); line-height: 1.55; }
    #home .ai-tip-text strong { color: var(--blue-m); font-weight: 600; }

    #home .quick-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

    #home .quick-card {
        background: var(--white); border: 1px solid var(--rule);
        border-radius: var(--r-lg); padding: 13px 14px;
        display: flex; align-items: center; gap: 10px;
        cursor: pointer;
        transition: transform .25s var(--ease-out), box-shadow .25s;
        box-shadow: 0 1px 4px rgba(10,9,7,0.04);
        text-decoration: none;
    }

    #home .quick-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(10,9,7,0.08); }

    #home .qc-ic {
        width: 32px; height: 32px; flex-shrink: 0; border-radius: 9px;
        display: flex; align-items: center; justify-content: center; font-size: 0.75rem;
    }

    #home .qc-ic.b { background: var(--blue-bg); color: var(--blue-m); }
    #home .qc-ic.g { background: var(--green-bg); color: var(--green-m); }

    #home .qc-title { font-size: 0.78rem; font-weight: 600; color: var(--ink); }
    #home .qc-sub   { font-size: 0.68rem; color: var(--pale); margin-top: 1px; }

    #home .qc-arr {
        margin-left: auto; color: var(--rule-2); font-size: 0.6rem;
        transition: color .2s, transform .2s;
    }

    #home .quick-card:hover .qc-arr { color: var(--blue-m); transform: translate(2px,-2px); }

    @keyframes riseup {
        from{ opacity:0; transform:translateY(20px); }
        to{ opacity:1; transform:none; }
    }

    #home .strip {
        border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
        background: var(--paper-2); height: 44px;
        overflow: hidden; display: flex; align-items: center;
        position: relative; z-index: 1;
        width: 100%;
    }

    #home .strip-inner {
        display: flex; white-space: nowrap;
        animation: scrollx 28s linear infinite;
    }

    #home .sitem {
        display: flex; align-items: center; gap: 8px;
        padding: 0 32px; border-right: 1px solid var(--rule);
        font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
        text-transform: uppercase; color: var(--pale);
    }

    #home .sitem i { color: var(--blue-m); font-size: 0.5rem; }

    @keyframes scrollx {
        from{ transform:translateX(0); }
        to{ transform:translateX(-50%); }
    }

    #home .apps-section {
        background: var(--ink-2);
        padding: 64px 0 56px;
        overflow: hidden;
        width: 100%;
    }

    #home .apps-header {
        padding: 0 clamp(20px,5vw,80px) 40px;
        max-width: 1320px; margin: 0 auto;
        display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
    }

    #home .apps-eyebrow {
        font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
        color: rgba(255,255,255,0.35); margin-bottom: 10px;
    }

    #home .apps-title {
        font-family: 'Cormorant Garamond', serif;
        font-size: clamp(2.2rem,4vw,3.5rem);
        font-weight: 300; letter-spacing: -0.025em; line-height: 1.06;
        color: var(--white);
    }

    #home .apps-title .acc {
        font-style: italic; font-weight: 600;
        background: linear-gradient(135deg, #818CF8 0%, #7AB592 50%, #E5B877 100%);
        background-size: 200% auto;
        -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
        animation: shimmer 6s linear infinite;
    }

    @keyframes shimmer {
        0%{ background-position:-200% center; }
        100%{ background-position:200% center; }
    }

    #home .apps-lead {
        font-size: 0.875rem; color: rgba(255,255,255,0.42);
        max-width: 300px; line-height: 1.65; text-align: right;
    }

    #home .track-wrap { 
        position: relative; 
        width: 100%;
        overflow: hidden;
    }

    #home .track {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 8px clamp(20px,5vw,80px) 24px;
        cursor: grab;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
    }

    #home .track:active { cursor: grabbing; }
    #home .track::-webkit-scrollbar { display: none; }

    #home .track-wrap::before, #home .track-wrap::after {
        content: ''; position: absolute; top: 0; bottom: 24px;
        width: 60px; pointer-events: none; z-index: 10;
    }

    #home .track-wrap::before {
        left: 0;
        background: linear-gradient(to right, var(--ink-2), transparent);
    }

    #home .track-wrap::after {
        right: 0;
        background: linear-gradient(to left, var(--ink-2), transparent);
    }

    #home .card-lg {
        flex: 0 0 min(72vw, 300px); 
        scroll-snap-align: start;
        border-radius: 20px; 
        overflow: hidden; 
        position: relative;
        aspect-ratio: 2/3; 
        cursor: pointer; 
        user-select: none;
        box-shadow: 0 6px 24px rgba(0,0,0,0.3);
        transition: transform .5s var(--ease-out), box-shadow .4s;
        animation: cardIn .65s var(--ease-out) both;
    }

    #home .card-lg:nth-child(1){ animation-delay:.3s; }
    #home .card-lg:nth-child(2){ animation-delay:.4s; }
    #home .card-lg:nth-child(3){ animation-delay:.5s; }
    #home .card-lg:nth-child(4){ animation-delay:.6s; }

    #home .card-lg:hover {
        transform: translateY(-7px) scale(1.02);
        box-shadow: 0 24px 56px rgba(0,0,0,0.4);
    }

    #home .card-lg:active { transform: scale(.97); }

    @keyframes cardIn {
        from{ opacity:0; transform:translateY(36px) scale(0.95); }
        to{ opacity:1; transform:none; }
    }

    #home .card-canvas {
        position: absolute; inset: 0; width: 100%; height: 100%;
        object-fit: cover; display: block;
        transition: transform .6s var(--ease-out);
    }

    #home .card-lg:hover .card-canvas { transform: scale(1.06); }

    #home .card-scrim {
        position: absolute; inset: 0; pointer-events: none;
        background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,.08) 50%, rgba(0,0,0,.72) 100%);
    }

    #home .card-body {
        position: absolute; inset: 0; z-index: 2;
        display: flex; flex-direction: column;
        padding: 16px 16px 20px; justify-content: space-between;
    }

    #home .card-badge-row { display: flex; justify-content: center; }

    #home .shl-badge {
        display: inline-flex; align-items: center; gap: 5px;
        background: rgba(255,255,255,.14); backdrop-filter: blur(10px);
        border: .5px solid rgba(255,255,255,.22); border-radius: 20px;
        padding: 5px 11px; font-size: 11.5px; font-weight: 600; color: #fff;
        transition: background .2s;
    }

    #home .card-lg:hover .shl-badge { background: rgba(255,255,255,.22); }

    #home .card-info { color: #fff; }

    #home .card-genre {
        font-size: 10.5px; font-weight: 600; letter-spacing: .1em;
        text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 4px;
    }

    #home .card-name {
        font-size: 15px; font-weight: 700; line-height: 1.2; margin-bottom: 3px;
    }

    #home .card-desc {
        font-size: 11.5px; color: rgba(255,255,255,.7); margin-bottom: 13px;
        font-style: italic; line-height: 1.35;
    }

    #home .card-btn {
        display: flex; align-items: center; justify-content: center; gap: 6px;
        width: 100%; background: rgba(255,255,255,.94); color: var(--ink);
        font-size: 13px; font-weight: 600; border: none; border-radius: 50px;
        padding: 10px 0; cursor: pointer; text-decoration: none;
        transition: transform .2s var(--ease-out);
        box-shadow: 0 2px 10px rgba(0,0,0,.2);
    }

    #home .card-btn:hover { transform: scale(.97); }

    #home .sahl-id-strip {
        margin: 20px clamp(20px,5vw,80px) 0;
        max-width: 1320px; margin-left: auto; margin-right: auto;
        border-radius: 16px;
        background: linear-gradient(135deg, #141210 0%, #1E2840 50%, #111a14 100%);
        padding: 20px 24px;
        display: flex; align-items: center; gap: 16px;
        box-shadow: 0 6px 28px rgba(0,0,0,.3);
        position: relative; overflow: hidden; cursor: pointer;
        transition: transform .3s var(--ease-out);
    }

    #home .sahl-id-strip:hover { transform: scale(1.012); }

    #home .sahl-id-strip::before {
        content: ''; position: absolute; inset: 0;
        background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(88,86,214,.3), transparent);
        pointer-events: none;
    }

    #home .strip-icon-box {
        width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
        background: linear-gradient(135deg, #5856d6, #af52de);
        display: flex; align-items: center; justify-content: center;
        box-shadow: 0 4px 14px rgba(88,86,214,.4);
    }

    #home .strip-icon-box i { font-size: 1.1rem; color: #fff; }

    #home .strip-body { flex: 1; }

    #home .strip-eyebrow {
        font-size: 10px; font-weight: 600; letter-spacing: .12em;
        text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 3px;
    }

    #home .strip-title-text {
        font-size: 16px; font-weight: 700; color: #fff;
        letter-spacing: -.15px; margin-bottom: 2px;
    }

    #home .strip-sub-text {
        font-size: 12px; color: rgba(255,255,255,.55); font-style: italic;
    }

    #home .strip-btn {
        background: rgba(255,255,255,.12); border: .5px solid rgba(255,255,255,.2);
        color: #fff; font-size: 13px; font-weight: 600;
        border-radius: 50px; padding: 8px 18px; cursor: pointer;
        text-decoration: none; display: inline-block; flex-shrink: 0;
        transition: background .2s;
    }

    #home .strip-btn:hover { background: rgba(255,255,255,.2); }

    #home .section {
        padding: clamp(80px,10vw,128px) clamp(20px,5vw,80px);
        background: var(--paper);
        width: 100%;
    }

    #home .eyebrow {
        display: inline-flex; align-items: center; gap: 8px;
        font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
        text-transform: uppercase; color: var(--blue-m);
        margin-bottom: 16px;
    }

    #home .eyebrow i { font-size: 0.55rem; }

    #home .section-title {
        font-family: 'Cormorant Garamond', serif;
        font-size: clamp(2.5rem,4.5vw,4rem);
        font-weight: 300; line-height: 1.06; letter-spacing: -0.025em;
        color: var(--ink);
        margin-bottom: 8px;
    }

    #home .section-title em {
        font-style: italic; font-weight: 600;
        color: var(--blue-m);
    }

    #home .section-lead {
        font-size: 1.0625rem; color: var(--mid);
        line-height: 1.72; max-width: 480px; font-weight: 300;
    }

    #home .r {
        opacity: 0;
        transform: translateY(22px);
        transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
    }

    #home .r.on {
        opacity: 1;
        transform: none !important;
    }

    #home .d1{ transition-delay: .07s; }
    #home .d2{ transition-delay: .14s; }
    #home .d3{ transition-delay: .21s; }
    #home .d4{ transition-delay: .28s; }

    #home .feat-grid {
        display: grid; grid-template-columns: 1.1fr 1fr;
        gap: 14px; margin-top: 52px;
    }

    #home .ai-card {
        background: var(--white); border: 1px solid var(--rule);
        border-radius: var(--r-2xl); padding: clamp(36px,4vw,52px);
        box-shadow: 0 6px 32px rgba(10,9,7,0.06);
        position: relative; overflow: hidden; grid-row: span 2;
        display: flex; flex-direction: column; justify-content: space-between;
        transition: box-shadow .4s var(--ease-out);
    }

    #home .ai-card:hover { box-shadow: 0 16px 56px rgba(10,9,7,0.10); }

    #home .ai-card::before {
        content: ''; position: absolute; top: -80px; right: -80px;
        width: 320px; height: 320px; border-radius: 50%;
        background: radial-gradient(circle, rgba(43,79,130,0.06) 0%, transparent 70%);
        pointer-events: none;
    }

    #home .ai-tag {
        display: inline-flex; align-items: center; gap: 7px;
        background: var(--blue-bg); border: 1px solid var(--blue-xl);
        border-radius: var(--r-full); padding: 5px 14px;
        font-size: 0.7rem; font-weight: 600; color: var(--blue-m);
        letter-spacing: 0.06em; text-transform: uppercase;
        margin-bottom: 24px; width: fit-content;
    }

    #home .ai-tag i { font-size: 0.55rem; }

    #home .ai-card h3 {
        font-family: 'Cormorant Garamond', serif;
        font-size: clamp(1.9rem, 2.8vw, 2.8rem);
        font-weight: 300; line-height: 1.08; letter-spacing: -0.025em;
        color: var(--ink);
    }

    #home .ai-card h3 em { font-style: italic; font-weight: 600; color: var(--blue-m); }

    #home .ai-card > .ai-desc {
        font-size: 0.9375rem; color: var(--mid); line-height: 1.72;
        margin-top: 16px; max-width: 400px;
    }

    #home .chat-box {
        margin: 28px 0;
        background: var(--paper-2); border: 1px solid var(--rule);
        border-radius: var(--r-lg); padding: 18px;
    }

    #home .chat-hd {
        display: flex; align-items: center; gap: 9px;
        padding-bottom: 12px; margin-bottom: 14px;
        border-bottom: 1px solid var(--rule);
    }

    #home .chat-ava {
        width: 28px; height: 28px; border-radius: 50%;
        background: linear-gradient(135deg, var(--blue-m), var(--green-m));
        display: flex; align-items: center; justify-content: center;
        color: #fff; font-size: 0.6rem;
    }

    #home .chat-name-lbl { font-size: 0.78rem; font-weight: 600; color: var(--ink); }
    #home .chat-online { width: 6px; height: 6px; border-radius: 50%; background: var(--green-m); margin-left: auto; }

    #home .chat-msgs { display: flex; flex-direction: column; gap: 8px; }

    #home .msg {
        max-width: 88%; padding: 8px 12px; border-radius: 10px;
        font-size: 0.78rem; line-height: 1.5;
    }

    #home .msg.u {
        background: var(--white); border: 1px solid var(--rule);
        color: var(--ink-3); align-self: flex-end;
    }

    #home .msg.b {
        background: var(--blue-m); color: rgba(255,255,255,0.95);
        align-self: flex-start;
    }

    #home .msg.b strong { font-weight: 700; }

    #home .typing {
        display: flex; align-items: center; gap: 3px;
        background: var(--white); border: 1px solid var(--rule);
        border-radius: 10px; padding: 8px 12px; width: fit-content;
    }

    #home .typing span {
        width: 4.5px; height: 4.5px; border-radius: 50%; background: var(--pale);
        animation: bdot .9s ease-in-out infinite;
    }

    #home .typing span:nth-child(2){ animation-delay: .15s; }
    #home .typing span:nth-child(3){ animation-delay: .3s; }

    @keyframes bdot {
        0%,80%,100%{ transform:scale(.7); opacity:.5; }
        40%{ transform:scale(1); opacity:1; }
    }

    #home .ai-footer { display: flex; gap: 9px; }

    #home .btn-sm-b {
        display: inline-flex; align-items: center; gap: 7px;
        padding: 10px 20px; border-radius: var(--r-full);
        font-size: 0.8125rem; font-weight: 600; color: var(--white);
        background: var(--blue-m); text-decoration: none; cursor: pointer;
        transition: background .2s, transform .2s var(--ease-out);
    }

    #home .btn-sm-b:hover { background: var(--blue); transform: translateY(-1px); }
    #home .btn-sm-b i { font-size: 0.6rem; }

    #home .btn-sm-s {
        display: inline-flex; align-items: center; gap: 7px;
        padding: 10px 18px; border-radius: var(--r-full);
        font-size: 0.8125rem; font-weight: 500; color: var(--mid);
        background: var(--white); border: 1.5px solid var(--rule-2);
        cursor: pointer; text-decoration: none;
        transition: border-color .2s, color .2s;
    }

    #home .btn-sm-s:hover { border-color: var(--ink-3); color: var(--ink); }

    #home .feat-sides {
        display: grid; grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    #home .fsc {
        background: var(--white); border: 1px solid var(--rule);
        border-radius: var(--r-xl); padding: 22px 20px;
        cursor: pointer;
        transition: transform .3s var(--ease-out), box-shadow .3s;
        box-shadow: 0 2px 10px rgba(10,9,7,0.04);
        text-decoration: none;
        display: block;
        color: inherit;
    }

    #home .fsc:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 32px rgba(10,9,7,0.09);
    }

    #home .fsc-top {
        display: flex; align-items: center; justify-content: space-between;
        margin-bottom: 14px;
    }

    #home .fsc-ic {
        width: 36px; height: 36px; border-radius: 10px;
        display: flex; align-items: center; justify-content: center;
        font-size: 0.78rem;
    }

    #home .fsc-ic.b { background: var(--blue-bg); color: var(--blue-m); }
    #home .fsc-ic.g { background: var(--green-bg); color: var(--green-m); }
    #home .fsc-ic.n { background: var(--paper-3); color: var(--mid); }
    #home .fsc-ic.o { background: var(--gold-bg); color: var(--gold-m); }

    #home .fsc-arr {
        color: var(--pale); font-size: 0.65rem;
        transition: color .2s;
    }

    #home .fsc:hover .fsc-arr { color: var(--blue-m); }

    #home .fsc h4 {
        font-size: 0.875rem; font-weight: 600; color: var(--ink);
        margin-bottom: 6px; letter-spacing: -0.01em;
    }

    #home .fsc p {
        font-size: 0.78rem; color: var(--mid); line-height: 1.6;
    }

    #home .apps-table {
        background: var(--white); border: 1px solid var(--rule);
        border-radius: var(--r-xl); overflow: hidden;
        box-shadow: 0 4px 20px rgba(10,9,7,0.05);
        margin-top: 48px;
    }

    #home .apps-th {
        display: grid; grid-template-columns: 48px 1fr 1fr auto;
        gap: 16px; align-items: center;
        padding: 14px 24px;
        background: var(--paper-2); border-bottom: 1px solid var(--rule);
    }

    #home .ath {
        font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
        text-transform: uppercase; color: var(--pale);
    }

    #home .app-row {
        display: grid; grid-template-columns: 48px 1fr 1fr auto;
        gap: 16px; align-items: center;
        padding: 16px 24px;
        border-bottom: 1px solid var(--paper-3);
        cursor: pointer;
        transition: background .2s;
    }

    #home .app-row:last-child { border-bottom: none; }
    #home .app-row:hover { background: var(--paper); }

    #home .app-num {
        font-size: 0.78rem; font-weight: 600;
        color: var(--rule-2); font-variant-numeric: tabular-nums;
    }

    #home .app-main {
        display: flex; align-items: center; gap: 12px;
    }

    #home .app-ic {
        width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
        display: flex; align-items: center; justify-content: center;
        font-size: 0.82rem;
    }

    #home .app-ic.b { background: var(--blue-bg); color: var(--blue-m); }
    #home .app-ic.g { background: var(--green-bg); color: var(--green-m); }
    #home .app-ic.n { background: var(--paper-3); color: var(--mid); }

    #home .app-title {
        font-size: 0.875rem; font-weight: 600; color: var(--ink);
        letter-spacing: -.01em;
    }

    #home .app-sub {
        font-size: 0.72rem; color: var(--pale); margin-top: 1px;
    }

    #home .app-desc {
        font-size: 0.78rem; color: var(--mid); line-height: 1.5;
    }

    #home .app-badge {
        display: inline-flex; align-items: center; gap: 5px;
        padding: 4px 10px; border-radius: var(--r-full);
        font-size: 0.65rem; font-weight: 700; letter-spacing: 0.05em;
        text-transform: uppercase; white-space: nowrap;
    }

    #home .app-badge.b {
        background: var(--blue-bg); color: var(--blue-m);
        border: 1px solid var(--blue-xl);
    }

    #home .app-badge.g {
        background: var(--green-bg); color: var(--green-m);
        border: 1px solid var(--green-xl);
    }

    #home .app-badge.n {
        background: var(--paper-3); color: var(--mid);
        border: 1px solid var(--rule);
    }

    #home .cta-box {
        background: var(--ink-2); border-radius: var(--r-2xl);
        display: grid; grid-template-columns: 1fr auto;
        align-items: center; gap: 40px;
        padding: clamp(48px,6vw,80px) clamp(40px,5vw,72px);
        position: relative; overflow: hidden;
        box-shadow: 0 20px 64px rgba(10,9,7,0.18);
        margin-top: 48px;
    }

    #home .cta-box::before {
        content: ''; position: absolute; top: -160px; left: -120px;
        width: 500px; height: 500px; border-radius: 50%;
        background: radial-gradient(circle, rgba(43,79,130,0.30) 0%, transparent 60%);
        pointer-events: none;
    }

    #home .cta-box::after {
        content: ''; position: absolute; bottom: -100px; right: 150px;
        width: 380px; height: 380px; border-radius: 50%;
        background: radial-gradient(circle, rgba(61,122,82,0.18) 0%, transparent 60%);
        pointer-events: none;
    }

    #home .cta-text { position: relative; z-index: 1; }

    #home .cta-ey {
        font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em;
        text-transform: uppercase; color: rgba(255,255,255,0.28);
        margin-bottom: 14px; display: flex; align-items: center; gap: 7px;
    }

    #home .cta-ey i { color: var(--blue-l); font-size: 0.5rem; }

    #home .cta-h {
        font-family: 'Cormorant Garamond', serif;
        font-size: clamp(2rem,3.5vw,3.5rem);
        font-weight: 300; line-height: 1.08; letter-spacing: -0.025em;
        color: #fff;
    }

    #home .cta-h em { font-style: italic; font-weight: 600; color: #A5C8F0; }

    #home .cta-p {
        font-size: 0.875rem; color: rgba(255,255,255,.38);
        margin-top: 14px; line-height: 1.72; max-width: 480px;
    }

    #home .cta-act { position: relative; z-index: 1; flex-shrink: 0; }

    #home .btn-cta {
        display: inline-flex; align-items: center; gap: 10px;
        padding: 16px 32px; border-radius: var(--r-full);
        font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 700;
        background: #fff; color: var(--ink);
        text-decoration: none; cursor: pointer; border: none; white-space: nowrap;
        box-shadow: 0 4px 24px rgba(0,0,0,0.25);
        transition: transform .25s var(--ease-out), box-shadow .25s;
    }

    #home .btn-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 40px rgba(0,0,0,0.38);
    }

    #home .btn-cta i {
        color: var(--blue-m); font-size: 0.7rem;
        transition: transform .2s;
    }

    #home .btn-cta:hover i { transform: translateX(3px); }

    #home footer {
        background: var(--white); border-top: 1px solid var(--rule);
        padding: 64px clamp(20px,5vw,80px) 36px;
    }

    #home .footer-inner { max-width: 1320px; margin: 0 auto; }

    #home .footer-top {
        display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--rule);
    }

    #home .ft-brand {}

    #home .ft-logo {
        display: inline-flex; align-items: center; gap: 10px;
        text-decoration: none; margin-bottom: 14px;
    }

    #home .ft-logo .logo-name { font-size: 1.25rem; color: var(--ink); }

    #home .ft-desc {
        font-size: 0.78rem; color: var(--pale); line-height: 1.65;
        max-width: 220px; margin-bottom: 20px;
    }

    #home .ft-socials { display: flex; gap: 6px; }

    #home .ft-soc {
        width: 32px; height: 32px; border-radius: var(--r-sm);
        border: 1px solid var(--rule); background: var(--white);
        display: flex; align-items: center; justify-content: center;
        color: var(--pale); font-size: 0.68rem; text-decoration: none;
        transition: all .2s;
    }

    #home .ft-soc:hover {
        border-color: var(--blue-m); color: var(--blue-m);
        background: var(--blue-bg); transform: translateY(-2px);
    }

    #home .ft-col h5 {
        font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
        text-transform: uppercase; color: var(--pale); margin-bottom: 16px;
    }

    #home .ft-col a {
        display: flex; align-items: center; gap: 7px;
        font-size: 0.78rem; color: var(--mid); text-decoration: none;
        margin-bottom: 11px; transition: color .2s;
    }

    #home .ft-col a:hover { color: var(--ink); }

    #home .ft-col a i {
        font-size: 0.5rem; color: var(--pale); width: 10px;
        text-align: center; transition: color .2s;
    }

    #home .ft-col a:hover i { color: var(--blue-m); }

    #home .footer-bottom {
        display: flex; align-items: center; justify-content: space-between;
        flex-wrap: wrap; gap: 12px; padding-top: 24px;
    }

    #home .ft-copy { font-size: 0.72rem; color: var(--pale); }

    #home .ft-legal { display: flex; gap: 16px; }

    #home .ft-legal a {
        font-size: 0.72rem; color: var(--pale);
        text-decoration: none; transition: color .2s;
    }

    @media(max-width:1100px){
        #home .hero-body{ grid-template-columns:1fr; }
        #home .hero-left{ border-right:none; padding-right:0; padding-bottom:0; }
        #home .hero-right{
            border-top:1px solid var(--rule);
            margin-top:40px; padding-left:0; padding-top:40px;
        }
        #home .feat-grid{ grid-template-columns:1fr; }
        #home .ai-card{ grid-row:span 1; }
        #home .feat-sides{ grid-template-columns:1fr 1fr; }
        #home .footer-top{ grid-template-columns:1fr 1fr; }
        #home .cta-box{ grid-template-columns:1fr; }
        #home .cta-act{ margin-top:20px; }
    }

    @media(max-width:768px){
        #home .apps-th{ grid-template-columns:40px 1fr auto; }
        #home .apps-th .ath:nth-child(3){ display:none; }
        #home .app-row{ grid-template-columns:40px 1fr auto; }
        #home .app-desc{ display:none; }
        #home .feat-sides{ grid-template-columns:1fr; }
        #home .quick-row{ grid-template-columns:1fr; }
        #home .footer-top{ grid-template-columns:1fr; }
        #home .apps-header{ flex-direction: column; align-items: flex-start; }
        #home .apps-lead{ text-align: left; max-width: 100%; }
    }

    @media(max-width:500px){
        #home .hero-ctas{ flex-direction:column; }
        #home .btn-primary, #home .btn-secondary{ justify-content:center; width:100%; }
    }

    /* Content sections */
    .content-section {
        display: none;
        width: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        min-height: calc(100vh - 70px);
    }

    .content-section.active {
        display: block;
    }

    /* Bottom Navigation */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 70px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--rule);
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 1000;
        padding: 0 10px;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 8px 12px;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.2s ease;
        color: var(--mid);
        flex: 1;
        max-width: 80px;
    }

    .nav-item.active {
        color: var(--blue-m);
        background: var(--blue-bg);
    }

    .nav-item .nav-icon {
        font-size: 1.2rem;
    }

    .nav-item .nav-label {
        font-size: 0.7rem;
        font-weight: 500;
        text-align: center;
    }

   


  

    #home {
        padding-bottom: 0;
    }

    /* Fix for scroll reveal */
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }