:root {
      --background: #faf9f7;
      --surface: #ffffff;
      --surface-2: #f8f7f5;
      --muted: #e8e6e1;
      --foreground: #0f172a;
      --primary: #2563eb;
      --primary-hover: #1d4ed8;
      --primary-muted: rgba(37, 99, 235, 0.08);
      --border: rgba(15, 23, 42, 0.08);
      --border-strong: rgba(15, 23, 42, 0.12);
      --text: #0f172a;
      --text-muted: #475569;
      --text-dim: #64748b;
      --cyan: #0891b2;
      --emerald: #059669;
      --amber: #d97706;
      --rose: #e11d48;
      --purple: #7c3aed;
      --radius: 12px;
      --radius-lg: 16px;
      --shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
      --shadow-lg: 0 10px 40px -12px rgba(15, 23, 42, 0.12);
      --max-w: 1200px;
    }

    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; font-size: 16px; background: #faf9f7; }
    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--foreground);
      background: #faf9f7;
      overflow-x: hidden;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      position: relative;
      z-index: 0;
      isolation: isolate;
    }
    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; height: auto; }
    button { cursor: pointer; border: none; outline: none; font-family: inherit; }

    .container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

    .gradient-text {
      background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* ─── Nav ─────────────────────────────────────────────────── */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      padding: 16px 0;
      transition: all 0.3s ease;
    }
    .nav.scrolled {
      background: rgba(250, 249, 247, 0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      padding: 12px 0;
      box-shadow: 0 1px 8px rgba(15, 23, 42, 0.04);
    }
    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 1.25rem;
      letter-spacing: -0.02em;
      color: white;
      transition: color 0.3s;
    }
    .nav.scrolled .nav-logo { color: var(--foreground); }
    .nav-logo-icon {
      width: 36px;
      height: 36px;
      background: rgba(255, 255, 255, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      color: white;
      font-weight: 800;
      transition: all 0.3s;
    }
    .nav.scrolled .nav-logo-icon {
      background: var(--primary);
      border-color: var(--primary);
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }
    .nav-links a {
      font-size: 0.875rem;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.8);
      transition: color 0.3s;
    }
    .nav-links a:hover { color: white; }
    .nav.scrolled .nav-links a { color: var(--text-muted); }
    .nav.scrolled .nav-links a:hover { color: var(--foreground); }
    .nav-cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 20px;
      background: rgba(255, 255, 255, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.25);
      color: white;
      font-size: 0.875rem;
      font-weight: 600;
      border-radius: 10px;
      transition: all 0.3s;
    }
    .nav-cta:hover {
      background: rgba(255, 255, 255, 0.25);
      transform: translateY(-1px);
    }
    .nav.scrolled .nav-cta {
      background: var(--primary);
      border-color: var(--primary);
    }
    .nav.scrolled .nav-cta:hover {
      background: var(--primary-hover);
      border-color: var(--primary-hover);
    }
    .mobile-toggle { display: none; background: none; color: white; font-size: 1.5rem; transition: color 0.3s; }
    .nav.scrolled .mobile-toggle { color: var(--foreground); }

    /* ─── Hero ─────────────────────────────────────────────────── */
    .hero {
      padding: 160px 0 80px;
      text-align: center;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      overflow: hidden;
      background: #0b1120;
    }
    .hero-video-background {
      position: absolute;
      inset: 0;
      z-index: 0;
      overflow: hidden;
      background: #0b1120;
    }
    .hero-video-background video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
    }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: rgba(11, 17, 32, 0.45);
      z-index: 1;
    }
    .hero .container {
      position: relative;
      z-index: 2;
    }
    .hero-audio-toggle {
      position: absolute;
      bottom: 24px;
      right: 24px;
      z-index: 10;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--surface);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s;
      box-shadow: var(--shadow);
    }
    .hero-audio-toggle:hover {
      background: white;
      transform: scale(1.05);
    }
    .hero-audio-toggle svg {
      width: 20px;
      height: 20px;
      color: var(--text-muted);
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px 6px 10px;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 100px;
      font-size: 0.8rem;
      font-weight: 500;
      color: white;
      margin-bottom: 28px;
    }
    .hero-badge-dot {
      width: 6px;
      height: 6px;
      background: var(--emerald);
      border-radius: 50%;
      animation: pulse-dot 2s ease-in-out infinite;
    }
    @keyframes pulse-dot {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.5; }
    }
    .hero h1 {
      font-size: clamp(2.5rem, 5vw, 4rem);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -0.03em;
      margin-bottom: 20px;
      color: white;
    }
    .hero h1 .gradient-text {
      background: linear-gradient(135deg, #60a5fa 0%, #22d3ee 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero p {
      font-size: clamp(1rem, 1.5vw, 1.18rem);
      color: rgba(255, 255, 255, 0.8);
      max-width: 640px;
      margin: 0 auto 40px;
      line-height: 1.7;
    }
    .hero-buttons {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 28px;
      background: var(--primary);
      color: white;
      font-size: 0.95rem;
      font-weight: 600;
      border-radius: 10px;
      transition: all 0.2s;
    }
    .btn-primary:hover {
      background: var(--primary-hover);
      transform: translateY(-2px);
    }
    .btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 28px;
      background: var(--surface);
      color: var(--text);
      font-size: 0.95rem;
      font-weight: 600;
      border-radius: 10px;
      border: 1px solid var(--border-strong);
      transition: all 0.2s;
    }
    .btn-secondary:hover {
      background: var(--surface-2);
      border-color: var(--border);
    }
    .hero .btn-secondary {
      background: rgba(255, 255, 255, 0.95);
      border-color: rgba(255, 255, 255, 0.3);
      color: #0b1120;
    }
    .hero .btn-secondary:hover {
      background: white;
      border-color: white;
    }

    /* Hero Visual */
    .hero-visual {
      margin-top: 64px;
      position: relative;
    }
    .hero-visual-frame {
      max-width: 1000px;
      margin: 0 auto;
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid var(--border);
      background: var(--surface);
      box-shadow: var(--shadow-lg);
    }
    .hero-visual-bar {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 12px 16px;
      background: var(--surface-2);
      border-bottom: 1px solid var(--border);
    }
    .hero-visual-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }
    .hero-visual-dot:nth-child(1) { background: #ef4444; }
    .hero-visual-dot:nth-child(2) { background: #fbbf24; }
    .hero-visual-dot:nth-child(3) { background: #22c55e; }
    .hero-visual-bar span {
      margin-left: auto;
      font-size: 0.75rem;
      color: var(--text-dim);
      font-family: ui-monospace, monospace;
    }
    .hero-canvas {
      padding: 40px;
      min-height: 340px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
    }
    .hero-canvas-image {
      width: 100%;
      max-width: 940px;
      border-radius: 12px;
      border: 1px solid var(--border);
      box-shadow: 0 16px 40px -24px rgba(15, 23, 42, 0.28);
      object-fit: cover;
    }

    /* Arch diagram */
    .arch-diagram {
      display: flex;
      align-items: center;
      gap: 0;
      justify-content: center;
      flex-wrap: wrap;
    }
    .arch-node {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      padding: 16px 20px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      min-width: 100px;
      transition: all 0.2s;
      box-shadow: var(--shadow);
    }
    .arch-node:hover {
      border-color: var(--primary);
      box-shadow: 0 0 0 2px var(--primary-muted);
    }
    .arch-node-icon {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
    }
    .arch-node-label {
      font-size: 0.7rem;
      font-weight: 700;
      color: var(--foreground);
    }
    .arch-node-metric {
      font-size: 0.6rem;
      font-family: ui-monospace, monospace;
      padding: 2px 8px;
      border-radius: 6px;
      font-weight: 600;
    }
    .metric-green { background: rgba(5, 150, 105, 0.12); color: var(--emerald); }
    .metric-yellow { background: rgba(217, 119, 6, 0.12); color: var(--amber); }
    .metric-red { background: rgba(225, 29, 72, 0.12); color: var(--rose); }
    .arch-arrow {
      display: flex;
      align-items: center;
      padding: 0 6px;
    }
    .arch-arrow-line {
      width: 40px;
      height: 2px;
      background: linear-gradient(90deg, var(--primary) 0%, var(--cyan) 100%);
      position: relative;
    }
    .arch-arrow-line::after {
      content: '';
      position: absolute;
      right: -5px;
      top: 50%;
      transform: translateY(-50%);
      border: 4px solid transparent;
      border-left: 6px solid var(--cyan);
    }
    .arch-flow-label {
      position: absolute;
      top: -14px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 0.5rem;
      color: var(--text-dim);
      font-family: ui-monospace, monospace;
    }
    .hero-float {
      position: absolute;
      padding: 8px 14px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      font-size: 0.75rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 8px;
      z-index: 5;
      box-shadow: var(--shadow);
    }
    .float-cost { top: 24px; right: 24px; color: var(--emerald); }
    .float-rps { bottom: 24px; left: 24px; color: var(--cyan); }

    /* ─── Section ───────────────────────────────────────────────── */
    .section {
      padding: 100px 0;
      position: relative;
    }
    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 12px;
      background: var(--primary-muted);
      border: 1px solid rgba(37, 99, 235, 0.12);
      border-radius: 100px;
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--primary);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 16px;
    }
    .section-title {
      font-size: clamp(1.75rem, 3.5vw, 2.75rem);
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.15;
      color: var(--foreground);
      margin-bottom: 12px;
    }
    .section-desc {
      font-size: 1.05rem;
      color: var(--text-muted);
      max-width: 560px;
      line-height: 1.7;
    }

    /* Features grid */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 48px;
    }
    .feature-card {
      padding: 28px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      transition: all 0.2s;
      box-shadow: var(--shadow);
    }
    .feature-card:hover {
      border-color: rgba(37, 99, 235, 0.2);
      box-shadow: var(--shadow-lg);
      transform: translateY(-2px);
    }
    .feature-icon {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
    }
    .feature-card h3 {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--foreground);
      margin-bottom: 8px;
    }
    .feature-card p {
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* Big feature rows */
    .big-feature {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
      margin-top: 64px;
    }
    .big-feature.reverse { direction: rtl; }
    .big-feature.reverse > * { direction: ltr; }
    .big-feature-content h3 {
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--foreground);
      margin-bottom: 12px;
    }
    .big-feature-content p {
      color: var(--text-muted);
      line-height: 1.7;
      margin-bottom: 24px;
    }
    .big-feature-visual {
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--border);
      background: var(--surface);
      box-shadow: var(--shadow-lg);
    }

    /* Sim panel */
    .sim-panel {
      padding: 24px;
    }
    .sim-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 20px;
    }
    .sim-title {
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--foreground);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .sim-status {
      padding: 4px 12px;
      border-radius: 100px;
      font-size: 0.7rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .sim-status.running {
      background: rgba(5, 150, 105, 0.12);
      color: var(--emerald);
    }
    .sim-metrics-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      margin-bottom: 20px;
    }
    .sim-metric {
      padding: 12px;
      background: var(--surface-2);
      border-radius: 8px;
      border: 1px solid var(--border);
    }
    .sim-metric-label {
      font-size: 0.65rem;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 4px;
    }
    .sim-metric-value {
      font-size: 1.25rem;
      font-weight: 800;
      font-family: ui-monospace, monospace;
    }
    .cost-breakdown {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
      padding: 16px;
      background: rgba(5, 150, 105, 0.06);
      border: 1px solid rgba(5, 150, 105, 0.12);
      border-radius: var(--radius);
    }
    .cost-item { text-align: center; }
    .cost-item-value {
      font-size: 0.85rem;
      font-weight: 800;
      color: var(--emerald);
      font-family: ui-monospace, monospace;
    }
    .cost-item-label {
      font-size: 0.55rem;
      color: var(--text-dim);
      text-transform: uppercase;
      font-weight: 600;
      margin-top: 2px;
    }

    /* Rec cards */
    .rec-card {
      padding: 16px;
      border-radius: var(--radius);
      border: 1px solid;
      margin-top: 12px;
    }
    .rec-card.critical {
      background: rgba(225, 29, 72, 0.04);
      border-color: rgba(225, 29, 72, 0.15);
    }
    .rec-card.warning {
      background: rgba(217, 119, 6, 0.04);
      border-color: rgba(217, 119, 6, 0.15);
    }
    .rec-card-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
    }
    .rec-badge {
      padding: 2px 8px;
      border-radius: 6px;
      font-size: 0.6rem;
      font-weight: 700;
      text-transform: uppercase;
    }
    .rec-badge.critical { background: rgba(225, 29, 72, 0.15); color: var(--rose); }
    .rec-badge.warning { background: rgba(217, 119, 6, 0.15); color: var(--amber); }
    .rec-badge.add { background: rgba(5, 150, 105, 0.15); color: var(--emerald); }
    .rec-title {
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--foreground);
    }
    .rec-desc {
      font-size: 0.72rem;
      color: var(--text-muted);
      line-height: 1.5;
      margin-bottom: 12px;
    }
    .rec-apply-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 14px;
      background: var(--emerald);
      color: white;
      font-size: 0.7rem;
      font-weight: 700;
      border-radius: 8px;
      transition: all 0.2s;
    }
    .rec-apply-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
    }

    /* Feature list */
    .feature-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .feature-list-item {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .feature-list-icon {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .feature-list-item strong {
      font-size: 0.9rem;
      color: var(--foreground);
    }
    .feature-list-item span {
      font-size: 0.8rem;
      color: var(--text-muted);
      display: block;
      margin-top: 2px;
    }

    /* Services marquee */
    .services-marquee {
      overflow: hidden;
      padding: 32px 0;
      position: relative;
    }
    .services-marquee::before,
    .services-marquee::after {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      width: 80px;
      z-index: 2;
    }
    .services-marquee::before {
      left: 0;
      background: linear-gradient(90deg, var(--background), transparent);
    }
    .services-marquee::after {
      right: 0;
      background: linear-gradient(90deg, transparent, var(--background));
    }
    .services-track {
      display: flex;
      gap: 16px;
      animation: scroll 35s linear infinite;
      width: max-content;
    }
    @keyframes scroll {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    .service-chip {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 18px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      white-space: nowrap;
      flex-shrink: 0;
      box-shadow: var(--shadow);
    }
    .service-chip-icon {
      width: 28px;
      height: 28px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(15, 23, 42, 0.04);
      overflow: hidden;
    }
    .service-chip-icon img {
      width: 20px;
      height: 20px;
      object-fit: contain;
      display: block;
    }
    .service-chip-name {
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--foreground);
    }

    /* Stats row */
    .stats-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      padding: 48px 0;
    }
    .stat-card {
      text-align: center;
    }
    .stat-value {
      font-size: 2rem;
      font-weight: 800;
      font-family: ui-monospace, monospace;
      margin-bottom: 4px;
    }
    .stat-label {
      font-size: 0.8rem;
      color: var(--text-muted);
      font-weight: 500;
    }

    /* Steps */
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      margin-top: 48px;
    }
    .step-card {
      padding: 28px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      position: relative;
      transition: all 0.2s;
      box-shadow: var(--shadow);
    }
    .step-card:hover {
      border-color: rgba(37, 99, 235, 0.2);
      box-shadow: var(--shadow-lg);
    }
    .step-number {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      font-weight: 800;
      color: var(--primary);
      background: var(--primary-muted);
      margin-bottom: 16px;
    }
    .step-card h3 {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--foreground);
      margin-bottom: 8px;
    }
    .step-card p {
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* Persona */
    .persona-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 48px;
    }
    .persona-card {
      padding: 28px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      transition: all 0.2s;
      box-shadow: var(--shadow);
    }
    .persona-card:hover {
      border-color: rgba(37, 99, 235, 0.2);
      box-shadow: var(--shadow-lg);
      transform: translateY(-2px);
    }
    .persona-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
    }
    .persona-card h3 {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--foreground);
      margin-bottom: 8px;
    }
    .persona-card p {
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.6;
    }
    .persona-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 16px;
    }
    .persona-tag {
      padding: 4px 10px;
      background: var(--primary-muted);
      border: 1px solid rgba(37, 99, 235, 0.12);
      border-radius: 6px;
      font-size: 0.65rem;
      font-weight: 600;
      color: var(--primary);
    }

    /* ─── Pricing ───────────────────────────────────────────── */
    .pricing-toggle-wrap {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 12px;
      margin-top: 24px;
    }
    .pricing-toggle-label {
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--text-muted);
    }
    .pricing-toggle-label.active { color: var(--foreground); font-weight: 600; }
    .pricing-toggle {
      width: 48px;
      height: 26px;
      border-radius: 13px;
      background: var(--muted);
      position: relative;
      cursor: pointer;
      transition: background 0.2s;
      border: none;
    }
    .pricing-toggle.on { background: var(--primary); }
    .pricing-toggle::after {
      content: '';
      position: absolute;
      top: 3px;
      left: 3px;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: white;
      transition: transform 0.2s;
      box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    }
    .pricing-toggle.on::after { transform: translateX(22px); }
    .pricing-save { font-size: 0.7rem; font-weight: 700; color: var(--emerald); background: rgba(5,150,105,0.08); padding: 3px 8px; border-radius: 20px; }

    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 48px;
      align-items: start;
    }
    .pricing-card {
      background: var(--surface);
      border: 1px solid var(--border-strong);
      border-radius: var(--radius-lg);
      padding: 36px 28px;
      position: relative;
      transition: all 0.25s ease;
    }
    .pricing-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 60px -15px rgba(15,23,42,0.12);
    }
    .pricing-card.featured {
      border-color: var(--primary);
      box-shadow: 0 0 0 1px var(--primary), 0 20px 60px -15px rgba(37,99,235,0.18);
      transform: scale(1.03);
    }
    .pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }
    .pricing-badge {
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--primary);
      color: white;
      font-size: 0.65rem;
      font-weight: 700;
      padding: 4px 14px;
      border-radius: 20px;
      letter-spacing: 0.5px;
      text-transform: uppercase;
    }
    .pricing-card-name {
      font-size: 0.8rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: var(--text-muted);
      margin-bottom: 8px;
    }
    .pricing-card-price {
      display: flex;
      align-items: baseline;
      gap: 4px;
      margin-bottom: 4px;
    }
    .pricing-card-price .amount {
      font-size: 2.8rem;
      font-weight: 800;
      color: var(--foreground);
      line-height: 1;
      letter-spacing: -1.5px;
    }
    .pricing-card-price .period {
      font-size: 0.85rem;
      color: var(--text-dim);
      font-weight: 500;
    }
    .pricing-card-desc {
      font-size: 0.8rem;
      color: var(--text-dim);
      margin-bottom: 24px;
      line-height: 1.5;
    }
    .pricing-card-features {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 28px;
    }
    .pricing-card-features li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 0.82rem;
      color: var(--text);
      line-height: 1.45;
    }
    .pricing-card-features li svg {
      width: 16px;
      height: 16px;
      color: var(--emerald);
      flex-shrink: 0;
      margin-top: 2px;
    }
    .pricing-card .btn-primary,
    .pricing-card .btn-outline {
      width: 100%;
      display: flex;
      justify-content: center;
      padding: 12px 0;
      font-size: 0.85rem;
      font-weight: 600;
      border-radius: 10px;
      transition: all 0.2s;
    }
    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--border-strong);
      color: var(--foreground);
    }
    .btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-muted); }

    .addons-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 48px;
    }
    .addon-card {
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
    }
    .addon-card-icon {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 12px;
      font-size: 1.1rem;
    }
    .addon-card h4 {
      font-size: 0.85rem;
      font-weight: 700;
      margin-bottom: 6px;
      color: var(--foreground);
    }
    .addon-card p {
      font-size: 0.75rem;
      color: var(--text-dim);
      line-height: 1.5;
    }
    .addon-prices {
      display: flex;
      flex-direction: column;
      gap: 4px;
      margin-top: 10px;
    }
    .addon-price-row {
      display: flex;
      justify-content: space-between;
      font-size: 0.75rem;
      color: var(--text-muted);
    }
    .addon-price-row strong {
      color: var(--foreground);
      font-weight: 700;
    }

    .pricing-faq {
      margin-top: 56px;
      max-width: 680px;
      margin-left: auto;
      margin-right: auto;
    }
    .faq-item {
      border-bottom: 1px solid var(--border);
      padding: 18px 0;
    }
    .faq-q {
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--foreground);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .faq-q::after { content: '+'; font-size: 1.2rem; color: var(--text-dim); transition: transform 0.2s; }
    .faq-q.open::after { transform: rotate(45deg); }
    .faq-a {
      font-size: 0.82rem;
      color: var(--text-dim);
      line-height: 1.65;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
      padding-top: 0;
    }
    .faq-a.open {
      max-height: 200px;
      padding-top: 12px;
    }

    @media (max-width: 768px) {
      .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
      .pricing-card.featured { transform: none; }
      .pricing-card.featured:hover { transform: translateY(-4px); }
      .addons-row { grid-template-columns: 1fr; }
    }

    /* CTA */
    .cta-section {
      padding: 80px 0;
      position: relative;
    }
    .cta-box {
      text-align: center;
      padding: 56px 48px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
    }
    .cta-box h2 {
      font-size: clamp(1.75rem, 3vw, 2.5rem);
      font-weight: 800;
      color: var(--foreground);
      margin-bottom: 12px;
      line-height: 1.2;
    }
    .cta-box p {
      color: var(--text-muted);
      margin-bottom: 28px;
    }
    .cta-buttons {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    /* Footer */
    .footer {
      padding: 64px 0 32px;
      border-top: 1px solid var(--border);
      background: var(--surface-2);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 48px;
      margin-bottom: 48px;
    }
    .footer-brand h4 {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--foreground);
      margin-bottom: 12px;
    }
    .footer-brand p {
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.6;
    }
    .footer-col h5 {
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--foreground);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 16px;
    }
    .footer-col a {
      display: block;
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-bottom: 10px;
      transition: color 0.2s;
    }
    .footer-col a:hover { color: var(--primary); }
    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 24px;
      border-top: 1px solid var(--border);
    }
    .footer-bottom span {
      font-size: 0.8rem;
      color: var(--text-dim);
    }
    .footer-bottom a { color: var(--text-muted); }
    .footer-bottom a:hover { color: var(--primary); }
    .footer-socials {
      display: flex;
      gap: 16px;
    }
    .footer-socials a {
      color: var(--text-dim);
      transition: color 0.2s;
    }
    .footer-socials a:hover { color: var(--primary); }

    /* Media showcase */
    .media-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 40px;
    }
    .media-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
    }
    .media-frame {
      aspect-ratio: 16 / 10;
      position: relative;
      background: linear-gradient(165deg, var(--surface-2), var(--surface));
      display: grid;
      place-items: center;
    }
    .media-frame img,
    .media-frame video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .media-card.is-broken .media-frame img,
    .media-card.is-broken .media-frame video {
      display: none;
    }
    .media-tag {
      position: absolute;
      top: 10px;
      left: 10px;
      font-size: 0.6rem;
      font-weight: 700;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      padding: 4px 8px;
      border-radius: 999px;
      color: var(--primary);
      background: var(--primary-muted);
      border: 1px solid rgba(37, 99, 235, 0.18);
    }
    .media-placeholder {
      display: none;
      text-align: center;
      padding: 20px;
      color: var(--text-muted);
      font-size: 0.8rem;
      line-height: 1.5;
    }
    .media-placeholder strong {
      display: block;
      color: var(--foreground);
      margin-bottom: 4px;
      font-size: 0.85rem;
    }
    .media-card.is-broken .media-placeholder { display: block; }
    .media-meta {
      padding: 14px 14px 16px;
    }
    .media-meta h3 {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--foreground);
      margin-bottom: 6px;
    }
    .media-meta p {
      font-size: 0.82rem;
      color: var(--text-muted);
      line-height: 1.55;
    }

    /* Reveal */
    .reveal {
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    @media (max-width: 1024px) {
      .features-grid { grid-template-columns: repeat(2, 1fr); }
      .big-feature { grid-template-columns: 1fr; gap: 40px; }
      .big-feature.reverse { direction: ltr; }
      .persona-grid { grid-template-columns: repeat(2, 1fr); }
      .steps-grid { grid-template-columns: repeat(2, 1fr); }
      .stats-row { grid-template-columns: repeat(2, 1fr); }
      .media-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .mobile-toggle { display: block; }
      .features-grid { grid-template-columns: 1fr; }
      .persona-grid { grid-template-columns: 1fr; }
      .steps-grid { grid-template-columns: 1fr; }
      .stats-row { grid-template-columns: 1fr; }
      .media-grid { grid-template-columns: 1fr; }
      .cost-breakdown { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    }
    @media (max-width: 480px) {
      .arch-diagram { flex-direction: column; gap: 16px; }
      .arch-arrow { transform: rotate(90deg); }
    }

    /* Mobile overlay (same chrome as landing-page/partials/header.html) */
    .mobile-menu {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 200;
      background: rgba(250, 249, 247, 0.98);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 20px;
      padding: 24px;
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a {
      font-size: 1.15rem;
      font-weight: 600;
      color: var(--foreground);
    }
    .mobile-close {
      position: absolute;
      top: 20px;
      right: 24px;
      font-size: 2rem;
      color: var(--text-muted);
      background: none;
      line-height: 1;
    }

/* ─── Blog section ─────────────────────────────────── */
.blogs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.blog-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.blog-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.blog-badge {
  display: inline-block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; background: var(--primary-muted); color: var(--primary);
  padding: 3px 9px; border-radius: 6px; width: fit-content;
}
.blog-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--foreground); line-height: 1.35; }
.blog-card p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.55; flex: 1; }
.blog-card-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem;
  font-weight: 600; color: var(--primary); margin-top: 4px;
}
.blog-card-link svg { width: 14px; height: 14px; }

/* ─── Comparison tables ─────────────────────────────── */
.compare-section { margin-top: 64px; }
.compare-section > h3 {
  font-size: 1.15rem; font-weight: 700; text-align: center;
  color: var(--foreground); margin-bottom: 6px;
}
.compare-section > p {
  font-size: 0.82rem; color: var(--text-dim); text-align: center; margin-bottom: 24px;
}
.compare-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-radius: var(--radius); border: 1px solid var(--border-strong);
  background: var(--surface); box-shadow: var(--shadow);
}
.compare-table {
  width: 100%; border-collapse: collapse; font-size: 0.78rem; min-width: 840px;
}
.compare-table th {
  background: var(--surface-2); font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted);
  padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border-strong);
  white-space: nowrap;
}
.compare-table td {
  padding: 10px 14px; border-bottom: 1px solid var(--border);
  vertical-align: top; color: var(--text-muted); line-height: 1.5;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(37,99,235,0.015); }
.compare-cat td {
  background: var(--surface-2) !important; font-weight: 700; font-size: 0.66rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim);
  padding: 8px 14px; border-bottom: 1px solid var(--border-strong);
}
.compare-table .tool-name { font-weight: 700; color: var(--foreground); white-space: nowrap; }
.compare-table .tool-sub { display: block; font-size: 0.66rem; font-weight: 400; color: var(--text-dim); margin-top: 1px; white-space: normal; }
.compare-table .pp-row td { background: rgba(37,99,235,0.03); }
.compare-table .pp-row td:first-child { border-left: 3px solid var(--primary); }
.compare-table .rec-pill {
  display: inline-block; font-size: 0.58rem; font-weight: 700;
  text-transform: uppercase; background: rgba(5,150,105,0.14); color: var(--emerald);
  padding: 2px 7px; border-radius: 4px; margin-left: 6px; letter-spacing: 0.03em; vertical-align: middle;
}
.compare-table .c-free { color: var(--emerald); font-weight: 600; }
.compare-table .c-warn { color: var(--amber); font-weight: 600; }
.compare-table .c-detail { display: block; font-size: 0.66rem; color: var(--text-dim); margin-top: 2px; }
.compare-table .c-na { color: var(--text-dim); }
.heatmap-table { min-width: 680px; }
.heatmap-table th { text-align: center; font-size: 0.66rem; padding: 10px 8px; }
.heatmap-table th:first-child { text-align: left; min-width: 200px; }
.heatmap-table td { text-align: center; padding: 9px 8px; }
.heatmap-table td:first-child { text-align: left; font-weight: 500; color: var(--foreground); }
.heatmap-table th.pp-col, .heatmap-table td.pp-col { background: rgba(37,99,235,0.04); }
.dot-f, .dot-p, .dot-a { display: inline-block; width: 16px; height: 16px; border-radius: 50%; }
.dot-f { background: #3d8c40; }
.dot-p { background: #d4920a; }
.dot-a { background: #ccc; }
.heatmap-legend {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-bottom: 16px; font-size: 0.75rem; color: var(--text-muted);
}
.heatmap-legend span { display: flex; align-items: center; gap: 6px; }
.heatmap-legend .dot-f, .heatmap-legend .dot-p, .heatmap-legend .dot-a { width: 11px; height: 11px; }

@media (max-width: 1024px) {
  .blogs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .blogs-grid { grid-template-columns: 1fr; }
}