/* Shared marketing chrome — mirrors WebStorefrontColors
   Pricing amounts must stay in sync with lib/core/subscription_constants.dart */
:root {
  --navy: #0D1B2A;
  --navy-deep: #071018;
  --navy-light: #1A2744;
  --gold: #D4AF37;
  --gold-dark: #B8960C;
  --teal: #4DB6AC;
  --green: #66BB6A;
  --white: #ffffff;
  --white90: rgba(255,255,255,0.9);
  --white70: rgba(255,255,255,0.7);
  --white50: rgba(255,255,255,0.5);
  --white30: rgba(255,255,255,0.3);
  --white20: rgba(255,255,255,0.2);
  --white10: rgba(255,255,255,0.1);
  --white05: rgba(255,255,255,0.05);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  line-height: 1.55;
  min-height: 100vh;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.m-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 27, 42, 0.92);
  border-bottom: 1px solid var(--white10);
  backdrop-filter: blur(10px);
}
.m-nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  min-height: 64px;
}
.m-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.4px;
}
.m-logo img { height: 44px; width: auto; }
.m-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.m-nav-links a {
  color: var(--white70);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.m-nav-links a:hover { color: var(--white); background: var(--white05); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--teal); color: var(--navy) !important; }
.btn-primary:hover { background: #5fc4ba; }
.btn-gold { background: var(--gold); color: var(--navy) !important; }
.btn-gold:hover { background: #e0c04a; }
.btn-ghost {
  background: transparent;
  color: var(--white) !important;
  border: 1px solid var(--white20);
}
.btn-ghost:hover { background: var(--white05); }
.btn-block { width: 100%; }

/* Hero / page header */
.page-hero {
  padding: 64px 0 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(77,182,172,0.12), transparent 70%);
}
.page-hero .eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.page-hero .sub {
  max-width: 640px;
  margin: 0 auto;
  color: var(--white70);
  font-size: 1.05rem;
}

section { padding: 56px 0; }
.section-title {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--white50);
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 0.95rem;
}

/* Cards / grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 800px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .m-nav-links .hide-sm { display: none; }
}

.card {
  background: var(--navy-light);
  border: 1px solid var(--white10);
  border-radius: 16px;
  padding: 28px;
}
.card.gold {
  border-color: rgba(212, 175, 55, 0.55);
}
.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.card .who { color: var(--white50); font-size: 0.9rem; margin-bottom: 18px; }
.price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
}
.price span { font-size: 0.95rem; font-weight: 500; color: var(--white50); }
.price-note { color: var(--teal); font-size: 0.8rem; margin: 8px 0 20px; }
.feature-list { list-style: none; margin-bottom: 24px; }
.feature-list li {
  padding: 7px 0;
  color: var(--white90);
  font-size: 0.9rem;
  display: flex;
  gap: 8px;
}
.feature-list li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
}
.badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

/* Comparison table */
.table-wrap { overflow-x: auto; }
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.compare th, table.compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--white10);
}
table.compare th {
  color: var(--white50);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
table.compare td { color: var(--white90); }
table.compare .check { color: var(--teal); font-weight: 700; }
table.compare .no { color: var(--white30); }

/* Content blocks */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 {
  color: var(--teal);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}
.prose p, .prose li { color: var(--white70); margin-bottom: 0.75rem; font-size: 0.98rem; }
.prose ul { margin-left: 1.25rem; margin-bottom: 1rem; }
.prose strong { color: var(--white); }

.cta-band {
  text-align: center;
  padding: 64px 24px;
  border-top: 1px solid var(--white10);
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(212,175,55,0.08), transparent 70%);
}
.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}
.cta-band p { color: var(--white50); margin-bottom: 24px; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.faq details {
  background: var(--white05);
  border: 1px solid var(--white10);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { margin-bottom: 8px; color: var(--teal); }
.faq p { color: var(--white70); font-size: 0.9rem; }

.m-footer {
  border-top: 1px solid var(--white10);
  padding: 32px 0 28px;
  margin-top: 24px;
}
.m-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.m-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.m-footer-links a {
  color: var(--white50);
  font-size: 0.85rem;
  text-decoration: none;
}
.m-footer-links a:hover { color: var(--white); }
.m-copy {
  text-align: center;
  color: var(--white50);
  font-size: 0.8rem;
  padding-top: 16px;
  border-top: 1px solid var(--white10);
}

.billing-toggle {
  display: inline-flex;
  padding: 4px;
  background: var(--white05);
  border: 1px solid var(--white10);
  border-radius: 12px;
  margin: 0 auto 36px;
  gap: 4px;
}
.billing-toggle button {
  font-family: inherit;
  border: none;
  background: transparent;
  color: var(--white50);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  min-height: 44px;
}
.billing-toggle button.active {
  background: rgba(77,182,172,0.2);
  border: 1px solid rgba(77,182,172,0.5);
  color: var(--white);
}

.price-panels .monthly-only { display: none; }
.price-panels.yearly-mode .yearly-only { display: inline; }
.price-panels.yearly-mode .monthly-only { display: none; }
.price-panels:not(.yearly-mode) .yearly-only { display: none; }
.price-panels:not(.yearly-mode) .monthly-only { display: inline; }
