:root {
  --void: #050a18;
  --ink: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(0, 174, 239, 0.22);
  --cyan: #38bdf8;
  --electric: #00aeef;
  --gold: #facc15;
  --violet: #a855f7;
  --magenta: #d946ef;
  --glass: rgba(10, 6, 28, 0.62);
  --radius: 18px;
  --max: 1180px;
  --font: Inter, system-ui, sans-serif;
  --display: Rajdhani, Inter, sans-serif;
  --script: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--void);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, .btn { font-family: inherit; cursor: pointer; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

#stars {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
}
.aurora {
  position: fixed; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 35% at 50% 8%, rgba(11, 58, 114, .55), transparent 55%),
    radial-gradient(35% 40% at 12% 80%, rgba(0, 174, 239, .18), transparent 55%),
    radial-gradient(40% 40% at 88% 20%, rgba(168, 85, 247, .22), transparent 55%);
  filter: blur(36px);
  animation: aurora 14s ease-in-out infinite alternate;
}
@keyframes aurora {
  from { transform: translate3d(-4%, -2%, 0) rotate(0deg) scale(1); }
  to { transform: translate3d(5%, 4%, 0) rotate(8deg) scale(1.08); }
}

.promo {
  position: relative; z-index: 5;
  background: linear-gradient(90deg, #123, #1a2a4a, #123);
  background-size: 200% 100%;
  animation: promo 6s linear infinite;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
.promo a { color: var(--gold); }
@keyframes promo { to { background-position: 200% 0; } }

.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(5,7,13,.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  position: relative;
}
.logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 1;
  min-width: 0;
}
.logo-mark {
  position: relative;
  display: block;
  flex-shrink: 0;
}
.logo-halo {
  position: absolute; inset: -6px;
  border-radius: 16px;
  background: conic-gradient(from var(--spin, 0deg), #38bdf8, #00aeef, #facc15, #a855f7, #38bdf8);
  animation: spin 4s linear infinite;
  z-index: 0;
  filter: blur(1px);
  opacity: .85;
}
.logo-halo::after {
  content: "";
  position: absolute; inset: 2px;
  border-radius: 14px;
  background: #05070d;
}
.logo picture { position: relative; z-index: 1; display: block; }
.brand-logo {
  height: 68px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  animation: logofloat 3.2s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(61,157,255,.45));
}
.wordmark {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.wm-text {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(15px, 1.7vw, 22px);
  letter-spacing: 0.28em;
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(
    105deg,
    #7ec8ff 0%,
    #ffffff 22%,
    #38bdf8 42%,
    #f4c16e 58%,
    #ffffff 78%,
    #7ec8ff 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: wmshine 3.6s linear infinite, wmfloat 4.2s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(62, 232, 200, 0.35));
}
.wordmark::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 7px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, #38bdf8, #00aeef, #facc15, transparent);
  background-size: 200% 100%;
  animation: wmbar 2.8s linear infinite;
  opacity: 0.85;
}
.logo:hover .wm-text {
  animation: wmshine 1.2s linear infinite, wmfloat 4.2s ease-in-out infinite;
  filter: drop-shadow(0 0 16px rgba(62, 232, 200, 0.75));
}
.logo:hover .brand-logo {
  animation: logopop .5s ease;
  filter: drop-shadow(0 0 22px rgba(56,189,248),.7));
}
.foot-logo .wordmark { display: none; }
.foot-logo .brand-logo { height: 92px; max-width: 260px; }
@keyframes logofloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.03); }
}
@keyframes logopop {
  0% { transform: scale(1) rotate(-4deg); }
  50% { transform: scale(1.08) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes wmshine {
  to { background-position: 220% center; }
}
@keyframes wmfloat {
  0%, 100% { transform: translateY(0); letter-spacing: 0.28em; }
  50% { transform: translateY(-2px); letter-spacing: 0.32em; }
}
@keyframes wmbar {
  0% { background-position: 0% 0; opacity: .4; }
  50% { opacity: 1; }
  100% { background-position: 200% 0; opacity: .4; }
}
@keyframes spin { to { transform: rotate(360deg); } }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links > a, .drop > button {
  padding: 8px 12px; border: 0; background: none;
  font-size: 14.5px; font-weight: 600; color: var(--ink); border-radius: 999px;
}
.nav-links > a[href="index.html"] {
  box-shadow: 0 0 0 1px rgba(56,189,248),.7);
  animation: homeglow 2.2s ease-in-out infinite;
}
@keyframes homeglow {
  50% { box-shadow: 0 0 16px rgba(56,189,248,.55), 0 0 0 1px #38bdf8; }
}
.nav-links > a:hover, .drop > button:hover { background: rgba(255,255,255,.06); }
.drop { position: relative; }
.drop-menu {
  opacity: 0; pointer-events: none; transform: translateY(8px);
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px;
  background: var(--glass); border: 1px solid var(--line); border-radius: 16px;
  padding: 10px; backdrop-filter: blur(16px);
  transition: .25s ease;
}
.drop:hover .drop-menu, .drop:focus-within .drop-menu {
  opacity: 1; pointer-events: auto; transform: none;
}
.drop-menu a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; }
.drop-menu a:hover { background: rgba(56,189,248),.1); }
.drop-menu span { font-size: 12px; color: var(--muted); }
.contact-drop { min-width: 268px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.currency {
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  border-radius: 999px; padding: 8px 12px; font-weight: 700; font-size: 13px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  border: 1px solid transparent;
  line-height: 1.15;
  white-space: nowrap;
  text-align: center;
  box-sizing: border-box;
  transition: transform .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-red {
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(90deg, #0284c7, #2563eb);
  color: #fff;
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.45);
}
@keyframes sheen {
  0% { background-position: 0% 50%; }
  100% { background-position: 180% 50%; }
}
.nav-cta {
  flex-shrink: 0;
  padding: 10px 16px;
  min-height: 40px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: #fff;
}
@keyframes pulse {
  50% { box-shadow: 0 0 28px rgba(56,189,248),.45); }
}
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.menu-btn { display: none; border: 0; background: none; color: #fff; font-size: 22px; }

.hero {
  position: relative; z-index: 1;
  overflow: hidden; padding: 64px 0 36px;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: rgba(255,255,255,.04);
  border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; color: var(--muted);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan); animation: blink 1.4s infinite;
}
@keyframes blink { 50% { opacity: .35; } }
h1 {
  font-family: var(--display);
  font-size: clamp(36px, 5.4vw, 62px);
  line-height: 1.05; letter-spacing: -0.04em; margin: 16px 0 14px;
}
h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), var(--gold), var(--violet), var(--cyan));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 300% 0; } }
.lead { color: var(--muted); font-size: 17px; max-width: 52ch; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat {
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: 16px; padding: 12px;
  animation: rise .8s ease both;
  position: relative; overflow: hidden;
}
.stat::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(56,189,248,.14), transparent 70%);
  transform: translateX(-120%);
  animation: statshine 3.4s ease-in-out infinite;
}
@keyframes statshine { 60%, 100% { transform: translateX(120%); } }
.stat:nth-child(2) { animation-delay: .1s; }
.stat:nth-child(3) { animation-delay: .2s; }
.stat:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.stat b { display: block; font-size: 20px; position: relative; z-index: 1; }
.stat span { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: .06em; position: relative; z-index: 1; }
.stat small { display: block; margin-top: 6px; font-size: 10px; color: var(--cyan); position: relative; z-index: 1; }

.terminal {
  background: linear-gradient(180deg, #10182c, #0a1020);
  color: #dbe4f4; border-radius: 24px; padding: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(56,189,248),.12);
  position: relative;
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty {
  50% { transform: translateY(-10px); }
}
.term-top { display: flex; gap: 6px; margin-bottom: 14px; }
.term-top i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.term-top i:nth-child(1) { background: #ff5f57; }
.term-top i:nth-child(2) { background: #febc2e; }
.term-top i:nth-child(3) { background: #28c840; }
.term-title { margin-left: auto; font-size: 12px; opacity: .7; }
.term pre {
  margin: 0; min-height: 132px;
  font-family: ui-monospace, Menlo, monospace; font-size: 13px;
  white-space: pre-wrap; line-height: 1.7;
}
.ok { color: var(--cyan); }
.term-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.term-metrics div { background: #161f33; border-radius: 10px; padding: 10px; font-size: 12px; }
.term-metrics b { display: block; font-size: 15px; color: #fff; }
.float-pill {
  position: absolute; background: #0e1628; color: var(--cyan);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 12px; font-size: 12px; font-weight: 700;
  animation: bob 3.5s ease-in-out infinite;
}
.float-pill.a { top: -14px; right: 18px; }
.float-pill.b { bottom: 18%; left: -18px; animation-delay: 1s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

.marquee-wrap {
  position: relative; z-index: 1;
  overflow: hidden; border-block: 1px solid var(--line);
  padding: 14px 0; background: rgba(255,255,255,.02);
}
.marquee { display: flex; gap: 36px; animation: slide 22s linear infinite; width: max-content; }
.marquee span {
  font-weight: 700; color: var(--muted); white-space: nowrap;
  text-transform: uppercase; letter-spacing: .12em; font-size: 12px;
}
@keyframes slide { to { transform: translateX(-50%); } }

section { position: relative; z-index: 1; padding: 72px 0; }
h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 42px); letter-spacing: 0.02em; font-weight: 700; margin: 0 0 10px;
}
.sub { color: var(--muted); margin: 0 0 28px; max-width: 62ch; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tabs button {
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 13px;
  transition: .25s;
}
.tabs button.active {
  background: linear-gradient(135deg, var(--violet), #5b4fe0);
  border-color: transparent;
}

.product {
  display: none;
  grid-template-columns: .95fr 1.05fr; gap: 22px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: 24px; padding: 22px;
}
.product.active { display: grid; animation: fadein .45s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(12px); } }
.specs { display: grid; gap: 8px; }
.spec {
  display: flex; justify-content: space-between;
  background: rgba(5,7,13,.45); border-radius: 12px; padding: 10px 12px; font-size: 14px;
}
.plan {
  background: linear-gradient(180deg, rgba(56,189,248),.08), rgba(255,255,255,.03));
  border: 1px solid var(--line); border-radius: 20px; padding: 22px;
  transition: transform .35s, box-shadow .35s;
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(56,189,248),.12); }
.plan .tag { font-size: 12px; font-weight: 800; color: var(--gold); letter-spacing: .08em; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 14px; }
.price b { font-size: 36px; letter-spacing: -0.04em; }
.price s { color: var(--muted); }
.plan ul { margin: 0 0 18px; padding: 0; list-style: none; }
.plan li { padding: 6px 0 6px 22px; position: relative; }
.plan li::before { content: "✦"; position: absolute; left: 0; color: var(--cyan); }

.grid-3, .grid-4, .grid-2 { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  transition: transform .35s, border-color .35s;
}
.card:hover { transform: translateY(-8px) rotate(-.4deg); border-color: rgba(56,189,248),.45); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.ico {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 12px;
  background: rgba(56,189,248),.12); color: var(--cyan); font-weight: 800;
}

.adv { background: transparent; }
.reveal { opacity: 0; transform: translateY(28px); transition: .7s ease; }
.reveal.in { opacity: 1; transform: none; }

.faq details {
  border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; margin-bottom: 10px; background: rgba(255,255,255,.03);
  transition: border-color .3s;
}
.faq details[open] { border-color: var(--cyan); }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.cta-band {
  background: linear-gradient(120deg, #102033, #1a1440 50%, #0d2a28);
  background-size: 180% 180%;
  animation: cta 8s ease infinite;
  color: #fff; border-radius: 28px; padding: 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  border: 1px solid var(--line);
}
@keyframes cta { 50% { background-position: 100% 50%; } }
.cta-band p { color: #c9d6ea; }

footer {
  position: relative; z-index: 1;
  background: #05070d; color: #c9d2e4; padding: 48px 0 24px;
  border-top: 1px solid var(--line);
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
footer h6 { margin: 0 0 12px; color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
footer a { display: block; padding: 4px 0; color: #c9d2e4; transition: color .2s, transform .2s; }
footer a:hover { color: var(--cyan); transform: translateX(4px); }
.legal { border-top: 1px solid #1a2438; margin-top: 28px; padding-top: 16px; font-size: 13px; color: #8b96ad; }

.page-hero { padding: 48px 0 12px; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(28px, 6vw, 40px); }

@media (max-width: 1200px) {
  .wordmark { display: none; }
}

@media (max-width: 1100px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .promo { font-size: 12px; padding: 8px 12px; }
  .nav-inner { min-height: 68px; gap: 10px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0a1020;
    border-bottom: 1px solid var(--line);
    padding: 10px 14px 16px;
    flex-direction: column;
    align-items: stretch;
    max-height: min(70vh, 520px);
    overflow: auto;
    z-index: 50;
  }
  .nav-links > a, .drop > button {
    width: 100%;
    text-align: left;
    padding: 12px 10px;
    font-size: 16px;
  }
  .nav-links.open { display: flex; }
  .drop-menu {
    position: static;
    display: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    border: 0;
    background: transparent;
    padding: 0 0 0 10px;
    min-width: 0;
  }
  .drop.open .drop-menu { display: block; }
  .drop:hover .drop-menu, .drop:focus-within .drop-menu { display: none; }
  .drop.open:hover .drop-menu, .drop.open:focus-within .drop-menu { display: block; }
  .brand-logo { height: 48px; max-width: 140px; }
  .logo-halo { display: none; }
  .menu-btn {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-left: 0;
    order: 4;
    flex-shrink: 0;
  }
  .logo { order: 1; }
  .nav-actions { order: 3; margin-left: auto; }
  .nav-actions .currency { display: none; }
  .nav-cta { padding: 9px 14px; font-size: 13px; min-height: 38px; }
  .float-pill { display: none; }
  .hero-grid, .product.active, .grid-3, .grid-4, .grid-2, .foot-grid, .cta-band { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .tabs button { flex: 0 0 auto; }
  .plan .btn, .cta-band .btn, .page-hero .btn { width: 100%; }
  section { padding: 48px 0; }
}

@media (max-width: 640px) {
  .promo { font-size: 11px; }
  .nav-cta { padding: 8px 12px; font-size: 12.5px; }
  .brand-logo { height: 42px; max-width: 118px; }
  .us-cta { flex-direction: column; }
  .us-cta a { width: 100%; justify-content: center; }
  .us-stats { grid-template-columns: 1fr 1fr; }
  .marquee { gap: 22px; }
  .legal { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
