/* =========================================================
   Biznessful — MVP Studio
   Premium sub-brand stylesheet
   Display: Space Grotesk · Body: Inter · Data: JetBrains Mono
   ========================================================= */

   :root {
    /* ---- Core palette ---- */
    --bg: #FAFAFC;
    --surface: #FFFFFF;
    --surface-tint: #F4F4FD;
    --ink: #0B0C17;
    --ink-soft: #15162B;
    --muted: #6C6D82;
    --muted-soft: #9394A8;
    --line: #E9E9F2;
    --line-soft: #F1F1F8;
  
    /* ---- Sub-brand gradient identity ---- */
    --grad-a: #D8610A;
    --grad-b: #F47C20;
    --grad-flat: linear-gradient(115deg, var(--grad-a), var(--grad-b));
    --grad-radial: radial-gradient(circle at 30% 20%, rgba(91,95,239,0.5), transparent 60%);
  
    /* ---- Biznessful heritage accent — used sparingly ---- */
    --heritage: #F47C20;
    --heritage-soft: rgba(244,124,32,0.12);
    --heritage-line: rgba(244,124,32,0.35);
  
    --success: #10B981;
  
    --radius-xl: 2rem;
    --radius-lg: 1.5rem;
    --radius-md: 1.05rem;
    --radius-sm: 0.7rem;
  
    --shadow-1: 0 2px 10px -4px rgba(15,16,40,0.06);
    --shadow-2: 0 20px 50px -20px rgba(76,60,220,0.28);
    --shadow-3: 0 30px 70px -25px rgba(11,12,23,0.35);
  }
  
  * { box-sizing: border-box; }
  
  html { scroll-behavior: smooth; scroll-padding-top: 92px; }
  
  body {
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.5;
  }
  
  h1, h2, h3, h4, .font-display {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
    color: var(--ink);
  }
  
  .font-mono, .price-tile-price, .price-card-amount, .stat-number, .process-index, .estimator-total-label {
    font-family: 'JetBrains Mono', monospace;
  }
  
  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
  }
  
  .skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--ink); color: #fff; padding: 0.75rem 1.25rem;
    border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
  }
  .skip-link:focus { left: 0; }
  
  :focus-visible {
    outline: 2px solid var(--grad-a);
    outline-offset: 3px;
    border-radius: 4px;
  }
  
  .section-inner { max-width: 1250px; margin: 0 auto; padding: 0 1.5rem; }
  .section-inner-narrow { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }
  
  .text-gradient {
    background: var(--grad-flat);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  .text-heritage { color: var(--heritage); }
  
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
    font-weight: 600; border-radius: 999px; text-decoration: none; border: none; cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap; font-family: 'Inter', sans-serif;
  }
  .btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }
  .btn-sm { padding: 0.6rem 1.25rem; font-size: 0.86rem; }
  .btn:not(.btn-sm):not(.btn-lg) { padding: 0.75rem 1.45rem; font-size: 0.9rem; }
  
  .btn-primary {
    background: var(--grad-flat);
    color: #fff;
    box-shadow: var(--shadow-2);
    position: relative;
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 45px -14px rgba(124,58,237,0.45), 0 0 0 3px var(--heritage-soft); }
  .btn-primary:active { transform: translateY(0); }
  
  .btn-ghost { background: var(--surface-tint); color: var(--ink-soft); }
  .btn-ghost:hover { background: #EAEAF9; color: var(--grad-b); }
  
  .btn-outline { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }
  .btn-outline:hover { border-color: var(--grad-a); color: var(--grad-b); }
  
  .btn-white { background: #fff; color: var(--grad-b); box-shadow: 0 15px 35px -12px rgba(0,0,0,0.35); }
  .btn-white:hover { transform: translateY(-2px); box-shadow: 0 0 0 3px rgba(255,255,255,0.35), 0 20px 40px -12px rgba(0,0,0,0.4); }
  
  .btn-icon { width: 1.05rem; height: 1.05rem; transition: transform 0.2s ease; flex-shrink: 0; }
  .btn:hover .btn-icon { transform: translateX(3px); }
  
  .subbrand-badge {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    padding: 0.35rem 0.75rem 0.35rem 0.5rem; border-radius: 999px;
    background: var(--heritage-soft); color: var(--heritage); border: 1px solid var(--heritage-line);
  }
  .subbrand-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--heritage); flex-shrink: 0; }
  
  .navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250, 250, 252, 0.72);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(233,233,242,0.9);
  }
  .navbar-inner {
    max-width: 1180px; margin: 0 auto; padding: 0.85rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  }
  .logo-mark { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
  .logo-badge {
    width: 2.15rem; height: 2.15rem; border-radius: 0.7rem;
    background: var(--grad-flat); color: #fff; font-family: 'Space Grotesk', sans-serif; font-weight: 700;
    display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0;
    box-shadow: 0 6px 16px -4px rgba(91,95,239,0.5);
  }
  .logo-badge-dark { box-shadow: 0 0 0 1px rgba(255,255,255,0.1); }
  .logo-text {
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.02rem; color: var(--ink);
    display: flex; flex-direction: column; line-height: 1.05;
  }
  .logo-text-dark { color: #fff; }
  .logo-suffix { font-size: 0.62rem; font-weight: 600; color: var(--heritage); letter-spacing: 0.07em; text-transform: uppercase; }
  
  .nav-links { display: flex; align-items: center; gap: 2rem; }
  .nav-links a { font-size: 0.89rem; font-weight: 600; color: var(--muted); text-decoration: none; transition: color 0.2s ease; }
  .nav-links a:hover { color: var(--ink); }
  
  .nav-burger { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 0.4rem; }
  .nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
  .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  
  .mobile-menu { display: none; flex-direction: column; gap: 0.25rem; padding: 0 1.5rem 1.25rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
  .mobile-menu.open { max-height: 400px; }
  .mobile-menu a { padding: 0.7rem 0.25rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  
  @media (max-width: 860px) {
    .nav-links, .nav-cta { display: none; }
    .nav-burger { display: flex; }
    .mobile-menu { display: flex; }
  }
  
  .hero { position: relative; padding: 4.5rem 0 5rem; overflow: hidden; }
  .hero-bg { position: absolute; inset: 0; z-index: 0; }
  .hero-blob { position: absolute; border-radius: 50%; filter: blur(90px); }
  .hero-blob-1 { width: 560px; height: 560px; background: rgba(150, 87, 45, 0.3); top: -220px; right: -160px; }
  .hero-blob-2 { width: 420px; height: 420px; background: rgba(124,58,237,0.22); bottom: -180px; left: -120px; }
  .hero-blob-3 { width: 260px; height: 260px; background: rgba(244,124,32,0.14); top: 40%; left: 46%; }
  .hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(91,95,239,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(91,95,239,0.05) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 70% 55% at 50% 15%, #000 40%, transparent 100%);
  }
  
  .hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 3rem; align-items: center; }
  @media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; } }
  
  .eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em; color: var(--grad-b); margin-bottom: 1.2rem;
  }
  .eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(124,58,237,0.14); }
  
  .hero-title { font-size: clamp(2.3rem, 4.7vw, 3.65rem); font-weight: 700; line-height: 1.08; color: var(--ink); }
  .hero-subtitle { font-size: 1.16rem; color: var(--muted); margin-top: 1.4rem; max-width: 48ch; line-height: 1.6; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
  
  .hero-trust { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
  .hero-trust span { display: flex; align-items: center; gap: 0.45rem; }
  .hero-trust .check { width: 1rem; height: 1rem; color: var(--success); flex-shrink: 0; }
  
  .hero-visual { position: relative; height: 480px; }
  .mock-stack { position: relative; width: 100%; height: 100%; }
  
  .mock-glow {
    position: absolute; top: 50%; left: 54%; width: 340px; height: 340px; transform: translate(-50%,-50%);
    background: radial-gradient(circle, rgba(91,95,239,0.35), rgba(124,58,237,0.12) 55%, transparent 75%);
    filter: blur(10px);
  }
  
  .mock-laptop { position: absolute; top: 8px; left: 0; width: 88%; max-width: 440px; filter: drop-shadow(0 30px 55px rgba(20,15,60,0.22)); }
  .mock-laptop-screen { background: var(--ink); border-radius: 14px 14px 0 0; padding: 10px 10px 0; }
  .mock-browser-bar { display: flex; gap: 5px; padding: 8px 6px; }
  .mock-browser-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.22); }
  .mock-app-body { background: #fff; border-radius: 9px 9px 0 0; display: flex; height: 216px; overflow: hidden; }
  .mock-app-sidebar { width: 58px; background: var(--surface-tint); padding: 14px 10px; display: flex; flex-direction: column; gap: 10px; }
  .mock-pill { height: 8px; border-radius: 4px; background: var(--line); }
  .mock-pill-active { background: var(--grad-a); }
  .mock-app-main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
  .mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 92px; }
  .mock-bar { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: var(--grad-flat); opacity: 0.9; }
  .mock-row { height: 10px; border-radius: 5px; background: var(--line); }
  .mock-row-short { width: 58%; }
  .mock-laptop-base { height: 12px; background: #DCDCEE; border-radius: 0 0 11px 11px; position: relative; }
  .mock-laptop-base::after { content: ''; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 58px; height: 4px; background: #B9BAD6; border-radius: 0 0 4px 4px; }
  
  .mock-phone {
    position: absolute; bottom: -6px; right: 6px; width: 168px;
    background: var(--ink); border-radius: 28px; padding: 9px;
    filter: drop-shadow(0 26px 46px rgba(20,15,60,0.28));
    border: 1px solid rgba(255,255,255,0.06);
  }
  .mock-phone-notch { width: 46px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.2); margin: 0 auto 8px; }
  .mock-phone-body { background: #fff; border-radius: 19px; padding: 12px; height: 290px; display: flex; flex-direction: column; gap: 10px; }
  .mock-phone-header { height: 36px; border-radius: 11px; background: var(--grad-flat); display: flex; align-items: center; padding: 0 10px; gap: 6px; }
  .mock-phone-header-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.55); }
  .mock-phone-card { flex: 1; border-radius: 11px; background: var(--surface-tint); border: 1px solid var(--line); }
  .mock-phone-card-sm { flex: 0.55; }
  .mock-phone-fab {
    position: absolute; bottom: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
    background: var(--heritage); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px -3px rgba(244,124,32,0.55);
  }
  .mock-phone-fab svg { width: 15px; height: 15px; color: #fff; }
  
  .float-card {
    position: absolute; display: flex; align-items: center; gap: 0.7rem;
    background: rgba(255,255,255,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.6); border-radius: 15px; padding: 0.65rem 0.95rem;
    box-shadow: 0 14px 34px -12px rgba(30,20,90,0.22);
    animation: floaty 5.5s ease-in-out infinite;
  }
  .float-card-1 { top: 0; right: 8px; animation-delay: 0s; }
  .float-card-2 { bottom: 108px; left: -18px; animation-delay: 1.3s; }
  .float-card-3 { top: 44%; left: -32px; animation-delay: 2.4s; }
  .float-card-4 { bottom: 30px; right: -20px; animation-delay: 0.7s; }
  .float-card-icon { width: 1.85rem; height: 1.85rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .float-card-icon svg { width: 1rem; height: 1rem; }
  .float-card-icon-indigo { background: rgba(91,95,239,0.14); color: var(--grad-a); }
  .float-card-icon-violet { background: rgba(124,58,237,0.14); color: var(--grad-b); }
  .float-card-icon-orange { background: var(--heritage-soft); color: var(--heritage); }
  .float-card-icon-green { background: rgba(16,185,129,0.14); color: var(--success); }
  .float-card-title { font-size: 0.8rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
  .float-card-sub { font-size: 0.7rem; color: var(--muted); white-space: nowrap; }
  
  @keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  
  @media (max-width: 640px) {
    .hero-visual { height: 400px; }
    .mock-laptop { width: 100%; }
    .mock-phone { width: 132px; right: -8px; }
    .float-card { padding: 0.5rem 0.75rem; }
    .float-card-3 { display: none; }
  }
  
  .stats-section { padding: 2.8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
  .stats-grid { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; text-align: center; }
  .stat-item { min-width: 140px; }
  .stat-number { font-size: 2.3rem; font-weight: 700; color: var(--ink); }
  .stat-number-static { font-family: 'JetBrains Mono', monospace; font-size: 2.3rem; font-weight: 700; color: var(--ink); }
  .stat-label { font-size: 0.87rem; color: var(--muted); margin-top: 0.2rem; font-weight: 500; }
  .stat-divider { width: 1px; height: 46px; background: var(--line); }
  @media (max-width: 640px) { .stat-divider { display: none; } .stats-grid { gap: 2rem; } }
  
  .section-head { text-align: center; max-width: 620px; margin: 0 auto 3.2rem; }
  .section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: var(--ink); line-height: 1.2; }
  .section-title-light { color: #fff; }
  .section-sub { font-size: 1.04rem; color: var(--muted); margin-top: 0.9rem; line-height: 1.6; }
  .section-sub-light { color: rgba(255,255,255,0.65); }
  .eyebrow-neutral { color: var(--grad-b); }
  
  .problem-section { padding: 6.5rem 0; }
  .compare-tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  @media (max-width: 860px) { .compare-tracks { grid-template-columns: 1fr; } }
  
  .track { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.1rem; }
  .track-slow { opacity: 0.78; }
  .track-fast { border-color: transparent; box-shadow: var(--shadow-2); position: relative; background: var(--surface);
    background-image: linear-gradient(var(--surface), var(--surface)), var(--grad-flat);
    background-origin: border-box; background-clip: padding-box, border-box; border: 1.5px solid transparent; }
  .track-label { font-weight: 700; color: var(--muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
  .track-label-primary { color: var(--grad-b); }
  .track-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.15rem; }
  .track-steps li { display: flex; align-items: flex-start; gap: 0.8rem; font-size: 0.96rem; color: var(--ink); }
  .track-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); margin-top: 6px; flex-shrink: 0; }
  .track-dot-primary { background: var(--grad-a); }
  .track-dot-success { background: var(--success); }
  .track-dot-danger { background: var(--heritage); }
  
  .why-section { padding: 6.5rem 0; background: var(--surface); }
  .why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  @media (max-width: 860px) { .why-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
  
  .why-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.9rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
  .why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
  .why-icon { width: 2.6rem; height: 2.6rem; border-radius: 0.85rem; display: flex; align-items: center; justify-content: center;
    background: var(--grad-flat); color: #fff; margin-bottom: 1.15rem; }
  .why-icon svg { width: 1.3rem; height: 1.3rem; }
  .why-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
  .why-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.55; }
  
  .process-section { padding: 6.5rem 0; background: var(--ink); }
  .process-list { list-style: none; margin: 0; padding: 0; max-width: 760px; margin: 0 auto; position: relative; }
  .process-list::before { content: ''; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 1px;
    background: linear-gradient(var(--grad-a), var(--grad-b)); opacity: 0.35; }
  .process-step { display: flex; gap: 1.5rem; padding: 1.6rem 0; position: relative; }
  .process-index {
    width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    background: var(--ink-soft); border: 1px solid rgba(255,255,255,0.1); color: #fff; font-weight: 700; font-size: 0.95rem;
    position: relative; z-index: 1;
  }
  .process-copy h3 { color: #fff; font-size: 1.08rem; font-weight: 700; margin-bottom: 0.4rem; padding-top: 0.5rem; }
  .process-copy p { color: rgba(255,255,255,0.6); font-size: 0.93rem; line-height: 1.6; max-width: 52ch; }
  
  .estimator-section { padding: 6.5rem 0; }
  .estimator-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
  .estimator-grid[hidden] { display: none !important; }
  @media (max-width: 900px) { .estimator-grid { grid-template-columns: 1fr; } }
  
  .estimator-options { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-1); }
  .option-base-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px dashed var(--line); }
  .option-base-label { font-weight: 700; font-size: 1.02rem; }
  .option-base-sub { font-size: 0.85rem; color: var(--muted); margin-top: 0.15rem; }
  .option-base-price { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 1.3rem; color: var(--grad-b); }
  
  .option-list { border: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
  .option-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 0.9rem 1.05rem; border-radius: var(--radius-sm); border: 1px solid var(--line);
    cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease; }
  .option-row:has(.option-checkbox:checked) { border-color: var(--grad-a); background: var(--surface-tint); }
  .option-row:hover { border-color: rgba(91,95,239,0.45); }
  .option-row-left { display: flex; align-items: center; gap: 0.8rem; }
  .option-checkbox { width: 1.15rem; height: 1.15rem; accent-color: var(--grad-a); cursor: pointer; }
  .option-name { font-weight: 600; font-size: 0.95rem; }
  .option-price { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: var(--muted); font-size: 0.92rem; }
  .estimator-note { font-size: 0.8rem; color: var(--muted-soft); margin-top: 1.2rem; text-align: center; }

  /* --- Estimator type switch --- */
  .estimator-switch {
    display: flex; gap: 0.5rem; justify-content: center;
    background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
    padding: 0.3rem; margin-bottom: 2rem; width: fit-content; margin-left: auto; margin-right: auto;
    box-shadow: var(--shadow-1);
  }
  .estimator-tab {
    display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.6rem 1.3rem; border-radius: 999px; border: none; background: none;
    font-family: 'Space Grotesk', sans-serif; font-size: 0.9rem; font-weight: 600;
    color: var(--muted); cursor: pointer; transition: background 0.22s ease, color 0.22s ease;
  }
  .estimator-tab:hover { color: var(--ink); }
  .estimator-tab-active {
    background: var(--grad-flat); color: #fff !important;
    box-shadow: 0 4px 14px -4px rgba(216,97,10,0.45);
  }
  
  .estimator-sticky { position: sticky; top: 100px; }
  .price-card { background: linear-gradient(160deg, var(--ink), #1B1C3B 60%, #26214B);
    border-radius: var(--radius-lg); padding: 2rem; color: #fff; box-shadow: var(--shadow-3); position: relative; overflow: hidden; }
  .price-card::before { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%;
    background: radial-gradient(circle, rgba(91,95,239,0.4), transparent 70%); }
  .price-card-label { font-size: 0.85rem; color: rgba(255,255,255,0.55); font-weight: 600; position: relative; }
  .price-card-amount { font-family: 'JetBrains Mono', monospace; font-size: 2.6rem; font-weight: 700; margin: 0.3rem 0 1rem; position: relative; }
  .price-card-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: rgba(255,255,255,0.75); padding: 0.5rem 0; position: relative; }
  .price-card-divider { height: 1px; background: rgba(255,255,255,0.12); margin: 0.8rem 0; position: relative; }
  .price-card-list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: flex; flex-direction: column; gap: 0.4rem;
    font-size: 0.82rem; color: rgba(255,255,255,0.6); max-height: 160px; overflow-y: auto; position: relative; }
  .price-card-foot { text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 0.9rem; position: relative; }
  
  .pricing-section { padding: 6.5rem 0; background: var(--surface); }
  .pricing-groups { display: flex; flex-direction: column; gap: 3.5rem; }
  .pricing-group-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 1.4rem; text-align: center; }
  .pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .pricing-cards-single { grid-template-columns: minmax(280px, 440px); justify-content: center; }
  @media (max-width: 860px) { .pricing-cards { grid-template-columns: 1fr; } }
  
  .price-tile { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.9rem;
    display: flex; flex-direction: column; position: relative; background: var(--bg);
    transition: transform 0.25s ease, box-shadow 0.25s ease; }
  .price-tile:hover { transform: translateY(-3px); }
  .price-tile-featured { background: var(--surface); border-color: transparent; box-shadow: var(--shadow-2);
    background-image: linear-gradient(var(--surface), var(--surface)), var(--grad-flat);
    background-origin: border-box; background-clip: padding-box, border-box; border: 1.5px solid transparent; }
  .price-tile-hero { background-image: linear-gradient(160deg, #fff, var(--surface-tint)), var(--grad-flat); }
  .price-tile-badge { position: absolute; top: -0.7rem; left: 1.5rem; background: var(--grad-flat);
    color: #fff; font-size: 0.72rem; font-weight: 700; padding: 0.3rem 0.85rem; border-radius: 999px; }
  .price-tile-name { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.4rem; }
  .price-tile-price { font-size: 1.9rem; font-weight: 700; color: var(--ink); margin-bottom: 1.2rem; }
  .price-tile-features { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
  .price-tile-features li { font-size: 0.88rem; color: var(--muted); padding-left: 1.3rem; position: relative; }
  .price-tile-features li::before { content: ''; position: absolute; left: 0; top: 0.45rem; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-flat); }
  .price-tile-example { margin-bottom: 0.65rem; }
  .w-full { width: 100%; }
  .justify-center { justify-content: center; }
  .mt-2 { margin-top: 0.6rem; }

  /* ---------- Pricing group examples (generic mockups, no real screenshots) ---------- */
  .example-showcase {
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
    margin-bottom: 2.2rem;
  }
  .example-visual {
    width: 100%; max-width: 420px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-1);
    overflow: hidden;
  }
  .example-caption {
    font-size: 0.84rem; color: var(--muted-soft); text-align: center; max-width: 46ch; line-height: 1.5;
  }
  .example-browser-bar { display: flex; gap: 5px; padding: 9px 10px; background: var(--surface-tint); border-bottom: 1px solid var(--line); }
  .example-browser-bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
  .example-browser-bar span:first-child { background: var(--heritage); opacity: 0.55; }

  .example-landing-body { padding: 1.1rem; display: flex; flex-direction: column; gap: 0.9rem; }
  .example-landing-hero {
    background: var(--surface-tint); border-radius: var(--radius-sm); padding: 1.1rem;
    display: flex; flex-direction: column; align-items: center; gap: 0.55rem; text-align: center;
  }
  .example-landing-row { height: 9px; border-radius: 5px; background: var(--line); }
  .example-landing-row-title { width: 70%; height: 12px; background: var(--grad-flat); opacity: 0.85; }
  .example-landing-row-sub { width: 85%; }
  .example-landing-cta { width: 90px; height: 20px; border-radius: 999px; background: var(--grad-flat); margin-top: 0.35rem; }
  .example-landing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; }
  .example-landing-card { height: 46px; border-radius: 0.6rem; background: var(--surface-tint); border: 1px solid var(--line); }

  .example-webapp-body { display: flex; height: 200px; }
  .example-webapp-sidebar { width: 52px; background: var(--surface-tint); border-right: 1px solid var(--line); padding: 12px 9px; display: flex; flex-direction: column; gap: 9px; }
  .example-webapp-pill { height: 7px; border-radius: 4px; background: var(--line); }
  .example-webapp-pill-active { background: var(--grad-a); }
  .example-webapp-main { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
  .example-webapp-topbar { height: 10px; width: 60%; border-radius: 5px; background: var(--line); }
  .example-webapp-stats { display: flex; gap: 8px; }
  .example-webapp-stat { flex: 1; height: 24px; border-radius: 0.5rem; background: var(--surface-tint); border: 1px solid var(--line); }
  .example-webapp-chart { flex: 1; display: flex; align-items: flex-end; gap: 6px; }
  .example-webapp-bar { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: var(--grad-flat); opacity: 0.9; }

  .example-showcase-mobile .example-visual { max-width: 220px; background: none; border: none; box-shadow: none; }
  .example-phone {
    position: relative; background: var(--ink); border-radius: 26px; padding: 9px;
    box-shadow: var(--shadow-3); border: 1px solid rgba(255,255,255,0.06);
  }
  .example-phone-notch { width: 42px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.2); margin: 0 auto 8px; }
  .example-phone-body { background: #fff; border-radius: 17px; padding: 11px; height: 300px; display: flex; flex-direction: column; gap: 9px; }
  .example-phone-header { height: 34px; border-radius: 10px; background: var(--grad-flat); display: flex; align-items: center; padding: 0 9px; gap: 5px; }
  .example-phone-header-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.55); }
  .example-phone-card { flex: 1; border-radius: 10px; background: var(--surface-tint); border: 1px solid var(--line); }
  .example-phone-card-sm { flex: 0.55; }
  .example-phone-tabbar { display: flex; justify-content: space-around; padding: 6px 4px 0; }
  .example-phone-tabbar span { width: 16px; height: 4px; border-radius: 3px; background: var(--line); }
  .example-phone-fab {
    position: absolute; bottom: 14px; right: 12px; width: 32px; height: 32px; border-radius: 50%;
    background: var(--heritage); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px -3px rgba(244,124,32,0.55);
  }
  .example-phone-fab svg { width: 14px; height: 14px; color: #fff; }

  @media (max-width: 640px) {
    .example-visual { max-width: 320px; }
    .example-showcase-mobile .example-visual { max-width: 190px; }
  }
  
  .comparison-section { padding: 6.5rem 0; }
  .comparison-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
  .comparison-table { width: 100%; border-collapse: collapse; min-width: 620px; }
  .comparison-table th, .comparison-table td { padding: 1.1rem 1.4rem; text-align: left; font-size: 0.92rem; }
  .comparison-table thead th { color: var(--muted); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 1px solid var(--line); }
  .comparison-table tbody th { font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); }
  .comparison-table tbody td { border-top: 1px solid var(--line); color: var(--muted); }
  .comparison-highlight { background: var(--surface-tint); color: var(--grad-b) !important; font-weight: 600; }
  .comparison-table thead th.comparison-highlight { color: var(--grad-b) !important; background: #ECEBFC; }
  
  .testimonials-section { padding: 6.5rem 0; background: var(--ink); }
  .testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  @media (max-width: 860px) { .testimonial-grid { grid-template-columns: 1fr; } }
  
  .testimonial-card { background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--radius-md); padding: 1.9rem; margin: 0; }
  .testimonial-stars { color: var(--heritage); letter-spacing: 2px; margin-bottom: 0.9rem; }
  .testimonial-card blockquote { margin: 0 0 1.4rem; color: rgba(255,255,255,0.85); font-size: 0.98rem; line-height: 1.6; }
  .testimonial-card figcaption { display: flex; align-items: center; gap: 0.8rem; }
  .avatar { width: 2.4rem; height: 2.4rem; border-radius: 50%; flex-shrink: 0; background: var(--grad-flat); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; }
  .testimonial-name { display: block; color: #fff; font-weight: 700; font-size: 0.9rem; }
  .testimonial-role { display: block; color: rgba(255,255,255,0.5); font-size: 0.8rem; }
  
  .faq-section { padding: 6.5rem 0; }
  .faq-list { display: flex; flex-direction: column; gap: 0.8rem; }
  .faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
  .faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.3rem 1.5rem; background: none; border: none; cursor: pointer; text-align: left;
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1rem; color: var(--ink); }
  .faq-chevron { width: 1.15rem; height: 1.15rem; flex-shrink: 0; transition: transform 0.25s ease; color: var(--muted); }
  .faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); color: var(--grad-b); }
  .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding: 0 1.5rem; }
  .faq-answer p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; padding-bottom: 1.3rem; margin: 0; }
  .faq-item.open .faq-answer { max-height: 240px; }
  
  .final-cta { position: relative; padding: 7rem 0; overflow: hidden; text-align: center; }
  .final-cta-bg { position: absolute; inset: 0; background: linear-gradient(125deg, #0B0C17, var(--grad-a) 55%, var(--grad-b)); }
  .final-cta-bg::after { content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 18% 22%, rgba(244,124,32,0.16), transparent 42%), radial-gradient(circle at 82% 78%, rgba(255,255,255,0.12), transparent 45%); }
  .final-cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
  .final-cta-title { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; color: #fff; max-width: 22ch; }
  .final-cta-sub { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin: 1.1rem 0 2rem; max-width: 48ch; }
  .final-cta-foot { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-top: 1.3rem; font-weight: 600; }
  
  .site-footer { background: var(--ink); padding: 4rem 0 0; }
  .footer-inner { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; padding-bottom: 3rem; }
  .footer-brand { max-width: 300px; }
  .footer-tagline { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-top: 1rem; line-height: 1.6; }
  .footer-cols { display: flex; gap: 3rem; flex-wrap: wrap; }
  .footer-col h4 { color: #fff; font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
  .footer-col a { display: block; color: rgba(255,255,255,0.55); font-size: 0.9rem; text-decoration: none; margin-bottom: 0.7rem; transition: color 0.2s ease; }
  .footer-col a:hover { color: #fff; }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem; text-align: center; }
  .footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.82rem; }

  @media (max-width: 640px) {
    .final-cta { padding: 4.5rem 1.5rem; }
    .footer-inner { flex-direction: column; gap: 2rem; padding-bottom: 2rem; }
    .footer-cols { flex-direction: column; gap: 2rem; width: 100%; }
    .footer-brand { max-width: 100%; }
  }
  
  .mobile-sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    padding: 0.8rem 1rem; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(15,16,40,0.15); }
  @media (max-width: 720px) { .mobile-sticky-cta.visible { display: block; } body { padding-bottom: 4.5rem; } }
  
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.in-view { opacity: 1; transform: translateY(0); }
  .reveal-delay-1.in-view { transition-delay: 0.12s; }
  .reveal-delay-2.in-view { transition-delay: 0.24s; }
  
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .float-card { animation: none; }
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  }

/* =========================================================
   Contact Form Section
   ========================================================= */

.contact-section {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}
.contact-bg {
  position: absolute; inset: 0;
  background: linear-gradient(125deg, #0B0C17, var(--grad-a) 55%, var(--grad-b));
}
.contact-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(244,124,32,0.18), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255,255,255,0.10), transparent 45%);
}

.contact-inner {
  position: relative; z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

.contact-copy { color: #fff; }

.contact-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 2.55rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin: 0.9rem 0 1.1rem;
}
.contact-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.04rem;
  line-height: 1.65;
  margin-bottom: 2.2rem;
}
.contact-trust-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.9rem;
}
.contact-trust-list li {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.96rem; color: rgba(255,255,255,0.85); font-weight: 500;
}
.contact-trust-list li svg {
  width: 1.1rem; height: 1.1rem; flex-shrink: 0;
  color: var(--success);
}

/* --- Carte formulaire --- */
.contact-form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.4rem 2.2rem;
  box-shadow: 0 32px 72px -20px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
}
@media (max-width: 560px) {
  .contact-form-card { padding: 1.75rem 1.4rem; }
}

.contact-form-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.28rem; font-weight: 700; color: var(--ink);
  margin-bottom: 0.3rem;
}
.contact-form-sub {
  font-size: 0.87rem; color: var(--muted);
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  display: flex; flex-direction: column; gap: 0.35rem;
  margin-bottom: 0.95rem;
}

.form-label {
  font-size: 0.84rem; font-weight: 600; color: var(--ink);
}
.optional { font-weight: 400; color: var(--muted-soft); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.72rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted-soft); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--grad-a);
  box-shadow: 0 0 0 3px var(--heritage-soft);
  background: #fff;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5l5 5 5-5' stroke='%236C6D82' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 14px 14px;
  padding-right: 2.2rem;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.55;
}

.form-submit-wrap { margin-top: 1.2rem; }

.form-privacy {
  font-size: 0.75rem; color: var(--muted-soft);
  text-align: center; margin-top: 0.85rem; line-height: 1.5;
}
.form-privacy a {
  color: var(--muted); text-decoration: underline; text-underline-offset: 2px;
}
.form-privacy a:hover { color: var(--ink); }

/* États d'erreur */
.form-input.field-error,
.form-select.field-error,
.form-textarea.field-error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}
.form-error-msg {
  font-size: 0.76rem; color: #EF4444; display: none;
}
.form-error-msg.show { display: block; }

/* Bouton en chargement */
.btn-loading { opacity: 0.72; pointer-events: none; cursor: wait; }

/* État succès */
.form-success {
  display: none; text-align: center;
  padding: 2.5rem 1rem;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: rgba(16,185,129,0.1); color: var(--success);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
}
.form-success-icon svg { width: 1.75rem; height: 1.75rem; }
.form-success h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 0.6rem;
}
.form-success p {
  color: var(--muted); font-size: 0.9rem; line-height: 1.6;
  max-width: 34ch; margin: 0 auto;
}
#contactForm.form-hidden { display: none; }

/* =========================================================
   Pages légales
   ========================================================= */

.legal-content {
  max-width: 720px; margin: 4rem auto; padding: 0 1.5rem 5rem;
}
.legal-content h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.4rem;
}
.legal-date {
  font-size: 0.85rem; color: var(--muted);
  margin-bottom: 2.5rem; display: block;
}
.legal-content h2 {
  font-size: 1.12rem; margin-top: 2.2rem; margin-bottom: 0.65rem;
}
.legal-content p,
.legal-content li {
  font-size: 0.95rem; color: var(--muted); line-height: 1.7;
}
.legal-content ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-content a { color: var(--grad-b); }

.legal-back {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--grad-b); font-weight: 600; font-size: 0.9rem;
  text-decoration: none; margin-bottom: 2rem;
  transition: gap 0.2s ease;
}
.legal-back:hover { gap: 0.25rem; text-decoration: underline; }