:root {
  --navy: #010d4f;
  --navy-2: #0a1a6b;
  --navy-3: #122270;
  --ink: #060428;
  --accent: #ffc94d;
  --accent-2: #ffb020;
  --wool: #fbf6ee;
  --muted: rgba(251, 246, 238, 0.72);
  --line: rgba(255, 255, 255, 0.1);
  --danger: #ff6b6b;
  --ok: #4ade80;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  color: var(--wool);
  background: radial-gradient(1200px 600px at 75% -10%, #1b2c9a 0%, transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%);
  background-color: var(--navy);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.1; margin: 0 0 0.5em; font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4.5vw, 44px); text-align: center; }
section { padding: 72px 20px; max-width: 1120px; margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 20px; max-width: 1120px; margin: 0 auto;
  background: rgba(1, 13, 79, 0.72); border-radius: 0 0 18px 18px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--wool); text-decoration: none; font-weight: 900; font-size: 20px; }
.brand img { border-radius: 9px; }
.nav-cta { background: var(--accent); color: var(--navy); font-weight: 800; padding: 9px 16px; border-radius: 999px; text-decoration: none; font-size: 15px; }

/* HERO */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-top: 48px; }
.eyebrow { display: inline-block; color: var(--navy); background: var(--accent); font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 999px; margin: 0 0 18px; text-transform: uppercase; letter-spacing: 0.06em; }
h1 { font-size: clamp(40px, 7vw, 76px); }
.hl { color: var(--accent); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 560px; }
.small { font-size: 14px; color: rgba(251, 246, 238, 0.55); margin-top: 10px; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 340px; }
.glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 201, 77, 0.45), transparent 65%); filter: blur(20px); }
.hero-icon { position: relative; width: min(340px, 80vw); height: auto; aspect-ratio: 1; border-radius: 22%; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }

/* FORM */
.signup { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; max-width: 540px; }
.signup input[type="email"] {
  flex: 1 1 240px; min-width: 0; font: inherit; font-size: 17px; padding: 15px 18px; border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.06); color: var(--wool); outline: none;
}
.signup input[type="email"]:focus { border-color: var(--accent); }
.signup input::placeholder { color: rgba(251, 246, 238, 0.4); }
.signup button {
  flex: 0 0 auto; font: inherit; font-weight: 900; font-size: 17px; padding: 15px 22px; border-radius: 14px; border: 0;
  background: var(--accent); color: var(--navy); cursor: pointer; transition: transform 0.15s, background 0.15s;
}
.signup button:hover { background: var(--accent-2); transform: translateY(-1px); }
.signup button:disabled { opacity: 0.6; cursor: wait; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: rgba(251, 246, 238, 0.65); width: 100%; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.form-msg { width: 100%; margin: 0; font-weight: 800; min-height: 1.4em; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--danger); }
.signup-center { margin-left: auto; margin-right: auto; justify-content: center; }

/* STATS */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 24px; }
.stat { background: rgba(18, 34, 112, 0.55); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat strong { display: block; font-size: 34px; color: var(--accent); font-weight: 900; }
.stat span { color: var(--muted); }
.source { grid-column: 1 / -1; text-align: center; font-size: 13px; color: rgba(251, 246, 238, 0.45); margin: 4px 0 0; }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.step h3 { font-size: 22px; margin-top: 22px; display: flex; gap: 10px; align-items: center; }
.step p { color: var(--muted); margin: 0; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--navy); font-size: 16px; flex: none; }

.phone {
  width: 100%; max-width: 260px; aspect-ratio: 9 / 18.5; margin: 0 auto; padding: 10px; border-radius: 40px;
  background: #0b0b16; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 2px #2a2a3a;
}
.screen { height: 100%; border-radius: 31px; overflow: hidden; padding: 34px 16px 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.ph-title { font-weight: 900; font-size: 18px; margin: 4px 0; }
.ph-btn { margin-top: auto; width: 100%; background: var(--accent); color: var(--navy); font-weight: 900; padding: 11px; border-radius: 12px; font-size: 14px; }
.ph-link { color: rgba(251, 246, 238, 0.6); font-size: 13px; font-weight: 700; }

.screen-picker { background: linear-gradient(180deg, var(--navy), var(--ink)); }
.app-list { list-style: none; padding: 0; margin: 6px 0 0; width: 100%; display: grid; gap: 8px; }
.app-list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; background: rgba(255, 255, 255, 0.07); border-radius: 12px; font-weight: 800; font-size: 14px; }
.app-ic { width: 26px; height: 26px; border-radius: 8px; flex: none; }
.tiktok { background: linear-gradient(135deg, #111 40%, #25f4ee 41%, #111 55%, #fe2c55 56%, #111 70%); }
.insta { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.yt { background: #ff0000; }
.fb { background: #1877f2; }
.check { margin-left: auto; color: var(--accent); }
.check.off { color: rgba(255, 255, 255, 0.35); }

.screen-shield { background: radial-gradient(400px 300px at 50% 0%, #1b2c9a, var(--navy)); }
.shield-wolf { width: 84px; height: 84px; border-radius: 20px; margin-top: 10px; }
.shield-title { font-weight: 900; font-size: 17px; margin: 6px 0 0; min-height: 3em; transition: opacity 0.3s; }
.shield-sub { font-size: 13px; color: rgba(251, 246, 238, 0.75); margin: 0; }

.screen-game { background: linear-gradient(180deg, var(--navy), var(--ink)); }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; font-size: 26px; }
.mini-grid span { background: rgba(255, 255, 255, 0.07); border-radius: 10px; padding: 4px 0; }
.pill-row { display: flex; gap: 6px; width: 100%; margin-top: auto; }
.pill-row span { flex: 1; background: rgba(255, 255, 255, 0.1); padding: 9px 0; border-radius: 10px; font-weight: 800; font-size: 13px; }
.pill-row span:first-child { background: var(--accent); color: var(--navy); }

/* SHEEP */
.sheep { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.sheep-text h2 { text-align: left; }
.sheep-text p { color: var(--muted); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-weight: 800; }
.sheep-card { background: rgba(18, 34, 112, 0.6); border: 1px solid var(--line); border-radius: 28px; padding: 26px; }
.sheep-head { display: flex; gap: 16px; align-items: center; }
.sheep-emoji { font-size: 64px; line-height: 1; transition: transform 0.3s; }
.sheep-label { font-size: 24px; font-weight: 900; margin: 0; }
.sheep-mood { margin: 2px 0 0; color: var(--muted); }
.bar { height: 14px; background: rgba(255, 255, 255, 0.1); border-radius: 999px; overflow: hidden; margin: 20px 0 22px; }
.bar-fill { height: 100%; background: var(--ok); border-radius: 999px; transition: width 0.3s, background 0.3s; }
.slider-label { display: block; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.slider-label strong { color: var(--accent); }
input[type="range"] { width: 100%; accent-color: var(--accent); }

/* GAME */
.game { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; max-width: 560px; margin: 30px auto 0; }
.game button {
  aspect-ratio: 1; font-size: clamp(22px, 5vw, 34px); border: 0; border-radius: 14px; cursor: pointer;
  background: rgba(255, 255, 255, 0.07); transition: transform 0.12s, background 0.12s; padding: 0;
}
.game button:hover { background: rgba(255, 255, 255, 0.14); transform: scale(1.06); }
.game button.shake { animation: shake 0.35s; }
.game button.found { background: var(--accent); transform: scale(1.12); }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.game-msg { text-align: center; font-weight: 900; color: var(--accent); font-size: 18px; min-height: 1.6em; }
.game-msg a { color: var(--accent); }

/* FAQ */
.faq { max-width: 760px; }
.faq details { background: rgba(18, 34, 112, 0.5); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin-top: 12px; }
.faq summary { font-weight: 900; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* CTA */
.cta { text-align: center; }
.cta-icon { margin: 0 auto 18px; border-radius: 22px; box-shadow: 0 0 60px rgba(255, 201, 77, 0.35); }
.cta .consent { justify-content: center; text-align: left; max-width: 540px; }

.footer { text-align: center; padding: 30px 20px 50px; color: rgba(251, 246, 238, 0.45); font-size: 14px; }
.footer a { color: inherit; }

/* MOBILE */
@media (max-width: 860px) {
  section { padding: 56px 16px; }
  .hero { grid-template-columns: 1fr; text-align: left; padding-top: 24px; }
  .hero-art { order: -1; min-height: 170px; justify-items: start; }
  .hero-icon { width: 150px; }
  .glow { width: 200px; height: 200px; left: -20px; }
  .hero { gap: 18px; }
  .stats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .sheep { grid-template-columns: 1fr; }
  .game { grid-template-columns: repeat(6, 1fr); }
  .signup button { flex: 1 1 100%; }
  .nav { padding: 10px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-icon { animation: none; }
  html { scroll-behavior: auto; }
}
