/* styles.css */
:root {
    --bg: #0b0b12;
    --bg-soft: #0f1120;
    --panel: #121429;
    --text: #e6e6f0;
    --muted: #a2a3b3;
    --accent: #8bd3ff;
    --accent-2: #7a5cff;
    --ring: rgba(139, 211, 255, 0.35);
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 10px 30px rgba(2, 6, 23, 0.6), 0 10px 50px rgba(122, 92, 255, 0.18);
    --radius: 16px;
    --wrap: min(1120px, 92vw);
  }
  
  * { box-sizing: border-box; }
  html, body { height: 100%; }
  body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Background effects */
  .bg.fx-grid {
    position: fixed; inset: 0; pointer-events: none; z-index: -2;
    background-image: linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 36px 36px;
  }
  .bg.fx-radial {
    position: fixed; inset: -20vmax; pointer-events: none; z-index: -3;
    background: radial-gradient(60vmax 60vmax at 20% 10%, rgba(122,92,255,0.18), transparent 60%),
                radial-gradient(50vmax 50vmax at 80% 0%, rgba(139,211,255,0.18), transparent 60%),
                linear-gradient(180deg, var(--bg-soft), var(--bg));
    filter: saturate(120%);
  }
  
  /* Layout primitives */
  .wrap { width: var(--wrap); margin-inline: auto; padding: 24px; }
  .section { padding: 80px 0; }
  .section-alt { background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent); }
  .section-title { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 20px; font-weight: 700; }
  
  /* Header */
  .site-header { position: sticky; top: 0; backdrop-filter: blur(10px); background: rgba(11,11,18,0.6); border-bottom: 1px solid var(--border); z-index: 10; }
  .site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; }
  .brand-mark { width: 28px; height: 28px; border-radius: 6px; box-shadow: 0 6px 20px rgba(139,211,255,0.25); }
  .brand-name { letter-spacing: 0.2px; }
  .nav { display: flex; gap: 18px; }
  .nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
  .nav a:hover { color: var(--text); }
  
  /* Hero */
  .hero { padding: 96px 0 48px; position: relative; }
  .badge { display: inline-block; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #0b1220; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 20px rgba(122,92,255,0.35); }
  .headline { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; margin: 14px 0 12px; font-weight: 800; letter-spacing: -0.02em; }
  .headline .accent { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .subhead { font-size: clamp(16px, 2.2vw, 18px); color: var(--muted); max-width: 60ch; }
  
  /* Counter card */
  .counter-card { margin-top: 32px; background: rgba(15,17,32,0.75); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
  .card-head { padding: 18px 20px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(139,211,255,0.08), rgba(122,92,255,0.02)); }
  .card-head h2 { font-size: 16px; font-weight: 600; margin: 0; color: var(--muted); }
  .card-body { padding: 26px 20px 18px; display: grid; gap: 8px; justify-items: start; }
  .counter { font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-weight: 700; font-size: clamp(40px, 7vw, 76px); letter-spacing: -0.02em; color: var(--text); text-shadow: 0 0 1px rgba(123, 123, 163, 0.4); }
  .visitors { font-size: 14px; color: var(--muted); font-weight: 600; }
  .card-foot { padding: 18px 20px 22px; display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--border); }
  .cta { appearance: none; border: none; cursor: pointer; padding: 10px 14px; border-radius: 10px; font-weight: 700; color: #0b1220; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 10px 24px rgba(122,92,255,0.35); transition: transform .15s ease, box-shadow .15s ease; }
  .cta:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(122,92,255,0.42); }
  .cta:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
  .link { color: var(--text); text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,0.3); padding-bottom: 2px; }
  .link:hover { color: var(--accent); border-bottom-color: var(--accent); }
  
  /* Hero stats row */
  .hero-aside { display: flex; align-items: center; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
  .stat { display: grid; gap: 2px; }
  .stat-kicker { font-size: 12px; color: var(--muted); }
  .stat-value { font-size: 14px; font-weight: 600; }
  .divider { width: 1px; height: 24px; background: var(--border); }
  
  /* Features grid */
  .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 16px; }
  .feature { background: rgba(15,17,32,0.5); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
  .feature-icon { font-size: 22px; }
  .feature h4 { font-size: 16px; margin: 6px 0 4px; }
  .feature p { font-size: 14px; color: var(--muted); }
  
  /* FAQ */
  .faq { background: rgba(15,17,32,0.5); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-top: 12px; }
  .faq summary { cursor: pointer; font-weight: 600; }
  .faq p { margin: 8px 2px 4px; color: var(--muted); }
  
  /* Footer */
  .site-footer { padding: 28px 0 40px; border-top: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent); }
  .site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .site-footer a { color: var(--muted); text-decoration: none; }
  .site-footer a:hover { color: var(--text); }
  
  /* Responsive */
  @media (max-width: 900px) {
    .grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 640px) {
    .nav { display: none; }
    .headline { font-size: clamp(30px, 8vw, 40px); }
    .hero { padding-top: 72px; }
    .card-body { justify-items: stretch; }
  }
  
/* Video embed */
.video { margin-top: 18px; }
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(15,17,32,0.6);
  box-shadow: var(--shadow);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Description spacing */
.desc { margin-top: 18px; }

/* Optional: slightly tighter hero top padding to bring the card up */
.hero { padding: 72px 0 40px; }