/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Primary palette — soft light blue */
  --navy: #2c3e6b;
  --navy-light: #3d5a99;
  --blue: #5ba4d9;
  --blue-dark: #4890c5;
  --blue-light: #edf5fc;
  --blue-accent: #7dbce8;

  /* Neutrals — very light, airy */
  --white: #ffffff;
  --off-white: #f7fafd;
  --gray-50: #f0f5fa;
  --gray-100: #e1e9f0;
  --gray-200: #c4d3e0;
  --gray-400: #94a7b8;
  --gray-600: #5e7283;
  --gray-800: #2e3d4d;

  /* Semantic */
  --success: #27ae60;
  --error: #e74c3c;

  /* Typography */
  --font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1280px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition: 0.3s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(44,62,107,0.06);
  --shadow-md: 0 4px 20px rgba(44,62,107,0.08);
  --shadow-lg: 0 12px 40px rgba(44,62,107,0.1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden; /* prevent any element from causing a horizontal page scroll */
}

body {
  overflow-x: hidden;
  font-family: var(--font-main);
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--blue-dark);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.25;
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.25rem; font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p {
  margin-bottom: 16px;
  color: var(--gray-600);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: center;
}

.text-center { text-align: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--gray-100);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.05rem;
  border-radius: 50px;
}

/* ===== PROMO BANNER ===== */
.promo-banner {
  background: linear-gradient(90deg, #5ba4d9, #7dbce8);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  letter-spacing: 0.02em;
}

.promo-banner a {
  color: var(--white);
  text-decoration: underline;
  font-weight: 700;
  margin-left: 6px;
}

.promo-banner a:hover {
  color: #edf5fc;
}

.promo-banner .promo-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0.7;
  transition: opacity var(--transition);
  text-decoration: none;
  margin-left: 0;
}

.promo-banner .promo-close:hover {
  opacity: 1;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.nav-logo-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.nav-logo-text {
  font-weight: 400;
  color: var(--blue);
}

.nav-logo-text span {
  font-weight: 700;
  color: var(--navy);
}

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

.nav-links a {
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-actions .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.nav-signin {
  color: var(--gray-600) !important;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition);
  border-radius: 2px;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 112px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: 32px 24px;
  flex-direction: column;
  gap: 24px;
  z-index: 999;
}

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

.nav-mobile a {
  font-size: 1.125rem;
  color: var(--gray-800);
  font-weight: 500;
  padding: 8px 0;
}

.nav-mobile .btn {
  text-align: center;
  margin-top: 8px;
}

/* ===== HERO ===== */
.hero {
  padding: 180px 0 200px;
  background: linear-gradient(165deg, #2c3e6b 0%, #3d5a99 40%, #7dbce8 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 140px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero .container {
  max-width: 1400px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  grid-template-rows: auto 1fr;
  grid-template-areas: "badge image" "content image";
  column-gap: 48px;
  row-gap: 0;
  align-items: start;
}

.hero-content {
  text-align: left;
  grid-area: content;
}

.hero-image {
  grid-area: image;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
}

.hero-trio {
  display: flex;
  gap: 14px;
  max-width: 100%;
  width: 100%;
}

.hero-trio-img {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-trio-img.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-trio-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  display: block;
}


.hero-badge {
  grid-area: badge;
  justify-self: start;
  display: inline-block;
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.3);
}

.hero h1 {
  color: var(--white);
  font-size: 3.25rem;
  max-width: 600px;
  margin: 0 0 20px;
  line-height: 1.15;
  font-weight: 700;
}

.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  max-width: 500px;
  margin: 0 0 36px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

.hero-feature svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== WHY GOODWILL ===== */
.why-section {
  padding: var(--section-padding);
  background: var(--white);
}

/* Why highlights — feature grid */
.why-highlights {
  margin-top: 48px;
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 40px;
  text-align: left;
}

.why-highlight {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px 24px;
  background: var(--off-white);
  border-radius: 16px;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  height: 100%;
}

.why-highlight:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why-highlight-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-highlight-icon svg {
  width: 26px;
  height: 26px;
  color: var(--blue);
}

.why-highlight h4 {
  font-size: 1.1rem;
  font-family: var(--font-main);
  margin-bottom: 6px;
}

.why-highlight p {
  font-size: 0.95rem;
  color: var(--gray-400);
  margin-bottom: 0;
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .why-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .why-highlights {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===== BUILT BY LAWYERS ===== */
.lawyers-section {
  padding: 80px 0 100px;
  background: var(--white);
}

.lawyers-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 52px 60px;
  background: linear-gradient(165deg, #1e2d52 0%, #2c3e6b 50%, #3d5a99 100%);
  border-radius: 24px;
  text-align: left;
  box-shadow: 0 16px 48px rgba(44,62,107,0.18);
}

.lawyers-flag {
  display: block;
  margin-bottom: 24px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.lawyers-content h2 {
  color: var(--white);
  margin-bottom: 28px;
  font-size: 2.25rem;
}

.lawyers-description {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 18px;
}

.lawyers-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  font-weight: 600;
}

.lawyers-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lawyers-checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  border-left: 3px solid rgba(255,255,255,0.4);
}

.lawyers-checklist li svg {
  color: var(--blue-accent);
  flex-shrink: 0;
}

.lawyers-checklist li span {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

@media (max-width: 768px) {
  .lawyers-content { padding: 36px 24px; }
  .lawyers-section { padding: 60px 0; }
  .lawyers-description { font-size: 0.95rem; line-height: 1.5; margin-bottom: 10px; }
  .lawyers-subtitle { font-size: 0.95rem; margin-bottom: 14px; }
}

/* ===== COMPARISON TABLE ===== */
.comparison-section {
  padding: var(--section-padding);
  background: var(--off-white);
}

.comparison-table {
  max-width: 1100px;
  margin: 48px auto 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comp-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.comp-badge-good {
  background: rgba(91, 164, 217, 0.15);
  color: var(--navy);
}

.comp-badge-neutral {
  background: rgba(0, 0, 0, 0.06);
  color: var(--gray-600);
}

.comp-badge-bad {
  background: rgba(176, 58, 58, 0.1);
  color: #a04040;
}

.comparison-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
}

.comparison-header div {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
}

.comparison-header div:first-child {
  background: var(--gray-50);
  text-align: left;
}

.comparison-header .col-nothing {
  background: #fce8e8;
  color: #b33a3a;
}

.comparison-header .col-traditional {
  background: var(--gray-100);
  color: var(--gray-600);
}

.comparison-header .col-goodwill {
  background: var(--blue);
  color: var(--white);
}

.comparison-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--gray-100);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row div {
  padding: 18px 24px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.comparison-row div:first-child {
  background: var(--white);
  font-weight: 500;
  color: var(--gray-800);
}

.comparison-row .col-nothing {
  background: #fef5f5;
  color: #a04040;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
}

.comparison-row .col-traditional {
  background: var(--gray-50);
  color: var(--gray-400);
  justify-content: center;
  text-align: center;
}

.comparison-row .col-goodwill {
  background: var(--blue-light);
  color: var(--blue-dark);
  justify-content: center;
  text-align: center;
  font-weight: 500;
}

/* ===== HOW IT WORKS ===== */
.how-section {
  padding: var(--section-padding);
  background: var(--white);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
  position: relative;
}

.how-steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--gray-100);
}

.how-step {
  text-align: center;
  position: relative;
}

.how-step-number {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.how-step-number span {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
}

.how-step h3 {
  margin-bottom: 10px;
}

.how-step p {
  font-size: 0.95rem;
  max-width: 280px;
  margin: 0 auto;
}

.how-legal-note {
  text-align: center;
  margin-top: 48px;
  padding: 20px 32px;
  background: var(--off-white);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-600);
}

br.mobile-br { display: none; }

/* ===== WILL FEATURES ===== */
.features-section {
  padding: var(--section-padding);
  background: var(--off-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 20px;
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: all var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-sm);
}

.feature-header {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 12px;
}

.feature-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-header-left svg {
  flex-shrink: 0;
  color: var(--blue);
}

.feature-header h4 {
  font-family: var(--font-main);
  font-size: 1rem;
}

.feature-chevron {
  transition: transform var(--transition);
  color: var(--gray-400);
  flex-shrink: 0;
}

.feature-card.active .feature-chevron {
  transform: rotate(180deg);
}

.feature-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.feature-body-inner {
  padding: 0 24px 22px;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== FAQ ===== */
.faq-section {
  padding: var(--section-padding);
  background: var(--white);
}

.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
}

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

.faq-question {
  width: 100%;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--blue);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.faq-item.active .faq-icon {
  background: var(--blue-light);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding-bottom: 22px;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-answer-inner ul {
  list-style: disc;
  padding-left: 20px;
  margin: 10px 0;
}

.faq-answer-inner ul li {
  margin-bottom: 6px;
}

/* ===== LEARN / ARTICLES ===== */
.learn-section {
  padding: var(--section-padding);
  background: var(--off-white);
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.learn-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

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

.learn-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.learn-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, transparent 40%, var(--white) 100%);
  pointer-events: none;
  z-index: 1;
}

.learn-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
}

.learn-card:hover .learn-card-img img {
  transform: scale(1.05);
}

.learn-card-body {
  padding: 24px;
}

.learn-card-meta {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.learn-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-family: var(--font-main);
}

.learn-card p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.learn-card .read-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ===== REVIEWS ===== */
.reviews-section {
  padding: var(--section-padding);
  background: var(--blue-light);
}

.reviews-carousel {
  position: relative;
  margin-top: 48px;
}

.reviews-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 28px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.reviews-section .section-subtitle,
.comparison-section .section-subtitle,
.will-includes-section .section-subtitle {
  max-width: none;
  white-space: nowrap;
}

.review-card {
  background: var(--white);
  border-radius: 16px;
  padding: 22px 22px;
  border: 1px solid var(--gray-100);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition);
  min-width: 340px;
  max-width: 380px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.review-stars {
  color: #f5a623;
  font-size: 1.15rem;
  letter-spacing: 3px;
  line-height: 1;
}

.review-star-empty {
  opacity: 0.25;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 0;
  font-style: italic;
  max-height: 5.1em;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.review-text.expanded {
  max-height: 600px;
}

.review-read-more {
  background: none;
  border: none;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-main);
  align-self: flex-start;
  margin-top: -6px;
}

.review-read-more:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}

.review-role {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 2px;
}

.carousel-btn {
  position: absolute;
  top: calc(50% - 14px);
  transform: translateY(-50%);
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  color: var(--navy);
}

.carousel-btn:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.carousel-btn-prev { left: -28px; }
.carousel-btn-next { right: -28px; }

@media (max-width: 768px) {
  .carousel-btn { display: none; }
  .review-card { min-width: 80vw; max-width: 80vw; }
}

/* Reviews dot indicators */
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.reviews-dot.active {
  width: 22px;
  border-radius: 4px;
  background: var(--blue);
}

/* ===== TRUST SIGNALS ===== */
.trust-section {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}

.trust-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  max-width: 800px;
  margin: 0 auto;
}

.trust-item {
  text-align: center;
  padding: 20px;
}

.trust-item svg {
  color: var(--blue);
  margin-bottom: 14px;
}

.trust-item h4 {
  font-family: var(--font-main);
  margin-bottom: 6px;
}

.trust-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===== PARTNERS ===== */
.partners-section {
  padding: 40px 0;
  background: transparent;
  text-align: center;
}

.partners-card {
  border: 1.5px solid var(--blue);
  border-radius: 16px;
  padding: 16px 40px;
  max-width: 600px;
  margin: 0 auto;
}

.partners-section h2 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 12px;
}

.partner-logo {
  height: 120px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.partners-logos a {
  cursor: pointer;
}

.partner-logo:hover {
  opacity: 1;
}

.partners-cta {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.5;
  margin-bottom: 0;
}

.partners-chat-link {
  color: var(--gray-500);
  font-weight: 500;
  text-decoration: none;
}

.partners-chat-link:hover {
  color: var(--blue);
  text-decoration: underline;
}

.partners-chat-link:hover {
  text-decoration: underline;
}

/* ===== CTA BANNER ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(165deg, #2c3e6b 0%, #3d5a99 40%, #7dbce8 100%);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-section .rotating-word {
  color: rgba(255,255,255,0.85);
}

.cta-section p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-800);
  padding: 64px 0 32px;
  color: rgba(255,255,255,0.6);
}

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

.footer-brand .nav-logo {
  margin-bottom: 14px;
  display: inline-flex;
}

.footer-brand .nav-logo-text {
  color: rgba(255,255,255,0.7);
}

.footer-brand .nav-logo-text span {
  color: var(--white);
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer ul 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: start;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  max-width: 680px;
  line-height: 1.7;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ===== PRICING PAGE ===== */
.pricing-hero {
  padding: 120px 0 48px;
  background: linear-gradient(165deg, #2c3e6b 0%, #3d5a99 40%, #7dbce8 100%);
  text-align: center;
}

.pricing-hero h1 {
  color: var(--white);
}

.pricing-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
}

.pricing-hero-lines {
  max-width: 600px;
  margin: 0 auto;
}

.pricing-hero-line {
  color: rgba(255,255,255,0.8);
  font-size: 1.2rem;
  margin: 0 0 2px;
  text-align: center;
  font-weight: 500;
  min-height: 1.6em;
}

.pricing-hero-line .typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: rgba(255,255,255,0.7);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: cursorBlink 0.6s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.pricing-section {
  padding: 80px 0 100px;
  background: var(--white);
}

/* --- Duo layout: individual + partner --- */
.pricing-duo {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  margin-top: -40px;
  position: relative;
}

.pricing-card {
  background: var(--white);
  border-radius: 16px;
  padding: 44px 36px 68px;
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card-main {
  max-width: 460px;
  width: 100%;
  border: 2px solid var(--blue);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-duo.revealed .pricing-card-main {
  transform: translateX(0);
}

/* Plus icon */
.pricing-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  flex-shrink: 0;
  padding: 0 8px;
  align-self: center;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pricing-plus span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(91,164,217,0.3);
}

.pricing-card-partner {
  max-width: 460px;
  width: 100%;
  border: 2px solid var(--blue);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 1;
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Revealed state */
.pricing-duo.revealed .pricing-plus {
  opacity: 1;
  transform: scale(1);
}

.pricing-duo.revealed .pricing-card-partner {
  opacity: 1;
  transform: translateX(0);
}

/* Desktop-only entrance animation (cards slide in on load) */
@media (min-width: 901px) {
  .pricing-duo { gap: 24px; }

  .pricing-card-main {
    transform: translateX(calc(50% + 24px));
  }

  .pricing-duo.revealed .pricing-card-main {
    transform: translateX(0);
  }

  .pricing-card-partner {
    opacity: 0;
    transform: translateX(60px);
  }

  .pricing-duo.revealed .pricing-card-partner {
    opacity: 1;
    transform: translateX(0);
  }
}

.pricing-card-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 12px;
}

.pricing-card-partner .pricing-card-label {
  color: var(--blue);
}

.pricing-card-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(39,174,96,0.3);
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.pricing-card-partner .pricing-amount {
  font-size: 3.25rem;
}

.pricing-struck {
  font-size: 1.5rem;
  color: var(--gray-400);
  text-decoration: line-through;
  font-weight: 500;
  margin-right: 8px;
}

.pricing-period {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-50);
}

.pricing-features li svg {
  flex-shrink: 0;
  color: var(--blue);
}

.pricing-guarantee {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--gray-400);
}

.pricing-partner-total {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  position: absolute;
  bottom: 20px;
  left: 36px;
  right: 36px;
  text-align: center;
  margin: 0;
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
}

/* --- Subscription card --- */
.pricing-subscription {
  max-width: 1000px;
  margin: 48px auto 0;
  background: linear-gradient(165deg, #1e2d52 0%, #2c3e6b 50%, #3d5a99 100%);
  border-radius: 20px;
  padding: 4px;
  box-shadow: 0 12px 40px rgba(44,62,107,0.18);
}

.pricing-sub-inner {
  background: linear-gradient(165deg, #1e2d52 0%, #2c3e6b 50%, #3d5a99 100%);
  border-radius: 18px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.pricing-sub-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
}

.pricing-sub-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(125,188,232,0.25), rgba(91,164,217,0.1));
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(91,164,217,0.2);
}

.pricing-sub-icon svg {
  color: var(--blue-accent);
}

.pricing-sub-left h3 {
  color: var(--white);
  font-size: 1.65rem;
  margin-bottom: 10px;
}

.pricing-sub-left p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.65;
}

.pricing-sub-right {
  text-align: center;
  flex-shrink: 0;
}

.pricing-sub-amount {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.pricing-sub-period {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  margin-top: 4px;
}

/* Responsive pricing */
@media (max-width: 900px) {
  .pricing-duo {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .pricing-card-main,
  .pricing-card-partner {
    max-width: 100%;
  }

  .pricing-card-main {
    transform: translateX(0);
  }

  .pricing-card-partner {
    transform: translateY(40px);
  }

  .pricing-duo.revealed .pricing-card-partner {
    transform: translateY(0);
  }

  .pricing-plus {
    padding: 12px 0;
  }

  .pricing-sub-inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .pricing-sub-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pricing-card {
    padding: 36px 24px;
  }

  .pricing-amount {
    font-size: 2.75rem;
  }
}

/* ===== DECORATIVE FLOATING SHAPES ===== */
.why-section,
.how-section,
.features-section,
.faq-section {
  position: relative;
  overflow: hidden;
}

.deco-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 1s ease, transform 1.2s ease;
  pointer-events: none;
  z-index: 0;
}

.deco-shape.visible {
  opacity: 1;
  transform: translate(0, 0) !important;
}

/* Why section shapes */
.why-section .deco-circle-1 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(91,164,217,0.1) 0%, transparent 70%);
  top: -60px;
  right: -60px;
  transform: translate(40px, -40px);
}

.why-section .deco-circle-2 {
  width: 120px;
  height: 120px;
  border: 2px solid rgba(91,164,217,0.12);
  bottom: 40px;
  left: -30px;
  transform: translate(-30px, 30px);
}

/* How section shapes */
.how-section .deco-circle-1 {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(125,188,232,0.1) 0%, transparent 70%);
  top: 20px;
  left: -40px;
  transform: translate(-40px, -20px);
}

.how-section .deco-circle-2 {
  width: 80px;
  height: 80px;
  border: 2px solid rgba(91,164,217,0.1);
  bottom: 60px;
  right: 40px;
  transform: translate(30px, 20px);
}

/* Features section shapes */
.features-section .deco-circle-1 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(91,164,217,0.08) 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
  transform: translate(40px, 40px);
}

/* FAQ section shapes */
.faq-section .deco-circle-1 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(125,188,232,0.08) 0%, transparent 70%);
  top: 40px;
  right: -50px;
  transform: translate(30px, -20px);
}

.faq-section .deco-circle-2 {
  width: 100px;
  height: 100px;
  border: 2px solid rgba(91,164,217,0.1);
  bottom: 80px;
  left: 20px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  transform: translate(-20px, 20px);
}

/* Section headings + content stay above shapes */
.why-section .container,
.how-section .container,
.features-section .container,
.faq-section .container {
  position: relative;
  z-index: 1;
}

/* ===== ROTATING HERO WORDS ===== */
.rotating-word-wrapper {
  display: inline-block;
  position: relative;
  min-width: 200px;
  text-align: left;
  white-space: nowrap;
}

.rotating-word {
  display: inline-block;
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(10px);
  color: var(--blue-accent);
}

.rotating-word.active {
  opacity: 1;
  position: relative;
  transform: translateY(0);
}

/* ===== TALK TO US FLOATING BUTTON ===== */
.talk-to-us {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 6px 24px rgba(91, 164, 217, 0.4);
  transition: all var(--transition);
  text-decoration: none;
  animation: talkPulse 3s ease-in-out infinite;
}

.talk-to-us:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(91, 164, 217, 0.5);
}

.talk-to-us svg {
  flex-shrink: 0;
}

@keyframes talkPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(91, 164, 217, 0.4); }
  50% { box-shadow: 0 6px 32px rgba(91, 164, 217, 0.6); }
}

/* ===== ARTICLE PAGES ===== */
.article-hero {
  padding: 140px 0 60px;
  background: linear-gradient(165deg, #2c3e6b 0%, #3d5a99 40%, #7dbce8 100%);
}

.article-back {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
  transition: color var(--transition);
}

.article-back:hover {
  color: var(--white);
}

.article-meta {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.article-hero h1 {
  color: var(--white);
  font-size: 2.75rem;
  max-width: 700px;
  margin-bottom: 16px;
}

.article-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  max-width: 600px;
}

.article-section {
  padding: 60px 0 100px;
  background: var(--white);
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
}

.article-hero-img {
  border-radius: 16px;
  overflow: hidden;
  margin: -20px 0 48px;
  box-shadow: var(--shadow-lg);
}

.article-hero-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.article-content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  font-size: 1.75rem;
}

.article-content h3 {
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.article-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 18px;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.article-content a {
  color: var(--blue);
  font-weight: 500;
}

.article-content a:hover {
  text-decoration: underline;
}

/* Table of contents */
.article-toc {
  background: var(--off-white);
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 40px;
  border-left: 4px solid var(--blue);
}

.article-toc h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin-bottom: 14px;
}

.article-toc ol {
  padding-left: 20px;
  margin-bottom: 0;
}

.article-toc li {
  font-size: 0.95rem;
  margin-bottom: 6px;
  line-height: 1.6;
}

/* Steps (get started article) */
.article-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0 40px;
}

.article-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--off-white);
  border-radius: 14px;
  border: 1px solid var(--gray-100);
}

.article-step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.article-step h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.article-step p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Article CTA box */
.article-cta {
  margin-top: 56px;
  padding: 40px;
  background: var(--off-white);
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--gray-100);
}

.article-cta h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.article-cta p {
  color: var(--gray-400);
  margin-bottom: 24px;
}

.article-cta .btn-primary {
  background: var(--blue);
  color: var(--white);
}

.article-cta .btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
}

@media (max-width: 768px) {
  .article-hero { padding: 120px 0 40px; }
  .article-hero h1 { font-size: 2rem; }
  .article-hero-img img { height: 220px; }
  .article-cta { padding: 28px 20px; }
}

/* ===== LEARN LANDING PAGE ===== */
.learn-hero {
  padding: 140px 0 60px;
  background: linear-gradient(165deg, #2c3e6b 0%, #3d5a99 40%, #7dbce8 100%);
  text-align: center;
}

.learn-hero h1 {
  color: var(--white);
  font-size: 2.75rem;
  margin-bottom: 16px;
}

.learn-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

.learn-category-section {
  padding: 80px 0;
  background: var(--white);
}

.learn-category-alt {
  background: var(--off-white);
}

.learn-category-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}

.learn-category-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.learn-category-icon svg {
  color: var(--blue);
}

.learn-category-header h2 {
  margin-bottom: 8px;
}

.learn-category-desc {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 700px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .learn-hero { padding: 120px 0 40px; }
  .learn-hero h1 { font-size: 2rem; }
  .learn-category-section { padding: 48px 0; }
  .learn-category-header { flex-direction: column; gap: 12px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .hero h1 { font-size: 2.75rem; }


  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .hero { padding: 132px 0 80px; }
  .hero .container {
    grid-template-columns: 1fr;
    grid-template-areas: "badge" "image" "content";
    text-align: center;
  }
  .hero-badge { justify-self: center; font-size: 0.65rem; padding: 6px 14px; margin-bottom: 10px; margin-left: 16px; margin-right: 16px; }
  .hero-content { text-align: center; }
  .hero h1 { font-size: 2.25rem; margin-left: auto; margin-right: auto; }
  .hero p { font-size: 1.05rem; margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; flex-direction: column; gap: 8px; margin-bottom: 28px; }
  .hero-cta .btn-large { padding: 12px 28px; font-size: 0.9rem; }
  .hero-features { align-items: flex-start; width: fit-content; margin: 0 auto; text-align: left; }
  .hero-feature { font-size: 0.85rem; }
  .how-legal-note { font-size: 0.75rem; padding: 14px 18px; gap: 8px; align-items: flex-start; line-height: 1.4; }
  br.mobile-br { display: block; }
  .how-section { padding-top: 32px; }
  .hero-image {
    margin-bottom: 24px;
  }
  .hero-trio { max-width: none; width: 100%; gap: 8px; }
  .hero-trio-img { border-radius: 14px; }
  .hero-trio-img img { height: 280px; }

  /* Nav */
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Grids */
  .how-steps,
  .learn-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trust-grid {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .trust-item { width: 100%; max-width: 420px; }

  /* CTA section */
  .cta-section { padding: 52px 0; }

  .how-steps::before { display: none; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .comparison-header,
  .comparison-row {
    grid-template-columns: 1fr 1.1fr 1fr 1fr;
    font-size: 0.8rem;
  }

  .comparison-row div,
  .comparison-header div {
    padding: 12px 8px;
  }

  .talk-to-us span { display: none; }
  .talk-to-us {
    padding: 14px;
    border-radius: 50%;
  }

  .rotating-word-wrapper { min-width: 140px; white-space: nowrap; }

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

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

  /* Pricing */
  .pricing-card {
    padding: 36px 24px;
  }

  .pricing-amount {
    font-size: 2.75rem;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }
  /* comparison text size overridden below — using horizontal scroll instead */
}

/* ===== MOBILE OPTIMISATION (iPhone) ===== */

/* Allow nowrap subtitles to wrap on mobile */
@media (max-width: 768px) {
  /* Hero: keep gradient dark on mobile so white text stays readable */
  .hero {
    background: linear-gradient(180deg, #2c3e6b 0%, #3d5a99 75%, #4a80b8 100%);
  }

  /* Shrink white ellipse so hero-features checkmarks don't land on white */
  .hero::after {
    height: 48px;
  }

  .reviews-section .section-subtitle,
  .comparison-section .section-subtitle,
  .will-includes-section .section-subtitle {
    white-space: normal;
    max-width: 100%;
  }

  /* Hamburger — larger touch target */
  .nav-hamburger {
    padding: 10px;
    margin-right: -10px;
  }

  /* How it works — smaller numbered circles */
  .how-step-number {
    width: 54px;
    height: 54px;
  }
  .how-step-number span {
    font-size: 1.35rem;
  }

  /* Why MakeGoodwill cards */
  .why-highlights { margin-left: 12px; margin-right: 12px; }
  .why-highlight {
    height: auto !important; /* override JS equalizer on mobile */
    padding: 20px;
  }
  .why-highlight-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
}

/* Comparison table: horizontal scroll + frozen first column */
@media (max-width: 600px) {
  .comparison-table {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-header,
  .comparison-row {
    grid-template-columns: 108px 155px 145px 140px;
    min-width: 548px;
  }

  .comparison-row div,
  .comparison-header div {
    padding: 10px 8px;
    font-size: 0.75rem;
  }

  /* Freeze first column + align labels to the right */
  .comparison-header div:first-child,
  .comparison-row div:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    box-shadow: 2px 0 6px rgba(44,62,107,0.08);
    text-align: left;
  }

  /* Badges: allow wrapping so they fit within fixed-width columns */
  .comp-badge {
    white-space: normal;
    text-align: center;
    padding: 4px 8px;
    font-size: 0.7rem;
    line-height: 1.3;
  }

  /* Will includes: single column earlier */
  .will-includes-grid {
    grid-template-columns: 1fr;
  }
}

/* Small screen (iPhone SE / standard) */
@media (max-width: 480px) {
  /* Promo banner */
  .promo-banner {
    font-size: 0.78rem;
    padding: 8px 40px 8px 12px;
  }
  .promo-banner .promo-close { right: 8px; }

  /* Hero trio images */
  .hero-trio-img img { height: 200px; }

  /* Partner logo */
  .partner-logo { height: 80px; }
  .partners-logos { gap: 20px; }

  /* Review cards */
  .review-card { min-width: 260px; max-width: 300px; }

  /* Footer spacing */
  .footer-grid { gap: 24px; }

  /* Will docs section padding */
  .will-docs-section { padding: 48px 0 64px; }
  .will-includes-section { padding: 48px 0 64px; }
}

/* ===== PRICING PAGE — MOBILE CAROUSEL ===== */
@media (max-width: 768px) {
  .pricing-hero-lines { margin-top: 28px; }
  .pricing-hero-line { font-size: 0.88rem; margin: 0 0 3px; }

  .pricing-section { padding: 40px 0 60px; }

  .pricing-duo {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    padding: 16px 0 24px;
    margin-top: 0;
    justify-content: flex-start;
    align-items: stretch;
  }
  .pricing-duo::-webkit-scrollbar { display: none; }

  .pricing-card-main,
  .pricing-card-partner {
    min-width: 75vw;
    max-width: 75vw;
    flex-shrink: 0;
    scroll-snap-align: start;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
    padding: 22px 18px 32px;
  }

  /* Last card: right margin so it doesn't sit flush */
  .pricing-card-partner { margin-right: 16px; }

  /* "Both wills for…" — remove absolute so it flows inside the card */
  .pricing-partner-total {
    position: static;
    margin-top: 14px;
    left: auto; right: auto; bottom: auto;
  }

  /* Smaller card internals — both cards same sizes */
  .pricing-amount,
  .pricing-card-partner .pricing-amount { font-size: 2.2rem; margin-bottom: 4px; }
  .pricing-period { font-size: 0.8rem; margin-bottom: 16px; }
  .pricing-card-label { font-size: 0.72rem; margin-bottom: 8px; }
  .pricing-features { margin-bottom: 18px; }
  .pricing-features li { font-size: 0.8rem; padding: 6px 0; gap: 8px; }
  .pricing-features li svg { width: 15px; height: 15px; flex-shrink: 0; }
  .pricing-struck { font-size: 1.1rem; }
  .pricing-card-badge { font-size: 0.7rem; padding: 4px 12px; top: -12px; }
  .pricing-card .btn { font-size: 0.85rem; padding: 12px 20px; width: 100%; }

  .pricing-plus { display: none; }

  .pricing-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }

  /* Pricing hero mobile */
  .pricing-hero { padding-top: 96px; padding-bottom: 28px; }

  /* Subscription card mobile */
  .pricing-subscription { margin-top: 28px; }
  .pricing-sub-inner { padding: 24px 18px; gap: 14px; }
  .pricing-sub-icon { width: 48px; height: 48px; }
  .pricing-sub-icon svg { width: 22px; height: 22px; }
  .pricing-sub-left { gap: 10px; }
  .pricing-sub-left h3 { font-size: 1.15rem; margin-bottom: 6px; }
  .pricing-sub-left p { font-size: 0.83rem; line-height: 1.5; }
  .pricing-sub-amount { font-size: 2rem; }
  .pricing-sub-period { font-size: 0.82rem; }
  .pricing-sub-right .btn { width: 100%; margin-top: 12px; }
}

/* Very small iPhones (SE 1st gen, mini) */
@media (max-width: 380px) {
  .hero h1 { font-size: 1.6rem; }
  .rotating-word-wrapper { min-width: 100px; }
  .hero-trio-img img { height: 160px; }
  .hero-trio { gap: 6px; }
  h2 { font-size: 1.5rem; }
}

/* ===== WHAT'S IN YOUR WILL PAGE ===== */
.will-docs-section {
  padding: 80px 0 100px;
  background: var(--white);
}

.will-docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.will-docs-content h2 {
  margin-bottom: 12px;
}

.will-docs-content > p {
  margin-bottom: 36px;
  font-size: 1.05rem;
  color: var(--gray-600);
}

.will-docs-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
}

.will-docs-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.will-doc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}

.will-docs-list h4 {
  margin-bottom: 4px;
  color: var(--navy);
}

.will-docs-list p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.will-docs-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 20px;
}

.will-includes-section {
  padding: 80px 0 100px;
  background: var(--blue-light);
}

.will-includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.will-include-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.will-include-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 16px;
}

.will-include-card h4 {
  margin-bottom: 8px;
}

.will-include-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.will-cta-section {
  padding: 0 0 80px;
  background: var(--white);
}

@media (max-width: 900px) {
  .will-docs-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .will-docs-image { order: -1; }
}

@media (max-width: 768px) {
  .will-includes-grid {
    grid-template-columns: 1fr 1fr;
  }
  .will-docs-section { padding: 60px 0 80px; }
  .will-includes-section { padding: 60px 0 80px; }
  .will-docs-image { display: none; }
}

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