:root {
  --bg: #070a11;
  --bg-soft: #0b1019;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eaf0f9;
  --muted: #98a4b8;
  --muted-2: #6f7c92;
  --brand: #4a98e5;
  --brand-2: #6fb6ff;
  --accent: #8b7cff;
  --grad: linear-gradient(120deg, #7cc0ff 0%, #8b7cff 55%, #4a98e5 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.75);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 680px at 82% -8%, rgba(74, 152, 229, 0.22), transparent 62%),
    radial-gradient(950px 620px at -5% 6%, rgba(139, 124, 255, 0.14), transparent 58%),
    var(--bg);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
svg { display: block; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 12px 22px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  color: #04101d;
  background: var(--grad);
  box-shadow: 0 14px 34px -12px rgba(111, 182, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover { box-shadow: 0 18px 44px -12px rgba(111, 182, 255, 0.8); }

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.28); }

.btn-sm { padding: 9px 18px; font-size: 0.875rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 10, 17, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand-mark { width: 30px; height: 30px; border-radius: 9px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 18px;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.22s ease, opacity 0.18s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 90px) 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.12fr;
  align-items: center;
  gap: clamp(30px, 5vw, 64px);
}
.hero-copy { max-width: 560px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #cfe1f6;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(111, 182, 255, 0.08);
  margin-bottom: 24px;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 0 rgba(111, 182, 255, 0.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 182, 255, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(111, 182, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 182, 255, 0); }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--muted);
  max-width: 500px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 26px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: var(--muted-2);
  font-size: 0.86rem;
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
  opacity: 0.85;
}

.hero-visual { position: relative; }
.glow {
  position: absolute;
  inset: -8% -6% 6% -6%;
  background:
    radial-gradient(50% 55% at 60% 40%, rgba(111, 182, 255, 0.3), transparent 70%),
    radial-gradient(45% 50% at 30% 70%, rgba(139, 124, 255, 0.28), transparent 70%);
  filter: blur(46px);
  z-index: 0;
  pointer-events: none;
}
.window {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #0a0f18;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
  transition: transform 0.5s ease;
}
.window:hover { transform: perspective(1400px) rotateY(0deg) rotateX(0deg); }
.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.window-url {
  margin: 0 auto;
  font-size: 0.74rem;
  color: var(--muted-2);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  padding: 2px 16px;
  border-radius: 999px;
  transform: translateX(-18px);
}
.window img { width: 100%; height: auto; }

.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(12, 18, 28, 0.82);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.8);
}
.float-chip svg { width: 15px; height: 15px; }
.chip-ios { top: 8%; left: -22px; color: #dfe8f5; animation: floaty 6s ease-in-out infinite; }
.chip-android { bottom: 16%; right: -18px; color: #9ee7a6; animation: floaty 6s ease-in-out infinite 1.5s; }
.chip-live { bottom: -14px; left: 12%; color: #cfe1f6; animation: floaty 6s ease-in-out infinite 0.8s; }
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38e08b;
  box-shadow: 0 0 10px #38e08b;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Platform row */
.platform-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 34px;
  margin-top: clamp(46px, 6vw, 74px);
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.platform-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  font-weight: 600;
}
.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
}
.platform-list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.platform-list svg { width: 19px; height: 19px; opacity: 0.8; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head {
  max-width: 640px;
  margin: 0 auto clamp(38px, 5vw, 60px);
  text-align: center;
}
.kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-2);
  margin-bottom: 16px;
}
.section-head h2, .dev-copy h2, .cta-copy h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.section-sub {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px 160px at 50% 0%, rgba(111, 182, 255, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 26px 50px -30px rgba(0, 0, 0, 0.9); }
.card:hover::after { opacity: 1; }
.icon-tile {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-2);
  background: linear-gradient(160deg, rgba(111, 182, 255, 0.2), rgba(139, 124, 255, 0.12));
  border: 1px solid rgba(111, 182, 255, 0.25);
  margin-bottom: 22px;
}
.icon-tile svg { width: 25px; height: 25px; }
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.94rem; }

/* Developers */
.dev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.dev-copy { max-width: 540px; }
.dev-copy .section-sub { margin-bottom: 26px; }
.check-list { display: grid; gap: 16px; margin-bottom: 30px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.96rem;
}
.check-list svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--brand-2);
}
.check-list strong { color: var(--text); font-weight: 600; }
.dev-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.dev-visual { position: relative; display: grid; gap: 16px; }
.code-window {
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: #080d15;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.code-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.code-file {
  margin-left: auto;
  font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: var(--muted-2);
}
.code-window pre {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.75;
  color: #c6d4e6;
}
.c-tag { color: #7cc0ff; }
.c-attr { color: #b9a6ff; }
.c-str { color: #8fe0b0; }

.dev-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}
.dev-card img { width: 46px; height: 46px; border-radius: 12px; }
.dev-card h3 { font-size: 0.98rem; margin-bottom: 2px; }
.dev-card p { color: var(--muted); font-size: 0.86rem; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
    align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 32px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
}
.price-card.featured {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(17, 24, 38, 0.92), rgba(11, 16, 25, 0.92)) padding-box,
    linear-gradient(150deg, rgba(124, 192, 255, 0.9), rgba(139, 124, 255, 0.7), rgba(74, 152, 229, 0.5)) border-box;
  box-shadow: 0 30px 70px -34px rgba(74, 152, 229, 0.55);
}
.ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #04101d;
  background: var(--grad);
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(111, 182, 255, 0.8);
  white-space: nowrap;
}
.price-head { padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.price-head h3 { font-size: 1.15rem; margin-bottom: 14px; }
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.price-amount { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.04em; }
.price-per { color: var(--muted); font-size: 0.95rem; }
.price-alt { color: var(--muted-2); font-size: 0.86rem; margin-top: 4px; }
.price-desc { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }
.price-list {
  display: grid;
  gap: 13px;
  padding: 24px 0;
  margin: 0;
  flex: 1;
}
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--muted);
  font-size: 0.93rem;
}
.price-list strong { color: var(--text); }
.tick {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-2);
  background: rgba(111, 182, 255, 0.14);
  border: 1px solid rgba(111, 182, 255, 0.28);
  margin-top: 1px;
}
.enterprise {
  text-align: center;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}
.enterprise a { color: var(--brand-2); font-weight: 600; }
.enterprise a:hover { text-decoration: underline; }

/* Download / CTA */
.cta-band {
  position: relative;
  padding: clamp(40px, 5vw, 58px);
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(111, 182, 255, 0.18), transparent 70%),
    radial-gradient(600px 300px at 90% 100%, rgba(139, 124, 255, 0.16), transparent 70%),
    rgba(255, 255, 255, 0.025);
  overflow: hidden;
}
.cta-copy { text-align: center; max-width: 620px; margin: 0 auto clamp(30px, 4vw, 42px); }
.cta-copy p { color: var(--muted); margin-top: 14px; }
.download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.dl-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 24px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.dl-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(111, 182, 255, 0.5);
}
.dl-card svg { width: 28px; height: 28px; margin-bottom: 10px; color: var(--brand-2); }
.dl-card span { font-weight: 600; font-size: 0.98rem; }
.dl-card small { color: var(--muted-2); font-size: 0.76rem; }

/* Footer */
.footer {
  margin-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  padding: clamp(48px, 6vw, 68px) 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 36px;
}
.footer-brand p { color: var(--muted-2); font-size: 0.9rem; margin-top: 14px; max-width: 240px; }
.footer-col h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 5px 0;
  transition: color 0.18s ease;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: clamp(36px, 5vw, 54px);
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 0.82rem;
}

/* Reveal animation */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .reveal.in { opacity: 1; transform: none; }
.feature-grid .card:nth-child(2) { transition-delay: 0.06s; }
.feature-grid .card:nth-child(3) { transition-delay: 0.12s; }
.feature-grid .card:nth-child(4) { transition-delay: 0.06s; }
.feature-grid .card:nth-child(5) { transition-delay: 0.12s; }
.feature-grid .card:nth-child(6) { transition-delay: 0.18s; }

:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-copy { max-width: 640px; }
  .window { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .dev-grid { grid-template-columns: 1fr; }
  .dev-copy { max-width: 640px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    margin: 6px 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(10, 15, 24, 0.96);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a { padding: 12px 14px; font-size: 0.98rem; }
  .menu-toggle { display: flex; }
  .nav-inner { position: relative; }

  .download-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding-top: 28px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .float-chip { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .window-url { transform: none; }
  .cta-band { padding: 30px 22px; border-radius: 22px; }
  .price-card { padding: 28px 24px; }
}

@media (max-width: 460px) {
  .download-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
