/* ==========================================================================
   PACKS temporary landing page
   Tokens per BP-015 Brand Design Token System (direction locked)
   ========================================================================== */

:root {
  /* color tokens — BP-015 */
  --bg-base: #0b0e1a;
  --surface: #13172a;
  --brand-primary: #5b36f6;
  --brand-accent: #8a5bff;
  --brand-glow: #c79bff;
  --brand-tint: #e6dfff;
  --text-light: #f5f6fb;
  --text-muted: #a9a3c7;
  --border-subtle: #2b2445;

  /* signal tokens — restrained per BP-015 */
  --signal-up: #3ecf9a;
  --signal-down: #e0708a;

  --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-premium: 0 24px 70px rgba(4, 5, 14, 0.55), 0 0 40px rgba(91, 54, 246, 0.12);
  --container: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  color: var(--text-light);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  background:
    radial-gradient(ellipse 60% 40% at 78% 0%, rgba(91, 54, 246, 0.16), transparent),
    radial-gradient(ellipse 50% 35% at 8% 38%, rgba(138, 91, 255, 0.07), transparent),
    var(--bg-base);
  -webkit-font-smoothing: antialiased;
}

/* card-slot grid motif, very subtle */
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(138, 91, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 91, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 70%);
}

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

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

/* ============ layout containers ============ */

.site-header,
.hero,
.problem-strip,
.pillars,
.feature-detail,
.roadmap-section,
.trust-section,
.waitlist-section,
footer {
  width: var(--container);
  margin: 0 auto;
}

/* ============ header ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.site-header::before {
  position: absolute;
  inset: 0 -100vw;
  z-index: -1;
  content: "";
  border-bottom: 1px solid rgba(43, 36, 69, 0.7);
  background: rgba(11, 14, 26, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img:first-child {
  width: 30px;
  height: 30px;
}

.brand-wordmark {
  width: 104px;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

nav a {
  padding: 9px 13px;
  border-radius: 8px;
  transition: color 0.15s ease;
}

nav a:hover {
  color: var(--text-light);
}

.nav-cta {
  margin-left: 8px;
  border: 1px solid rgba(138, 91, 255, 0.55);
  color: var(--text-light);
  background: rgba(91, 54, 246, 0.16);
  transition: background 0.15s ease;
}

.nav-cta:hover {
  background: rgba(91, 54, 246, 0.32);
}

/* ============ shared type ============ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 14px;
  border: 1px solid rgba(138, 91, 255, 0.4);
  border-radius: 999px;
  color: var(--brand-glow);
  background: rgba(91, 54, 246, 0.1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: clamp(46px, 5.6vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

h1 .accent {
  background: linear-gradient(120deg, var(--brand-accent), var(--brand-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-heading p:not(.eyebrow),
.hero-text,
.feature-copy > p,
.trust-copy > p,
.waitlist-copy > p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

/* ============ hero ============ */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 88px 0 96px;
}

.hero-copy {
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button-primary {
  color: var(--text-light);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  box-shadow: 0 14px 36px rgba(91, 54, 246, 0.4);
}

.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(91, 54, 246, 0.52);
}

.button-secondary {
  border: 1px solid var(--border-subtle);
  color: var(--text-light);
  background: rgba(19, 23, 42, 0.72);
}

.button-secondary:hover {
  border-color: rgba(138, 91, 255, 0.5);
}

.hero-note {
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 13.5px;
}

/* --- hero dashboard mock --- */

.hero-visual {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-areas:
    "main side"
    "main alert";
  gap: 16px;
  align-content: center;
}

.panel {
  border: 1px solid rgba(138, 91, 255, 0.24);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(24, 28, 50, 0.96), rgba(13, 16, 31, 0.94));
  box-shadow: var(--shadow-premium);
}

.dash-main {
  grid-area: main;
  padding: 24px;
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dash-header img {
  opacity: 0.85;
}

.pill-up,
.up,
.confidence {
  color: var(--signal-up);
}

.pill-up {
  margin-left: auto;
  padding: 4px 9px;
  border: 1px solid rgba(62, 207, 154, 0.32);
  border-radius: 999px;
  background: rgba(62, 207, 154, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.down {
  color: var(--signal-down);
}

.dash-value {
  display: block;
  margin: 14px 0 4px;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.dash-chart {
  width: 100%;
  height: 110px;
  margin-top: 10px;
}

.dash-ranges {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}

.dash-ranges span {
  padding: 5px 11px;
  border-radius: 7px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

.dash-ranges .active {
  color: var(--text-light);
  background: rgba(91, 54, 246, 0.42);
}

.dash-side {
  grid-area: side;
  padding: 18px;
}

.panel-label {
  display: block;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mover {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(43, 36, 69, 0.8);
}

.mover strong {
  display: block;
  font-size: 13.5px;
}

.mover span {
  display: block;
  color: var(--text-muted);
  font-size: 11.5px;
}

.mover b {
  font-size: 13px;
}

.dash-alert {
  grid-area: alert;
  padding: 18px;
  border-color: rgba(199, 155, 255, 0.4);
}

.dash-alert .panel-label {
  margin-bottom: 8px;
  color: var(--brand-glow);
}

.dash-alert p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}

/* ============ problem strip ============ */

.problem-strip {
  padding: 30px 0 78px;
}

.problem-strip p {
  max-width: 860px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.3;
}

.problem-strip span {
  display: block;
  margin-top: 14px;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
}

/* ============ pillars ============ */

.pillars {
  padding: 78px 0;
  border-top: 1px solid rgba(43, 36, 69, 0.7);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pillar-grid article {
  padding: 28px 26px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(19, 23, 42, 0.9), rgba(13, 16, 31, 0.85));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pillar-grid article:hover {
  border-color: rgba(138, 91, 255, 0.45);
  transform: translateY(-3px);
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border: 1px solid rgba(138, 91, 255, 0.4);
  border-radius: 12px;
  color: var(--brand-glow);
  background: rgba(91, 54, 246, 0.14);
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
}

.pillar-grid p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ============ feature detail ============ */

.feature-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 78px 0;
  border-top: 1px solid rgba(43, 36, 69, 0.7);
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-muted);
  font-size: 15.5px;
}

.check-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 6px;
  color: var(--brand-glow);
  background: rgba(91, 54, 246, 0.2);
  content: "✓";
  font-size: 11px;
  font-weight: 800;
}

.feature-visual {
  padding: 26px;
}

.card-detail-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(43, 36, 69, 0.8);
}

.card-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 66px;
  border: 1px solid rgba(138, 91, 255, 0.4);
  border-radius: 8px;
  color: var(--brand-glow);
  background: rgba(91, 54, 246, 0.12);
}

.card-thumb svg {
  width: 26px;
  height: 26px;
}

.card-detail-top strong {
  display: block;
  font-size: 16px;
}

.card-detail-top span {
  display: block;
  color: var(--text-muted);
  font-size: 12.5px;
}

.grade-badge {
  margin-left: auto;
  padding: 6px 11px;
  border: 1px solid rgba(199, 155, 255, 0.45);
  border-radius: 8px;
  color: var(--brand-tint);
  background: rgba(138, 91, 255, 0.16);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.estimate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
}

.estimate-row strong {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
}

.estimate-row .panel-label {
  margin-bottom: 6px;
}

.confidence {
  padding: 7px 12px;
  border: 1px solid rgba(62, 207, 154, 0.32);
  border-radius: 999px;
  background: rgba(62, 207, 154, 0.08);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.comp-list {
  display: grid;
  gap: 8px;
}

.comp-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: rgba(11, 14, 26, 0.72);
}

.comp-list span {
  color: var(--text-muted);
  font-size: 13px;
}

.comp-list strong {
  font-size: 14.5px;
}

/* ============ roadmap ============ */

.roadmap-section {
  padding: 78px 0;
  border-top: 1px solid rgba(43, 36, 69, 0.7);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.roadmap-grid article {
  padding: 28px 26px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(19, 23, 42, 0.9), rgba(13, 16, 31, 0.85));
}

.roadmap-grid article.active {
  border-color: rgba(138, 91, 255, 0.55);
  background: linear-gradient(160deg, rgba(91, 54, 246, 0.16), rgba(13, 16, 31, 0.9));
  box-shadow: 0 18px 50px rgba(91, 54, 246, 0.18);
}

.phase {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--brand-glow);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.roadmap-grid p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ============ trust ============ */

.trust-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 78px 0;
  border-top: 1px solid rgba(43, 36, 69, 0.7);
}

.trust-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.trust-list p {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--brand-accent);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background: rgba(19, 23, 42, 0.72);
  font-size: 15px;
  line-height: 1.6;
}

.trust-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.trust-orbit {
  position: absolute;
  width: min(360px, 80%);
  aspect-ratio: 1;
  border: 1px solid rgba(138, 91, 255, 0.2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 54, 246, 0.26), transparent 60%);
  filter: blur(2px);
}

.robot {
  position: relative;
  width: min(330px, 78%);
  filter: drop-shadow(0 28px 70px rgba(91, 54, 246, 0.42));
}

/* ============ waitlist ============ */

.waitlist-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 78px 0 96px;
  border-top: 1px solid rgba(43, 36, 69, 0.7);
}

.waitlist-form {
  display: grid;
  gap: 16px;
  padding: 30px 28px;
  border: 1px solid rgba(138, 91, 255, 0.3);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(24, 28, 50, 0.96), rgba(13, 16, 31, 0.94));
  box-shadow: var(--shadow-premium);
}

.waitlist-form label {
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
}

.waitlist-form em {
  display: inline;
  color: var(--brand-glow);
  font-style: normal;
}

.waitlist-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  background: rgba(11, 14, 26, 0.85);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.waitlist-form input::placeholder {
  color: rgba(169, 163, 199, 0.55);
}

.waitlist-form input:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(138, 91, 255, 0.18);
}

.waitlist-form button {
  min-height: 54px;
  margin-top: 4px;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--text-light);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(91, 54, 246, 0.4);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.waitlist-form button:hover {
  transform: translateY(-1px);
}

.waitlist-form button:disabled {
  cursor: default;
  opacity: 0.6;
  transform: none;
}

.form-status {
  min-height: 20px;
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
}

.form-privacy {
  margin: 0;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.form-privacy a {
  color: var(--brand-glow);
  font-weight: 600;
}

.form-status.ok {
  color: var(--signal-up);
}

.form-status.err {
  color: var(--signal-down);
}

/* ============ socials ============ */

.social-block {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(43, 36, 69, 0.7);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background: rgba(19, 23, 42, 0.72);
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.social-row a:hover {
  border-color: rgba(138, 91, 255, 0.55);
  color: var(--text-light);
  transform: translateY(-1px);
}

.social-row svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.social-row-compact a {
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
}

/* honeypot — hidden from humans, visible to bots */
.hp-field {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: 0;
  clip: rect(0 0 0 0);
}

/* ============ footer ============ */

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 44px;
  border-top: 1px solid rgba(43, 36, 69, 0.7);
}

.footer-brand img {
  width: 150px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-meta a {
  font-weight: 600;
  transition: color 0.15s ease;
}

.footer-meta a:hover {
  color: var(--text-light);
}

/* ============ responsive ============ */

@media (max-width: 1020px) {
  .hero,
  .feature-detail,
  .trust-section,
  .waitlist-section {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .pillar-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .trust-visual {
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 32px, 1180px);
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .brand-wordmark {
    width: 92px;
  }

  .hero {
    padding: 42px 0 52px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "side"
      "alert";
  }

  .problem-strip,
  .pillars,
  .feature-detail,
  .roadmap-section,
  .trust-section,
  .waitlist-section {
    padding: 52px 0;
  }

  .waitlist-section {
    padding-bottom: 72px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
