/* ReportView.pro — marketing design system
   Source: ui-ux-pro-max (SaaS fintech / glass / blue+amber / Fira)
   Light mode, Xero-first hierarchy
*/

@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Sora:wght@500;600;700;800&display=swap");

:root {
  --ink: #1e3a8a;
  --ink-deep: #0f172a;
  --ink-soft: #334155;
  --muted: #475569;
  --line: #e2e8f0;
  --panel: #f8fafc;
  --white: #ffffff;
  --primary: #1e40af;
  --primary-mid: #2563eb;
  --secondary: #3b82f6;
  --cta: #f59e0b;
  --cta-hover: #d97706;
  --cta-ink: #0f172a;
  --accent-soft: #dbeafe;
  --amber-soft: #fef3c7;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);
  --navy: #0b1224;
  --navy-mid: #152038;
  --red: #dc2626;
  --red-soft: #fee2e2;
  --green: #15803d;
  --green-soft: #dcfce7;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 8px 30px rgba(30, 64, 175, 0.08);
  --shadow-lg: 0 28px 60px rgba(15, 23, 42, 0.16);
  --font: "Fira Sans", system-ui, sans-serif;
  --font-display: "Sora", system-ui, sans-serif;
  --max: 1120px;
  --nav-h: 76px;
  --z-nav: 50;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font);
  color: var(--ink-deep);
  background: var(--panel);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { cursor: pointer; font-family: inherit; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container { width: min(100% - 3rem, var(--max)); }
}

/* —— Nav (floating glass) —— */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  padding: 0.85rem 0 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  min-height: calc(var(--nav-h) - 12px);
  padding: 0.55rem 0.85rem 0.55rem 1rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--primary) 0%, var(--secondary) 100%);
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.logo .pro { color: var(--primary-mid); font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--primary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--ink-deep);
  min-width: 44px;
  min-height: 44px;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  transition: background 0.2s var(--ease), color 0.2s, box-shadow 0.2s, transform 0.15s var(--ease);
  text-align: center;
  min-height: 44px;
}

.btn:focus-visible {
  outline: 2px solid var(--primary-mid);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--cta);
  color: var(--cta-ink);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  background: var(--cta-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-deep);
  border: 1px solid var(--line);
}

.btn-secondary:hover { background: var(--white); border-color: #cbd5e1; }

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  padding-inline: 0.85rem;
}

.btn-ghost:hover { color: var(--primary); }

.btn-lg { padding: 0.9rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* —— Hero (full-bleed atmosphere, brand-first, Xero-led) —— */
.hero {
  position: relative;
  padding: 2.5rem 0 5.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 85% 10%, rgba(59, 130, 246, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 55% at 5% 90%, rgba(245, 158, 11, 0.18), transparent 50%),
    linear-gradient(165deg, #eef4ff 0%, var(--panel) 45%, #fff8eb 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 64, 175, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 64, 175, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--ink-deep);
  margin-bottom: 1.1rem;
}

.hero-brand .pro { color: var(--primary-mid); }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
  max-width: 18ch;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 36rem;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.hero-lead strong { color: var(--primary); font-weight: 600; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary-mid);
  flex-shrink: 0;
}

/* Hero visual plane — product screenshot */
.hero-stage {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(145deg, var(--navy) 0%, #1e3a5f 55%, #1e40af 120%);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-shot {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}

.hero-stage-glow {
  position: absolute;
  width: 55%;
  height: 55%;
  right: -8%;
  top: -15%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.35), transparent 70%);
  pointer-events: none;
  animation: glow-drift 8s var(--ease) infinite alternate;
}

@keyframes glow-drift {
  from { transform: translate(0, 0); opacity: 0.7; }
  to { transform: translate(-12%, 18%); opacity: 1; }
}

.hero-stage-inner {
  position: relative;
  padding: 1.35rem 1.35rem 1.5rem;
  z-index: 1;
}

.stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #bfdbfe;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.stage-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
}

.stage-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.stage-kpi {
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.stage-kpi .label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #93c5fd;
}

.stage-kpi .value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 0.15rem;
  letter-spacing: -0.02em;
}

.stage-kpi .delta {
  font-size: 0.72rem;
  color: #6ee7b7;
  margin-top: 0.1rem;
}

.stage-chart {
  height: 96px;
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem 0;
}

.stage-chart span {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--cta) 0%, rgba(59, 130, 246, 0.45) 100%);
  transform-origin: bottom;
  animation: bar-rise 0.9s var(--ease) both;
}

.stage-chart span:nth-child(1) { height: 42%; animation-delay: 0.05s; }
.stage-chart span:nth-child(2) { height: 58%; animation-delay: 0.1s; }
.stage-chart span:nth-child(3) { height: 48%; animation-delay: 0.15s; }
.stage-chart span:nth-child(4) { height: 78%; animation-delay: 0.2s; }
.stage-chart span:nth-child(5) { height: 64%; animation-delay: 0.25s; }
.stage-chart span:nth-child(6) { height: 88%; animation-delay: 0.3s; }
.stage-chart span:nth-child(7) { height: 70%; animation-delay: 0.35s; }

@keyframes bar-rise {
  from { transform: scaleY(0.15); opacity: 0.4; }
  to { transform: scaleY(1); opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-up 0.7s var(--ease) forwards;
}

.reveal-delay-1 { animation-delay: 0.08s; }
.reveal-delay-2 { animation-delay: 0.16s; }
.reveal-delay-3 { animation-delay: 0.24s; }

@keyframes reveal-up {
  to { opacity: 1; transform: translateY(0); }
}

/* —— Sections —— */
section { padding: 4.5rem 0; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-mid);
  margin-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink-deep);
  margin-bottom: 0.85rem;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
  line-height: 1.65;
}

.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-header .section-lead { margin-inline: auto; }

/* Features — not over-carded; soft glass tiles */
.features {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

.feature-card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fbff 0%, var(--white) 100%);
  border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s var(--ease);
}

.feature-card:hover {
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: var(--accent-soft);
  color: var(--primary);
}

.feature-icon.amber { background: var(--amber-soft); color: var(--cta-hover); }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* How it works — Xero path primary */
.how {
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(59, 130, 246, 0.1), transparent),
    var(--panel);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.step {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  box-shadow: 0 8px 18px rgba(30, 64, 175, 0.3);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.step p { color: var(--muted); font-size: 0.92rem; }

/* Privacy */
.privacy-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem;
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 800px) {
  .privacy-banner {
    grid-template-columns: 1.3fr 1fr;
    padding: 2.75rem;
  }
}

.privacy-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.privacy-banner p { color: #94a3b8; max-width: 34rem; }

.privacy-points { display: grid; gap: 0.7rem; }

.privacy-point {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
}

.privacy-point svg {
  width: 20px;
  height: 20px;
  color: var(--cta);
  flex-shrink: 0;
}

/* Pricing — Xero packs featured */
.pricing { background: var(--white); border-block: 1px solid var(--line); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
  max-width: 820px;
  margin-inline: auto;
}

@media (min-width: 800px) {
  .pricing-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
  .pricing-grid-triple {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    align-items: stretch;
  }
  .pricing-grid-quad {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1100px;
    align-items: stretch;
  }
}

@media (min-width: 1100px) {
  .pricing-grid-quad {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1280px;
  }
}

.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
  transition: box-shadow 0.2s;
}

.price-card.featured {
  background: linear-gradient(180deg, #eff6ff 0%, var(--white) 55%);
  border-color: var(--primary-mid);
  box-shadow: 0 0 0 1px var(--primary-mid), var(--shadow-lg);
  padding-top: 2.4rem;
}

.price-card.secondary-sku {
  opacity: 0.92;
  background: var(--white);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cta);
  color: var(--cta-ink);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink-deep);
}

.price-amount span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.price-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.85rem 0 1.35rem;
}

.price-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 0.35rem 0;
}

.price-features svg {
  width: 18px;
  height: 18px;
  color: var(--primary-mid);
  flex-shrink: 0;
  margin-top: 2px;
}

.price-card.secondary-sku .price-features svg { color: var(--muted); }

.trial-note {
  text-align: center;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.trial-note strong { color: var(--ink-deep); }

/* FAQ */
.faq-list { max-width: 720px; margin-inline: auto; }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-deep);
  text-align: left;
  min-height: 44px;
}

.faq-question:focus-visible {
  outline: 2px solid var(--primary-mid);
  outline-offset: 2px;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

.faq-item.open .faq-question svg { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.open .faq-answer { display: block; }

/* CTA band */
.cta-band {
  background:
    radial-gradient(ellipse 50% 80% at 80% 50%, rgba(245, 158, 11, 0.25), transparent),
    linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 2rem;
  border-radius: var(--radius);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.cta-band p {
  color: #94a3b8;
  margin-bottom: 1.5rem;
  max-width: 30rem;
  margin-inline: auto;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.cta-band .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Featured industry packs with screenshots */
.featured-packs {
  padding: 4.5rem 0 3.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.pack-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .pack-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.pack-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.pack-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pack-shot-wrap {
  background: linear-gradient(145deg, var(--navy) 0%, #1e3a5f 100%);
  padding: 0.85rem 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.pack-shot-wrap img {
  width: 100%;
  height: auto;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

.pack-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.55rem;
  background: var(--white);
}

.pack-badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary);
}

.pack-badge.trades {
  background: var(--amber-soft);
  color: #92400e;
}

.pack-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
}

.pack-body > p {
  color: var(--muted);
  font-size: 0.95rem;
}

.pack-points {
  list-style: none;
  margin: 0.35rem 0 0.5rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.pack-points li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.pack-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--primary-mid);
}

.pack-cta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  padding-top: 0.5rem;
}

.pack-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-deep);
  font-size: 1.05rem;
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  background: var(--panel);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 24rem;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.45rem; }

.footer-col a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

/* Auth / account pages */
.page-hero {
  padding: 3rem 0 2rem;
  background:
    radial-gradient(ellipse 70% 80% at 90% 0%, rgba(59, 130, 246, 0.15), transparent),
    var(--panel);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.45rem;
}

.page-hero p { color: var(--muted); }

.auth-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.5rem 0 4.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .auth-layout {
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    padding: 3rem 0 5rem;
  }
}

.auth-sidebar h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.35rem;
  letter-spacing: -0.02em;
}

.benefit-list { list-style: none; }

.benefit-list li {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.benefit-list svg {
  width: 22px;
  height: 22px;
  color: var(--primary-mid);
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-list strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.benefit-list span {
  font-size: 0.88rem;
  color: var(--muted);
}

.form-card,
.account-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
}

.form-card h2,
.account-card h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.form-card .form-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.4rem;
}

.form-group { margin-bottom: 1.05rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 44px;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-mid);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.form-switch {
  text-align: center;
  margin-top: 1.15rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-switch button {
  background: none;
  border: none;
  color: var(--primary-mid);
  font-weight: 600;
  font-size: inherit;
}

.form-switch button:hover { text-decoration: underline; }

.msg {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.msg.error { background: var(--red-soft); color: var(--red); }
.msg.ok { background: var(--green-soft); color: var(--green); }
.hidden { display: none !important; }

.account-grid {
  display: grid;
  gap: 1.15rem;
  padding: 2.5rem 0 4.5rem;
  max-width: 720px;
}

.account-card h2 { margin-bottom: 0.85rem; }

.status-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
}

.status-pill.warn { background: var(--amber-soft); color: var(--cta-hover); }
.status-pill.bad { background: var(--red-soft); color: var(--red); }

.sub-detail {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.plans-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.15rem;
}

@media (min-width: 600px) {
  .plans-row { grid-template-columns: repeat(2, 1fr); }
}

.plan-mini {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  text-align: center;
  background: var(--white);
}

.plan-mini.featured-mini {
  border-color: var(--accent, #2563eb);
  box-shadow: 0 0 0 1px var(--accent, #2563eb);
}

.tier-option {
  cursor: pointer;
  text-align: left;
  display: block;
}

.tier-option input {
  margin-bottom: 0.5rem;
}

.tier-option.featured-mini,
.tier-option:has(input:checked) {
  border-color: var(--accent, #2563eb);
  box-shadow: 0 0 0 1px var(--accent, #2563eb);
}

.pack-check-grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 28rem;
}

.pack-check {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.35;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.pack-check:hover {
  border-color: #cbd5e1;
  background: var(--panel);
}

.pack-check:has(input:checked) {
  border-color: var(--primary-mid);
  background: #eff6ff;
  box-shadow: 0 0 0 1px var(--primary-mid);
}

.pack-check input {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
}

.pack-check span {
  flex: 1;
  min-width: 0;
}

.plan-mini.is-locked {
  opacity: 0.72;
  background: var(--panel);
}

.plan-mini .locked-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.plan-mini h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }

.plan-mini .price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.plan-mini .price span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

.plan-desc {
  color: var(--muted);
  font-size: 0.85rem;
  margin: -0.2rem 0 0.85rem;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.fineprint {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 1rem;
  line-height: 1.55;
}

.download-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.15rem;
  padding: 1.15rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.download-meta strong { display: block; font-size: 0.95rem; margin-bottom: 0.2rem; }
.download-meta span { font-size: 0.85rem; color: var(--muted); }
.download-note { margin-top: 0.85rem; font-size: 0.85rem; color: var(--muted); }

.install-steps {
  list-style: none;
  counter-reset: install;
  margin-top: 1.15rem;
}

.install-steps li {
  counter-increment: install;
  display: flex;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.install-steps li::before {
  content: counter(install);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-links,
  .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: grid; place-items: center; }

  .nav-inner {
    border-radius: 18px;
    position: relative;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    z-index: 60;
  }

  .nav.open .nav-actions {
    position: absolute;
    top: calc(100% + 11.5rem);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 0 1.25rem 1.25rem;
    flex-direction: column;
    z-index: 60;
    box-shadow: var(--shadow-lg);
  }

  .nav.open .nav-actions .btn-ghost { display: inline-flex; }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;
    min-height: min(70vh, 640px);
  }

  .hero { padding: 1.5rem 0 4rem; }
}
