:root {
  --bg: #050507;
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(8, 8, 12, 0.55);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0;
  min-height: 100%;
  background: #050507;
  color: var(--fg);
  font-family: "Montserrat", system-ui, sans-serif;
  color-scheme: dark;
}
body { position: relative; }
body.locked { overflow: hidden; }

.aurora-stack {
  position: fixed;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
}
.aurora {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 5.5s ease;
  background-size: 100% 100%;
}
.aurora.on { opacity: 0.55; }
.aurora.p-warm {
  background:
    radial-gradient(ellipse 70% 55% at 18% 8%, #ff2d55 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 12%, #ff9500 0%, transparent 52%),
    radial-gradient(ellipse 50% 40% at 50% 100%, #ffcc00 0%, transparent 55%);
}
.aurora.p-mint {
  background:
    radial-gradient(ellipse 70% 55% at 18% 8%, #0e7c7b 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 12%, #2ec4b6 0%, transparent 52%),
    radial-gradient(ellipse 50% 40% at 50% 100%, #9ef01a 0%, transparent 55%);
}
.aurora.p-aqua {
  background:
    radial-gradient(ellipse 70% 55% at 18% 8%, #0077b6 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 12%, #00b4d8 0%, transparent 52%),
    radial-gradient(ellipse 50% 40% at 50% 100%, #90e0ef 0%, transparent 55%);
}
.aurora.p-ocean {
  background:
    radial-gradient(ellipse 70% 55% at 18% 8%, #005f73 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 12%, #0a9396 0%, transparent 52%),
    radial-gradient(ellipse 50% 40% at 50% 100%, #48cae4 0%, transparent 55%);
}
.aurora.p-sky {
  background:
    radial-gradient(ellipse 70% 55% at 18% 8%, #01497c 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 12%, #61a5c2 0%, transparent 52%),
    radial-gradient(ellipse 50% 40% at 50% 100%, #a9d6e5 0%, transparent 55%);
}
.aurora-veil {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,5,7,0.22), rgba(5,5,7,0.78) 58%, #050507 100%);
}

.page {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: calc(16px + var(--safe-top)) 18px calc(32px + var(--safe-bottom));
  display: grid;
  gap: 16px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
  color: #fff;
}
.pill {
  color: #111;
  background: #fff;
  border: 0;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.hero {
  padding: 6px 2px 4px;
  display: grid;
  gap: 8px;
  justify-items: center;
}
.hero-copy { width: 100%; }
.kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
h1 {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 4.6vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: #fff;
  max-width: 16ch;
}
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 500;
  max-width: 46ch;
}

.product {
  display: grid;
  gap: 12px;
}
.shot-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #050507;
}
.shot-card img {
  display: block;
  width: 100%;
  height: auto;
}
.shot-pair {
  display: grid;
  gap: 10px;
  padding: 10px;
  background: rgba(12, 12, 16, 0.78);
}
.shot-pair img {
  border-radius: 14px;
  border: 1px solid var(--line);
}
.card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(12, 12, 16, 0.78);
  padding: 20px 18px;
}
.card h2 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
  font-weight: 500;
}
.ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.ico svg, .points svg, .btn svg, .sheet-close svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn .wa-logo {
  width: 22px;
  height: 22px;
  stroke: none;
  fill: #25d366;
}
.orb-host {
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
}
.orb-host canvas {
  display: block;
  background: transparent !important;
}

.points {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.points li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
}

.video-card .video-frame { margin-top: 16px; }
.video-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
  aspect-ratio: 16 / 9;
  position: relative;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
  padding: 16px;
  font-weight: 500;
}
.video-ph svg { width: 42px; height: 42px; stroke: #fff; fill: none; stroke-width: 1.6; }

.cta {
  display: grid;
  gap: 10px;
}
.cta-hint {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  color: #111;
  background: #fff;
}
.btn:active { transform: scale(0.98); }
.btn-whats {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid var(--line);
}
.btn-whats:not([aria-disabled="true"]) {
  background: #fff;
  color: #111;
  border-color: #fff;
}
.btn-whats:not([aria-disabled="true"]) .wa-logo { fill: #111; }
.btn[aria-disabled="true"] {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  padding: 12px;
}
.overlay.open { display: flex; }
.sheet {
  width: min(520px, 100%);
  max-height: min(90dvh, 820px);
  overflow: auto;
  border-radius: 22px 22px 16px 16px;
  border: 1px solid var(--line);
  background: #121218;
  padding: 16px 16px 20px;
  color: #fff;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.7) transparent;
}
.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.sheet-head h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.sheet-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
}
.sheet-lead {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 500;
}

form { display: grid; gap: 14px; margin-top: 14px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; }
.field span, .field legend {
  font-size: 0.78rem;
  font-weight: 650;
  color: #fff;
}
.field input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  outline: none;
}
.field input:focus { border-color: rgba(255,255,255,0.4); }
.field input::placeholder { color: rgba(255,255,255,0.35); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
  min-height: 42px;
}
.chip.on {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0 2px;
}
.tog-title { font-size: 0.9rem; font-weight: 700; color: #fff; }
.tog-sub { font-size: 0.75rem; color: var(--muted); margin-top: 2px; font-weight: 500; }

.apple-toggle {
  width: 52px;
  height: 32px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.18);
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.apple-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
  transition: transform 0.2s ease;
}
.apple-toggle[aria-pressed="true"] { background: #34c759; }
.apple-toggle[aria-pressed="true"]::after { transform: translateX(20px); }

.form-msg {
  margin: 0;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 600;
}
.form-msg.ok { color: #2ee59d; }
.form-msg.err { color: #ff8aa0; }

.foot { text-align: center; padding: 10px 0 4px; }
.foot p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}

@media (min-width: 860px) {
  .page {
    padding: 28px 32px 48px;
    gap: 22px;
  }
  .brand { font-size: 1.2rem; }
  .hero {
    padding: 18px 0 8px;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
    gap: 24px;
  }
  .orb-host { width: 300px; height: 300px; }
  .page { width: min(100%, 1180px); }
  .lead { max-width: 52ch; }
  .shot-pair { gap: 14px; padding: 14px; }
  .points {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
  }
  .points li {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .cta {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    max-width: 640px;
    margin: 8px auto 0;
  }
  .cta-hint { grid-column: 1 / -1; }
  .overlay { align-items: center; }
  .sheet {
    border-radius: 22px;
    padding: 22px;
  }
}
