/* ============================================================
   BurTech Solution — design tokens + base (original system).
   "Aurora midnight": deep ink ground, electric blue→cyan accent,
   violet secondary, glass surfaces. Sora / Inter / IBM Plex Mono.
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Inter:wght@400;450;500;600&family=IBM+Plex+Mono:wght@400;500;600&display=swap");

:root {
  /* ---- ground ---- */
  --ink:        #07080C;
  --ink-2:      #0A0C12;
  --surface:    #0F121C;
  --surface-2:  #141826;
  --surface-3:  #1B2032;
  --line:       rgba(255,255,255,0.08);
  --line-2:     rgba(255,255,255,0.14);

  /* ---- text ---- */
  --fg:         #EEF1F8;
  --fg-2:       #AEB6CB;
  --fg-3:       #79829A;
  --fg-4:       #545C72;

  /* ---- accent ---- */
  --blue:       #4F7DFF;
  --blue-bright:#6E97FF;
  --cyan:       #22D6E0;
  --violet:     #9A86FF;
  --accent:     var(--blue);

  --grad:       linear-gradient(110deg, #4F7DFF 0%, #5FA0FF 45%, #22D6E0 100%);
  --grad-soft:  linear-gradient(135deg, rgba(79,125,255,0.18), rgba(34,214,224,0.10));
  --grad-violet:linear-gradient(120deg, #6E97FF, #9A86FF);

  /* ---- glow / shadow ---- */
  --glow:       0 0 0 1px rgba(79,125,255,0.30), 0 18px 50px -12px rgba(79,125,255,0.45);
  --shadow:     0 24px 60px -20px rgba(0,0,0,0.7);
  --shadow-sm:  0 8px 24px -10px rgba(0,0,0,0.6);

  /* ---- semantic ---- */
  --ok:         #34D399;
  --star:       #FCC419;

  /* ---- radii ---- */
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 26px; --r-pill: 999px;

  /* ---- type ---- */
  --f-display: "Sora", system-ui, sans-serif;
  --f-body:    "Inter", system-ui, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, monospace;

  /* ---- motion ---- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg-2);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: rgba(79,125,255,0.32); color: #fff; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

/* page aurora + dot grid background */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 30% at 12% 4%,  rgba(79,125,255,0.22), transparent 70%),
    radial-gradient(38% 30% at 88% 0%,  rgba(34,214,224,0.14), transparent 70%),
    radial-gradient(45% 40% at 70% 100%, rgba(154,134,255,0.12), transparent 70%),
    var(--ink);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 78%);
}

/* ---- typography ---- */
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--fg); margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; }
.display { font-size: clamp(42px, 6.2vw, 84px); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; letter-spacing: -0.03em; }
.h3 { font-size: clamp(20px, 2vw, 26px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--fg-2); line-height: 1.6; }
p { margin: 0 0 1em; }
.mono { font-family: var(--f-mono); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- layout helpers ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(72px, 10vw, 132px) 0; position: relative; }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; }

/* ---- eyebrow / section index ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head .h2 { margin: 16px 0 14px; }
.sec-head.center { margin-left: auto; margin-right: auto; }

/* ---- badge / pill ---- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r-pill);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em;
  color: var(--fg-2); background: rgba(255,255,255,0.03); border: 1px solid var(--line-2);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.badge .dot.live { animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---- buttons ---- */
.btn {
  --pad: 13px 22px;
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  padding: var(--pad); border-radius: var(--r-md); border: 1px solid transparent;
  font-family: var(--f-body); font-weight: 550; font-size: 15px; cursor: pointer; text-decoration: none;
  transition: transform .12s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .ar { transition: transform .25s var(--ease-out); }
.btn:hover .ar { transform: translateX(4px); }
.btn-primary { background: var(--grad); color: #06121f; font-weight: 600; box-shadow: var(--glow); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(79,125,255,0.5), 0 22px 60px -14px rgba(79,125,255,0.6); }
.btn-ghost { background: rgba(255,255,255,0.02); color: var(--fg); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--blue); background: rgba(79,125,255,0.08); }
.btn-lg { --pad: 16px 28px; font-size: 16px; border-radius: var(--r-lg); }
.btn-sm { --pad: 9px 15px; font-size: 13.5px; }
.link { display: inline-flex; align-items: center; gap: 7px; color: var(--blue-bright); text-decoration: none; font-weight: 500; font-size: 15px; transition: gap .2s var(--ease), color .2s; }
.link:hover { gap: 11px; color: var(--cyan); }

/* ---- glass card base ---- */
.card {
  position: relative; background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.card-top { /* gradient hairline at top edge */
  position: relative; overflow: hidden;
}
.card-top::before {
  content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,125,255,0.7), rgba(34,214,224,0.6), transparent);
  opacity: 0; transition: opacity .3s var(--ease);
}
.card-top:hover::before { opacity: 1; }

/* ---- reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .badge .dot.live { animation: none; }
}

/* ---- icon sizing (lucide) ---- */
[data-lucide] { width: 1em; height: 1em; stroke-width: 1.75; }
