*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --primary-50:   #f0f6ff;
      --primary-200:  #e8f0fe;
      --primary-500:  #2a6fbe;
      --primary-600:  #5b6ee5;
      --primary-700:  #4f5fdc;
      --accent-500:   #764ba2;
      --teal-500:     #009688;
      --bg:           #f8fafc;
      --bg-soft:      #f5f7fa;
      --surface:      #ffffff;
      --text-900:     #0f172a;
      --text-700:     #1e293b;
      --text-600:     #475569;
      --text-500:     #64748b;
      --border-100:   #edf2f7;
      --border-200:   #e5e7eb;
      --border-300:   #e2e8f0;
      --success-600:  #15803d;
      --warn-600:     #a16207;
      --error-600:    #dc2626;
      --info-600:     #2563eb;
      --shadow-sm:    0 2px 4px rgba(0,0,0,.06);
      --shadow-md:    0 4px 12px rgba(0,0,0,.10);
      --shadow-lg:    0 10px 25px rgba(0,0,0,.08);
      --accent-dim:   rgba(91,110,229,0.08);
      --gradient:     linear-gradient(135deg, var(--primary-600), var(--accent-500));
      --hero-bg:      #0b1220;
      --hero-surface: #0f172a;
      --hero-text:    #e5e7eb;
      --hero-muted:   #7b93b5;
      --hero-border:  rgba(255,255,255,0.08);
      --ff:           'Poppins', system-ui, sans-serif;
      --radius-md:    8px;
      --radius-lg:    12px;
      --radius-xl:    16px;
    }

    html { scroll-behavior: smooth; }
    body { background: var(--bg); color: var(--text-700); font-family: var(--ff); font-size: 16px; line-height: 1.65; overflow-x: hidden; }

    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: var(--border-300); border-radius: 3px; }

    /* NAV */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 5vw; height: 68px;
      background: rgba(11,18,32,0.92); backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255,255,255,0.07);
      transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
    }
    nav.scrolled {
      background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--border-200);
      box-shadow: var(--shadow-sm);
    }
    nav.scrolled .nav-links a { color: var(--text-600); }
    nav.scrolled .nav-links a:hover { color: var(--text-900); }
    nav.scrolled .hamburger span { background: var(--text-900); }
    .nav-logo img { height: 34px; width: auto; display: block; }
    .nav-links { display: flex; gap: 1.25rem; list-style: none; align-items: center; flex: 1; justify-content: flex-end; }
    .nav-links a { color: rgba(229,231,235,0.8); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
    .nav-links a:hover { color: #fff; }
    
    .nav-signin { color: rgba(229,231,235,0.6) !important; }
    nav.scrolled .nav-signin { color: var(--text-600) !important; }

    .nav-cta {
      background: var(--gradient) !important; color: #fff !important;
      padding: 8px 20px; border-radius: var(--radius-md);
      font-weight: 600 !important; font-size: 0.875rem !important;
      box-shadow: 0 4px 14px rgba(91,110,229,0.35);
      transition: opacity 0.2s, transform 0.2s !important;
    }
    .nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
    .hamburger span { width: 24px; height: 2px; background: #e5e7eb; border-radius: 2px; transition: 0.3s; }

    /* HERO */
    .hero {
      min-height: 100vh; display: flex; align-items: center;
      padding: 120px 5vw 80px; background: var(--hero-bg);
      position: relative; overflow: visible;
    }
    .hero-orb { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
    .hero-orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(91,110,229,0.22) 0%, transparent 70%); top: -100px; left: -200px; }
    .hero-orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(118,75,162,0.18) 0%, transparent 70%); bottom: -80px; right: -100px; animation-delay: -9s; }
    .hero-orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(42,111,190,0.15) 0%, transparent 70%); top: 40%; right: 30%; animation-delay: -4s; }
    @keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,30px) scale(1.08); } }

    .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: center; position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; width: 100%; }
    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(91,110,229,0.15); border: 1px solid rgba(91,110,229,0.3);
      color: #a5b4fc; font-size: 0.75rem; font-weight: 600;
      padding: 5px 14px; border-radius: 100px; letter-spacing: 0.05em;
      text-transform: uppercase; margin-bottom: 1.5rem;
    }
    .hero-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #a5b4fc; animation: pulse 2s ease-in-out infinite; }
    @keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.4; transform:scale(0.7); } }

    h1 { font-family: var(--ff); font-size: clamp(2.4rem,5vw,4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.04em; color: var(--hero-text); margin-bottom: 1.5rem; }
    h1 em { font-style: italic; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .hero-sub { font-size: 1.05rem; color: var(--hero-muted); max-width: 480px; margin-bottom: 2.5rem; line-height: 1.75; }

    .btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }
    .btn-primary {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--gradient); color: #fff;
      padding: 13px 28px; border-radius: var(--radius-md);
      font-weight: 700; font-size: 0.925rem; text-decoration: none;
      border: none; cursor: pointer; transition: all 0.2s;
      box-shadow: 0 4px 20px rgba(91,110,229,0.4);
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(91,110,229,0.5); }
    .btn-secondary {
      display: inline-flex; align-items: center; gap: 8px;
      background: transparent; color: var(--hero-text);
      padding: 13px 28px; border-radius: var(--radius-md);
      font-weight: 600; font-size: 0.925rem; text-decoration: none;
      border: 1px solid var(--hero-border); transition: all 0.2s;
    }
    .btn-secondary:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); }

    /* Hero Login Flip Button */
    .btn-login-flip {
      display: inline-flex; align-items: center; justify-content: center;
      margin-top: 1.5rem; position: relative; overflow: hidden;
      color: var(--hero-muted); font-size: 0.85rem; font-weight: 500;
      text-decoration: none; border-radius: 100px;
      background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
      transition: all 0.3s ease; width: 180px; height: 42px;
    }
    .btn-login-flip:hover {
      background: rgba(91,110,229,0.15); border-color: rgba(91,110,229,0.3);
      color: #a5b4fc; box-shadow: 0 4px 12px rgba(91,110,229,0.15);
    }
    .btn-login-flip span {
      position: absolute; width: 100%; text-align: center;
      transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    }
    .btn-login-flip .flip-front { transform: translateY(0); opacity: 1; }
    .btn-login-flip .flip-back { transform: translateY(100%); opacity: 0; font-weight: 600; letter-spacing: 0.02em; }
    .btn-login-flip:hover .flip-front { transform: translateY(-100%); opacity: 0; }
    .btn-login-flip:hover .flip-back { transform: translateY(0); opacity: 1; }

    /* Browser mockup */
    .browser-frame {
      background: var(--hero-surface); border-radius: var(--radius-xl);
      border: 1px solid var(--hero-border); overflow: hidden;
      box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
      transform: perspective(1000px) rotateY(-4deg) rotateX(2deg); transition: transform 0.5s ease;
    }
    .browser-frame:hover { transform: perspective(1000px) rotateY(-1deg) rotateX(0deg); }
    .browser-bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--hero-border); }
    .dot { width: 10px; height: 10px; border-radius: 50%; }
    .dot-r { background: #ff5f56; } .dot-y { background: #ffbd2e; } .dot-g { background: #27c93f; }
    .browser-url { flex: 1; background: rgba(255,255,255,0.05); border-radius: 6px; padding: 4px 12px; font-size: 0.72rem; color: var(--hero-muted); margin: 0 8px; }
    .browser-content { background: var(--hero-surface); min-height: 340px; }
    .dash-sim { padding: 16px; }
    .dash-sim-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
    .dash-sim-title { font-size: 0.78rem; font-weight: 600; color: var(--hero-muted); }
    .dash-sim-badge { background: rgba(91,110,229,0.15); color: #a5b4fc; font-size: 0.65rem; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
    .kpi-row { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin-bottom: 14px; }
    .kpi-card { background: rgba(255,255,255,0.04); border-radius: 8px; padding: 10px 8px; border: 1px solid var(--hero-border); }
    .kpi-label { font-size: 0.6rem; color: var(--hero-muted); margin-bottom: 4px; }
    .kpi-score { font-size: 1.1rem; font-weight: 700; }
    .kpi-green { color: #4ade80; } .kpi-amber { color: #fbbf24; } .kpi-red { color: #f87171; }
    .chart-row { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; }
    .chart-block { background: rgba(255,255,255,0.04); border-radius: 8px; padding: 12px; border: 1px solid var(--hero-border); min-height: 120px; }
    .chart-label { font-size: 0.65rem; color: var(--hero-muted); margin-bottom: 10px; }
    .bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 72px; }
    .bar { flex: 1; border-radius: 4px 4px 0 0; background: var(--primary-600); opacity: 0.6; transition: opacity 0.2s; }
    .bar:hover { opacity: 1; }
    .stat-list { display: flex; flex-direction: column; gap: 6px; }
    .stat-row { display: flex; justify-content: space-between; align-items: center; }
    .stat-name { font-size: 0.65rem; color: var(--hero-muted); }
    .stat-pill { font-size: 0.6rem; padding: 2px 7px; border-radius: 4px; font-weight: 600; }
    .pill-green { background: rgba(74,222,128,0.15); color: #4ade80; }
    .pill-amber { background: rgba(251,191,36,0.15); color: #fbbf24; }
    .pill-red   { background: rgba(248,113,113,0.15); color: #f87171; }

    /* TRUST STRIP */
    .trust-strip {
      background: var(--surface); border-bottom: 1px solid var(--border-200);
      padding: 20px 5vw; display: flex; align-items: center;
      justify-content: center; gap: 3rem; flex-wrap: wrap;
      box-shadow: var(--shadow-sm); overflow: visible;
    }
    .trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 500; color: var(--text-600); }
    .trust-icon { width: 32px; height: 32px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }
    .trust-icon-green  { background: rgba(21,128,61,0.1);  color: var(--success-600); }
    .trust-icon-blue   { background: var(--accent-dim);     color: var(--primary-600); }
    .trust-icon-amber  { background: rgba(161,98,7,0.1);    color: var(--warn-600); }
    .trust-icon-purple { background: rgba(118,75,162,0.1);  color: var(--accent-500); }

    /* SECTIONS */
    section { padding: 96px 5vw; }
    .container { max-width: 1200px; margin: 0 auto; }

    .section-eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      color: var(--primary-600); font-size: 0.75rem; font-weight: 700;
      letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem;
    }
    .section-eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--gradient); border-radius: 1px; }

    h2 { font-family: var(--ff); font-size: clamp(1.9rem,3.5vw,2.75rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.035em; color: var(--text-900); margin-bottom: 1.2rem; }
    h2 em { font-style: italic; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .section-lead { font-size: 1rem; color: var(--text-600); max-width: 560px; line-height: 1.75; margin-bottom: 3rem; }

    /* PROBLEM */
    .problem { background: var(--bg); }
    .problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
    .problem-list { display: flex; flex-direction: column; gap: 1.25rem; }
    .problem-item {
      display: flex; gap: 1rem; align-items: flex-start;
      padding: 1.25rem; background: var(--surface);
      border: 1px solid var(--border-200); border-radius: var(--radius-lg);
      box-shadow: var(--shadow-sm); transition: all 0.2s;
    }
    .problem-item:hover { border-color: var(--primary-200); box-shadow: var(--shadow-md); transform: translateY(-2px); }
    .problem-icon { width: 40px; height: 40px; border-radius: var(--radius-md); background: rgba(220,38,38,0.08); color: var(--error-600); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
    .problem-text h4 { font-size: 0.925rem; font-weight: 700; margin-bottom: 0.3rem; color: var(--text-900); }
    .problem-text p  { font-size: 0.83rem; color: var(--text-500); line-height: 1.6; }

    .solution-card { background: var(--surface); border: 1px solid var(--border-200); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
    .solution-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient); }
    .solution-card h3 { font-size: 1.35rem; font-weight: 700; color: var(--text-900); margin-bottom: 0.75rem; }
    .solution-card p  { font-size: 0.875rem; color: var(--text-600); line-height: 1.65; margin-bottom: 1.5rem; }
    .solution-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .stat-box { background: var(--bg); border-radius: var(--radius-lg); padding: 1rem; border: 1px solid var(--border-100); }
    .stat-box-num { font-size: 1.75rem; font-weight: 800; line-height: 1; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .stat-box-label { font-size: 0.72rem; color: var(--text-500); margin-top: 4px; }

    /* PLATFORM */
    .platform { background: var(--surface); }
    .platform-header { text-align: center; margin-bottom: 4rem; }
    .platform-header .section-lead { margin: 0 auto; }
    .modules-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
    .module-card { background: var(--bg); border: 1px solid var(--border-200); border-radius: var(--radius-lg); padding: 1.75rem; transition: all 0.25s; cursor: pointer; }
    .module-card:hover { border-color: var(--primary-200); transform: translateY(-4px); box-shadow: var(--shadow-lg); background: var(--surface); }
    .module-icon { width: 48px; height: 48px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1.25rem; }
    .module-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-900); margin-bottom: 0.6rem; }
    .module-card p  { font-size: 0.83rem; color: var(--text-600); line-height: 1.65; }
    .module-tag { display: inline-block; margin-top: 0.875rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; color: var(--primary-600); }

    /* CQC CALLOUT */
    .cqc-callout { background: var(--bg); }
    .cqc-inner {
      background: var(--gradient); border-radius: 24px; padding: 4rem;
      position: relative; overflow: hidden;
      display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
    }
    .cqc-inner::before { content: 'CQC'; position: absolute; right: -30px; top: 50%; transform: translateY(-50%); font-size: 20rem; font-weight: 900; color: rgba(255,255,255,0.06); letter-spacing: -0.05em; pointer-events: none; line-height: 1; }
    .cqc-inner .section-eyebrow { color: rgba(255,255,255,0.7); }
    .cqc-inner .section-eyebrow::before { background: rgba(255,255,255,0.4); }
    .cqc-inner h2 { color: #fff; }
    .cqc-inner h2 em { -webkit-text-fill-color: rgba(255,255,255,0.85); background: none; }
    .five-qs { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.5rem; }
    .five-q { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 1rem; background: rgba(255,255,255,0.12); border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.15); }
    .five-q-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.9); flex-shrink: 0; }
    .five-q-label { font-size: 0.85rem; font-weight: 600; color: #fff; }
    .five-q-desc  { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-left: auto; }
    .cqc-right p  { font-size: 0.975rem; color: rgba(255,255,255,0.85); line-height: 1.75; margin-bottom: 1.25rem; }
    .cqc-right strong { color: #fff; }
    .btn-cqc { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--primary-700); padding: 13px 28px; border-radius: var(--radius-md); font-weight: 700; font-size: 0.925rem; text-decoration: none; transition: all 0.2s; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
    .btn-cqc:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

    /* FOUNDER */
    .founder { background: var(--surface); }
    .founder-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: center; }
    .founder-card { background: var(--bg); border-radius: 24px; border: 1px solid var(--border-200); padding: 2.5rem; box-shadow: var(--shadow-md); }
    .founder-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 1.25rem; }
    .founder-name { font-size: 1.25rem; font-weight: 800; color: var(--text-900); margin-bottom: 0.2rem; }
    .founder-role { font-size: 0.83rem; color: var(--primary-600); font-weight: 600; margin-bottom: 1.5rem; }
    .founder-credentials { display: flex; flex-direction: column; gap: 0.6rem; }
    .cred-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; color: var(--text-600); }
    .cred-item i { color: var(--primary-600); font-size: 0.7rem; }
    .founder-badges { display: flex; gap: 0.75rem; margin-top: 2rem; flex-wrap: wrap; }
    .badge { display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border-200); padding: 6px 14px; border-radius: var(--radius-md); font-size: 0.77rem; font-weight: 500; color: var(--text-600); box-shadow: var(--shadow-sm); }
    .badge i { color: var(--primary-600); }
    .founder-quote { font-size: clamp(1.5rem,2.5vw,2rem); font-style: italic; font-weight: 700; line-height: 1.3; color: var(--text-900); margin-bottom: 1.5rem; }
    .founder-quote span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .founder-body { font-size: 0.925rem; color: var(--text-600); line-height: 1.8; }
    .founder-body p + p { margin-top: 1rem; }

    /* TRIAL */
    .trial { background: var(--bg); }
    .trial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
    .trial-steps { display: flex; flex-direction: column; margin-top: 2rem; }
    .trial-step { display: flex; gap: 1.25rem; position: relative; padding-bottom: 2rem; }
    .trial-step:last-child { padding-bottom: 0; }
    .trial-step:last-child .step-line { display: none; }
    .step-num-wrap { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
    .step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-dim); border: 1px solid var(--primary-200); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; color: var(--primary-600); }
    .step-line { width: 1px; flex: 1; background: var(--border-200); margin-top: 6px; }
    .step-content { padding-top: 6px; }
    .step-content h4 { font-size: 0.925rem; font-weight: 700; color: var(--text-900); margin-bottom: 0.3rem; }
    .step-content p  { font-size: 0.83rem; color: var(--text-500); line-height: 1.6; }

    .trial-form-card { background: var(--surface); border: 1px solid var(--border-200); border-radius: 20px; padding: 2.5rem; box-shadow: var(--shadow-lg); position: sticky; top: 90px; }
    .trial-form-card h3 { font-size: 1.35rem; font-weight: 700; color: var(--text-900); margin-bottom: 0.4rem; }
    .trial-form-card > p { font-size: 0.85rem; color: var(--text-500); margin-bottom: 1.75rem; }
    .form-group { margin-bottom: 1rem; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text-700); margin-bottom: 5px; }
    input, select, textarea { width: 100%; padding: 10px 14px; background: var(--bg); border: 1px solid var(--border-300); border-radius: var(--radius-md); color: var(--text-900); font-family: var(--ff); font-size: 0.875rem; transition: border-color 0.2s, box-shadow 0.2s; outline: none; }
    input:focus, select:focus, textarea:focus { border-color: var(--primary-600); box-shadow: 0 0 0 3px var(--accent-dim); background: var(--surface); }
    textarea { min-height: 88px; resize: vertical; }
    select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-color: var(--bg); }
    .form-submit { width: 100%; margin-top: 0.5rem; background: var(--gradient); color: #fff; border: none; padding: 13px; border-radius: var(--radius-md); font-weight: 700; font-size: 0.975rem; cursor: pointer; font-family: var(--ff); transition: all 0.2s; box-shadow: 0 4px 14px rgba(91,110,229,0.35); }
    .form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(91,110,229,0.45); }
    .form-note { font-size: 0.73rem; color: var(--text-500); text-align: center; margin-top: 0.75rem; }
    .form-note a { color: var(--text-500); }
    .form-success { display: none; text-align: center; padding: 2rem 0; }
    .form-success-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(21,128,61,0.1); color: var(--success-600); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 1rem; }
    .form-success h4 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-900); }
    .form-success p  { font-size: 0.875rem; color: var(--text-600); }

    /* FOOTER */
    footer { background: var(--text-900); padding: 56px 5vw 32px; }
    .footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .footer-brand { max-width: 280px; }
    .footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.4); margin-top: 1rem; line-height: 1.7; }
    .footer-links h4 { font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 1rem; letter-spacing: 0.06em; text-transform: uppercase; }
    .footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
    .footer-links a { font-size: 0.83rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
    .footer-links a:hover { color: rgba(255,255,255,0.9); }
    .footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.77rem; color: rgba(255,255,255,0.3); }
    .footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
    .footer-bottom a:hover { color: rgba(255,255,255,0.6); }

    /* REVEAL */
    .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }

    /* MOBILE */
    @media (max-width: 900px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .hero-grid, .problem-grid, .cqc-inner, .founder-grid, .trial-grid { grid-template-columns: 1fr; }
      .hero-mockup { display: none; }
      .modules-grid { grid-template-columns: 1fr 1fr; }
      .kpi-row { grid-template-columns: repeat(3,1fr); }
      .cqc-inner { padding: 2rem; }
      .cqc-inner::before { display: none; }
      .trial-form-card { position: static; }
      .form-row { grid-template-columns: 1fr; }
      .trust-strip { gap: 1.5rem; justify-content: flex-start; }
    }
    @media (max-width: 600px) {
      section { padding: 72px 5vw; }
      .modules-grid { grid-template-columns: 1fr; }
      h1 { font-size: 2.2rem; }
    }

    .mobile-nav { display: none; position: fixed; inset: 0; z-index: 99; background: var(--text-900); padding: 100px 5vw 2rem; flex-direction: column; gap: 1.5rem; }
    .mobile-nav.open { display: flex; }
    .mobile-nav a { font-size: 1.75rem; font-weight: 700; color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.2s; }
    .mobile-nav a:hover { color: #fff; }

    /* MODALS */
    .modal-overlay {
      display: none; position: fixed; inset: 0; z-index: 1000;
      background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
      align-items: center; justify-content: center; padding: 20px;
    }
    .modal-overlay.open { display: flex; }
    .modal {
      background: var(--surface); border-radius: 20px;
      max-width: 760px; width: 100%; max-height: 90vh;
      overflow-y: auto; position: relative;
      box-shadow: 0 24px 80px rgba(0,0,0,0.3);
      animation: modalIn 0.25s ease;
    }
    @keyframes modalIn {
      from { opacity: 0; transform: translateY(20px) scale(0.98); }
      to   { opacity: 1; transform: translateY(0) scale(1); }
    }
    .modal-header {
      padding: 2rem 2rem 1.5rem; border-bottom: 1px solid var(--border-200); position: relative;
    }
    .modal-header::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
      background: var(--gradient); border-radius: 20px 20px 0 0;
    }
    .modal-icon {
      width: 48px; height: 48px; border-radius: var(--radius-md);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.2rem; margin-bottom: 1rem;
    }
    .modal-title { font-size: 1.35rem; font-weight: 800; color: var(--text-900); margin-bottom: 0.4rem; }
    .modal-subtitle { font-size: 0.875rem; color: var(--text-600); line-height: 1.6; max-width: 560px; }
    .modal-close {
      position: absolute; top: 1.25rem; right: 1.25rem;
      width: 32px; height: 32px; border-radius: 50%;
      background: var(--bg); border: 1px solid var(--border-200);
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; color: var(--text-500); font-size: 0.85rem; transition: all 0.2s;
    }
    .modal-close:hover { background: var(--border-200); color: var(--text-900); }
    .modal-body { padding: 1.5rem 2rem 2rem; }
    .modal-screenshot {
      width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border-200);
      box-shadow: var(--shadow-md); margin-bottom: 1.5rem; display: block;
    }
    .modal-screenshot-row {
      display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem;
    }
    .modal-screenshot-row img {
      width: 100%; border-radius: var(--radius-md);
      border: 1px solid var(--border-200); box-shadow: var(--shadow-sm);
    }
    .modal-features { margin-bottom: 1.5rem; }
    .modal-features h4 {
      font-size: 0.78rem; font-weight: 700; color: var(--text-900);
      text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.75rem;
    }
    .modal-features ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
    .modal-features li {
      display: flex; align-items: flex-start; gap: 0.75rem;
      font-size: 0.875rem; color: var(--text-600); line-height: 1.55;
    }
    .modal-features li i { color: var(--primary-600); font-size: 0.7rem; margin-top: 5px; flex-shrink: 0; }
    .modal-footer {
      padding: 1.25rem 2rem; border-top: 1px solid var(--border-200);
      display: flex; justify-content: flex-end; gap: 1rem; align-items: center;
    }
/* NAV FLIP BUTTONS */
.btn-nav-flip {
  position: relative; display: inline-flex; align-items: center;
  height: 36px; overflow: hidden; border-radius: var(--radius-md);
  text-decoration: none; font-size: 0.875rem; font-weight: 600;
  cursor: pointer; white-space: nowrap;
}
.btn-nav-flip--ghost {
  padding: 0 14px;
  min-width: 160px;
  color: rgba(229,231,235,0.7);
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-nav-flip--ghost:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
nav.scrolled .btn-nav-flip--ghost { color: var(--text-600); border-color: var(--border-300); }
nav.scrolled .btn-nav-flip--ghost:hover { color: var(--text-900); border-color: var(--border-400, #cbd5e1); }
.btn-nav-flip--cta {
  padding: 0 20px;
  min-width: 120px;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(91,110,229,0.35);
}
.btn-nav-flip .flip-front,
.btn-nav-flip .flip-back {
  position: absolute; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.btn-nav-flip .flip-front { transform: translateY(0); opacity: 1; }
.btn-nav-flip .flip-back  { transform: translateY(100%); opacity: 0; }
  .btn-nav-flip:hover .flip-front { transform: translateY(-100%); opacity: 0; }
.btn-nav-flip:hover .flip-back  { transform: translateY(0); opacity: 1; }