:root {
  --bg: #000000;
  --surface: #0A0A0A;
  --surface2: #141414;
  --border: #1E1E1E;
  --text: #FFFFFF;
  --text-secondary: #CCCCCC;
  --muted: #888888;
  --purple: #A78BFA;
  --cyan: #22D3EE;
  --gradient: linear-gradient(90deg, var(--purple), var(--cyan));
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

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

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

/* ---- Nav ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
}
.nav-brand img { height: 26px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  color: var(--text-secondary);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 9px 18px;
  border-radius: 20px;
  background: var(--gradient);
  color: #000;
  font-weight: 700;
  font-size: 13px;
}
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 96px 24px 80px;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(167,139,250,0.20) 0%, rgba(34,211,238,0.10) 45%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-badge {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 0 auto 32px;
  animation: float 6s ease-in-out infinite;
}
.hero-badge img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 40px rgba(34,211,238,0.35)); }
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
  position: relative;
}
.hero p.subhead {
  max-width: 560px;
  margin: 0 auto 36px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
  position: relative;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.btn-primary {
  padding: 14px 28px;
  border-radius: 26px;
  background: var(--gradient);
  color: #000;
  font-weight: 700;
  font-size: 15px;
  display: inline-block;
}
.btn-secondary {
  padding: 14px 28px;
  border-radius: 26px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--cyan); }

/* ---- Section shared ---- */
section { padding: 72px 0; }
.eyebrow {
  color: var(--purple);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin: 0 0 14px; letter-spacing: -0.3px; }
.section-head p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0; }

/* ---- Feature grid ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: rgba(167,139,250,0.4); transform: translateY(-2px); }
.card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(167,139,250,0.10);
  margin-bottom: 18px;
  font-size: 20px;
}
.card h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }

/* ---- Philosophy / built-differently ---- */
.philosophy {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.philosophy .wrap { text-align: center; padding: 88px 24px; }
.philosophy .eyebrow { }
.philosophy blockquote {
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  max-width: 760px;
  margin: 18px auto 0;
  letter-spacing: -0.3px;
}
.philosophy blockquote span { color: var(--muted); font-weight: 500; }

/* ---- Download CTA ---- */
.download { text-align: center; }
.download h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin: 0 0 14px; }
.download p { color: var(--muted); margin: 0 0 32px; }
.store-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-link {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
}
.store-link:hover { border-color: var(--cyan); }
.store-link .store-sub { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }

/* ---- Footer ---- */
footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.footer-brand img { height: 18px; }
.footer-links { display: flex; gap: 24px; font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--muted); width: 100%; text-align: center; margin-top: 24px; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links { position: fixed; top: 64px; left: 0; right: 0; background: #000; border-bottom: 1px solid var(--border); flex-direction: column; align-items: flex-start; padding: 20px 24px; gap: 18px; display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge { animation: none; }
  html { scroll-behavior: auto; }
}
