/* ===== Pookie Talkie — site styles ===== */
:root {
  --bg: #05070b;
  --bg-2: #0a0e15;
  --panel: rgba(20, 25, 34, 0.72);
  --panel-solid: #12161d;
  --panel-2: #171c24;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eef2f8;
  --muted: #97a3b6;
  --muted-2: #6b7688;
  --amber: #ffb020;
  --green: #35d07f;
  --orange: #ff6a2b;
  --red: #ff4d4d;
  --brand-grad: linear-gradient(100deg, #ff8a3d, #ffb020);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 10px 40px rgba(255, 106, 43, 0.25);
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Space Grotesk", var(--sans);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* animated aurora background */
body::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: -2;
  background:
    radial-gradient(38% 38% at 18% 18%, rgba(255, 176, 32, 0.16), transparent 62%),
    radial-gradient(42% 42% at 82% 12%, rgba(255, 106, 43, 0.14), transparent 62%),
    radial-gradient(48% 48% at 62% 92%, rgba(53, 208, 127, 0.11), transparent 62%);
  animation: drift 24s ease-in-out infinite alternate;
  filter: blur(6px);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 50% -10%, transparent 40%, rgba(5, 7, 11, 0.6) 100%),
    linear-gradient(180deg, transparent, var(--bg) 88%);
  pointer-events: none;
}
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-5%, 4%, 0) scale(1.1); }
}

a { color: var(--amber); text-decoration: none; transition: color .18s ease; }
a:hover { color: #ffd27a; }

.wrap { width: min(1120px, 92vw); margin-inline: auto; }

/* subtle section label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display);
  font-size: 12px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber));
}

/* ===== nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(6, 8, 12, 0.55);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(6, 8, 12, 0.82);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--display);
  font-weight: 700; letter-spacing: .3px; font-size: 17px;
  color: var(--text);
}
.brand .logo {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #1c222c, #0d1119);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
}
.brand .logo img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 10px;
}
.brand .logo .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 12px var(--green);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.nav-links { display: flex; align-items: center; gap: 6px; font-size: 14.5px; }
.nav-links a {
  color: var(--muted); padding: 8px 14px; border-radius: 10px;
  transition: color .18s ease, background .18s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links .nav-cta {
  color: #1a1200; background: var(--brand-grad); font-weight: 600;
  box-shadow: var(--shadow-glow);
}
.nav-links .nav-cta:hover { color: #1a1200; filter: brightness(1.06); }

/* ===== buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: 1px solid var(--line-strong); cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--brand-grad); color: #1a1200; border: none;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 16px 46px rgba(255, 106, 43, 0.36); color: #1a1200; }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--line-strong); color: var(--text); }

/* ===== hero ===== */
.hero { padding: 84px 0 56px; position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 500; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-strong);
  padding: 7px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
}
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 10px var(--amber);
  animation: blink 1.6s ease-in-out infinite;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(38px, 6.2vw, 66px); line-height: 1.03; margin: 22px 0 18px;
  letter-spacing: -1.5px; font-weight: 700;
}
.hero h1 .grad {
  background: linear-gradient(92deg, var(--amber), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 48ch; }
.cta-row { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* trust chips under hero */
.trust {
  display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap;
  color: var(--muted-2); font-size: 13.5px;
}
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--green); flex: none; }

/* ===== animated device ===== */
.device-stage { display: flex; justify-content: center; position: relative; }
.device-stage::before {
  content: ""; position: absolute; inset: 8% 14%;
  background: radial-gradient(closest-side, rgba(255, 106, 43, 0.28), transparent 72%);
  filter: blur(30px); z-index: 0;
}
.device {
  width: 224px; padding: 20px 18px 24px;
  background: linear-gradient(160deg, #1e242f, #0e121a);
  border: 1px solid var(--line-strong); border-radius: 30px;
  position: relative; z-index: 1;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.antenna {
  position: absolute; top: -48px; left: 28px;
  width: 8px; height: 52px; border-radius: 6px;
  background: linear-gradient(180deg, #2f3745, #12161d);
}
.antenna::after {
  content: ""; position: absolute; top: -6px; left: -2px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 14px var(--red);
  animation: blink 1.2s ease-in-out infinite;
}
.speaker { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin: 4px 6px 14px; }
.speaker span { height: 5px; border-radius: 3px; background: #232b37; }
.lcd {
  background: linear-gradient(180deg, #123322, #091a12);
  border: 1px solid #1d3a2a; border-radius: 12px;
  padding: 15px 13px; font-family: var(--mono); color: var(--green);
  text-shadow: 0 0 8px rgba(53, 208, 127, .6);
  box-shadow: inset 0 0 20px rgba(53, 208, 127, .08);
}
.lcd .ch { font-size: 32px; letter-spacing: 2px; font-weight: 700; }
.lcd .st { font-size: 11px; color: #8fe9bb; opacity: .85; display: flex; justify-content: space-between; margin-top: 6px; }
.waves { display: flex; align-items: flex-end; gap: 3px; height: 18px; margin-top: 10px; }
.waves i { width: 4px; background: var(--green); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.waves i:nth-child(2) { animation-delay: .15s; } .waves i:nth-child(3) { animation-delay: .3s; }
.waves i:nth-child(4) { animation-delay: .45s; } .waves i:nth-child(5) { animation-delay: .6s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 18px; } }
.ptt {
  margin: 20px auto 4px; width: 78px; height: 78px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--orange), #b83c14);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #2a0f00; letter-spacing: 1px;
  box-shadow: 0 0 0 0 rgba(255, 106, 43, .5);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 106, 43, .55); }
  70% { box-shadow: 0 0 0 24px rgba(255, 106, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 106, 43, 0); }
}

/* ===== marquee / stats bar ===== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 26px; margin-top: 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); backdrop-filter: blur(10px);
}
.stats .stat { text-align: center; }
.stats .num {
  font-family: var(--display); font-size: clamp(24px, 3vw, 32px); font-weight: 700;
  background: linear-gradient(90deg, var(--amber), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats .lbl { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* ===== section ===== */
.section { padding: 84px 0; }
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::after {
  content: ""; width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
}
.section h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px); letter-spacing: -1px; line-height: 1.1;
  margin-bottom: 12px; font-weight: 700;
}
.section .sub { color: var(--muted); font-size: 16.5px; }

/* features grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; overflow: hidden;
  background: var(--panel); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(120% 80% at 0% 0%, rgba(255, 176, 32, 0.07), transparent 55%);
  opacity: 0; transition: opacity .22s ease; pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4); }
.card:hover::after { opacity: 1; }
.card .ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; margin-bottom: 16px;
  background: linear-gradient(160deg, var(--panel-2), #0c1017);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.card h3 { font-family: var(--display); font-size: 18px; font-weight: 600; margin-bottom: 7px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* ===== how it works ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 28px 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); backdrop-filter: blur(10px);
}
.step .n {
  counter-increment: step;
  font-family: var(--display); font-weight: 700; font-size: 15px;
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  color: #1a1200; background: var(--brand-grad); margin-bottom: 16px;
  box-shadow: var(--shadow-glow);
}
.step .n::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-family: var(--display); font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* privacy highlight strip */
.strip {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(53, 208, 127, .1), transparent 60%),
    linear-gradient(120deg, rgba(53, 208, 127, .06), rgba(255, 176, 32, .05));
  padding: 34px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
}
.strip .big {
  font-size: 34px; width: 68px; height: 68px; flex: none; border-radius: 18px;
  display: grid; place-items: center;
  background: rgba(53, 208, 127, .1); border: 1px solid rgba(53, 208, 127, .25);
}
.strip h3 { font-family: var(--display); font-size: 21px; font-weight: 600; margin-bottom: 4px; }
.strip p { color: var(--muted); font-size: 14.5px; }

/* ===== FAQ ===== */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--panel); backdrop-filter: blur(10px);
  padding: 4px 20px; transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 0;
  font-weight: 600; font-size: 15.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 22px; color: var(--amber); font-weight: 400;
  transition: transform .2s ease; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); font-size: 14.5px; padding: 0 0 18px; margin: 0; }

/* ===== final CTA ===== */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--line-strong); border-radius: 28px;
  padding: clamp(40px, 6vw, 68px) 28px;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(255, 106, 43, .16), transparent 60%),
    linear-gradient(180deg, rgba(20, 25, 34, .7), rgba(12, 15, 22, .7));
  backdrop-filter: blur(10px);
}
.cta-band h2 {
  font-family: var(--display); font-size: clamp(28px, 4.5vw, 44px);
  letter-spacing: -1px; margin-bottom: 12px; font-weight: 700;
}
.cta-band p { color: var(--muted); font-size: 17px; max-width: 46ch; margin: 0 auto 30px; }
.cta-band .cta-row { justify-content: center; }

/* ===== legal pages ===== */
.legal { padding: 64px 0 48px; }
.legal .doc {
  background: var(--panel); backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(26px, 5vw, 52px);
  box-shadow: var(--shadow-lg);
}
.legal .back {
  display: inline-flex; align-items: center; gap: 7px; color: var(--muted);
  font-size: 14px; margin-bottom: 22px;
}
.legal .back:hover { color: var(--text); }
.legal h1 { font-family: var(--display); font-size: clamp(30px, 5vw, 44px); margin-bottom: 6px; letter-spacing: -1px; font-weight: 700; }
.legal .updated { color: var(--muted-2); font-size: 14px; margin-bottom: 30px; }
.legal h2 { font-family: var(--display); font-size: 20px; margin: 34px 0 10px; color: var(--amber); font-weight: 600; }
.legal p, .legal li { color: #cdd6e2; font-size: 15.5px; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal .note {
  border-left: 3px solid var(--green); background: rgba(53, 208, 127, .07);
  padding: 16px 18px; border-radius: 10px; margin: 20px 0; color: var(--text);
}

/* ===== footer ===== */
.footer { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 40px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer .links { display: flex; gap: 22px; font-size: 14px; }
.footer .links a { color: var(--muted); }
.footer .links a:hover { color: var(--text); }
.footer small { color: var(--muted-2); }

/* ===== scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .4s; }

/* ===== responsive ===== */
@media (max-width: 860px) {
  .hero { padding: 56px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .device-stage { order: -1; }
  .grid, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links a:not(.nav-cta) { display: none; }
  .section { padding: 64px 0; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
