:root {
  --black: #000000;
  --near-black: #060607;
  --dark-panel: #0c0c0e;
  --white: #ffffff;
  --off-white: #f5f5f7;
  --gray: #6e6e73;
  --light-gray: #c2c2c8;
  --accent: #5b8def;
  --accent2: #9a6bff;
  --accent3: #e69a6b;
  --serif-space: -0.035em;
  font-size: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  background: var(--black);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Cinematic overlay ---------- */
.cinema-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 300;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.65) 100%);
  mix-blend-mode: multiply;
}

.cinema-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 301;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Full-screen sections ---------- */
.screen-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
}

.kicker {
  color: var(--gray);
  font-weight: 500;
  margin-right: 10px;
  letter-spacing: 0.1em;
}

/* ---------- Nav ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.4s ease;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: var(--serif-space);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--light-gray);
  transition: color 0.25s ease;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-cta:hover { transform: scale(1.05); opacity: 0.9; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-links-mobile {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  transition: max-height 0.4s ease;
}

.nav-links-mobile.open { max-height: 400px; }

.nav-links-mobile li { border-top: 1px solid rgba(255,255,255,0.08); }

.nav-links-mobile a {
  display: block;
  padding: 16px 32px;
  font-size: 0.95rem;
  color: var(--light-gray);
}

.nav-links-mobile a:hover { color: var(--white); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

@media (min-width: 761px) {
  .nav-links-mobile { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 180px;
  overflow: hidden;
  scroll-snap-align: start;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(91,141,239,0.10), transparent 55%),
    radial-gradient(circle at 75% 30%, rgba(154,107,255,0.09), transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(230,154,107,0.05), transparent 55%),
    var(--black);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--gray);
  font-weight: 500;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(3.6rem, 13vw, 9.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
  background: linear-gradient(120deg, #fff 30%, #cfd9ff 55%, #9a6bff 75%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 220% 220%;
  animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  margin-top: 22px;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 300;
  color: var(--light-gray);
}

/* Phone stage */
.phone-stage {
  position: relative;
  z-index: 2;
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone {
  position: relative;
  width: 260px;
  height: 540px;
  border-radius: 46px;
  background: linear-gradient(160deg, #1c1c22, #050506 60%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 40px 90px rgba(0,0,0,0.6);
  animation: float 6s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

.phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(91,141,239,0.22), transparent 70%);
  filter: blur(30px);
  z-index: -1;
  animation: pulseGlow 5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.08); }
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #14141a, #000 80%);
}

.screen-wave {
  position: absolute;
  left: -50%;
  width: 200%;
  height: 200%;
  border-radius: 45%;
  opacity: 0.5;
}

.wave1 {
  top: 60%;
  background: linear-gradient(90deg, rgba(91,141,239,0.24), rgba(154,107,255,0.16));
  animation: rotateWave 12s linear infinite;
}
.wave2 {
  top: 65%;
  background: linear-gradient(90deg, rgba(154,107,255,0.16), rgba(230,154,107,0.12));
  animation: rotateWave 16s linear infinite reverse;
}
.wave3 {
  top: 70%;
  background: linear-gradient(90deg, rgba(230,154,107,0.1), rgba(91,141,239,0.14));
  animation: rotateWave 20s linear infinite;
}

@keyframes rotateWave {
  0% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(2%, -1%) rotate(180deg); }
  100% { transform: translate(0,0) rotate(360deg); }
}

.screen-orb {
  position: absolute;
  top: 38%;
  left: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--accent) 40%, var(--accent2) 80%);
  box-shadow: 0 0 46px rgba(91,141,239,0.65);
  animation: orbPulse 3.2s ease-in-out infinite;
}

@keyframes orbPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.15); }
}

.phone-shadow {
  width: 200px;
  height: 30px;
  margin-top: 30px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.55), transparent 70%);
  filter: blur(4px);
}

.scroll-cue {
  position: relative;
  z-index: 2;
  margin: 70px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gray);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gray), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ---------- Philosophy ---------- */
.philosophy {
  padding: 24px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--black);
}

.quote {
  font-size: clamp(2.2rem, 6.4vw, 4.6rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: var(--serif-space);
}

.quote-sub {
  margin-top: 32px;
  font-size: 1.1rem;
  color: var(--gray);
  font-weight: 300;
}

/* ---------- Feature sections ---------- */
.feature {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 110px;
  padding: 100px 8vw;
  flex-wrap: wrap;
}

.feature-dark { background: var(--near-black); }
.feature-light {
  background: linear-gradient(180deg, #08080a, #000);
}

.feature-text {
  flex: 1 1 380px;
  max-width: 500px;
}

.feature-text .eyebrow {
  display: flex;
  align-items: center;
}

.feature-text h2 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 26px;
}

.feature-copy {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--light-gray);
  max-width: 42ch;
}

.feature-visual {
  flex: 1 1 380px;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-first { order: -1; }

/* Glass panel visual */
.glass-panel {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1.1;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.15);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.glass-shimmer {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(91,141,239,0.18) 60deg, transparent 140deg, rgba(154,107,255,0.18) 220deg, transparent 320deg);
  animation: spin 10s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Orb field (AI) */
.orb-field {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-core {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--accent) 45%, var(--accent2) 90%);
  box-shadow: 0 0 60px rgba(91,141,239,0.5);
  animation: orbPulse 3s ease-in-out infinite;
  z-index: 2;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
}

.r1 { width: 160px; height: 160px; animation: spin 14s linear infinite; }
.r2 { width: 230px; height: 230px; border-style: dashed; animation: spin 22s linear infinite reverse; }
.r3 { width: 300px; height: 300px; animation: spin 30s linear infinite; }

/* Material block (design) */
.material-block {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1/1;
  border-radius: 28px;
  background: linear-gradient(150deg, #2a2a30, #08080a 70%);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.material-sheen {
  position: absolute;
  top: 0; left: -60%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: sheen 4.5s ease-in-out infinite;
}

@keyframes sheen {
  0% { left: -60%; }
  50% { left: 120%; }
  100% { left: 120%; }
}

/* Lens stack (capture) */
.lens-stack {
  position: relative;
  width: 260px;
  height: 260px;
}

.lens {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3a3a42, #0a0a0c 70%);
  border: 1px solid rgba(255,255,255,0.12);
}

.l1 { width: 220px; height: 220px; top: 20px; left: 20px; }
.l2 { width: 150px; height: 150px; top: 55px; left: 55px; background: radial-gradient(circle at 35% 30%, var(--accent), #0a0a0c 70%); opacity: 0.7; }
.l3 { width: 80px; height: 80px; top: 90px; left: 90px; background: radial-gradient(circle at 35% 30%, #fff, var(--accent2) 60%); box-shadow: 0 0 42px rgba(154,107,255,0.45); }

/* ---------- Specs ---------- */
.specs {
  padding: 24px;
  text-align: center;
  background: var(--black);
}

.specs .eyebrow {
  justify-content: center;
  display: flex;
}

.specs h2 {
  font-size: clamp(2.2rem, 5.4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 20px 0 100px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.spec-value {
  display: block;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 700;
  background: linear-gradient(120deg, #fff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.spec-label {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 300;
}

/* ---------- Preorder ---------- */
.preorder {
  padding: 24px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(91,141,239,0.10), transparent 60%), var(--black);
}

.preorder .eyebrow {
  justify-content: center;
  display: flex;
}

.preorder h2 {
  font-size: clamp(2.4rem, 6.4vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 20px 0 24px;
}

.preorder > p:not(.eyebrow):not(.fine-print) {
  font-size: 1.1rem;
  color: var(--light-gray);
  font-weight: 300;
  margin-bottom: 48px;
}

.cta-button {
  display: inline-block;
  padding: 18px 42px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-weight: 600;
  font-size: 1.05rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(91,141,239,0.3);
}

.fine-print {
  margin-top: 28px;
  font-size: 0.78rem;
  color: #4a4a4e;
}

/* ---------- Footer ---------- */
footer {
  padding: 50px 24px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--gray);
  font-size: 0.8rem;
}

.footer-year {
  margin-top: 8px;
  letter-spacing: 0.2em;
  color: #444448;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 700px) {
  html { scroll-snap-type: none; }
  .screen-section { min-height: auto; }
  .hero { min-height: 100vh; }
  .feature { padding: 100px 6vw; gap: 60px; }
  .philosophy { padding: 100px 20px; }
  .specs { padding: 100px 20px; }
  .preorder { padding: 100px 20px; }
}
