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

  :root {
    --bg: #0d0f14;
    --bg2: #13161d;
    --bg3: #1a1e27;
    --surface: #1e2330;
    --border: rgba(255,255,255,0.07);
    --border2: rgba(255,255,255,0.12);
    --text: #e8eaf0;
    --muted: #7a8099;
    --accent: #6ee7b7;
    --accent2: #34d399;
    --accent-dim: rgba(110,231,183,0.12);
    --accent-dim2: rgba(110,231,183,0.06);
    --purple: #a78bfa;
    --blue: #60a5fa;
    --amber: #fbbf24;
    --pink: #f472b6;
    --mono: 'JetBrains Mono', monospace;
    --sans: 'Syne', sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ── NOISE OVERLAY ── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
  }

  /* ── GRID BACKGROUND ── */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(110,231,183,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(110,231,183,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
  }

  /* ── NAV ── */
  nav {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(13,15,20,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    display: flex; align-items: center; gap: 0.6rem;
    font-weight: 700; font-size: 1rem; color: var(--text);
    text-decoration: none; letter-spacing: -0.01em;
  }

  .nav-logo .icon {
    width: 28px; height: 28px;
    background: var(--accent-dim);
    border: 1px solid rgba(110,231,183,0.3);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--mono); font-size: 12px; color: var(--accent);
  }

  .nav-links { display: flex; align-items: center; gap: 0.25rem; }

  .nav-links a {
    color: var(--muted); text-decoration: none; font-size: 0.875rem;
    padding: 0.4rem 0.75rem; border-radius: 6px; transition: all 0.15s;
  }
  .nav-links a:hover { color: var(--text); background: var(--surface); }

  .btn-install {
    font-family: var(--sans);
    background: var(--accent);
    color: #0d0f14;
    border: none; cursor: pointer;
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
    font-size: 0.875rem; font-weight: 700;
    text-decoration: none;
    transition: all 0.15s;
    letter-spacing: 0.01em;
  }
  .btn-install:hover { background: var(--accent2); transform: translateY(-1px); }

  /* ── HERO ── */
  .hero {
    position: relative; z-index: 1;
    max-width: 1100px; margin: 0 auto;
    padding: 7rem 2rem 5rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .hero-text { animation: fadeUp 0.6s ease both; }

  .hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--accent-dim2);
    border: 1px solid rgba(110,231,183,0.2);
    border-radius: 20px; padding: 0.3rem 0.85rem;
    font-size: 0.75rem; font-family: var(--mono);
    color: var(--accent); margin-bottom: 1.5rem;
    letter-spacing: 0.05em; text-transform: uppercase;
  }
  .hero-badge .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }

  h1 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 800; line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    color: #fff;
  }
  h1 span { color: var(--accent); }

  .hero-desc {
    color: var(--muted); font-size: 1.05rem;
    max-width: 440px; margin-bottom: 2rem;
    line-height: 1.75;
  }

  .hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

  .btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--accent); color: #0d0f14;
    padding: 0.75rem 1.5rem; border-radius: 8px;
    font-family: var(--sans); font-weight: 700; font-size: 0.95rem;
    text-decoration: none; transition: all 0.15s;
  }
  .btn-primary:hover { background: var(--accent2); transform: translateY(-2px); }

  .btn-secondary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: transparent; color: var(--text);
    padding: 0.75rem 1.5rem; border-radius: 8px;
    border: 1px solid var(--border2);
    font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
    text-decoration: none; transition: all 0.15s;
  }
  .btn-secondary:hover { border-color: rgba(255,255,255,0.2); background: var(--surface); }

  .hero-meta {
    margin-top: 1.5rem;
    display: flex; gap: 1.5rem;
    font-size: 0.8rem; color: var(--muted); font-family: var(--mono);
  }
  .hero-meta span { display: flex; align-items: center; gap: 0.35rem; }
  .hero-meta .dot { color: var(--accent); }

  /* ── CODE WINDOW ── */
  .hero-visual {
    animation: fadeUp 0.6s 0.15s ease both;
    position: relative;
  }

  .code-window {
    background: var(--bg2);
    border: 1px solid var(--border2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  }

  .window-bar {
    background: var(--bg3);
    padding: 0.65rem 1rem;
    display: flex; align-items: center; gap: 0.5rem;
    border-bottom: 1px solid var(--border);
  }
  .dot-red   { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
  .dot-amber { width: 10px; height: 10px; border-radius: 50%; background: #ffbd2e; }
  .dot-green { width: 10px; height: 10px; border-radius: 50%; background: #28c840; }
  .window-title {
    flex: 1; text-align: center;
    font-size: 0.75rem; font-family: var(--mono); color: var(--muted);
  }

  .code-body {
    padding: 1.25rem 1.5rem;
    font-family: var(--mono); font-size: 0.82rem;
    line-height: 1.8; overflow: hidden;
  }

  .ln { color: #3d4357; margin-right: 1.5rem; user-select: none; font-size: 0.75rem; }
  .kw  { color: #c792ea; }
  .fn  { color: #82aaff; }
  .str { color: #c3e88d; }
  .com { color: #546e7a; font-style: italic; }
  .num { color: #f78c6c; }
  .prop{ color: #f07178; }
  .cls { color: var(--amber); }

  .cursor {
    display: inline-block; width: 2px; height: 1em;
    background: var(--accent); vertical-align: text-bottom;
    animation: blink 1s step-start infinite;
  }
  @keyframes blink { 50% { opacity: 0; } }

  /* ── GLOW BLOB ── */
  .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
  }
  .blob-1 {
    width: 400px; height: 400px;
    background: rgba(110,231,183,0.08);
    top: -100px; right: -100px;
  }
  .blob-2 {
    width: 300px; height: 300px;
    background: rgba(167,139,250,0.06);
    bottom: -50px; left: -50px;
  }

  /* ── SCREENSHOTS ── */
  .section {
    position: relative; z-index: 1;
    max-width: 1100px; margin: 0 auto;
    padding: 5rem 2rem;
  }

  .section-label {
    font-family: var(--mono); font-size: 0.75rem;
    color: var(--accent); text-transform: uppercase;
    letter-spacing: 0.1em; margin-bottom: 0.75rem;
  }

  h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800; letter-spacing: -0.03em;
    color: #fff; margin-bottom: 1rem; line-height: 1.15;
  }
  h2 span { color: var(--accent); }

  .section-desc { color: var(--muted); max-width: 540px; font-size: 1rem; margin-bottom: 3rem; }

  /* ── VIDEO / MEDIA GALLERY ── */
  .media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
  }

  .media-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
  }
  .media-card:hover { border-color: rgba(110,231,183,0.25); transform: translateY(-3px); }

  .media-card .thumb {
    width: 100%; aspect-ratio: 16/9;
    background: var(--bg3);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
  }

  .media-card .thumb img {
    width: 100%; height: 100%; object-fit: cover;
  }

  .video-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.4);
    transition: background 0.2s;
  }
  .media-card:hover .video-overlay { background: rgba(0,0,0,0.2); }

  .play-btn {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--accent);
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.15s;
  }
  .media-card:hover .play-btn { transform: scale(1.1); }
  .play-btn svg { width: 20px; height: 20px; fill: #0d0f14; margin-left: 3px; }

  .media-caption {
    padding: 0.85rem 1rem;
    font-size: 0.85rem; color: var(--muted); font-family: var(--mono);
  }

  /* Placeholder for images that might not load */
  .img-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--bg3) 0%, var(--surface) 100%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 0.5rem; color: var(--muted);
    font-size: 0.8rem; font-family: var(--mono);
  }
  .img-placeholder svg { width: 32px; height: 32px; opacity: 0.4; }

  /* ── FEATURES ── */
  .divider {
    position: relative; z-index: 1;
    border: none; border-top: 1px solid var(--border);
    margin: 0;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden;
  }

  .feature-card {
    background: var(--bg);
    padding: 2rem 1.75rem;
    transition: background 0.2s;
  }
  .feature-card:hover { background: var(--bg2); }

  .feature-icon {
    width: 40px; height: 40px; border-radius: 8px;
    background: var(--accent-dim);
    border: 1px solid rgba(110,231,183,0.2);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
    font-size: 18px;
  }

  .feature-card h3 {
    font-size: 1rem; font-weight: 700;
    color: #fff; margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
  }

  .feature-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

  /* ── HOW IT WORKS ── */
  .steps { display: flex; flex-direction: column; gap: 0; }

  .step {
    display: grid; grid-template-columns: 80px 1fr;
    gap: 0 2rem; position: relative;
    padding-bottom: 2.5rem;
  }
  .step:last-child { padding-bottom: 0; }

  .step-num-col { display: flex; flex-direction: column; align-items: center; }

  .step-num {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid rgba(110,231,183,0.3);
    background: var(--accent-dim);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--mono); font-size: 0.85rem; font-weight: 700;
    color: var(--accent); flex-shrink: 0;
  }

  .step-line {
    flex: 1; width: 1px;
    background: var(--border2);
    margin-top: 0.5rem;
  }
  .step:last-child .step-line { display: none; }

  .step-content { padding-top: 0.6rem; }
  .step-content h3 {
    font-size: 1.05rem; font-weight: 700;
    color: #fff; margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
  }
  .step-content p { font-size: 0.9rem; color: var(--muted); }

  /* ── INFO CARDS ── */
  .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem; margin-top: 3rem;
  }

  .info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px; padding: 1.25rem;
  }

  .info-card .label {
    font-size: 0.75rem; font-family: var(--mono);
    color: var(--muted); text-transform: uppercase;
    letter-spacing: 0.08em; margin-bottom: 0.4rem;
  }

  .info-card .value {
    font-size: 1.5rem; font-weight: 800;
    color: #fff; letter-spacing: -0.02em;
  }
  .info-card .value.accent { color: var(--accent); }

  /* ── INSTALL CTA ── */
  .cta-section {
    position: relative; z-index: 1;
    margin: 0 2rem 5rem;
    background: var(--bg2);
    border: 1px solid var(--border2);
    border-radius: 16px; overflow: hidden;
    text-align: center; padding: 5rem 2rem;
  }

  .cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(110,231,183,0.08) 0%, transparent 70%);
    pointer-events: none;
  }

  .cta-section h2 { margin-bottom: 1rem; }
  .cta-section p { color: var(--muted); margin-bottom: 2rem; font-size: 1rem; }

  /* ── FOOTER ── */
  footer {
    position: relative; z-index: 1;
    border-top: 1px solid var(--border);
    padding: 2rem;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
    max-width: 1100px; margin: 0 auto;
  }

  footer .copyright {
    font-size: 0.8rem; color: var(--muted); font-family: var(--mono);
  }

  footer .links { display: flex; gap: 1.5rem; }
  footer .links a {
    font-size: 0.8rem; color: var(--muted);
    text-decoration: none; transition: color 0.15s;
    font-family: var(--mono);
  }
  footer .links a:hover { color: var(--accent); }

  /* ── RESPONSIVE ── */
  @media (max-width: 768px) {
    .hero { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 1.5rem 3rem; }
    nav { padding: 0.75rem 1.25rem; }
    .section { padding: 3.5rem 1.5rem; }
    .nav-links { display: none; }
    .cta-section { margin: 0 1rem 3rem; }
  }

  /* ── MODAL ── */
  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(13, 15, 20, 0.9);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }

  .modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modal-content img, .modal-content iframe {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--border);
  }

  .modal-content iframe {
    width: 1165px;
    aspect-ratio: 16/9;
  }

  .modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: var(--text);
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
    transition: color 0.2s;
  }

  .modal-close:hover {
    color: var(--accent);
  }
