/* AppTestPals website styles (agent 26). Brand colors from Patricia, Nov 23, 2026. */
:root {
  --bg: #070b24;
  --bg2: #0d1440;
  --card: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.13);
  --text: #f2f5ff;
  --muted: #aab4e0;
  --electric: #2f7bff;
  --royal: #3a4fd8;
  --cyan: #22d3ee;
  --gold: #fbbf24;
  --gold2: #ffd966;
  --pink: #f472b6;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--cyan); }
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(47,123,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,123,255,.09) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 70%);
}
.bg-glow {
  position: fixed; inset: -20% -20% auto; height: 75vh; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 18% 30%, rgba(47,123,255,.40), transparent 42%),
    radial-gradient(circle at 82% 22%, rgba(34,211,238,.30), transparent 40%),
    radial-gradient(circle at 55% 55%, rgba(251,191,36,.18), transparent 45%);
  filter: blur(40px);
}
@media (prefers-reduced-motion: no-preference) {
  .bg-glow { animation: drift 16s ease-in-out infinite alternate; }
  .dev-float { animation: float 4.5s ease-in-out infinite; }
}
@keyframes drift { to { transform: translate3d(0, 4vh, 0) scale(1.06); } }
@keyframes float { 50% { transform: translateY(-10px); } }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Header */
header.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(7, 11, 36, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; gap: 14px; min-height: 64px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; margin-right: auto; }
.brand img { width: 42px; height: 42px; }
.brand b { color: var(--gold); font-weight: 700; }
nav.main { display: flex; flex-wrap: wrap; gap: 4px; }
nav.main a { color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 10px; font-size: 15px; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.07); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 13px 22px; border-radius: 14px; font-size: 17px; border: 0; cursor: pointer;
}
.btn.gold { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #1b1400; box-shadow: 0 6px 24px rgba(251,191,36,.35); }
.btn.blue { background: linear-gradient(90deg, var(--electric), var(--cyan)); color: #04112b; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.soon { cursor: default; opacity: .9; }
.btn.small { padding: 9px 14px; font-size: 15px; border-radius: 11px; }
.btn:focus-visible, nav.main a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; padding: 56px 0 30px; }
.hero h1 { font-size: clamp(38px, 6.5vw, 66px); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 14px; }
.grad { background: linear-gradient(90deg, var(--electric), var(--cyan) 55%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 24px; max-width: 34em; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .dev-wrap { text-align: center; position: relative; }
.hero .dev-wrap::before {
  content: ""; position: absolute; inset: 12% 12%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(251,191,36,.45), rgba(47,123,255,.15) 55%, transparent 70%);
  filter: blur(10px);
}
.hero .dev-wrap img { width: min(380px, 80vw); }
.pill { display: inline-block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); border: 1px solid rgba(34,211,238,.4); border-radius: 999px; padding: 5px 12px; margin-bottom: 14px; }

/* Sections */
section { padding: 34px 0; }
h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.02em; margin: 0 0 8px; line-height: 1.15; }
h3 { font-size: 20px; margin: 0 0 6px; }
p.sub { color: var(--muted); margin: 0 0 22px; max-width: 42em; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.card p { margin: 0; color: var(--muted); }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  font-weight: 700; margin-bottom: 12px; color: #1b1400;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
}
.accent-pink { color: var(--pink); }
.accent-gold { color: var(--gold); }

/* 14-day tracker */
.tracker { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; margin: 18px 0 8px; }
.tracker span {
  aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--muted);
}
.tracker span.on { background: linear-gradient(180deg, var(--electric), var(--royal)); color: #fff; border-color: transparent; }
.tracker span.check { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #1b1400; border-color: transparent; }
.testers { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.testers i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(180deg, var(--cyan), var(--electric)); display: inline-block; }
.testers i.open { background: transparent; border: 2px dashed var(--line); }
.legend { font-size: 14px; color: var(--muted); }

/* Tables / lists */
table.nums { width: 100%; border-collapse: collapse; }
table.nums td, table.nums th { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.nums th { color: var(--muted); font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
table.nums td.n { font-weight: 700; color: var(--gold); white-space: nowrap; }

.note {
  border-left: 4px solid var(--gold); background: rgba(251,191,36,.08);
  padding: 14px 16px; border-radius: 0 14px 14px 0; color: var(--text);
}
.note.blue { border-color: var(--cyan); background: rgba(34,211,238,.07); }

/* Questions */
details.q { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; margin-bottom: 10px; }
details.q summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; float: right; color: var(--gold); font-size: 22px; line-height: 1; }
details.q[open] summary::after { content: "\2212"; }
details.q p, details.q ul { color: var(--muted); margin-top: 0; }

/* Text pages (guide, privacy, terms) */
.prose { max-width: 760px; padding: 36px 0 20px; }
.prose h1 { font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 10px; }
.prose h2 { font-size: 22px; margin-top: 30px; }
.prose li { margin-bottom: 6px; }
.prose .muted, .muted { color: var(--muted); font-size: 15px; }
.todo { background: rgba(251,191,36,.2); padding: 1px 6px; border-radius: 6px; }

/* CTA band */
.band {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between;
  background: linear-gradient(100deg, rgba(47,123,255,.25), rgba(34,211,238,.12) 60%, rgba(251,191,36,.18));
  border: 1px solid var(--line); border-radius: 24px; padding: 26px;
}
.band img { width: 90px; }
.band h2 { margin: 0; }

/* App screenshots */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.shots figcaption { color: var(--muted); font-size: 15px; margin-top: 10px; text-align: center; }

/* Footer */
footer.bottom { border-top: 1px solid var(--line); margin-top: 40px; padding: 26px 0 40px; color: var(--muted); font-size: 14px; }
footer.bottom .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; }
footer.bottom nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer.bottom a { color: var(--muted); }
footer.bottom .slogan { color: var(--text); font-weight: 700; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 28px; text-align: center; }
  .hero .ctas { justify-content: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .dev-wrap { order: -1; }
  .hero .dev-wrap img { width: min(240px, 60vw); }
  .grid3, .grid2 { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tracker { grid-template-columns: repeat(7, 1fr); }
  nav.main { width: 100%; justify-content: center; }
  .brand { margin-right: 0; }
  header.top .wrap { justify-content: center; }
  header.top .btn.soon { cursor: default; opacity: .9; }
.btn.small { display: none; }
}
