@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=DM+Serif+Display&display=swap");

/* ─── Reset & Base ─── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --teal: #336d68;
  --teal-dark: #254e4a;
  --teal-light: #e6f0ef;
  --rose: #c43d5b;
  --rose-dark: #a83350;
  --dark-bg: #1e3a37;
  --white: #ffffff;
  --body-text: #555;
  --heading-text: #1a1a1a;
  --muted: #767676;
}

/* ─── Skip Link ─── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--rose);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 14px;
  z-index: 200;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ─── Focus Styles ─── */
*:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.site-nav *:focus-visible,
.mobile-nav *:focus-visible,
.founding *:focus-visible,
.urgency-cta *:focus-visible,
.page-hero *:focus-visible,
.partner-hero *:focus-visible,
.hero *:focus-visible,
.testimonial-section *:focus-visible {
  outline-color: var(--white);
}
.site-footer *:focus-visible {
  outline-color: rgba(255, 255, 255, 0.7);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--body-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
}

/* ─── Container ─── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Nav ─── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(30, 58, 55, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 0.02em;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--rose) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--rose-dark) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.2s;
}

.mobile-nav {
  display: none;
}

/* ─── Hero ─── */
.hero {
  background: var(--dark-bg);
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(
      ellipse at 30% 30%,
      rgba(51, 109, 104, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 70%,
      rgba(196, 61, 91, 0.08) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  text-align: left;
}

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

.hero-video {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-video .videoWrapper {
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.hero-video .videoWrapper iframe {
  display: block;
  max-height: 520px;
  width: auto;
  border: none;
  border-radius: 12px;
}

.hero-badge {
  display: inline-block;
  background: rgba(196, 61, 91, 0.15);
  color: #f4b8c8;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: "DM Serif Display", serif;
  font-size: 52px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin: 0 0 36px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-block;
  background: var(--rose);
  color: var(--white);
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 800;
  transition: all 0.2s;
}

.hero-cta:hover {
  background: var(--rose-dark);
  transform: translateY(-2px);
}

/* ─── Payment Logo Bar ─── */
.payment-logo-bar {
  padding: 28px 0;
  background: #f9fafa;
  border-bottom: 1px solid #eee;
}
.payment-logo-bar .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.payment-logo-label {
  font-size: 13px;
  color: #999;
  font-weight: 500;
  white-space: nowrap;
}
.payment-logos {
  display: flex;
  align-items: center;
  gap: 52px;
  flex-wrap: wrap;
  justify-content: center;
}
.payment-logo {
  opacity: 0.75;
  transition: opacity 0.2s;
}
.payment-logo:hover {
  opacity: 1;
}

/* ─── How It Works ─── */
.how-it-works {
  padding: 100px 0 40px;
  background: var(--white);
}

.section-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-family: "DM Serif Display", serif;
  font-size: 38px;
  font-weight: 400;
  color: var(--heading-text);
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
}

/* Billing toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}

.toggle-label.toggle-active {
  color: var(--heading-text);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--teal);
  border-radius: 26px;
  transition: 0.2s;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.2s;
}

.toggle-switch input:focus-visible + .toggle-slider {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

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

.step {
  text-align: center;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--teal-light);
  color: var(--teal);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
}

.step h3 {
  font-family: "DM Serif Display", serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--heading-text);
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  color: var(--body-text);
  line-height: 1.7;
}

/* ─── Features ─── */
.features {
  padding: 100px 0 60px;
  background: #f9fafa;
}

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

.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: "DM Serif Display", serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--heading-text);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.7;
}

/* ─── Features Demo (Phone Mockup) ─── */
.features-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.features-demo-heading {
  font-family: "DM Serif Display", serif;
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 12px;
}

.features-demo-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 16px;
}

.features-demo-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.features-demo-list li {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  padding-left: 24px;
  position: relative;
  margin-bottom: 6px;
}

.features-demo-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #7ECDC6;
  font-weight: 700;
}

.features-demo-phone {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 196px;
  height: 392px;
  border-radius: 25px;
  background: #1a1a1a;
  padding: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.phone-mockup-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 17px;
  background: #1a1a1a;
  border-radius: 0 0 10px 10px;
  z-index: 2;
}

.phone-mockup iframe {
  width: 428px;
  height: 880px;
  border: none;
  border-radius: 20px;
  background: #fff;
  transform: scale(0.42);
  transform-origin: top left;
}

.demo-tag {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  transition: all 0.2s;
}

.demo-tag:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.demo-tag.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.demo-instruction {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}

.demo-page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  line-height: 2.2;
}

.demo-caption {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  margin-top: 8px;
  margin-bottom: 0;
}

/* ─── How Many Guidebooks ─── */
.guidebook-count {
  padding: 80px 0;
  background: #f9fafa;
}

.guidebook-count-content {
  max-width: 680px;
  margin: 0 auto;
}

.guidebook-count-content p {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* Demo wrapper background container */
.features-demo-wrapper {
  position: relative;
  border-radius: 20px;
  padding: 28px 32px;
  margin-top: 0;
  overflow: hidden;
  z-index: 0;
}
.features-demo-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/og-image.jpg") center/cover no-repeat;
  filter: blur(18px);
  transform: scale(1.1);
  z-index: -2;
}
.features-demo-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 55, 0.75);
  z-index: -1;
}

/* Mobile CTA for demo section */
.demo-mobile-cta {
  display: none;
  margin-top: 32px;
  padding: 18px 36px;
  background: var(--teal);
  color: var(--white);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  transition: all 0.2s;
}
.demo-mobile-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

/* Phone mockup z-index fix */
.phone-mockup {
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .features-demo {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .features-demo-phone {
    display: none;
  }
  .demo-mobile-cta {
    display: inline-block;
  }
  .features-demo-wrapper {
    padding: 32px 24px;
  }
}

/* ─── Pricing ─── */
.pricing {
  padding: 100px 0;
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
}

.pricing-card {
  border: 2px solid #e8e8e8;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all 0.2s;
}

.pricing-card.featured {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(51, 109, 104, 0.15);
}

.pricing-ribbon {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 20px;
  border-radius: 0 0 10px 10px;
}

.pricing-name {
  font-family: "DM Serif Display", serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--heading-text);
  margin-bottom: 8px;
  margin-top: 8px;
}

.pricing-price {
  font-size: 48px;
  font-weight: 800;
  color: var(--heading-text);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
}

.pricing-period {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--body-text);
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: "\2713";
  color: var(--teal);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid var(--teal);
  background: transparent;
  color: var(--teal);
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.pricing-btn:hover {
  background: var(--teal-light);
}

.pricing-card.featured .pricing-btn {
  background: var(--rose);
  color: var(--white);
  border-color: var(--rose);
}

.pricing-card.featured .pricing-btn:hover {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
}

/* ─── Founding Member CTA ─── */
.founding {
  padding: 80px 0;
  background: var(--dark-bg);
  text-align: center;
}

.founding-content {
  max-width: 600px;
  margin: 0 auto;
}

.founding-badge {
  display: inline-block;
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.founding h2 {
  font-family: "DM Serif Display", serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
}

.founding p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  line-height: 1.7;
}

.founding-cta {
  display: inline-block;
  background: var(--rose);
  color: var(--white);
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 800;
  transition: all 0.2s;
}

.founding-cta:hover {
  background: var(--rose-dark);
  transform: translateY(-2px);
}

/* ─── Free Tier Badge ─── */
.pricing-free-badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 4px;
}

/* ─── Feature Comparison Table ─── */
.comparison-table-wrap {
  max-width: 1000px;
  margin: 60px auto 0;
  overflow-x: auto;
}

.comparison-title {
  font-family: "DM Serif Display", serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--heading-text);
  text-align: center;
  margin-bottom: 28px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table thead {
  position: sticky;
  top: 72px;
  z-index: 10;
}

.comparison-table th {
  background: var(--dark-bg);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 16px;
  text-align: center;
  white-space: nowrap;
}

.comparison-table th:first-child {
  text-align: left;
  border-radius: 8px 0 0 0;
}

.comparison-table th:last-child {
  border-radius: 0 8px 0 0;
}

.comparison-table th.highlight-col {
  background: var(--teal);
}

.comparison-table td {
  padding: 12px 16px;
  text-align: center;
  color: var(--body-text);
  border-bottom: 1px solid #f0f0f0;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--heading-text);
}

.comparison-table td.highlight-col {
  background: rgba(51, 109, 104, 0.04);
}

.comparison-table tbody tr:nth-child(even) td {
  background-color: #fafaf5;
}

.comparison-table tbody tr:nth-child(even) td.highlight-col {
  background-color: rgba(51, 109, 104, 0.06);
}

/* ─── Enterprise CTA ─── */
.enterprise-cta {
  text-align: center;
  margin-top: 48px;
  padding: 40px 32px;
  background: #f9fafa;
  border-radius: 16px;
  border: 1px solid #e8e8e8;
}

.enterprise-cta h3,
.enterprise-cta .enterprise-heading {
  font-family: "DM Serif Display", serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--heading-text);
  margin-bottom: 8px;
}

.enterprise-cta p {
  font-size: 15px;
  color: var(--body-text);
  margin-bottom: 20px;
}

.enterprise-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--dark-bg);
  color: var(--white);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  transition: all 0.2s;
}

.enterprise-btn:hover {
  background: #0f2220;
  transform: translateY(-1px);
}

/* ─── Footer ─── */
.site-footer {
  background: #0f2220;
  padding: 60px 0 32px;
}

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

.footer-brand {
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4,
.footer-col .footer-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 0;
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-left: 24px;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--white);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--dark-bg);
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 99;
  }

  .mobile-nav.active {
    display: block;
  }

  .mobile-nav a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero p {
    margin: 0 auto 36px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-video .videoWrapper iframe {
    max-height: 400px;
  }

  .steps-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .section-title {
    font-size: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .founding h2 {
    font-size: 28px;
  }

  .comparison-table {
    font-size: 12px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 8px;
  }
}

@media (max-width: 480px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ─── Page Hero (reusable dark hero for standalone pages) ─── */
.page-hero {
  background: var(--dark-bg);
  padding: 160px 0 80px;
  text-align: center;
}
.page-hero h1 {
  font-family: "DM Serif Display", serif;
  font-size: 42px;
  color: var(--white);
}
.page-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 16px auto 0;
}

.page-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  text-align: left;
}

.page-hero-split .page-hero-copy p {
  margin: 16px 0 0;
}

/* ─── Feature Explanation Rows (pricing page) ─── */
.comparison-table tr.explanation-row td {
  padding: 0;
  border: none;
  background: #f4f7f6;
}
.explanation-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
  padding: 0 20px;
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.7;
}
.explanation-content.open {
  max-height: 200px;
  padding: 12px 20px 16px;
}
tr.has-explanation td:first-child {
  cursor: pointer;
}

/* ─── Partner Page Layout ─── */
.partner-hero {
  background: var(--dark-bg);
  padding: 160px 0 80px;
  text-align: center;
}
.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}
.partner-logos span.plus {
  color: rgba(255, 255, 255, 0.7);
  font-size: 24px;
}
.partner-code-badge {
  display: inline-block;
  background: rgba(230, 240, 239, 0.2);
  color: var(--teal-light);
  font-size: 14px;
  font-weight: 800;
  padding: 8px 20px;
  border-radius: 8px;
  letter-spacing: 0.05em;
}
.partner-bonus {
  padding: 80px 0;
  background: var(--white);
}
.partner-bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.partner-bonus-card {
  background: #f9fafa;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.partner-bonus-card .bonus-number {
  font-family: "DM Serif Display", serif;
  font-size: 36px;
  color: var(--teal);
}
.partner-bonus-card .bonus-label {
  font-size: 14px;
  color: var(--body-text);
  margin-top: 8px;
}
.partner-steps {
  padding: 80px 0;
  background: #f9fafa;
}

/* ─── Legal / Content Pages ─── */
.legal-content {
  padding: 80px 0;
}
.legal-content h2 {
  font-family: "DM Serif Display", serif;
  font-size: 28px;
  margin: 40px 0 12px;
}
.legal-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 8px;
}
.legal-content p,
.legal-content li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--body-text);
}
.legal-content ul {
  padding-left: 20px;
}

/* ─── Contact Form ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 48px;
}
.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid var(--teal);
  outline-offset: -1px;
  border-color: var(--teal);
}
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-form .form-group {
  margin-bottom: 20px;
}
.contact-submit {
  display: inline-block;
  padding: 16px 40px;
  background: var(--rose);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}
.contact-submit:hover {
  background: var(--rose-dark);
}
.contact-info h2 {
  font-family: "DM Serif Display", serif;
  font-size: 22px;
  margin-bottom: 16px;
}
.contact-info p {
  line-height: 1.8;
}

/* ─── Referral Page ─── */
.referral-milestones {
  padding: 80px 0;
}
.milestone-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.milestone-card {
  background: #f9fafa;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  border: 2px solid transparent;
}
.milestone-card.highlight {
  border-color: var(--teal);
  background: #eef6f5;
}
.milestone-number {
  font-family: "DM Serif Display", serif;
  font-size: 36px;
  color: var(--teal);
}
.milestone-bonus {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 12px;
}
.referral-callout {
  background: var(--teal);
  color: var(--white);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin-top: 48px;
}
.referral-callout h3 {
  font-family: "DM Serif Display", serif;
  font-size: 24px;
  margin-bottom: 12px;
}
.referral-callout p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.9;
}

/* ─── Responsive: new page types ─── */
@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 60px;
  }
  .page-hero h1 {
    font-size: 32px;
  }
  .page-hero-split {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .page-hero-split .page-hero-copy p {
    margin: 16px auto 0;
  }
  .partner-hero {
    padding: 120px 0 60px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .milestone-cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .milestone-cards {
    grid-template-columns: 1fr;
  }
}

/* ─── Coupons / Promo Page ─── */
.promo-highlight {
  padding: 80px 0;
  background: var(--white);
  text-align: center;
}
.promo-code-display {
  display: inline-block;
  background: var(--dark-bg);
  color: #FFD700;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 20px 48px;
  border-radius: 14px;
  margin: 24px 0 12px;
  font-family: "DM Sans", sans-serif;
}
.promo-detail {
  font-size: 16px;
  color: var(--body-text);
  margin-bottom: 32px;
}
.savings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.savings-card {
  background: #f9fafa;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.savings-card.featured {
  border-color: var(--teal);
  background: #eef6f5;
}
.savings-card h3 {
  font-family: "DM Serif Display", serif;
  font-size: 22px;
  color: var(--heading-text);
  margin-bottom: 8px;
}
.savings-card p {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.7;
}
.savings-card .savings-amount {
  font-family: "DM Serif Display", serif;
  font-size: 36px;
  color: var(--teal);
  margin-bottom: 12px;
}
.savings-card .savings-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  border: 2px solid var(--teal);
  border-radius: 10px;
  color: var(--teal);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
}
.savings-card .savings-cta:hover {
  background: var(--teal-light);
}
.savings-card.featured .savings-cta {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}
.savings-card.featured .savings-cta:hover {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
}
@media (max-width: 768px) {
  .savings-grid { grid-template-columns: 1fr; }
  .promo-code-display { font-size: 22px; padding: 16px 32px; }
}

/* ─── Social Proof Bar ─── */
.social-proof-bar {
  background: #f4f7f6;
  padding: 32px 0;
  border-bottom: 1px solid #e8e8e8;
}
.social-proof-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.social-proof-stat {
  text-align: center;
}
.social-proof-stat .stat-number {
  font-family: "DM Serif Display", serif;
  font-size: 28px;
  color: var(--teal);
  line-height: 1;
}
.social-proof-stat .stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .social-proof-inner { gap: 24px; }
  .social-proof-stat .stat-number { font-size: 22px; }
}

/* ─── Testimonial Section ─── */
.testimonial-section {
  background: var(--dark-bg);
  padding: 80px 0;
}
.testimonial-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-quote {
  font-family: "DM Serif Display", serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 32px;
}
.testimonial-body {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 32px;
}
.testimonial-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
}
.testimonial-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}
.testimonial-title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 768px) {
  .testimonial-quote { font-size: 24px; }
}

/* ─── FAQ Section ─── */
.faq-section {
  padding: 80px 0;
  background: #f9fafa;
}
.faq-list {
  max-width: 720px;
  margin: 40px auto 0;
}
.faq-item {
  background: transparent;
  border-radius: 0;
  margin-bottom: 0;
  box-shadow: none;
  overflow: hidden;
  border-bottom: 1px solid #e0e0e0;
}
.faq-item:first-child {
  border-top: 1px solid #e0e0e0;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-text);
  user-select: none;
  background: none;
  border: none;
  font-family: inherit;
  text-align: left;
}
.faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--teal);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
  line-height: 1;
}
.faq-item.open .faq-question::after {
  content: "\00d7";
  transform: none;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}
.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--body-text);
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 500px;
}

/* ─── FAQ Serif Styling (Home Page Accordion) ─── */
.faq-section .faq-question {
  font-family: "DM Serif Display", serif;
  font-size: 22px;
  font-weight: 400;
  justify-content: center;
  text-align: center;
}
.faq-section .faq-question::after {
  position: absolute;
  right: 0;
}
.faq-section .faq-item {
  position: relative;
}
.faq-section .faq-answer-inner {
  text-align: left;
}
@media (max-width: 768px) {
  .faq-section .faq-question {
    font-size: 18px;
  }
}

/* ─── Urgency CTA ─── */
.urgency-cta {
  background: var(--dark-bg);
  padding: 80px 0;
  text-align: center;
}
.urgency-cta h2 {
  font-family: "DM Serif Display", serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
}
.urgency-cta p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.urgency-cta .hero-cta {
  display: inline-block;
}
@media (max-width: 768px) {
  .urgency-cta h2 { font-size: 28px; }
}

/* ─── Help Grid ─── */
.help-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-top: 48px;
}
.help-grid .help-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
}
.help-sidebar .contact-form {
  background: #f9fafa;
  border-radius: 16px;
  padding: 32px;
}
.help-sidebar h3 {
  font-family: "DM Serif Display", serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--heading-text);
  margin-bottom: 16px;
}
.help-sidebar p {
  font-size: 14px;
  color: var(--body-text);
  margin-bottom: 24px;
  line-height: 1.7;
}
.help-faq-category h2 {
  font-family: "DM Serif Display", serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--heading-text);
  margin: 40px 0 16px;
}
.help-faq-category:first-child h2 {
  margin-top: 0;
}
@media (max-width: 768px) {
  .help-grid {
    grid-template-columns: 1fr;
  }
  .help-grid .help-sidebar {
    position: static;
  }
}

/* ─── Pricing Coming Soon ─── */
.pricing-coming-soon {
  background: #e0e0e0 !important;
  color: #999 !important;
  border-color: #e0e0e0 !important;
  cursor: not-allowed !important;
}
.pricing-coming-soon:hover {
  background: #e0e0e0 !important;
  transform: none !important;
}

/* ─── Hero CTA Secondary (Ghost Button) ─── */
.hero-cta-secondary {
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s;
  margin-left: 16px;
}
.hero-cta-secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}
.hero-text-link {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  transition: color 0.2s;
}
.hero-text-link:hover {
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 768px) {
  .hero-cta-secondary {
    display: block;
    margin: 16px auto 0;
    max-width: 280px;
    text-align: center;
  }
  .hero-text-link {
    text-align: center;
  }
}

/* ─── Feature Comparison Chevron Fix ─── */
tr.has-explanation td:first-child::after {
  content: none;
}
tr.has-explanation td:first-child::before {
  content: "\25B8";
  color: var(--teal);
  font-weight: 700;
  margin-right: 8px;
  display: inline-block;
  transition: transform 0.2s;
}
tr.has-explanation.open td:first-child::before {
  content: "\25BE";
}

/* ─── Tier Callout Boxes (features page) ─── */
.tier-callout {
  border: 2px solid #e8e8e8;
  border-radius: 16px;
  padding: 36px 40px;
  max-width: 900px;
  margin: 0 auto;
}
.tier-callout-teal {
  border-color: var(--teal);
}
.tier-callout-dark {
  border-color: var(--dark-bg);
}
.tier-callout-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 16px;
  border-radius: 20px;
}
.tier-callout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
}
.tier-callout-item strong {
  font-size: 15px;
  color: var(--heading-text);
}
.tier-callout-item p {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.6;
  margin: 2px 0 0;
}
@media (max-width: 768px) {
  .tier-callout {
    padding: 28px 24px;
  }
  .tier-callout-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Split Section (features page guide management) ─── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.story-phone-mockup {
  width: 280px;
  background: #000;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.story-phone-screen {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #2a524d, #1E3A37);
}

.story-phone-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

@media (max-width: 768px) {
  .split-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .story-phone-mockup {
    margin: 0 auto;
  }
}
