:root {
  --bg: #060816;
  --bg-soft: rgba(255, 255, 255, 0.05);
  --bg-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --muted-2: rgba(255, 255, 255, 0.42);
  --cyan: #67e8f9;
  --violet: #a855f7;
  --fuchsia: #d946ef;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

a, button { font: inherit; }
button { border: 0; cursor: pointer; }

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.08), transparent 30%),
    linear-gradient(to bottom, rgba(255,255,255,0.02), transparent 25%),
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px),
    var(--bg);
  background-size: 100% 100%, 100% 100%, 42px 42px, 42px 42px, 100% 100%;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.28;
  animation: float 18s ease-in-out infinite;
}
.orb.one { width: 320px; height: 320px; left: -60px; top: -40px; background: rgba(217, 70, 239, 0.65); }
.orb.two { width: 440px; height: 440px; right: -120px; top: 24%; background: rgba(103, 232, 249, 0.5); animation-duration: 16s; }
.orb.three { width: 380px; height: 380px; left: 32%; bottom: -120px; background: rgba(168, 85, 247, 0.45); animation-duration: 20s; }

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  25% { transform: translate3d(50px, 80px, 0) scale(1.04); }
  50% { transform: translate3d(-20px, 30px, 0) scale(0.98); }
  75% { transform: translate3d(40px, -30px, 0) scale(1.03); }
}

@keyframes spinPulse {
  0% { transform: rotate(0deg) scale(0.96); }
  50% { transform: rotate(180deg) scale(1.04); }
  100% { transform: rotate(360deg) scale(0.96); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(103,232,249,0); }
  50% { box-shadow: 0 0 30px rgba(103,232,249,0.18); }
}

@keyframes pageEnter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: clamp(16px, 3vw, 48px);
  padding-right: clamp(16px, 3vw, 48px);
}
.glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.navbar-wrap { position: sticky; top: 16px; z-index: 100; padding-top: 16px; }
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--violet), #d946ef);
  box-shadow: 0 20px 40px rgba(217, 70, 239, 0.2);
  animation: spinPulse 12s linear infinite;
}
.logo-title { font-size: 20px; font-weight: 700; }
.logo-subtitle { font-size: 12px; color: var(--muted-2); }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-link, .footer-link, .mobile-link {
  border-radius: 18px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  padding: 12px 16px;
  transition: 0.25s ease;
}
.nav-link:hover, .footer-link:hover, .mobile-link:hover { background: rgba(255,255,255,0.08); color: white; }
.nav-link.active { background: rgba(103,232,249,0.12); border: 1px solid rgba(103,232,249,0.28); color: var(--cyan); }

.primary-btn, .secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 18px;
  transition: transform 0.25s ease, background 0.25s ease, border 0.25s ease;
}
.primary-btn:hover, .secondary-btn:hover, .feature-card:hover, .team-card:hover, .partner-info:hover, .platform-card:hover, .footer-link-card:hover { transform: translateY(-2px); }
.primary-btn { background: linear-gradient(135deg, var(--cyan), var(--violet)); color: white; font-weight: 600; }
.primary-btn:hover { background: linear-gradient(135deg, #8bf3ff, #c084fc); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(103,232,249,0.25); }
.secondary-btn { background: rgba(255,255,255,0.05); color: white; border: 1px solid rgba(255,255,255,0.12); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu { display: none; padding: 0 16px 16px; border-top: 1px solid rgba(255,255,255,0.1); }
.mobile-menu.open { display: flex; flex-direction: column; gap: 10px; }

main { padding-bottom: 48px; }
.page { display: none; animation: pageEnter 0.5s ease; }
.page.active { display: block; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 54px 0 24px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, 0.2);
  background: rgba(103, 232, 249, 0.1);
  color: #c9f7ff;
  font-size: 14px;
  margin-bottom: 20px;
}
h1 {
  margin: 0;
  font-size: clamp(36px, 9vw, 94px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: white;
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  h1 {
    background: linear-gradient(135deg, #ffffff 20%, var(--cyan) 55%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}
.hero p, .section-subtitle, .card-text, .legal-content, .partner-text { color: var(--muted); line-height: 1.8; }
.hero p { font-size: 18px; max-width: 720px; margin: 24px 0 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.stats, .feature-grid, .team-grid { display: grid; gap: 16px; }
.hero > *, .stats > *, .feature-grid > *, .team-grid > *,
.download-grid > *, .two-col > *, .partner-grid > *,
.footer-inner > *, .footer-links-grid > *, .workspace > * { min-width: 0; }
.stats { margin-top: 34px; grid-template-columns: repeat(3, 1fr); }
.stat-card, .feature-card, .platform-card, .team-card, .partner-info, .legal-card, .footer-link-card { border-radius: var(--radius-xl); padding: 24px; }
.stat-value { font-size: 36px; font-weight: 800; color: var(--cyan); }
.stat-label, .small-muted { color: var(--muted-2); font-size: 14px; margin-top: 10px; }

.preview { position: relative; }
.preview::before {
  content: "";
  position: absolute;
  inset: -24px;
  border-radius: 48px;
  background: linear-gradient(135deg, rgba(103,232,249,0.1), rgba(168,85,247,0.1), rgba(217,70,239,0.1));
  filter: blur(30px);
  z-index: -1;
}
.preview-card { padding: 28px; border-radius: 34px; overflow: hidden; background: linear-gradient(to bottom, rgba(255,255,255,0.1), rgba(255,255,255,0.04)); }
.preview-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.dots { display: flex; gap: 8px; }
.dots span { width: 12px; height: 12px; border-radius: 50%; }
.dots span:nth-child(1) { background: rgba(248,113,113,0.9); }
.dots span:nth-child(2) { background: rgba(250,204,21,0.9); }
.dots span:nth-child(3) { background: rgba(74,222,128,0.9); }
.workspace { display: grid; grid-template-columns: 0.6fr 1fr; gap: 16px; }
.workspace-col { border-radius: 28px; padding: 18px; background: rgba(0,0,0,0.22); border: 1px solid rgba(255,255,255,0.08); }
.space-chip, .message-card, .note-chip { border-radius: 18px; padding: 14px; }
.space-chip { margin-bottom: 10px; background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.72); }
.space-chip.active { background: white; color: #0f172a; }
.message-card { margin-bottom: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.75); }
.note-chip { margin-top: 18px; background: rgba(103,232,249,0.12); border: 1px solid rgba(103,232,249,0.18); color: #c9f7ff; animation: pulseGlow 3.2s infinite; }

.feature-grid { grid-template-columns: repeat(3, 1fr); padding: 18px 0 0; }
.feature-icon, .team-avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(103,232,249,0.16), rgba(168,85,247,0.16));
  font-weight: 700;
}
.feature-card:nth-child(1) .feature-icon { background: linear-gradient(135deg, rgba(103,232,249,0.22), rgba(103,232,249,0.06)); border: 1px solid rgba(103,232,249,0.18); }
.feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, rgba(168,85,247,0.22), rgba(168,85,247,0.06)); border: 1px solid rgba(168,85,247,0.18); }
.feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, rgba(217,70,239,0.22), rgba(217,70,239,0.06)); border: 1px solid rgba(217,70,239,0.18); }
.team-avatar { background: linear-gradient(135deg, rgba(103,232,249,0.16), rgba(168,85,247,0.22)); border: 1px solid rgba(103,232,249,0.22); }

.section { padding: 44px 0 26px; }
.section-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.section-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #c9f7ff;
  flex-shrink: 0;
}
.section-title { margin: 0; font-size: clamp(32px, 5vw, 56px); line-height: 1.06; font-weight: 800; letter-spacing: -0.03em; }
.two-col, .download-grid, .partner-grid { display: grid; gap: 24px; }
.two-col, .partner-grid { grid-template-columns: repeat(2, 1fr); }
.download-grid { grid-template-columns: 0.85fr 1.15fr; }
.platform-list, .points-list, .focus-list, .legal-stack { display: grid; gap: 14px; }
.platform-card.active { border: 1px solid rgba(103,232,249,0.3); background: rgba(103,232,249,0.1); }
.status-box { display: none; margin-top: 18px; padding: 16px; border-radius: 18px; color: #9ef3bd; background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.2); }
.status-box.show { display: block; animation: pageEnter 0.35s ease; }
.team-grid { grid-template-columns: repeat(4, 1fr); }
.team-avatar { font-size: 18px; }
.partner-logo-wrap { border-radius: 28px; background: rgba(0,0,0,0.28); border: 1px solid rgba(255, 122, 0, 0.12); padding: 16px; }
.partner-logo { width: 100%; height: auto; display: block; border-radius: 22px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.2);
  color: #9ef3bd;
}

.footer { padding: 30px 0 40px; }
.footer-shell { position: relative; overflow: hidden; border-radius: 36px; }
.footer-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(103,232,249,0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(168,85,247,0.16), transparent 26%),
    linear-gradient(to bottom, rgba(255,255,255,0.04), transparent);
  pointer-events: none;
}
.footer-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; padding: 32px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: 10px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.68);
  font-size: 14px;
}
.footer-links-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.footer-link-card { text-align: left; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); color: white; transition: 0.3s ease; }
.footer-link-card:hover { border-color: rgba(103,232,249,0.22); background: rgba(255,255,255,0.08); transform: translateY(-3px); }
.footer-bottom { position: relative; border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 32px; color: var(--muted-2); font-size: 13px; }

.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  filter: blur(10px);
  transition: opacity 0.9s cubic-bezier(.22,1,.36,1), transform 0.9s cubic-bezier(.22,1,.36,1), filter 0.9s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* 1080px — two-column layouts */
@media (max-width: 1080px) {
  .hero, .download-grid, .partner-grid, .footer-inner, .two-col, .workspace, .feature-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 960px — team grid drops to 2 */
@media (max-width: 960px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 860px — nav collapses, most grids go single column */
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .hero, .download-grid, .partner-grid, .two-col, .footer-inner,
  .workspace, .feature-grid, .stats, .footer-links-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
}

/* 640px — tighten padding */
@media (max-width: 640px) {
  .navbar { padding: 12px 16px; }
  .preview-card { padding: 20px; }
  .footer-inner { padding: 24px; }
  .footer-bottom { padding: 14px 24px; }
  .team-grid { grid-template-columns: 1fr; }
}

/* 480px — very small phones */
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .primary-btn,
  .hero-actions .secondary-btn { width: 100%; justify-content: center; }
  .section-head { flex-direction: column; }
}
