:root {
  --abyss: #081220;
  --abyss-deep: #050D14;
  --surface: #12212E;
  --surface-raised: #1A2E3D;
  --hairline: rgba(255, 255, 255, 0.08);

  --aqua: #2ECCEB;
  --teal: #1A9EC7;
  --splash: #73E6F2;
  --success: #4DDBA8;

  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.64);
  --text-3: rgba(255, 255, 255, 0.4);

  --maxw: 1120px;
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 30px;

  --font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--abyss-deep);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Ambient background ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 50% -8%, rgba(46, 204, 235, 0.18), transparent 60%),
    radial-gradient(700px 500px at 85% 12%, rgba(26, 158, 199, 0.12), transparent 55%),
    linear-gradient(180deg, var(--abyss-deep), var(--abyss) 40%, #04121a 100%);
}

#bubbles {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font);
  font-weight: 800;
  color: var(--abyss-deep);
  background: linear-gradient(135deg, var(--splash), var(--aqua) 55%, var(--teal));
  border: none;
  border-radius: 999px;
  padding: 0.7em 1.3em;
  cursor: pointer;
  font-size: 0.95rem;
  box-shadow: 0 8px 26px rgba(46, 204, 235, 0.32);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(46, 204, 235, 0.45); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn-lg { font-size: 1.05rem; padding: 0.95em 1.7em; }
.btn-sm { padding: 0.55em 1.05em; font-size: 0.9rem; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--hairline);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--aqua); box-shadow: none; background: rgba(46,204,235,0.06); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(5, 13, 20, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 900; }
.brand-drop { display: grid; place-items: center; filter: drop-shadow(0 4px 10px rgba(46,204,235,0.4)); }
.brand-name { font-size: 1.2rem; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 1.5rem; margin-left: auto; font-weight: 700; color: var(--text-2); font-size: 0.95rem; }
.nav-links a:hover { color: var(--aqua); }
.nav .btn-sm { margin-left: 0; }
@media (max-width: 720px) { .nav-links { display: none; } .nav .btn-sm { margin-left: auto; } }

/* ---------- Generic ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--aqua);
  margin-bottom: 0.9rem;
}
.grad {
  background: linear-gradient(120deg, var(--splash), var(--aqua) 50%, var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fineprint { color: var(--text-3); font-size: 0.85rem; margin-top: 1rem; font-weight: 600; }

.section-head { text-align: center; max-width: 620px; margin: 0 auto clamp(2rem, 5vw, 3.5rem); }
.section-head h2, .features h2, .honest h2, .cta h2, .story h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem) clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  min-height: 82vh;
}
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin-bottom: 1.2rem;
}
.hero-title .line { display: block; }
.hero-title .char { display: inline-block; will-change: transform; opacity: 0; }
[data-hero] { opacity: 0; }
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text-2); max-width: 30ch; }
.lede strong { color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

.hero-art { display: grid; place-items: center; position: relative; }
.hero-bottle-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: min(360px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(46,204,235,0.22), transparent 62%);
}
.hero-mascot {
  filter: drop-shadow(0 24px 40px rgba(8, 50, 70, 0.6));
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
.hero-mascot:active { cursor: grabbing; }
.mascot-body { transform-box: fill-box; transform-origin: 50% 90%; }
.mascot-eyes { transform-box: fill-box; transform-origin: center; }
.mascot-field .ring { transform-box: fill-box; transform-origin: center; }

.drag-hint {
  position: absolute;
  bottom: 8%;
  right: 6%;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aqua);
  background: rgba(46, 204, 235, 0.1);
  border: 1px solid rgba(46, 204, 235, 0.3);
  padding: 0.35em 0.7em;
  border-radius: 999px;
  pointer-events: none;
  white-space: nowrap;
}

.scroll-hint {
  position: absolute;
  bottom: -1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--text-3); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em;
}
.scroll-dot { width: 22px; height: 36px; border: 2px solid var(--text-3); border-radius: 12px; position: relative; }
.scroll-dot::after {
  content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 4px; background: var(--aqua);
  animation: scrolldot 1.6s infinite;
}
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } 100% { opacity: 0; } }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; text-align: center; min-height: auto; }
  .lede { max-width: none; margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { margin-top: 1rem; }
}

/* ---------- Pinned scroll story ---------- */
.story { position: relative; height: 420vh; }
.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.stage-inner {
  position: relative;
  width: min(var(--maxw), 92vw);
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

/* captions stacked, faded in/out by JS */
.captions { position: relative; height: 280px; }
.caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  max-width: 26rem;
}
.caption .step-num {
  font-size: 0.9rem; font-weight: 900; letter-spacing: 0.2em;
  color: var(--aqua); margin-bottom: 0.8rem;
}
.caption h2 { margin-bottom: 0.8rem; }
.caption p { color: var(--text-2); font-size: 1.1rem; }

/* prop stage (bottle + tag + phone + ripples) */
.props { position: relative; height: 460px; display: grid; place-items: center; }
.prop-bottle { position: relative; z-index: 2; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.45)); }
.water-fill, .water-wave { transform: translateY(0); }

.prop-tag {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 46%;
  margin-left: -45px;
  margin-top: -45px;
  transform: scale(0);
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.5));
}
.prop-phone {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  margin-left: -75px;
  margin-top: -150px;
  transform: translate(190px, 160px);
  opacity: 0;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,0.55));
}
.ripples {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 46%;
  width: 10px; height: 10px;
  margin-left: -5px;
  margin-top: -5px;
  opacity: 0;
}
.ripples span {
  position: absolute;
  left: 50%; top: 50%;
  width: 60px; height: 60px;
  margin: -30px 0 0 -30px;
  border: 2.5px solid var(--aqua);
  border-radius: 50%;
  opacity: 0;
}
.burst {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 46%;
  width: 1px;
  height: 1px;
}
.burst span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--splash), var(--aqua));
  opacity: 0;
  box-shadow: 0 0 12px rgba(115, 230, 242, 0.7);
}
.amount {
  position: absolute;
  z-index: 5;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
}
.amount-num { font-size: 3rem; font-weight: 900; letter-spacing: -0.02em; }
.amount-unit { font-size: 1.3rem; font-weight: 800; color: var(--text-2); margin-left: 0.15rem; }
.amount-goal { display: block; color: var(--text-3); font-weight: 700; font-size: 0.85rem; margin-top: 0.2rem; }

@media (max-width: 880px) {
  .story { height: 460vh; }
  .stage-inner { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 1rem; text-align: center; }
  .captions { height: 170px; }
  .caption { align-items: center; max-width: none; }
  .caption h2 { font-size: 1.7rem; }
  .props { height: 380px; transform: scale(0.85); }
}

/* ---------- Features ---------- */
.features {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 4vw, 2.5rem);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.card {
  background: linear-gradient(180deg, var(--surface), var(--abyss));
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 1.8rem 1.6rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card[data-card] { opacity: 0; }
.card:hover { transform: translateY(-5px); border-color: rgba(46,204,235,0.4); box-shadow: 0 18px 40px rgba(0,0,0,0.4); }
.card-ic {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center;
  color: var(--aqua);
  background: rgba(46, 204, 235, 0.12);
  border: 1px solid rgba(46,204,235,0.25);
  margin-bottom: 1.1rem;
}
.card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.5rem; }
.card p { color: var(--text-2); font-size: 0.98rem; }
@media (max-width: 880px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

/* ---------- Honest ---------- */
.honest {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 2.5rem);
}
.honest-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: radial-gradient(600px 300px at 50% 0%, rgba(46,204,235,0.1), transparent 70%);
}
.honest-lede { color: var(--text-2); font-size: 1.15rem; max-width: 56ch; margin: 1.2rem auto 2rem; }
.honest-list {
  list-style: none;
  display: inline-flex;
  flex-direction: column;
  gap: 0.8rem;
  text-align: left;
  font-weight: 700;
  color: var(--text);
}
.honest-list li { display: flex; align-items: center; gap: 0.8rem; }
.honest-list span { font-size: 1.3rem; }

/* ---------- CTA ---------- */
.cta { padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2.5rem) clamp(4rem, 8vw, 7rem); }
.cta-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, var(--surface-raised), var(--surface));
  border: 1px solid rgba(46,204,235,0.25);
  border-radius: var(--r-lg);
  padding: clamp(2.2rem, 5vw, 3.5rem);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.cta-mascot { filter: drop-shadow(0 12px 24px rgba(8,50,70,0.6)); margin-bottom: 0.5rem; }
.cta-card h2 { margin-bottom: 0.7rem; }
.cta-card > p { color: var(--text-2); font-size: 1.1rem; max-width: 40ch; margin: 0 auto 1.8rem; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem);
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand .brand-name { font-size: 1.3rem; font-weight: 900; }
.footer-brand p { color: var(--text-3); font-weight: 700; font-size: 0.9rem; }
.copyright { color: var(--text-3); font-size: 0.85rem; font-weight: 600; }

/* ---------- Reveal base state ---------- */
.reveal { opacity: 0; transform: translateY(28px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  [data-hero],
  .hero-title .char,
  .card[data-card] { opacity: 1 !important; transform: none !important; }
  .drag-hint { display: none; }
  .scroll-dot::after { animation: none; }
}
