:root {
  --bg: #0b0f10;
  --bg-2: #12181a;
  --bg-3: #1a2225;
  --ink: #f4fafa;
  --muted: #8a9a9e;
  --line: rgba(255, 255, 255, 0.1);
  --mint: #12b5b8;
  --mint-deep: #0e9497;
  --mint-soft: rgba(18, 181, 184, 0.16);
  --teal: #0f3d45;
  --white: #ffffff;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Sora", "Plus Jakarta Sans", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.1rem, 3.5vw, 2.75rem);
  background: rgba(11, 15, 16, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 15, 16, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 64px;
  width: auto;
  display: block;
  /* PNG includes black canvas — knock it out on dark UI */
  mix-blend-mode: screen;
}

@media (min-width: 961px) {
  .brand img { height: 72px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a:not(.btn) {
  color: rgba(244, 250, 250, 0.78);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.55rem 0.85rem;
  transition: color 0.2s ease;
}

.nav-links a:not(.btn):hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-mint {
  background: var(--mint);
  color: #042c2e;
}

.btn-mint:hover { background: #1bc4c7; }

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.btn-white {
  background: #fff;
  color: #0b0f10;
}

.btn-white:hover { background: #eef6f6; }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding:
    clamp(7rem, 12vh, 8.5rem)
    clamp(1.1rem, 3.5vw, 2.75rem)
    clamp(3rem, 7vh, 5rem);
  background:
    linear-gradient(180deg, transparent 58%, var(--bg) 92%),
    radial-gradient(900px 480px at 90% 0%, rgba(18, 181, 184, 0.18), transparent 55%),
    radial-gradient(640px 320px at 8% 72%, rgba(15, 61, 69, 0.38), transparent 62%),
    var(--bg);
}

.hero-grid {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-brand {
  display: block;
  margin: 0 0 1.6rem;
  width: fit-content;
}

.hero-brand img {
  display: block;
  width: min(300px, 72vw);
  height: auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 28px rgba(18, 181, 184, 0.45));
}

.hero h1 {
  margin: 0 0 1.25rem;
  max-width: 11ch;
  font-family: var(--display);
  font-size: clamp(3rem, 6.4vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  font-weight: 700;
  color: #fff;
}

.hero-lead {
  margin: 0 0 1.9rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: rgba(244, 250, 250, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(244, 250, 250, 0.78);
  transition: color 0.2s ease;
}

.hero-secondary:hover { color: var(--mint); }

.hero-visual {
  position: relative;
  min-height: clamp(420px, 68vh, 620px);
  display: grid;
  place-items: center;
}

.device-stage {
  position: relative;
  width: min(420px, 100%);
  height: min(560px, 70vh);
}

.device-glow {
  position: absolute;
  inset: 12% 8%;
  background: radial-gradient(circle, rgba(18, 181, 184, 0.35), transparent 68%);
  filter: blur(36px);
}

/* Realistic phone shell */
.phone {
  position: relative;
  width: min(240px, 58vw);
  aspect-ratio: 9 / 19.2;
  padding: 11px;
  border-radius: 42px;
  background:
    linear-gradient(160deg, #3a3d42 0%, #1a1c1f 35%, #0b0c0e 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 0 2px rgba(0, 0, 0, 0.55),
    0 28px 70px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.phone::before {
  /* Dynamic Island */
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 4;
  width: 28%;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050505;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone::after {
  /* Home indicator */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 4;
  width: 34%;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.phone-btn {
  position: absolute;
  right: -2px;
  top: 22%;
  width: 3px;
  height: 42px;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(180deg, #4a4e54, #1c1e22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-btn.vol-up {
  left: -2px;
  right: auto;
  top: 18%;
  height: 28px;
  border-radius: 0 2px 2px 0;
}

.phone-btn.vol-down {
  left: -2px;
  right: auto;
  top: 28%;
  height: 28px;
  border-radius: 0 2px 2px 0;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #0f1415;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone.device-main {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  animation: float-y 7s ease-in-out infinite;
}

.phone.device-back-left {
  position: absolute;
  left: 0;
  top: 10%;
  transform: rotate(-11deg) scale(0.84);
  z-index: 1;
  opacity: 0.92;
  animation: float-y 8.5s ease-in-out infinite 0.35s;
}

.phone.device-back-right {
  position: absolute;
  right: 0;
  bottom: 2%;
  transform: rotate(9deg) scale(0.8);
  z-index: 2;
  opacity: 0.95;
  animation: float-y 9s ease-in-out infinite 0.7s;
}

.phone.phone-sm {
  width: min(220px, 64%);
}

.phone.phone-rail {
  width: min(190px, 44vw);
  flex: 0 0 auto;
}

.audience {
  width: min(1200px, calc(100% - 2.2rem));
  margin: 0 auto;
  padding: 0 0 2.5rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 1.35rem 0;
}

.marquee-label {
  width: min(1200px, calc(100% - 2.2rem));
  margin: 0 auto 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding-left: clamp(1.1rem, 3.5vw, 2.75rem);
  animation: marquee 32s linear infinite;
  font-family: var(--display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.marquee-track span { white-space: nowrap; }

.section {
  width: min(1200px, calc(100% - 2.2rem));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
}

.section h2 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  color: #fff;
}

.section-lead {
  margin: 0;
  max-width: 36rem;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--muted);
}

.pain-list {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.pain-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  color: rgba(244, 250, 250, 0.88);
  font-size: 1.05rem;
  line-height: 1.45;
}

.pain-list li::before {
  content: "→";
  color: var(--mint);
  font-weight: 700;
  flex: 0 0 auto;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.compare-col {
  border-radius: 28px;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.compare-col.is-accent {
  background: linear-gradient(160deg, rgba(18, 181, 184, 0.16), rgba(18, 181, 184, 0.04));
  border-color: rgba(18, 181, 184, 0.35);
}

.compare-col h3 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.compare-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.compare-col li {
  color: var(--muted);
  line-height: 1.5;
  padding-left: 1.1rem;
  position: relative;
}

.compare-col li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--mint);
}

.feature-stack {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
}

.feature-row.reverse { grid-template-columns: 0.9fr 1.1fr; }
.feature-row.reverse .feature-copy { order: 2; }

.feature-copy h3 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  letter-spacing: -0.04em;
}

.feature-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 34rem;
}

.feature-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.steps li {
  border-top: 1px solid var(--line);
  padding: 1.35rem 0.25rem 0;
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--mint);
}

.steps h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.shot-rail {
  overflow: hidden;
  padding: 0.5rem 0 1rem;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.shot-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 1.25rem clamp(1.1rem, 3.5vw, 2.75rem);
  animation: marquee 40s linear infinite;
}

.shot-track:hover { animation-play-state: paused; }

.shot-card {
  /* kept for compatibility; rail now uses .phone.phone-rail */
}

.dark-panel {
  margin-top: 2.5rem;
  border-radius: 32px;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  background:
    radial-gradient(500px 240px at 100% 0%, rgba(18, 181, 184, 0.22), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--line);
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.rank-grid strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.rank-grid span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.cta-band {
  width: min(1200px, calc(100% - 2.2rem));
  margin: 0 auto clamp(3.5rem, 8vw, 5.5rem);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 32px;
  background:
    radial-gradient(600px 220px at 0% 0%, rgba(18, 181, 184, 0.22), transparent 55%),
    var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-band h2 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.045em;
  max-width: 16ch;
}

.cta-band p {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer {
  padding: 1.75rem clamp(1.1rem, 3.5vw, 2.75rem) 2.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  font-weight: 600;
  color: rgba(244, 250, 250, 0.82);
}

.site-footer a:hover { color: var(--mint); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.hero-copy .reveal-item {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.8s ease forwards;
}

.hero-copy .reveal-item:nth-child(1) { animation-delay: 0.05s; }
.hero-copy .reveal-item:nth-child(2) { animation-delay: 0.16s; }
.hero-copy .reveal-item:nth-child(3) { animation-delay: 0.28s; }
.hero-copy .reveal-item:nth-child(4) { animation-delay: 0.4s; }
.hero-copy .reveal-item:nth-child(5) { animation-delay: 0.52s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@keyframes float-y {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 960px) {
  .hero-grid,
  .compare,
  .feature-row,
  .feature-row.reverse,
  .steps,
  .rank-grid {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-copy { order: 0; }
  .hero-visual { min-height: 400px; order: -1; }
  .device-stage { height: 420px; }
  .phone.device-main { width: min(200px, 52vw); }
  .phone.device-back-left,
  .phone.device-back-right { width: min(160px, 38vw); }
  .phone.phone-sm { width: min(200px, 70%); }
  .nav-links a:not(.btn) { display: none; }
  .hero h1 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone.device-main,
  .phone.device-back-left,
  .phone.device-back-right,
  .marquee-track,
  .shot-track,
  .reveal,
  .hero-copy .reveal-item {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
  }

  .phone.device-main { transform: translate(-50%, -50%) !important; }
  .phone.device-back-left { transform: rotate(-11deg) scale(0.84) !important; }
  .phone.device-back-right { transform: rotate(9deg) scale(0.8) !important; }
  .reveal,
  .hero-copy .reveal-item { transform: none !important; }
}
