:root {
  --accent-light: #6e6e73;
  --accent: #3a3a3d;
  --accent-dark: #0b0b0c;
  --bg: #ffffff;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --radius: 22px;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Nav ---------- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 52px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, background 0.4s ease;
}
#nav.scrolled {
  border-bottom-color: rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 12px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-buy {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 980px;
  background: var(--ink);
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav-buy:hover { background: #000; transform: translateY(-1px); }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 60px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, #f5f5f7 0%, #e8e8ea 55%, #dcdce0 100%);
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,0.9), transparent 60%);
  pointer-events: none;
}
.hero-orb-wrap {
  width: min(60vw, 520px);
  margin-bottom: 24px;
  will-change: transform;
}
.hero-orb {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.18));
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.eyebrow.light { color: rgba(255,255,255,0.7); }
.eyebrow.center { text-align: center; }
h1 {
  font-size: clamp(44px, 9vw, 96px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.4;
}
.hero-cta {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 17px;
  padding: 12px 24px;
  border-radius: 980px;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: #0071e3;
  color: #fff;
}
.btn-primary:hover { background: #0077ed; transform: translateY(-1px); }
.btn-primary.large { font-size: 19px; padding: 16px 34px; }
.btn-link { color: #0071e3; }
.btn-link:hover { transform: translateX(2px); }

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 40px;
  border: 2px solid rgba(0,0,0,0.2);
  border-radius: 14px;
}
.scroll-hint span {
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: rgba(0,0,0,0.35);
  border-radius: 2px;
  animation: scrollhint 1.6s infinite ease;
}
@keyframes scrollhint {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  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);
}

/* ---------- Generic section ---------- */
.section {
  padding: 120px 20px;
  max-width: 1024px;
  margin: 0 auto;
}
h2 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 20px;
}
h2.center, .eyebrow.center, .body-text.center { text-align: center; }
.body-text {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 480px;
}
.body-text.center { max-width: 560px; margin: 0 auto; }
.body-text.light { color: rgba(255,255,255,0.7); }

/* ---------- Design split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-visual { display: flex; justify-content: center; }
.design-cross { width: min(100%, 340px); }
@media (max-width: 780px) {
  .split { grid-template-columns: 1fr; text-align: center; }
  .body-text { margin: 0 auto; }
  .split-visual { order: -1; }
}

/* ---------- Sound section ---------- */
.sound {
  max-width: none;
  background: linear-gradient(160deg, #0b0b0c 0%, #1d1d1f 55%, #2a2a2d 100%);
  color: #fff;
  padding: 140px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}
.sound-copy { text-align: center; max-width: 620px; }
.sound-copy h2 { margin-bottom: 16px; }
.sound-copy .body-text { max-width: 560px; margin: 0 auto; }
.waveform {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
}
.bar {
  width: 6px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--accent-light), var(--accent));
  animation: wave 1.6s ease-in-out infinite;
}
.bar:nth-child(1){height:30%;animation-delay:0s}
.bar:nth-child(2){height:60%;animation-delay:.05s}
.bar:nth-child(3){height:90%;animation-delay:.1s}
.bar:nth-child(4){height:45%;animation-delay:.15s}
.bar:nth-child(5){height:75%;animation-delay:.2s}
.bar:nth-child(6){height:100%;animation-delay:.25s}
.bar:nth-child(7){height:55%;animation-delay:.3s}
.bar:nth-child(8){height:80%;animation-delay:.35s}
.bar:nth-child(9){height:35%;animation-delay:.4s}
.bar:nth-child(10){height:65%;animation-delay:.45s}
.bar:nth-child(11){height:95%;animation-delay:.5s}
.bar:nth-child(12){height:40%;animation-delay:.45s}
.bar:nth-child(13){height:70%;animation-delay:.4s}
.bar:nth-child(14){height:100%;animation-delay:.35s}
.bar:nth-child(15){height:50%;animation-delay:.3s}
.bar:nth-child(16){height:85%;animation-delay:.25s}
.bar:nth-child(17){height:30%;animation-delay:.2s}
.bar:nth-child(18){height:90%;animation-delay:.15s}
.bar:nth-child(19){height:55%;animation-delay:.1s}
.bar:nth-child(20){height:65%;animation-delay:.05s}
@keyframes wave {
  0%, 100% { transform: scaleY(0.5); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- Intelligence ---------- */
.intel-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.intel-card {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius);
  background: #f5f5f7;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.intel-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.intel-icon { font-size: 30px; margin-bottom: 12px; color: var(--accent); }
.intel-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.intel-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.4; }
@media (max-width: 780px) {
  .intel-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .intel-grid { grid-template-columns: 1fr; }
}

/* ---------- Colors ---------- */
.color-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 48px 0 32px;
}
.color-orb { width: min(60vw, 260px); transition: filter 0.3s ease; }
.color-name {
  margin-top: 16px;
  font-size: 19px;
  font-weight: 600;
}
.swatches {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sw);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25) inset, 0 2px 6px rgba(0,0,0,0.15);
}
.swatch:hover { transform: scale(1.12); }
.swatch[aria-pressed="true"] { border-color: var(--ink); }
@media (max-width: 600px) {
  .swatch { width: 44px; height: 44px; }
}

/* ---------- Specs ---------- */
.specs-grid {
  margin-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 15px;
}
.spec-row span:first-child {
  font-weight: 600;
  color: var(--ink);
  flex: 0 0 200px;
}
.spec-row span:last-child {
  color: var(--ink-soft);
  text-align: right;
}
@media (max-width: 600px) {
  .spec-row { flex-direction: column; gap: 4px; }
  .spec-row span:first-child { flex: none; }
  .spec-row span:last-child { text-align: left; }
}

/* ---------- Buy ---------- */
.buy { text-align: center; padding-bottom: 140px; }
.buy .btn { margin-top: 20px; }

/* ---------- Footer ---------- */
.footer {
  padding: 40px 20px 60px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
  border-top: 1px solid rgba(0,0,0,0.08);
}
.footer-copy { margin-top: 6px; }
