    /* ═══════════════════════════════════════════
       BASE47 DESIGN SYSTEM — CSS Custom Properties
       ═══════════════════════════════════════════ */
    :root {
      --bg: hsl(225, 25%, 5%);
      --fg: hsl(0, 0%, 95%);
      --card: hsl(225, 20%, 8%);
      --card-fg: hsl(0, 0%, 95%);
      --primary: hsl(24, 95%, 53%);
      --primary-fg: hsl(0, 0%, 100%);
      --secondary: hsl(225, 15%, 12%);
      --muted: hsl(225, 15%, 15%);
      --muted-fg: hsl(220, 10%, 55%);
      --border: hsl(225, 15%, 18%);
      --destructive: hsl(0, 84%, 60%);
      --glass-bg: hsla(225, 20%, 10%, 0.6);
      --glass-border: hsla(0, 0%, 100%, 0.08);
      --glass-border-hover: hsla(0, 0%, 100%, 0.15);
      --glow-orange: hsl(24, 95%, 53%);
      --glow-amber: hsl(38, 92%, 50%);
      --radius: 0.75rem;
    }

    .light {
      --bg: hsl(0, 0%, 98%);
      --fg: hsl(225, 25%, 10%);
      --card: hsl(0, 0%, 100%);
      --card-fg: hsl(225, 25%, 10%);
      --primary: hsl(24, 95%, 50%);
      --primary-fg: hsl(0, 0%, 100%);
      --secondary: hsl(225, 15%, 94%);
      --muted: hsl(225, 10%, 93%);
      --muted-fg: hsl(220, 10%, 40%);
      --border: hsl(225, 15%, 88%);
      --destructive: hsl(0, 84%, 60%);
      --glass-bg: hsla(0, 0%, 100%, 0.7);
      --glass-border: hsla(225, 15%, 10%, 0.08);
      --glass-border-hover: hsla(225, 15%, 10%, 0.15);
      --glow-orange: hsl(24, 95%, 50%);
      --glow-amber: hsl(38, 92%, 50%);
    }

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

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--bg);
      color: var(--fg);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: 'Space Grotesk', sans-serif;
      line-height: 1.1;
    }

    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }
    ul { list-style: none; }

    .container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
    @media (min-width: 640px) { .container { padding: 0 1.5rem; } }
    @media (min-width: 1024px) { .container { padding: 0 2rem; } }

    .section-padding { padding: 5rem 1rem; }
    @media (min-width: 1024px) { .section-padding { padding: 8rem 2rem; } }

    .code-font { font-family: 'JetBrains Mono', monospace; }

    .gradient-text {
      background: linear-gradient(135deg, var(--primary), var(--glow-amber));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .glass-card {
      position: relative; overflow: hidden; border-radius: var(--radius);
      background: var(--glass-bg); border: 1px solid var(--glass-border);
      backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    }

    .glass-card-hover {
      position: relative; overflow: hidden; border-radius: var(--radius);
      background: var(--glass-bg); border: 1px solid var(--glass-border);
      backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
      transition: all 0.3s ease;
    }
    .glass-card-hover:hover {
      border-color: var(--glass-border-hover);
      box-shadow: 0 0 30px -10px hsla(24, 95%, 53%, 0.15);
    }

    .glow-border {
      box-shadow: 0 0 20px -5px hsla(24, 95%, 53%, 0.3),
                  inset 0 0 20px -5px hsla(24, 95%, 53%, 0.05);
    }

    .section-divider {
      position: absolute; top: 0; left: 50%; transform: translateX(-50%);
      width: 600px; height: 1px;
      background: linear-gradient(to right, transparent, hsla(24, 95%, 53%, 0.3), transparent);
    }

    .fade-up { opacity: 1; transform: translateY(0); transition: opacity 0.7s ease, transform 0.7s ease; }
    .fade-up.animate { opacity: 0; transform: translateY(30px); }
    .fade-up.animate.visible { opacity: 1; transform: translateY(0); }
    .fade-left { opacity: 1; transform: translateX(0); transition: opacity 0.6s ease, transform 0.6s ease; }
    .fade-left.animate { opacity: 0; transform: translateX(-20px); }
    .fade-left.animate.visible { opacity: 1; transform: translateX(0); }
    .fade-right { opacity: 1; transform: translateX(0); transition: opacity 0.6s ease, transform 0.6s ease; }
    .fade-right.animate { opacity: 0; transform: translateX(20px); }
    .fade-right.animate.visible { opacity: 1; transform: translateX(0); }

    /* NAVBAR - Ultra Compact Design */
    .navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--glass-bg); border-bottom: 1px solid var(--glass-border); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: all 0.3s ease; }
    .navbar.scrolled { background: rgba(var(--bg-rgb), 0.95); box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
    .navbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 1rem; display: flex; align-items: center; justify-content: space-between; height: 48px; }
    @media (min-width: 640px) { .navbar-inner { padding: 0 1.5rem; height: 52px; } }
    @media (min-width: 1024px) { .navbar-inner { padding: 0 2rem; } }
    .logo { display: flex; align-items: center; gap: 0.5rem; }
    .logo-icon { width: 24px; height: 24px; border-radius: 4px; background: var(--primary); display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.625rem; color: var(--primary-fg); }
    .logo-text { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.9375rem; color: var(--fg); }
    .nav-links { display: none; align-items: center; gap: 1.5rem; }
    @media (min-width: 768px) { .nav-links { display: flex; } }
    .nav-links a { font-size: 0.8125rem; color: var(--muted-fg); transition: color 0.2s; }
    .nav-links a:hover { color: var(--fg); }
    .nav-actions { display: none; align-items: center; gap: 0.625rem; }
    @media (min-width: 768px) { .nav-actions { display: flex; } }
    .btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: 6px; background: var(--primary); color: var(--primary-fg); font-weight: 600; font-size: 0.8125rem; border: none; cursor: pointer; transition: opacity 0.2s; }
    .btn-primary:hover { opacity: 0.9; }
    .btn-glass { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: 6px; background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--fg); font-weight: 500; font-size: 0.8125rem; cursor: pointer; backdrop-filter: blur(20px); transition: border-color 0.2s; }
    .btn-glass:hover { border-color: var(--glass-border-hover); }
    .theme-toggle { width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--glass-border); background: transparent; color: var(--muted-fg); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: color 0.2s, border-color 0.2s; }
    .theme-toggle:hover { color: var(--fg); border-color: var(--glass-border-hover); }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: none; border: none; color: var(--fg); cursor: pointer; font-size: 1.25rem; -webkit-tap-highlight-color: transparent; }
    @media (min-width: 768px) { .mobile-menu-btn { display: none; } }
    .mobile-nav { display: none; padding: 1.5rem 1rem; border-top: 1px solid var(--glass-border); background: var(--glass-bg); backdrop-filter: blur(20px); }
    .mobile-nav.open { display: block; }
    @media (min-width: 768px) { .mobile-nav { display: none !important; } }
    .mobile-nav a { display: block; padding: 0.875rem 0; font-size: 1rem; color: var(--fg); transition: color 0.2s; border-bottom: 1px solid var(--glass-border); }
    .mobile-nav a:last-child { border-bottom: none; }
    .mobile-nav a:hover { color: var(--primary); }
    .mobile-nav .btn-primary { width: 100%; justify-content: center; margin-top: 1rem; padding: 1rem; font-size: 1rem; }

    /* HERO */
    .hero { position: relative; overflow: hidden; padding: 6rem 0 2rem; }
    .hero-glow-1 { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 800px; height: 600px; border-radius: 50%; background: hsla(24, 95%, 53%, 0.06); filter: blur(150px); pointer-events: none; }
    .hero-glow-2 { position: absolute; top: 80px; right: 0; width: 400px; height: 400px; border-radius: 50%; background: hsla(24, 95%, 53%, 0.04); filter: blur(120px); pointer-events: none; }
    .hero-content { position: relative; z-index: 10; max-width: 1280px; margin: 0 auto; padding: 0 1rem; text-align: center; }
    @media (min-width: 640px) { .hero-content { padding: 0 1.5rem; } }
    @media (min-width: 1024px) { .hero-content { padding: 0 2rem; } }
    .hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 1rem; border-radius: 999px; margin-bottom: 2rem; }
    .hero-badge span { font-size: 0.75rem; color: var(--muted-fg); font-weight: 500; }
    .hero-badge svg { color: var(--primary); }
    .hero h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
    .hero-desc { font-size: 1.125rem; color: var(--muted-fg); max-width: 42rem; margin: 0 auto 1rem; line-height: 1.7; }
    @media (min-width: 640px) { .hero-desc { font-size: 1.25rem; } }
    .hero-sub { font-size: 1rem; color: var(--muted-fg); opacity: 0.8; max-width: 36rem; margin: 0 auto 2.5rem; }
    .hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; }
    .hero-buttons .btn-primary, .hero-buttons .btn-glass { padding: 1rem 2rem; border-radius: var(--radius); font-size: 1rem; }
    .hero-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 4rem; }

    /* Editor mockup */
    .hero-mockup { position: relative; max-width: 72rem; margin: 0 auto; }
    .hero-mockup-glow { position: absolute; inset: -16px; border-radius: 1.5rem; background: linear-gradient(to bottom, hsla(24, 95%, 53%, 0.2), hsla(24, 95%, 53%, 0.05), transparent); filter: blur(16px); pointer-events: none; }
    .mockup-frame { position: relative; border-radius: 1rem; overflow: hidden; border: 1px solid var(--glass-border); box-shadow: 0 25px 50px -12px hsla(24, 95%, 53%, 0.1); }
    .mockup-chrome { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; background: var(--card); border-bottom: 1px solid var(--glass-border); }
    .chrome-dots { display: flex; gap: 6px; }
    .chrome-dots span { width: 12px; height: 12px; border-radius: 50%; }
    .chrome-dots span:nth-child(1) { background: hsla(0, 84%, 60%, 0.7); }
    .chrome-dots span:nth-child(2) { background: hsla(24, 95%, 53%, 0.5); }
    .chrome-dots span:nth-child(3) { background: hsla(142, 71%, 45%, 0.5); }
    .chrome-url { flex: 1; display: flex; justify-content: center; }
    .chrome-url span { padding: 0.25rem 1rem; border-radius: 6px; font-size: 0.75rem; color: var(--muted-fg); }
    .mockup-body { background: var(--card); padding: 2rem; min-height: 300px; }
    .code-preview { font-family: 'JetBrains Mono', monospace; font-size: 0.8125rem; line-height: 1.8; }
    .code-comment { color: var(--muted-fg); opacity: 0.5; }
    .code-tag { color: var(--primary); }
    .code-attr { color: var(--glow-amber); }
    .code-string { color: hsl(142, 71%, 45%); }
    .code-text { color: var(--fg); }

    /* Floating badges */
    .floating-badge { position: absolute; border-radius: var(--radius); padding: 0.75rem 1rem; display: none; }
    @media (min-width: 1024px) { .floating-badge { display: flex; } }
    .floating-badge-left { left: -16px; top: 33%; }
    .floating-badge-right { right: -16px; top: 25%; }
    .floating-badge-bottom { bottom: -16px; left: 50%; transform: translateX(-50%); }
    .badge-inner { display: flex; align-items: center; gap: 0.75rem; }
    .badge-icon { width: 40px; height: 40px; border-radius: 8px; background: hsla(24, 95%, 53%, 0.2); display: flex; align-items: center; justify-content: center; font-size: 1.125rem; }
    .badge-text .badge-title { font-size: 0.875rem; font-weight: 600; color: var(--fg); }
    .badge-text .badge-sub { font-size: 0.75rem; color: var(--muted-fg); }
    .badge-status { display: flex; align-items: center; gap: 1rem; }
    .badge-status .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 2s infinite; }
    @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

    /* BENTO FEATURES */
    .bento-section { position: relative; }
    .section-header { text-align: center; margin-bottom: 4rem; }
    .section-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--primary); font-weight: 600; display: block; margin-bottom: 1rem; }
    .section-title { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
    .section-desc { font-size: 1.125rem; color: var(--muted-fg); max-width: 42rem; margin: 0 auto; }
    .bento-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
    @media (min-width: 768px) { .bento-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1024px) { .bento-grid { grid-template-columns: repeat(3, 1fr); } }
    .bento-wide { grid-column: 1; }
    @media (min-width: 768px) { .bento-wide { grid-column: span 2; } }
    .bento-card { border-radius: 1rem; overflow: hidden; }
    .bento-card-inner { padding: 2rem; }
    .bento-icon-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
    .bento-icon { width: 40px; height: 40px; border-radius: var(--radius); background: hsla(24, 95%, 53%, 0.15); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.125rem; }
    .bento-card-title { font-size: 1.125rem; font-weight: 600; color: var(--fg); }
    .bento-card-subtitle { font-size: 0.75rem; color: var(--muted-fg); }
    .bento-card-desc { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.6; margin-bottom: 1.5rem; }
    .bento-code-block { border-radius: var(--radius); padding: 1rem; background: var(--glass-bg); border: 1px solid var(--glass-border); }
    .bento-status-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; }
    .bento-status-label { color: var(--muted-fg); }
    .bento-status-value { color: var(--primary); font-weight: 500; }

    /* PROBLEM / SOLUTION */
    .ps-grid { display: grid; gap: 1.5rem; }
    @media (min-width: 768px) { .ps-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
    .ps-card { border-radius: 1rem; padding: 2rem; }
    .ps-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
    .ps-icon { width: 40px; height: 40px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; }
    .ps-icon-problem { background: hsla(0, 84%, 60%, 0.15); color: var(--destructive); }
    .ps-icon-solution { background: hsla(24, 95%, 53%, 0.15); color: var(--primary); }
    .ps-card-title { font-size: 1.25rem; font-weight: 700; }
    .ps-list { display: flex; flex-direction: column; gap: 1rem; }
    .ps-item { display: flex; align-items: center; gap: 0.75rem; }
    .ps-dot { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; flex-shrink: 0; }
    .ps-dot-problem { background: hsla(0, 84%, 60%, 0.1); color: var(--destructive); }
    .ps-dot-solution { background: hsla(24, 95%, 53%, 0.15); color: var(--primary); font-weight: 700; }
    .ps-item span { font-size: 0.875rem; color: var(--muted-fg); }
    .ps-card-solution .ps-item span { color: var(--fg); font-weight: 500; }

    /* HOW IT WORKS */
    .steps-list { display: flex; flex-direction: column; gap: 1.5rem; }
    .step-card { border-radius: 1rem; padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
    @media (min-width: 768px) { .step-card { flex-direction: row; gap: 2.5rem; align-items: flex-start; } }
    .step-num { font-family: 'Space Grotesk', sans-serif; font-size: 2.5rem; font-weight: 700; flex-shrink: 0; }
    .step-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
    .step-desc { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.6; margin-bottom: 1rem; }
    .step-code { border-radius: 8px; padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--muted-fg); overflow-x: auto; white-space: pre-wrap; }

    /* PRODUCTS / ECOSYSTEM */
    .products-grid { display: grid; gap: 1.5rem; }
    @media (min-width: 640px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
    .product-card { padding: 2rem; display: flex; flex-direction: column; height: 100%; }
    .product-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
    .product-icon { width: 48px; height: 48px; border-radius: var(--radius); background: hsla(24, 95%, 53%, 0.1); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.25rem; transition: background 0.2s; }
    .product-card:hover .product-icon { background: hsla(24, 95%, 53%, 0.2); }
    .product-badge { font-size: 0.75rem; font-weight: 500; color: var(--muted-fg); background: var(--muted); padding: 0.25rem 0.75rem; border-radius: 999px; }
    .product-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
    .product-desc { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.6; flex: 1; }
    .product-link { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; color: var(--primary); font-weight: 500; margin-top: 1.25rem; transition: gap 0.2s; }
    .product-card:hover .product-link { gap: 0.5rem; }

    /* COMPARISON TABLE */
    .comparison-table { width: 100%; font-size: 0.875rem; border-collapse: collapse; }
    .comparison-table thead th { padding: 1rem; font-weight: 500; color: var(--muted-fg); text-align: center; }
    .comparison-table thead th:first-child { text-align: left; }
    .comparison-table tbody td { padding: 1rem; text-align: center; border-top: 1px solid var(--glass-border); }
    .comparison-table tbody td:first-child { text-align: left; color: var(--fg); }
    .check-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; font-size: 0.75rem; font-weight: 700; }
    .check-primary { background: hsla(24, 95%, 53%, 0.2); color: var(--primary); }
    .check-muted { background: var(--muted); color: var(--muted-fg); }
    .x-muted { background: var(--muted); color: var(--muted-fg); opacity: 0.5; }

    /* CTA SECTION */
    .cta-outer { position: relative; border-radius: 1.5rem; overflow: hidden; }
    .cta-bg { position: absolute; inset: 0; background: linear-gradient(135deg, hsla(24, 95%, 53%, 0.2), var(--card), var(--card)); }
    .cta-glow { position: absolute; top: -128px; left: 50%; transform: translateX(-50%); width: 500px; height: 500px; border-radius: 50%; background: hsla(24, 95%, 53%, 0.1); filter: blur(120px); }
    .cta-inner { position: relative; border-radius: 1.5rem; padding: 2.5rem; text-align: center; }
    @media (min-width: 640px) { .cta-inner { padding: 4rem; } }
    @media (min-width: 1024px) { .cta-inner { padding: 5rem; } }
    .cta-title { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
    .cta-desc { font-size: 1.125rem; color: var(--muted-fg); max-width: 36rem; margin: 0 auto 0.75rem; }
    .cta-sub { font-size: 1rem; color: var(--muted-fg); max-width: 32rem; margin: 0 auto 2.5rem; }
    .cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
    .cta-buttons .btn-primary, .cta-buttons .btn-glass { padding: 1rem 2.5rem; border-radius: var(--radius); font-size: 1rem; }
    .cta-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; font-size: 0.875rem; color: var(--muted-fg); }

    /* FOOTER - Better Mobile Layout */
    .footer { border-top: 1px solid var(--glass-border); padding: 3rem 1rem 2rem; }
    @media (min-width: 640px) { .footer { padding: 3rem 1.5rem 2rem; } }
    @media (min-width: 1024px) { .footer { padding: 4rem 2rem 2rem; } }
    .footer-grid { max-width: 1280px; margin: 0 auto; display: grid; gap: 2.5rem; margin-bottom: 2.5rem; }
    @media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
    @media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; } }
    .footer-brand { margin-bottom: 1rem; }
    @media (min-width: 1024px) { .footer-brand { margin-bottom: 0; } }
    .footer-brand p { font-size: 0.9375rem; color: var(--muted-fg); line-height: 1.7; margin-top: 1rem; }
    .footer-col-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.9375rem; color: var(--fg); margin-bottom: 1.25rem; }
    .footer-col a { display: block; font-size: 0.9375rem; color: var(--muted-fg); padding: 0.5rem 0; transition: color 0.2s; -webkit-tap-highlight-color: transparent; }
    .footer-col a:hover { color: var(--primary); }
    .footer-bottom { max-width: 1280px; margin: 0 auto; border-top: 1px solid var(--glass-border); padding-top: 2rem; text-align: center; font-size: 0.875rem; color: var(--muted-fg); }
