/* ===== VARIABLES ===== */
:root {
  --bg-deep: #f0f5fa;
  --bg-section: #ffffff;
  --bg-card: #ffffff;
  --teal: #0097a7;
  --teal-dim: rgba(0, 151, 167, 0.09);
  --teal-border: rgba(0, 151, 167, 0.28);
  --text-primary: #0d1b2e;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --danger: #d9381e;
  --warning: #c47a00;
  --success: #2d8a4e;
  --border-subtle: rgba(0, 0, 0, 0.09);
  --radius: 10px;
  --radius-sm: 6px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 14, 26, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--teal-border);
}
.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo img { height: 36px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text-primary); }
.nav__links .nav__cta {
  background: var(--teal);
  color: var(--bg-deep);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  transition: opacity 0.2s;
}
.nav__links .nav__cta:hover { opacity: 0.85; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile nav */
@media (max-width: 700px) {
  .nav__burger { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--teal-border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 20px;
  }
  .nav__links.open { display: flex; }
}

/* ===== SHARED ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-teal { color: var(--teal); }
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn--primary { background: var(--teal); color: var(--bg-deep); }
.btn--ghost {
  border: 1px solid rgba(0,0,0,0.22);
  color: var(--text-secondary);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--teal-border);
  background-image: radial-gradient(rgba(0,151,167,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero__glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,151,167,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner { text-align: center; position: relative; }
.hero__badge {
  display: inline-block;
  background: var(--teal-dim);
  border: 1px solid var(--teal-border);
  color: var(--teal);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.hero__h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero__sub {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 56px;
}
.hero__trust {
  display: flex;
  justify-content: center;
  gap: 0;
  border-top: 1px solid rgba(0,151,167,0.2);
  padding-top: 28px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
  border-right: 1px solid rgba(0,0,0,0.1);
}
.trust-item:last-child { border-right: none; }
.trust-item strong {
  color: var(--teal);
  font-size: 18px;
  font-weight: 800;
}
.trust-item span {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 4px;
}

@media (max-width: 700px) {
  .hero { padding: 64px 0 56px; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__trust { flex-wrap: wrap; gap: 20px; }
  .trust-item { border-right: none; padding: 0 16px; }
}

/* ===== SHARED SECTION ===== */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.section--alt { background: var(--bg-section); }
.section-label {
  color: var(--teal);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.section-h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 48px;
  letter-spacing: -0.3px;
}
.section-sub {
  color: var(--text-secondary);
  font-size: 16px;
  margin-top: -32px;
  margin-bottom: 48px;
}

/* ===== HOW IT WORKS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.step-num {
  color: var(--teal);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 14px;
  opacity: 0.9;
}
.step-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 700px) {
  .section { padding: 56px 0; }
  .steps { grid-template-columns: 1fr; }
}

/* ===== SAMPLE LEADS TABLE ===== */
.leads-table {
  background: var(--bg-card);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}
.leads-header {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr 1.5fr;
  background: rgba(0,151,167,0.07);
  padding: 12px 20px;
  gap: 12px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.leads-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr 1.5fr;
  padding: 14px 20px;
  gap: 12px;
  border-top: 1px solid rgba(0,0,0,0.06);
  align-items: center;
  transition: background 0.15s;
}
.leads-row:hover { background: rgba(0,151,167,0.04); }
.lead-prop strong { display: block; font-size: 14px; font-weight: 600; }
.lead-prop small { color: var(--text-muted); font-size: 12px; }
.lead-redacted {
  background: rgba(0,0,0,0.07);
  border-radius: 4px;
  padding: 3px 10px;
  color: rgba(0,0,0,0.22);
  font-size: 13px;
  display: inline-block;
}
.lead-contact-form {
  background: rgba(0,151,167,0.09);
  border-radius: 4px;
  padding: 3px 10px;
  color: rgba(0,0,0,0.28);
  font-size: 13px;
  display: inline-block;
}
.lead-size { color: var(--text-secondary); font-size: 13px; }
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}
.badge--danger {
  background: rgba(217,56,30,0.1);
  border: 1px solid rgba(217,56,30,0.3);
  color: var(--danger);
}
.badge--warning {
  background: rgba(196,122,0,0.12);
  border: 1px solid rgba(196,122,0,0.3);
  color: var(--warning);
}
.badge--success {
  background: rgba(45,138,78,0.1);
  border: 1px solid rgba(45,138,78,0.3);
  color: var(--success);
}
.leads-footer {
  padding: 12px 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}
.leads-footer a { color: var(--teal); margin-left: 4px; }

/* Mobile: hide less critical columns */
@media (max-width: 700px) {
  .leads-header,
  .leads-row {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .leads-header span:nth-child(4),
  .leads-header span:nth-child(2),
  .leads-row > div:nth-child(4),
  .leads-row > div:nth-child(2) { display: none; }
}

/* ===== WHY STRATOSREACH ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 3px solid var(--teal);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.why-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.why-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 700px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.pricing-card--featured {
  border: 2px solid var(--teal);
  box-shadow: 0 0 40px rgba(0,194,212,0.08);
  transform: translateY(-4px);
}
.pricing-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--bg-deep);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: 12px;
  white-space: nowrap;
  letter-spacing: 1px;
}
.pricing-tier {
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.pricing-price {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -1px;
}
.pricing-volume {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 20px;
}
.pricing-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-features li {
  color: var(--text-secondary);
  font-size: 13px;
  padding-left: 18px;
  position: relative;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.pricing-btn { width: 100%; text-align: center; }
.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 24px;
}

@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
}

/* ===== TESTIMONIAL ===== */
.testimonial-card {
  background: var(--bg-card);
  border-left: 4px solid var(--teal);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 36px 40px;
  max-width: 720px;
}
.testimonial-quote {
  color: var(--text-secondary);
  font-size: 18px;
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal-dim);
  border: 1px solid var(--teal-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 14px; }
.testimonial-meta { color: var(--text-muted); font-size: 12px; margin-top: 2px; }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; }
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.09);
}
.faq-item:first-child { border-top: 1px solid rgba(0,0,0,0.09); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  padding: 18px 40px 18px 0;
  position: relative;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--teal); }
.faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-q[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-a {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
}
.faq-a.open {
  max-height: 200px;
  padding-bottom: 18px;
}

/* ===== CONTACT FORM ===== */
.form-wrap { max-width: 680px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.form-optional { font-weight: 400; color: var(--text-muted); }
.form-field input {
  background: var(--bg-card);
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.form-field input:focus { border-color: var(--teal); }
.form-field input::placeholder { color: var(--text-muted); }
.form-submit {
  width: 100%;
  font-size: 16px;
  padding: 15px;
  border: none;
  cursor: pointer;
}
.form-success {
  text-align: center;
  padding: 48px 24px;
}
.form-success__icon {
  width: 56px;
  height: 56px;
  background: rgba(0,194,212,0.12);
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 16px;
}
.form-success h3 { font-size: 22px; margin-bottom: 8px; }
.form-success p { color: var(--text-secondary); }

@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 24px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__logo img { height: 28px; width: auto; }
.footer__legal {
  color: var(--text-muted);
  font-size: 11px;
  text-align: center;
  flex: 1;
}
.footer__links {
  display: flex;
  gap: 20px;
}
.footer__links a {
  color: var(--text-muted);
  font-size: 12px;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--text-secondary); }

@media (max-width: 700px) {
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__legal { text-align: left; }
}

/* ===== GBP PAGE: STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

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

/* ===== GBP PAGE: INCLUDES ===== */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.include-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 3px solid var(--teal);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.include-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.include-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 700px) {
  .includes-grid { grid-template-columns: 1fr; }
}

/* ===== GBP PAGE: BEFORE/AFTER ===== */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ba-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.ba-card--before { border: 2px solid rgba(217,56,30,0.3); }
.ba-card--after { border: 2px solid rgba(45,138,78,0.3); }
.ba-label {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 16px;
}
.ba-label--before { background: rgba(217,56,30,0.1); color: var(--danger); }
.ba-label--after { background: rgba(45,138,78,0.1); color: var(--success); }
.ba-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ba-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
}
.ba-list li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}
.ba-card--before .ba-list li::before { content: '✗'; color: var(--danger); }
.ba-card--after .ba-list li::before { content: '✓'; color: var(--success); }

@media (max-width: 700px) {
  .ba-grid { grid-template-columns: 1fr; }
}

/* ===== GBP PAGE: SINGLE PRICING ===== */
.pricing-single {
  max-width: 420px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 0 40px rgba(0,194,212,0.08);
}
.pricing-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

/* ===== SCROLL REVEAL ===== */
.step-card, .why-card, .pricing-card, .faq-item, .leads-row,
.stat-card, .include-card, .ba-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.step-card.revealed, .why-card.revealed, .pricing-card.revealed,
.faq-item.revealed, .leads-row.revealed,
.stat-card.revealed, .include-card.revealed, .ba-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.step-card:nth-child(2) { transition-delay: 0.1s; }
.step-card:nth-child(3) { transition-delay: 0.2s; }
.why-card:nth-child(2) { transition-delay: 0.1s; }
.why-card:nth-child(3) { transition-delay: 0.1s; }
.why-card:nth-child(4) { transition-delay: 0.2s; }
.pricing-card:nth-child(2) { transition-delay: 0.1s; }
.pricing-card:nth-child(3) { transition-delay: 0.2s; }
.leads-row:nth-child(2) { transition-delay: 0.05s; }
.leads-row:nth-child(3) { transition-delay: 0.10s; }
.leads-row:nth-child(4) { transition-delay: 0.15s; }
.leads-row:nth-child(5) { transition-delay: 0.20s; }
.leads-row:nth-child(6) { transition-delay: 0.25s; }
.leads-row:nth-child(7) { transition-delay: 0.30s; }
.leads-row:nth-child(8) { transition-delay: 0.35s; }
.stat-card:nth-child(2) { transition-delay: 0.1s; }
.stat-card:nth-child(3) { transition-delay: 0.2s; }
.stat-card:nth-child(4) { transition-delay: 0.3s; }
.include-card:nth-child(2) { transition-delay: 0.1s; }
.include-card:nth-child(3) { transition-delay: 0.1s; }
.include-card:nth-child(4) { transition-delay: 0.2s; }
.include-card:nth-child(5) { transition-delay: 0.2s; }
.include-card:nth-child(6) { transition-delay: 0.3s; }
.ba-card:nth-child(2) { transition-delay: 0.15s; }

/* ===== ACTIVE NAV ===== */
.nav__links a.active {
  color: var(--text-primary);
}

/* ===== NAV + FOOTER: always dark regardless of theme ===== */
.nav { background: rgba(8, 14, 26, 0.96); }
.nav__links a { color: rgba(255,255,255,0.65); }
.nav__links a:hover,
.nav__links a.active { color: #ffffff; }
.nav__burger span { background: rgba(255,255,255,0.65); }

@media (max-width: 700px) {
  .nav__links { background: #0d1b2e; }
}

.footer { background: #0d1b2e; border-top-color: rgba(255,255,255,0.08); }
.footer__legal { color: rgba(255,255,255,0.45); }
.footer__links a { color: rgba(255,255,255,0.45); }
.footer__links a:hover { color: rgba(255,255,255,0.75); }
