:root {
  --bg: #070912;
  --bg-2: #0b0f1d;
  --panel: #10152a;
  --panel-2: #141b34;
  --line: rgba(120, 200, 255, 0.14);
  --text: #e9eefb;
  --muted: #9aa6c4;
  --cyan: #2fe0ff;
  --cyan-soft: rgba(47, 224, 255, 0.16);
  --violet: #9b5cff;
  --violet-soft: rgba(155, 92, 255, 0.18);
  --steel: #c9d3e6;
  --radius: 18px;
  --max: 1160px;
  --display: "Rajdhani", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(var(--max), 100% - 40px); margin: 0 auto; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(7, 9, 18, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 0.06em; }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 18px rgba(47, 224, 255, 0.45); }
.brand span b { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); text-decoration: none; }
.nav-social { display: flex; gap: 10px; padding-left: 20px; border-left: 1px solid var(--line); }
.nav-social a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--steel); background: rgba(255,255,255,0.04); border: 1px solid var(--line); transition: all .2s; }
.nav-social a:hover { color: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 14px var(--cyan-soft); }
.nav-social svg { width: 17px; height: 17px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); width: 42px; height: 42px; border-radius: 10px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url("banner.jpg") center / cover no-repeat; filter: saturate(1.1); transform: scale(1.06); animation: drift 24s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(7,9,18,0.82) 0%, rgba(7,9,18,0.62) 38%, rgba(7,9,18,0.35) 62%, var(--bg) 100%),
    linear-gradient(180deg, rgba(7,9,18,0.55) 0%, rgba(7,9,18,0.35) 40%, var(--bg) 100%); }
.hero .content { position: relative; z-index: 2; }
.hero-logo { width: 150px; height: 150px; margin: 0 auto 26px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(47,224,255,0.35), 0 0 60px rgba(47,224,255,0.45), 0 0 120px rgba(155,92,255,0.35); animation: pulse 4s ease-in-out infinite; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--violet)); }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(48px, 9vw, 104px); line-height: 0.95; margin: 18px 0 18px; letter-spacing: 0.02em; }
.grad { background: linear-gradient(100deg, #ffffff 0%, var(--cyan) 45%, var(--violet) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--steel); max-width: 680px; margin: 0 auto 34px; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 12px; font-weight: 600; font-size: 15px; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(100deg, var(--cyan), #5aa8ff 55%, var(--violet)); color: #050711; box-shadow: 0 10px 30px rgba(47,224,255,0.28); }
.btn-primary:hover { box-shadow: 0 14px 40px rgba(47,224,255,0.4); }
.btn-ghost { color: var(--text); border: 1px solid rgba(201,211,230,0.28); background: rgba(10,14,28,0.5); }
.btn-ghost:hover { border-color: var(--cyan); }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; width: 28px; height: 46px; border: 2px solid rgba(201,211,230,0.5); border-radius: 16px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 9px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--cyan); animation: cue 1.8s ease-in-out infinite; }

/* ---------- Sections ---------- */
section { position: relative; padding: 110px 0; }
.waves { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.55; overflow: hidden; }
.waves svg { position: absolute; width: 900px; height: 900px; }
section > .wrap { position: relative; z-index: 1; }
.label { font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5.5vw, 62px); line-height: 1.02; margin: 8px 0 22px; }
h2 .dot { color: var(--cyan); }
.intro { color: var(--muted); max-width: 760px; font-size: 17px; }

/* Stats */
.stats { display: flex; gap: 48px; flex-wrap: wrap; margin-top: 40px; }
.stat b { display: block; font-family: var(--display); font-size: 46px; line-height: 1; background: linear-gradient(100deg, var(--cyan), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 14px; }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; padding: 28px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(47,224,255,0.7), transparent 40%, transparent 60%, rgba(155,92,255,0.7)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.45), 0 0 40px rgba(47,224,255,0.08); }
.card:hover::before { opacity: 1; }
.icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: var(--cyan); background: linear-gradient(140deg, var(--cyan-soft), var(--violet-soft)); border: 1px solid rgba(47,224,255,0.25); }
.icon svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--display); font-size: 23px; margin: 0 0 8px; letter-spacing: 0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Engine (pipeline) */
.engine { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; margin-top: 30px; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--cyan), var(--violet)); opacity: 0.6; }
.steps li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 14px 0; }
.steps .num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--text); background: var(--panel-2); border: 2px solid var(--cyan); box-shadow: 0 0 18px var(--cyan-soft); z-index: 1; }
.steps h4 { font-family: var(--display); font-size: 22px; margin: 4px 0 4px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: var(--steel); background: rgba(255,255,255,0.05); border: 1px solid var(--line); }

/* Post mockup */
.mock-wrap { position: relative; }
.mock-glow { position: absolute; inset: 10% 5%; background: radial-gradient(circle, rgba(47,224,255,0.35), rgba(155,92,255,0.25) 50%, transparent 70%); filter: blur(40px); }
.mock { position: relative; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; border: 1px solid rgba(47,224,255,0.3); box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.mock-photo { position: absolute; inset: 0; background: url("banner.jpg") 0% 60% / auto 150% no-repeat; }
.mock::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,12,0) 25%, rgba(5,6,12,0.75) 55%, rgba(5,6,12,0.96) 80%); }
.mock-body { position: absolute; left: 7%; right: 7%; bottom: 8%; z-index: 2; }
.mock-pill { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: 0.04em; color: #050711; background: var(--cyan); padding: 5px 12px; border-radius: 8px; margin-bottom: 14px; }
.mock-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.04; color: #fff; text-shadow: 0 2px 0 #000; }
.mock-brand { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 800; letter-spacing: 0.04em; font-size: 15px; }
.mock-brand::before { content: ""; width: 4px; height: 22px; background: var(--cyan); }
.mock-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; z-index: 3; background: var(--violet); }
.mock-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.mock-chips .tag { background: rgba(47,224,255,0.08); border-color: rgba(47,224,255,0.3); color: var(--text); }

/* Roadmap timeline */
.timeline { position: relative; margin-top: 50px; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(180deg, var(--cyan), var(--violet), transparent); }
.t-item { position: relative; width: 50%; padding: 0 46px 46px 0; }
.t-item:nth-child(even) { margin-left: 50%; padding: 0 0 46px 46px; }
.t-dot { position: absolute; top: 18px; right: -22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); border: 2px solid var(--cyan); color: var(--cyan); box-shadow: 0 0 22px var(--cyan-soft); z-index: 1; }
.t-item:nth-child(even) .t-dot { left: -22px; right: auto; }
.t-dot svg { width: 20px; height: 20px; }
.t-item.done .t-dot { background: var(--cyan); color: #050711; }
.t-card { padding: 24px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-bottom: 3px solid var(--cyan); }
.t-item:nth-child(even) .t-card { border-bottom-color: var(--violet); }
.t-phase { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); }
.t-card h3 { font-family: var(--display); font-size: 24px; margin: 4px 0 10px; }
.t-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.t-card li { margin: 4px 0; }
.status { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.status.live { color: #050711; background: var(--cyan); }
.status.next { color: var(--text); background: var(--violet-soft); border: 1px solid var(--violet); }

/* Platforms */
.platform { display: flex; flex-direction: column; gap: 14px; }
.platform .p-head { display: flex; align-items: center; gap: 14px; }
.platform .p-head .icon { margin: 0; }
.platform ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.platform a.btn { align-self: flex-start; padding: 10px 16px; font-size: 14px; margin-top: auto; }

/* API section */
.api { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 34px; border-radius: 22px; background: linear-gradient(120deg, rgba(47,224,255,0.08), rgba(155,92,255,0.08)); border: 1px solid rgba(47,224,255,0.25); }
.yt-badge { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: #ff0000; color: #fff; font-weight: 800; font-size: 18px; }
.yt-badge svg { width: 26px; height: 26px; }
.api p { margin: 0 0 10px; color: var(--steel); }
.api .links { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 600; font-size: 15px; }

/* Contact */
.contact { text-align: center; }
.contact .intro { margin: 0 auto 30px; }
.mail { font-family: var(--display); font-size: clamp(26px, 4vw, 40px); font-weight: 700; color: var(--text); }
.mail:hover { color: var(--cyan); text-decoration: none; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--cyan); }

/* Legal pages */
.legal { padding: 140px 0 90px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-family: var(--display); font-size: clamp(40px, 6vw, 58px); margin: 8px 0 6px; }
.legal h2 { font-size: 28px; margin: 38px 0 10px; }
.legal p, .legal li { color: var(--steel); }
.legal .updated { color: var(--muted); font-size: 14px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@keyframes drift { from { transform: scale(1.06) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 1px rgba(47,224,255,0.35), 0 0 50px rgba(47,224,255,0.4), 0 0 110px rgba(155,92,255,0.3); } 50% { box-shadow: 0 0 0 1px rgba(47,224,255,0.6), 0 0 80px rgba(47,224,255,0.6), 0 0 150px rgba(155,92,255,0.45); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .engine { grid-template-columns: 1fr; }
  .mock-wrap { max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 860px) {
  .menu-btn { display: grid; place-items: center; }
  .nav-links { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 20px 20px; background: rgba(7,9,18,0.97); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s; }
  .nav-links.open { transform: none; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-social { border: 0; padding: 16px 0 0; }
  .timeline::before { left: 22px; }
  .t-item, .t-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 34px 64px; }
  .t-dot, .t-item:nth-child(even) .t-dot { left: 0; right: auto; }
  .api { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  section { padding: 80px 0; }
  .wrap { width: calc(100% - 32px); }
  .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .stats { gap: 28px; }
  .hero-logo { width: 118px; height: 118px; }
  .btn { width: 100%; justify-content: center; }
}
