/* ===============================
   MERIT TUTORING - MODERN STYLES
   Brand Colors: Teal #016060 | Coral #f47e52
   =============================== */

:root {
  /* Brand Colors */
  --color-teal-primary: #016060;
  --color-teal-dark: #014545;
  --color-teal-light: #017a7a;
  --color-teal-bg: #e6f5f5;
  
  --color-coral-primary: #f47e52;
  --color-coral-dark: #e56842;
  --color-coral-light: #ff9d7a;
  --color-coral-bg: #fff5f2;
  
  /* Neutrals */
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;

  /* Pricing billed badge */
  --color-billed-bg-start: #f0fdf4;
  --color-billed-bg-end: #dcfce7;
  --color-billed-border: #86efac;
  --color-billed-text: #166534;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;
  
  /* Spacing */
  --container-max: 1200px;
  --container-padding: 2rem;
  --section-spacing: 6rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
}

/* Cross-document View Transitions (Chrome 126+) — smooth crossfade between pages */
@view-transition {
  navigation: auto;
}

/* ===============================
   RESET & BASE STYLES
   =============================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-800);
  background-color: var(--color-white);
  overflow-x: hidden;
}


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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-base);
}

/* ===============================
   TYPOGRAPHY
   =============================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-gray-900);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-gray-700);
}

.lead-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--color-gray-600);
}

/* ===============================
   CONTAINER & LAYOUT
   =============================== */

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

.section {
  padding: var(--section-spacing) 0;
}

.section-alt {
  background-color: var(--color-gray-50);
}

.section-badge {
  display: block;
  background: rgba(1, 96, 96, 0.08);
  border: 1px solid rgba(1, 96, 96, 0.15);
  color: var(--color-teal-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.section-teal {
  background-color: var(--color-teal-bg);
}

.section-coral {
  background-color: var(--color-coral-bg);
}

/* ===============================
   HEADER & NAVIGATION (FIXED)
   =============================== */

.site-header{
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-container{
  display: flex;
  align-items: center;
  padding: 0;
}

/* Brand */
.brand{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-teal-primary);
  flex-shrink: 0;
}

.brand-logo{
  height: 80px;
  width: auto;
  transform: scale(1.5);
  transform-origin: left center;
  flex-shrink: 0;
}

/* Main nav (desktop) */
.main-nav{
  display: flex;
  flex: 1;
  gap: 2rem;
  align-items: center;
}

.main-nav a{
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-gray-700);
  padding: 0.5rem 0;
  position: relative;
}

.main-nav a::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-coral-primary);
  transition: width var(--transition-base);
}

.main-nav a:hover,
.main-nav a.active{
  color: var(--color-teal-primary);
}

.main-nav a:hover::after,
.main-nav a.active::after{
  width: 100%;
}

.main-nav > a:first-child{
  margin-left: 6rem;
}

/* More dropdown */
.nav-dropdown{
  position: relative;
}

.nav-dropdown-toggle{
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-gray-700);
  padding: 0.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: inherit;
  line-height: 1.5;
  letter-spacing: inherit;
  transition: color var(--transition-base);
  position: relative;
}

/* Match the underline animation of regular nav links */
.nav-dropdown-toggle::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-coral-primary);
  transition: width var(--transition-base);
}

.nav-dropdown-toggle:hover::after,
.nav-dropdown.open .nav-dropdown-toggle::after{
  width: 100%;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle{
  color: var(--color-teal-primary);
}

.nav-dropdown-chevron{
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav-dropdown.open .nav-dropdown-chevron{
  transform: rotate(180deg);
}

.nav-dropdown-menu{
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.03);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 10000;
}

/* Small triangle pointer */
.nav-dropdown-menu::before{
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 6px;
  background: var(--color-white);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.nav-dropdown.open .nav-dropdown-menu{
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a{
  display: flex !important;
  justify-content: center;
  align-items: center;
  padding: 0.55rem 1.5rem !important;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-gray-700);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-menu a::after{
  display: none !important;
}

.nav-dropdown-menu a:hover{
  background: rgba(1, 96, 96, 0.06);
  color: var(--color-teal-primary);
}

/* ===============================
   HAMBURGER MENU — CANONICAL (single source of truth)
   =============================== */

/* Hidden checkbox toggle */
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  left: -9999px;
  pointer-events: none;
}

/* Hamburger icon — hidden on desktop */
.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 0.75rem;
  z-index: 10001;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  background: transparent;
  border: none;
  outline: none;
  border-radius: 8px;
  transition: background 0.2s ease;
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle-label:active {
  background: rgba(1, 96, 96, 0.1);
}

/* 28px × 3px bars, 6px gap */
.nav-toggle-label span {
  width: 28px;
  height: 3px;
  background-color: var(--color-teal-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
  pointer-events: none;
}

/* ---- Mobile hamburger menu (≤ 1100px) ---- */
@media (max-width: 1100px) {

  /* Show hamburger */
  .nav-toggle-label {
    display: flex;
  }

  /* Expand clickable area */
  .nav-toggle-label::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
  }

  /* X animation — math: 9px / √2 ≈ 6.36px */
  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(6.36px, 6.36px);
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(6.36px, -6.36px);
  }

  /* Slide-in panel */
  .main-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 80px 1.5rem 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    z-index: 10000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-toggle:checked ~ .main-nav {
    right: 0;
  }

  /* Backdrop overlay */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9999;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-toggle:checked ~ .nav-backdrop {
    display: block;
  }

  /* Plain navigation links (excludes action buttons) */
  .main-nav > a:not(.header-call):not(.header-login):not(.header-cta),
  .nav-dropdown-menu a {
    width: 100%;
    padding: 0.75rem 0 !important;
    font-size: 1.05rem !important;
    font-weight: 500;
    color: var(--color-gray-700);
    display: block !important;
    text-align: left;
    border-bottom: 1px solid var(--color-gray-200);
    transition: color 0.2s ease, padding-left 0.2s ease;
  }

  .main-nav > a:not(.header-call):not(.header-login):not(.header-cta):first-child {
    padding-top: 0.25rem;
    margin-left: 0;
  }

  .main-nav > a:not(.header-call):not(.header-login):not(.header-cta):hover,
  .main-nav > a:not(.header-call):not(.header-login):not(.header-cta):active,
  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a:active {
    color: var(--color-teal-primary);
    padding-left: 0.5rem;
  }

  /* Hide underline pseudo-element on all nav links */
  .main-nav a::after {
    display: none !important;
  }

  /* Flatten dropdown — show items inline, hide toggle */
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    display: none !important;
  }

  .nav-dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-width: unset !important;
  }

  .nav-dropdown-menu a {
    white-space: normal;
  }

  /* Last dropdown link keeps border (action buttons follow) */
  .nav-dropdown-menu a:last-child {
    border-bottom: 1px solid var(--color-gray-200);
  }

  /* ---- Action buttons — uniform size & spacing ---- */

  .main-nav a.header-call,
  .main-nav a.header-login,
  .main-nav a.header-cta {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    height: 48px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50px !important;
    border-bottom: none !important;
    box-sizing: border-box;
    overflow: hidden !important;
  }

  .main-nav a.header-call {
    margin-top: 1rem;
    margin-bottom: 0 !important;
    padding: 0 0.25rem !important;
  }

  .main-nav a.header-login.header-login {
    margin-top: 0.5rem !important;
    margin-bottom: 0 !important;
    padding: 0 1.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
  }

  .main-nav a.header-cta.header-cta {
    margin-top: 0.5rem !important;
    margin-bottom: 0 !important;
    padding: 0 1.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
  }

  /* Call Merit inner elements — compact to fit */
  .main-nav a.header-call .header-call-label {
    padding: 0 0.5rem !important;
    font-size: 0.82rem !important;
  }

  .main-nav a.header-call .header-call-number {
    padding: 0 0.3rem !important;
    font-size: 0.75rem !important;
    display: block !important;
  }

  .main-nav a.header-call .header-call-divider {
    display: block !important;
  }

  .main-nav a.header-call .header-call-dot {
    display: block !important;
    margin-right: 0.5rem !important;
  }

  .main-nav a.header-call svg {
    margin-left: 0.4rem !important;
    margin-right: 0 !important;
  }

  .main-nav a.header-call:hover,
  .main-nav a.header-login:hover,
  .main-nav a.header-cta:hover {
    padding-left: 0 !important;
  }

  /* Prevent body scroll when menu open */
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
}

/* ===============================
   BUTTONS
   =============================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-base);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-coral-primary) 0%, var(--color-coral-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(244, 126, 82, 0.35);
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-coral-dark) 0%, #d65535 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(244, 126, 82, 0.45);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(244, 126, 82, 0.3);
}

.btn-secondary {
  background-color: var(--color-teal-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background-color: var(--color-teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-teal-primary);
  border-color: var(--color-teal-primary);
}

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

.btn-lg {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
  min-width: 220px;
}

.btn-sm {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

/* ===============================
   HERO SECTION
   =============================== */

.hero {
  background: linear-gradient(135deg, var(--color-teal-bg) 0%, var(--color-white) 100%);
  padding: 5rem 0;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23016060' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  color: var(--color-teal-primary);
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--color-gray-700);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 8px 20px rgba(244, 126, 82, 0.35);
  }
  50% {
    box-shadow: 0 8px 25px rgba(244, 126, 82, 0.5);
  }
  100% {
    box-shadow: 0 8px 20px rgba(244, 126, 82, 0.35);
  }
}

.hero-buttons .btn-primary {
  animation: pulse 2s ease-in-out infinite;
}

.hero-cta-annotation {
  display: flex;
  align-items: flex-end;
  gap: 0.15rem;
  margin-top: 0.5rem;
  padding-left: 1.5rem;
  color: var(--color-teal-light);
}

.hero-cta-arrow {
  width: 36px;
  height: 44px;
  flex-shrink: 0;
  transform: rotate(-15deg);
}

.hero-cta-annotation span {
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  font-weight: 600;
  font-style: italic;
  transform: rotate(-3deg);
  display: inline-block;
}

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-image {
    order: -1;
  }
}

/* ===============================
   CARDS
   =============================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  border: 1px solid var(--color-gray-200);
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-teal-light);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-teal-primary), var(--color-teal-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}

.card h3 {
  color: var(--color-teal-primary);
  margin-bottom: 1rem;
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

/* ===============================
   WHAT WE DO — STACKED SPOTLIGHT
   =============================== */

/* --- What We Do: Interactive Feature Cards --- */

.wwd-section {
  padding: 4rem 0 7rem;
  background: linear-gradient(135deg, rgba(1,96,96,0.04) 0%, rgba(244,126,82,0.04) 100%);
  overflow: hidden;
}

.wwd-section .container {
  position: relative;
  overflow: hidden;
}

.wwd-bg-decoration {
  display: none;
}

.wwd-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}

.wwd-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--color-teal-dark);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.wwd-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-gray-500);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Card Grid --- */

.wwd-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

/* --- Individual Card --- */

.wwd-card {
  position: relative;
  border-radius: 28px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 18px rgba(1, 96, 96, 0.08), 0 2px 6px rgba(0,0,0,0.04);
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: default;
  overflow: hidden;
  /* scroll reveal initial state */
  opacity: 0;
  transform: translateY(40px);
}

.wwd-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.wwd-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 48px rgba(1, 96, 96, 0.12), 0 6px 20px rgba(0,0,0,0.06);
}

.wwd-card.revealed:hover {
  transform: translateY(-12px);
}

/* Card themes */
.wwd-card--teal {
  background: linear-gradient(165deg, #f5fbfb 0%, #f0f8f8 40%, #edf6f6 100%);
  border: 1px solid rgba(1, 96, 96, 0.08);
}

.wwd-card--coral {
  background: linear-gradient(165deg, #fffaf8 0%, #fff6f2 40%, #fff3ee 100%);
  border: 1px solid rgba(244, 126, 82, 0.08);
}

.wwd-card--mixed {
  background: linear-gradient(165deg, #f5fbfb 0%, #f8f9f8 40%, #fffaf7 100%);
  border: 1px solid rgba(1, 96, 96, 0.06);
}

/* --- Card Illustration --- */

.wwd-card-illustration {
  width: 100%;
  max-width: 300px;
  height: 220px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.wwd-card-illustration svg {
  width: 100%;
  height: 100%;
}

/* --- Card Text --- */

.wwd-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 8px;
  line-height: 1.25;
}

.wwd-card--teal .wwd-card-title { color: var(--color-teal-dark); }
.wwd-card--coral .wwd-card-title { color: var(--color-coral-dark); }
.wwd-card--mixed .wwd-card-title { color: var(--color-teal-dark); }

.wwd-card-subtitle {
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 400;
  max-width: 260px;
}

.wwd-card--teal .wwd-card-subtitle { color: #3a7070; }
.wwd-card--coral .wwd-card-subtitle { color: #8a5a45; }
.wwd-card--mixed .wwd-card-subtitle { color: #4a6b6b; }

/* --- Card Hover Animations --- */

/* Teal card: stars twinkle, bubbles bob */
@keyframes wwd-twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.6); }
}
@keyframes wwd-twinkle-delay {
  0%, 100% { opacity: 0.4; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.1); }
}
@keyframes wwd-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes wwd-bob-alt {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes wwd-bob-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes wwd-pulse-bar {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.08); }
}
@keyframes wwd-ring-fill {
  0% { stroke-dashoffset: 157; }
  100% { stroke-dashoffset: 40; }
}
@keyframes wwd-arrow-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes wwd-check-pop {
  0%, 80%, 100% { transform: scale(1); }
  90% { transform: scale(1.2); }
}
@keyframes wwd-spin-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes wwd-wave {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-2px); }
  75% { transform: translateY(2px); }
}

.wwd-card--teal:hover .wwd-star-1 { animation: wwd-twinkle 1.6s ease-in-out infinite; }
.wwd-card--teal:hover .wwd-star-2 { animation: wwd-twinkle-delay 2s ease-in-out infinite 0.3s; }
.wwd-card--teal:hover .wwd-star-3 { animation: wwd-twinkle 1.8s ease-in-out infinite 0.6s; }
.wwd-card--teal:hover .wwd-star-4 { animation: wwd-twinkle-delay 2.2s ease-in-out infinite 0.1s; }
.wwd-card--teal:hover .wwd-bubble-1 { animation: wwd-bob 2s ease-in-out infinite; }
.wwd-card--teal:hover .wwd-bubble-2 { animation: wwd-bob-alt 2.4s ease-in-out infinite 0.4s; }
.wwd-card--teal:hover .wwd-bubble-3 { animation: wwd-bob-slow 2.8s ease-in-out infinite 0.2s; }
.wwd-card--teal:hover .wwd-play-pulse { animation: wwd-check-pop 2s ease-in-out infinite; }

/* Coral card: faces wave, star spins */
.wwd-card--coral:hover .wwd-face-1 { animation: wwd-wave 2s ease-in-out infinite; }
.wwd-card--coral:hover .wwd-face-2 { animation: wwd-wave 2s ease-in-out infinite 0.2s; }
.wwd-card--coral:hover .wwd-face-3 { animation: wwd-wave 2s ease-in-out infinite 0.4s; }
.wwd-card--coral:hover .wwd-face-4 { animation: wwd-wave 2s ease-in-out infinite 0.6s; }
.wwd-card--coral:hover .wwd-face-5 { animation: wwd-wave 2s ease-in-out infinite 0.8s; }
.wwd-card--coral:hover .wwd-tutor-star { animation: wwd-spin-slow 4s linear infinite; transform-origin: center; }
.wwd-card--coral:hover .wwd-connection-dot { animation: wwd-twinkle 1.5s ease-in-out infinite; }

/* Mixed card: bars pulse, arrow bounces, ring fills */
.wwd-card--mixed:hover .wwd-bar-1 { animation: wwd-pulse-bar 2s ease-in-out infinite; transform-origin: bottom; }
.wwd-card--mixed:hover .wwd-bar-2 { animation: wwd-pulse-bar 2s ease-in-out infinite 0.15s; transform-origin: bottom; }
.wwd-card--mixed:hover .wwd-bar-3 { animation: wwd-pulse-bar 2s ease-in-out infinite 0.3s; transform-origin: bottom; }
.wwd-card--mixed:hover .wwd-bar-4 { animation: wwd-pulse-bar 2s ease-in-out infinite 0.45s; transform-origin: bottom; }
.wwd-card--mixed:hover .wwd-bar-5 { animation: wwd-pulse-bar 2s ease-in-out infinite 0.6s; transform-origin: bottom; }
.wwd-card--mixed:hover .wwd-trend-arrow { animation: wwd-arrow-bounce 1.5s ease-in-out infinite; }
.wwd-card--mixed:hover .wwd-progress-ring-fill { animation: wwd-ring-fill 1.5s ease-out forwards; }
.wwd-card--mixed:hover .wwd-check-mark { animation: wwd-check-pop 2s ease-in-out infinite 0.3s; }

/* --- Scroll reveal stagger --- */
.wwd-card:nth-child(1) { transition-delay: 0s; }
.wwd-card:nth-child(2) { transition-delay: 0.12s; }
.wwd-card:nth-child(3) { transition-delay: 0.24s; }
.wwd-card.revealed:nth-child(1) { transition-delay: 0s; }
.wwd-card.revealed:nth-child(2) { transition-delay: 0.12s; }
.wwd-card.revealed:nth-child(3) { transition-delay: 0.24s; }

/* --- Responsive --- */

@media (max-width: 960px) {
  .wwd-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .wwd-cards-grid .wwd-card:last-child {
    grid-column: 1 / -1;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .wwd-section {
    padding: 3.5rem 0 5rem;
  }
  .wwd-header {
    margin-bottom: 2.25rem;
  }
  .wwd-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 420px;
    margin: 0 auto;
  }
  .wwd-cards-grid .wwd-card:last-child {
    max-width: none;
  }
  .wwd-card {
    padding: 28px 24px;
  }
  .wwd-card-illustration {
    height: 200px;
  }
  .wwd-card-title {
    font-size: 1.2rem;
  }
}

/* ===============================
   ILLUSTRATED PATH / WEEKLY CYCLE
   =============================== */

.path-container {
  position: relative;
  aspect-ratio: 900 / 530;
  overflow: visible;
}

.path-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.main-path {
  stroke: var(--color-teal-primary);
  stroke-width: 3;
  stroke-dasharray: 14 10;
  stroke-linecap: round;
  fill: none;
}

.path-glow {
  stroke: var(--color-teal-primary);
  stroke-width: 16;
  stroke-opacity: 0.07;
  fill: none;
}

.return-path {
  stroke: var(--color-gray-300);
  stroke-width: 2;
  stroke-dasharray: 6 10;
  stroke-linecap: round;
  fill: none;
  opacity: 0.35;
}

/* Stop Markers */
.stop-marker {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 260px;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  z-index: 2;
}

/* Left stops: icon left, text extends right (away from path) */
.stop-1, .stop-3 {
  flex-direction: row;
  text-align: left;
  transform: translateX(-34px) translateY(15px);
}

/* Right stops: icon right, text extends left (away from path) */
.stop-2, .stop-4 {
  flex-direction: row-reverse;
  text-align: right;
  transform: translateX(calc(-100% + 34px)) translateY(15px);
}

.stop-text {
  flex: 1;
  min-width: 0;
  background: rgba(255, 245, 242, 0.92);
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
}

.stop-marker h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  margin: 0.1rem 0 0.2rem;
  line-height: 1.3;
}

.stop-marker p {
  font-size: 0.82rem;
  color: var(--color-gray-600);
  line-height: 1.5;
  margin: 0;
}

/* Stop positions (matching SVG waypoints in viewBox 900x530) */
.stop-1 { left: 11.1%; top: 13.2%; }
.stop-2 { left: 88.9%; top: 13.2%; }
.stop-3 { left: 11.1%; top: 58.5%; }
.stop-4 { left: 88.9%; top: 73.6%; }

/* Animate stops in when visible */
.path-container.path-animate .stop-marker {
  opacity: 1;
}
.path-container.path-animate .stop-1,
.path-container.path-animate .stop-3 {
  transform: translateX(-34px) translateY(0);
}
.path-container.path-animate .stop-2,
.path-container.path-animate .stop-4 {
  transform: translateX(calc(-100% + 34px)) translateY(0);
}
.path-container.path-animate .stop-1 { transition-delay: 0.1s; }
.path-container.path-animate .stop-2 { transition-delay: 0.8s; }
.path-container.path-animate .stop-3 { transition-delay: 1.5s; }
.path-container.path-animate .stop-4 { transition-delay: 2.2s; }

/* Icon circles */
.stop-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.stop-icon:hover {
  transform: scale(1.08);
}

.stop-icon-teal {
  background: linear-gradient(135deg, var(--color-teal-primary), var(--color-teal-light));
}

.stop-icon-coral {
  background: linear-gradient(135deg, var(--color-coral-primary), var(--color-coral-light));
}

/* Number badge */
.stop-num {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  background: var(--color-coral-primary);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-white);
  box-shadow: var(--shadow-sm);
}

/* Cycle badge */
.cycle-badge {
  position: absolute;
  bottom: -2%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  border: 2px dashed var(--color-coral-primary);
  border-radius: var(--radius-full);
  padding: 0.45rem 1.2rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-coral-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

/* Return hint label */
.return-hint {
  position: absolute;
  bottom: 8%;
  left: 4%;
  font-size: 0.72rem;
  color: var(--color-gray-400);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-style: italic;
}

/* Mobile: vertical stacked layout */
@media (max-width: 768px) {
  .section.section-coral {
    padding: 3.5rem 0;
  }

  .path-container {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding: 0.75rem 1rem;
  }

  .path-svg,
  .return-hint {
    display: none !important;
  }

  .stop-marker {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100%;
    max-width: 320px;
    opacity: 1 !important;
    transition: none !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* Vertical dashed connector between stops */
  .stop-marker + .stop-marker::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 100%;
    height: 3rem;
    border-left: 2px dashed var(--color-gray-300);
    transform: translateX(-50%);
  }

  .cycle-badge {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin-top: 1rem;
  }
}

.pricing-preview-container {
  max-width: 600px;
  margin: 0 auto;
}

.pricing-preview-card {
  padding: 3rem 2rem;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-preview-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.pricing-preview-header {
  margin-bottom: 1.25rem;
}

.pricing-preview-label {
  font-size: 0.95rem;
  color: var(--color-gray-500);
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
}

.pricing-preview-hero-price {
  font-size: clamp(2.25rem, 6vw, 2.75rem);
  font-weight: 700;
  color: var(--color-teal-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.pricing-preview-hero-price span {
  font-size: 1.1rem;
  font-weight: 500;
  color: #78a5a5;
}

.pricing-preview-sub {
  font-size: 0.9rem;
  color: var(--color-gray-500);
}

.pricing-preview-ribbon {
  background: linear-gradient(135deg, #fff5f1, #ffeee6);
  border-left: 4px solid var(--color-coral-primary);
  margin: 1.25rem 0;
  padding: 0.7rem 1rem;
  border-radius: 0 10px 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pricing-preview-ribbon-icon {
  width: 28px;
  height: 28px;
  background: var(--color-coral-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-preview-ribbon-text {
  font-size: 0.85rem;
  color: var(--color-gray-600);
}

.pricing-preview-ribbon-text strong {
  color: var(--color-coral-primary);
  font-weight: 700;
}

.pricing-badge {
  background: var(--color-coral-primary);
  color: var(--color-white);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  display: inline-block;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(244, 126, 82, 0.2);
}

.pricing-subtitle {
  font-size: 1.1rem;
  color: var(--color-gray-600);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-gray-100);
}

.pricing-info-bar {
  background: var(--color-teal-bg);
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  font-size: 0.95rem;
  border: 1px solid rgba(1, 96, 96, 0.05);
}

.dot-separator {
  color: var(--color-teal-light);
  opacity: 0.5;
}

.pricing-cta {
  width: 100%;
  box-shadow: 0 10px 25px rgba(244, 126, 82, 0.25);
  border-radius: 12px;
  padding: 1rem 2rem !important;
  font-weight: 600;
}

@media (max-width: 768px) {
  .pricing-preview-card {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
  }

  .pricing-preview-header {
    margin-bottom: 1rem;
  }

  .pricing-preview-hero-price {
    font-size: 2.25rem;
  }

  .pricing-preview-ribbon {
    margin: 1rem 0;
    padding: 0.6rem 0.75rem;
  }

  .pricing-preview-ribbon-icon {
    width: 24px;
    height: 24px;
    font-size: 0.6rem;
  }

  .pricing-preview-ribbon-text {
    font-size: 0.8rem;
  }

  .pricing-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    margin-bottom: 0.75rem;
  }

  .pricing-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }

  .pricing-info-bar {
    padding: 0.75rem;
    gap: 0.75rem;
    font-size: 0.85rem;
    margin-top: 1rem;
    flex-wrap: wrap;
  }

  .pricing-cta {
    padding: 0.8rem !important;
    font-size: 1rem !important;
  }
}

/* Pricing Preview — Two-Card Grid */
.pricing-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-preview-card--featured {
  position: relative;
  border: 2px solid var(--color-teal-primary);
  box-shadow: 0 8px 30px rgba(1, 96, 96, 0.12);
}

.pricing-preview-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-teal-primary);
  color: var(--color-white);
  padding: 0.3rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-preview-features {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  text-align: left;
}

.pricing-preview-features li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--color-gray-600);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-preview-features li::before {
  content: '✓';
  color: var(--color-teal-primary);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.pricing-preview-bottom {
  text-align: center;
  margin-top: 2rem;
}

.pricing-preview-bottom .pricing-info-bar {
  margin-top: 1rem;
  justify-content: center;
}

@media (max-width: 768px) {
  .pricing-preview-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 400px;
  }
}

/* ===============================
   PRICING CARDS
   =============================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-gray-200);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card.featured {
  border-color: var(--color-coral-primary);
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  background: linear-gradient(180deg, #fff 0%, #fffbf9 100%);
}

/* Remove scale on mobile to prevent layout breaks */
@media (max-width: 768px) {
  .pricing-card.featured {
    transform: none;
    border-width: 3px;
    box-shadow: 0 12px 30px rgba(244, 126, 82, 0.25);
  }
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured:hover {
  transform: translateY(-8px) scale(1.03);
}

.pricing-card .pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-coral-primary), #e86535);
  color: var(--color-white);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(230, 111, 81, 0.3);
  white-space: nowrap;
}

.pricing-title {
  font-size: 1.75rem;
  color: var(--color-teal-primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 0.625rem;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}

.pricing-price .just-text {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-gray-600);
}

.pricing-price span {
  font-size: 1.125rem;
  color: var(--color-gray-500);
  font-weight: 400;
}

.pricing-subtitle {
  color: var(--color-gray-600);
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  margin: 0.75rem 0 1.5rem 0;
  text-align: left;
  flex-grow: 1;
}

.pricing-cta {
  display: inline-flex;
  width: 100%;
  margin-top: auto;
  /* Polished internal spacing: balanced height, clear icon–text gap */
  padding: 0.875rem 2rem;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}
.pricing-cta.btn-lg {
  padding: 0.875rem 2rem;
  min-width: unset;
}
.pricing-cta-icon {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.pricing-price-container {
  background: linear-gradient(135deg, #f0f7f7, #e8f3f3);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  margin-bottom: 1rem;
}

.pricing-card.featured .pricing-price-container {
  background: linear-gradient(135deg, #fff5f1, #ffeee6);
}

.pricing-year-breakdown {
  font-size: 0.82rem;
  color: var(--color-gray-500);
  margin-top: 0.5rem;
  font-weight: 500;
}

.pricing-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #dce5e5, transparent);
  margin-bottom: 1rem;
}

.pricing-card.featured .pricing-divider {
  background: linear-gradient(90deg, transparent, #f0c4b0, transparent);
}

.pricing-card.featured .pricing-cta {
  background: linear-gradient(135deg, var(--color-coral-primary), #e86535);
}

.pricing-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.875rem;
  color: var(--color-gray-700);
  line-height: 1.6;
  text-align: left;
}

.pricing-features li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  min-width: 24px;
  margin-top: 0;
  background: var(--color-teal-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.75rem;
}

.pricing-card.featured .pricing-features li::before {
  background: var(--color-coral-primary);
}

/* ===============================
   TESTIMONIALS
   =============================== */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--color-coral-primary);
  transition: var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.testimonial-text {
  font-style: italic;
  color: var(--color-gray-700);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-teal-primary);
}

.testimonial-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--color-teal-primary);
}

.testimonial-info p {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin: 0;
}

.testimonial-stars {
  color: var(--color-coral-primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* ===============================
   CALL TO ACTION
   =============================== */

.cta-section {
  background: linear-gradient(135deg, var(--color-teal-primary), var(--color-teal-dark));
  color: var(--color-white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

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

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

.cta-section p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.btn-white:hover {
  background-color: var(--color-gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* ===============================
   FORMS
   =============================== */

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

.form-label {
  display: block;
  font-weight: 600;
  color: var(--color-gray-800);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem; /* 16px minimum - prevents iOS auto-zoom */
  border: 2px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  font-family: inherit;
}

/* Ensure all inputs stay at 16px+ on mobile */
input,
select,
textarea,
button {
  font-size: 1rem; /* 16px minimum */
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-teal-primary);
  box-shadow: 0 0 0 3px rgba(1, 96, 96, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===============================
   FOOTER - REDESIGNED
   =============================== */

.site-footer {
  background-color: var(--color-gray-900);
  color: var(--color-gray-300);
  padding: 5rem 0 2rem;
  border-top: 4px solid var(--color-teal-primary);
}

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

.footer-brand-section {
  max-width: 400px;
}

.footer-logo {
  display: block;
  margin-bottom: 1.5rem;
}

.footer-brand-img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1); /* Makes the logo white */
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--color-coral-primary);
  transform: translateY(-3px);
  color: white;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h3 {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-coral-primary);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-section a:hover {
  color: var(--color-coral-primary);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  margin: 0;
}

.footer-bottom-extra {
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-brand-section {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-tagline {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .footer-top {
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .footer-brand-img {
    height: 50px;
  }

  .footer-tagline {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    text-align: center;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr); /* Keep 2 columns even on very small screens for compactness */
    gap: 1.5rem 1rem;
    text-align: center;
  }

  .footer-section h3 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-socials {
    justify-content: center;
  }

  /* Legal section takes full width for better balance if it's the 3rd item */
  .footer-section:last-child {
    grid-column: span 2;
  }

  .footer-section a:hover {
    transform: translateY(-2px);
  }
}




/* ===============================
   FOCUS STYLES FOR ACCESSIBILITY
   =============================== */

/* Remove default outline only when replacing it */
*:focus {
  outline: none;
}

/* Add visible focus for keyboard users only */
*:focus-visible {
  outline: 2px solid #f47e52;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Specific focus styles for buttons */
.btn:focus-visible {
  outline: 3px solid #f47e52;
  outline-offset: 3px;
}

/* Links */
a:focus-visible {
  outline: 2px solid #016060;
  outline-offset: 2px;
}

/* Form inputs */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #016060;
  outline-offset: 0;
}

/* ===============================
   UTILITIES
   =============================== */

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

.text-teal {
  color: var(--color-teal-primary);
}

.text-coral {
  color: var(--color-coral-primary);
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Animation Classes */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   MODAL
   =============================== */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  font-size: 1.5rem;
  color: var(--color-gray-700);
}

.modal-close:hover {
  background: var(--color-coral-primary);
  color: var(--color-white);
}

/* ===============================
   VIDEO CONTAINER
   =============================== */

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin: 2rem 0;
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===============================
   IMAGE GALLERY
   =============================== */

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-base);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(1, 96, 96, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-base);
  color: var(--color-white);
  font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ===============================
   RESPONSIVE
   =============================== */

/* Tablet Landscape */
@media (max-width: 1024px) {
  :root {
    --section-spacing: 4rem;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  :root {
    --section-spacing: 3.5rem;
    --container-padding: 1.5rem;
  }

  .card-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    gap: 2rem;
    padding: 0 1rem;
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  }

  .pricing-card.featured {
    transform: scale(1);
    border: 2.5px solid var(--color-coral-primary);
    box-shadow: 0 15px 35px rgba(244, 126, 82, 0.15);
  }

  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }

  .pricing-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .pricing-price {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    justify-content: center;
    gap: 0.35rem;
  }

  .pricing-price .just-text,
  .pricing-price span {
    font-size: 0.9rem;
  }

  .pricing-billed {
    margin-bottom: 1rem;
    background: transparent;
    padding: 0;
    border: none;
    align-self: center;
  }

  .pricing-billed p {
    color: var(--color-gray-500);
    font-weight: 500;
    font-size: 0.85rem;
  }

  .pricing-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    padding: 0 0 1rem 0;
    border-bottom: 1px solid var(--color-gray-100);
    margin-top: 0.25rem;
    text-align: center;
  }

  .pricing-features {
    margin: 0.5rem 0 1.5rem 0;
  }

  .pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    gap: 0.75rem;
  }

  ul.pricing-features li::before,
  .pricing-features li::before {
    width: 20px;
    height: 20px;
    min-width: 20px;
    font-size: 0.75rem;
    margin-top: 2px;
  }

  .pricing-cta {
    padding: 0.85rem !important;
    font-size: 1rem !important;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(244, 126, 82, 0.25);
  }

  .pricing-card .pricing-badge {
    top: -12px;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    box-shadow: 0 4px 12px rgba(244, 126, 82, 0.2);
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
    min-width: auto !important;
  }
  
  .stop-marker {
    max-width: 280px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .lead-text {
    font-size: 1.125rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --section-spacing: 4rem;
    --container-padding: 1.25rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  .btn-lg {
    padding: 1.125rem 2rem;
  }

  .brand-logo {
    height: 46px;
    transform: scale(1.5);
    transform-origin: left center;
  }
  
  .nav-container {
    position: relative;
  }
}

@media print {
  .site-header,
  .site-footer,
  .btn {
    display: none;
  }
}

/* ===============================
   HEADER LOGIN BUTTON
   =============================== */

.main-nav a.header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  font-family: var(--font-primary) !important;
  letter-spacing: 0.02em;
  line-height: 1;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-teal-primary) !important;
  background: var(--color-teal-primary) !important;
  color: #ffffff !important;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a.header-login::after {
  display: none !important;
}

.main-nav a.header-login:hover {
  background: #014848 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .main-nav a.header-login {
    padding: 1rem 1.5rem !important;
    font-size: 0.95rem !important;
    margin-top: 1rem !important;
    max-width: 85%;
  }
}

/* ===============================
   HEADER CALL MERIT BUTTON
   =============================== */

.main-nav a.header-call {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0 !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  font-family: var(--font-primary) !important;
  letter-spacing: 0.01em;
  line-height: 1;
  border-radius: var(--radius-full);
  border: 1.5px solid #c8e6e6 !important;
  background: linear-gradient(135deg, rgba(1,96,96,0.03) 0%, rgba(1,96,96,0.07) 100%) !important;
  color: var(--color-teal-primary) !important;
  white-space: nowrap;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  overflow: hidden;
  text-decoration: none !important;
}

.main-nav a.header-call::after {
  display: none !important;
}

.header-call-label {
  padding: 0.55rem 0.75rem;
  font-weight: 600;
  color: var(--color-teal-primary);
}

.header-call-divider {
  width: 1.5px;
  height: 1.4rem;
  background: #c8e6e6;
  flex-shrink: 0;
}

.main-nav a.header-call svg {
  flex-shrink: 0;
  margin-left: 0.6rem;
  color: var(--color-teal-primary);
  opacity: 0.7;
}

.header-call-number {
  padding: 0.55rem 0.4rem 0.55rem 0.4rem;
  font-weight: 500;
  color: var(--color-gray-600, #555);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.header-call-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 0.75rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: call-dot-pulse 2s ease-in-out infinite;
}

@keyframes call-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  50% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

.main-nav a.header-call:hover {
  border-color: var(--color-teal-primary) !important;
  box-shadow: 0 2px 12px rgba(1, 96, 96, 0.15);
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(1,96,96,0.06) 0%, rgba(1,96,96,0.12) 100%) !important;
}

.main-nav a.header-call:hover .header-call-label {
  color: #014848;
}

.main-nav a.header-call:hover svg {
  opacity: 1;
}

/* Tablet: hide number, keep compact */
@media (max-width: 1100px) and (min-width: 769px) {
  .header-call-number {
    display: none;
  }
  .header-call-divider {
    display: none;
  }
  .main-nav a.header-call svg {
    margin-left: 0;
    margin-right: 0.1rem;
  }
  .main-nav a.header-call {
    padding: 0 0.6rem 0 0 !important;
  }
  .header-call-dot {
    margin-right: 0.5rem;
  }
}

/* Mobile nav */
@media (max-width: 768px) {
  .main-nav a.header-call {
    padding: 0 !important;
    margin-top: 1rem !important;
    max-width: 85%;
    border-color: #c8e6e6 !important;
    background: linear-gradient(135deg, rgba(1,96,96,0.03) 0%, rgba(1,96,96,0.07) 100%) !important;
    border-bottom: 1.5px solid #c8e6e6 !important;
    justify-content: center;
  }

  .header-call-label {
    padding: 0.85rem 0.75rem;
    font-size: 0.95rem;
  }

  .header-call-divider {
    height: 1.6rem;
  }

  .header-call-number {
    padding: 0.85rem 0.4rem 0.85rem 0.4rem;
    font-size: 0.9rem;
  }

  .header-call-dot {
    margin-right: 0.85rem;
  }

  .main-nav a.header-call:hover {
    padding-left: 0 !important;
  }
}

/* ===============================
   HEADER CTA (Book Free Assessment)
   =============================== */

.main-nav a.header-cta{
  margin-left: -0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  font-family: var(--font-primary) !important;
  letter-spacing: 0.02em;
  line-height: 1;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--color-coral-primary) 0%, var(--color-coral-dark) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(244, 126, 82, 0.25);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

@media (max-width: 768px){
  .main-nav a.header-cta{
    padding: 1.2rem 1.5rem !important; 
    font-size: 0.95rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
    max-width: 85%;
    white-space: normal !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }
}

@media (max-width: 480px){
  .main-nav a.header-cta{
    padding: 0.75rem 1.2rem !important;
    font-size: 0.95rem !important;
  }
}

.main-nav a.header-cta::after{
  display: none !important;
}

.main-nav a.header-cta::before{
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.main-nav a.header-cta:hover::before{
  left: 100%;
}

.main-nav a.header-cta:hover{
  background: linear-gradient(135deg, var(--color-coral-dark) 0%, #d65535 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(244, 126, 82, 0.35);
}

/* ===============================
   WHY US STICKY BAR
   =============================== */

.why-us-bar {
  background: linear-gradient(135deg, #005F60, #016868);
  padding: 0.3rem 0;
  position: sticky;
  top: 80px; /* Adjust based on header height */
  z-index: 998;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-bottom: 2px solid #f47e52;
  width: 100%;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.why-us-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.why-us-label {
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-right: 0.5rem;
}

.why-us-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-full);
  background: #e0622e;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.25s ease;
  border: 2px solid #c4521f;
  box-shadow: 0 3px 0 #c4521f, 0 4px 8px rgba(0,0,0,0.25);
  text-decoration: none;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.why-us-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.6s;
}

.why-us-btn:hover::after {
  left: 100%;
}

.why-us-btn:hover {
  background: #cb5828;
  border-color: #a8431a;
  box-shadow: 0 3px 0 #a8431a, 0 4px 12px rgba(0,0,0,0.3);
  transform: translateY(-1px);
  color: white;
}

.why-us-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #a8431a, 0 2px 4px rgba(0,0,0,0.2);
}

.btn-icon {
  font-size: 0.85rem;
  line-height: 1;
}

.btn-text {
  font-size: 0.75rem;
  line-height: 1;
}

/* ===============================
   WHY US BAR - TABLET & MOBILE
   =============================== */

@media (max-width: 968px) {
  .why-us-bar {
    top: 70px;
    padding: 0.45rem 0;
  }

  .why-us-container {
    padding: 0 0.75rem;
    gap: 0.6rem;
    justify-content: center;
  }

  .why-us-label {
    font-size: 0.75rem;
  }

  .why-us-buttons {
    gap: 0.4rem;
  }

  .why-us-btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.7rem;
    gap: 0.25rem;
  }

  .btn-icon {
    font-size: 0.8rem;
  }

  .btn-text {
    font-size: 0.7rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .why-us-bar {
    top: 60px; /* Matches smaller header on mobile */
    padding: 0.4rem 0;
  }

  .why-us-container {
    padding: 0 0.5rem;
    gap: 0.5rem;
    justify-content: center;
  }

  .why-us-label {
    font-size: 0.7rem;
    gap: 0.25rem;
  }

  .why-us-buttons {
    gap: 0.35rem;
  }

  .why-us-btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.65rem;
    gap: 0.2rem;
    border-radius: 15px;
  }

  .btn-icon {
    font-size: 0.75rem;
  }

  .btn-text {
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .why-us-bar {
    top: 55px;
    padding: 0.35rem 0;
  }

  .why-us-container {
    padding: 0 0.4rem;
    gap: 0.4rem;
  }

  .why-us-label {
    font-size: 0.65rem;
  }

  .why-us-btn {
    padding: 0.28rem 0.45rem;
    font-size: 0.6rem;
  }

  .btn-icon {
    font-size: 0.7rem;
  }

  .btn-text {
    font-size: 0.6rem;
  }
}

/* Very small phones (iPhone SE, etc.) */
@media (max-width: 375px) {
  .why-us-container {
    padding: 0 0.3rem;
    gap: 0.3rem;
  }

  .why-us-label {
    font-size: 0.6rem;
  }

  .why-us-btn {
    padding: 0.25rem 0.4rem;
    font-size: 0.55rem;
    gap: 0.15rem;
  }

  .btn-icon {
    font-size: 0.65rem;
  }

  .btn-text {
    font-size: 0.55rem;
  }
}

/* ===============================
   TESTIMONIALS PAGE - MOBILE FIXES
   =============================== */

/* Prevent horizontal overflow */
html, body {
  overflow-x: hidden;
  width: 100%;
}

.section {
  overflow-x: hidden;
}

/* Hero section mobile fix */
.section.section-teal {
  padding: 2.5rem 1rem;
}

@media (max-width: 768px) {
  .section.section-teal {
    padding: 2rem 1rem;
  }

  .section.section-teal h1 {
    font-size: 1.75rem;
    line-height: 1.3;
    padding: 0 0.5rem;
  }

  .section.section-teal .lead-text {
    font-size: 1rem;
    padding: 0 0.5rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .section.section-teal {
    padding: 2.5rem 1rem;
  }

  .section.section-teal h1 {
    font-size: 1.5rem;
  }

  .section.section-teal .lead-text {
    font-size: 0.95rem;
  }
}

/* Featured Success Story Card - Mobile */
@media (max-width: 768px) {
  .card {
    padding: 1.5rem !important;
    margin: 0 0.5rem;
  }

  .card[style*="padding: 3rem"] {
    padding: 1.5rem !important;
  }

  .card[style*="border: 3px"] {
    border-width: 2px !important;
  }

  /* Fix the featured story grid */
  .card[style*="display: grid"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: center !important;
    text-align: center !important;
  }

  .card h2 {
    font-size: 1.35rem;
  }

  .card h3 {
    font-size: 1.15rem;
  }

  /* Fix image in featured story */
  .card img[style*="width: 400px"] {
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 1.75rem !important;
    margin: 0 0.25rem;
  }

  .card h2 {
    font-size: 1.25rem;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  .card img[style*="width: 400px"] {
    max-width: 220px !important;
  }
}

/* Testimonial Grid - Mobile */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding: 0 0.5rem;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }
}

@media (min-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Testimonial Card - Mobile */
.testimonial-card {
  padding: 1.5rem;
  margin: 0;
}

@media (max-width: 480px) {
  .testimonial-card {
    padding: 1.35rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .testimonial-avatar {
    width: 50px;
    height: 50px;
  }

  .testimonial-info h4 {
    font-size: 0.9rem;
  }

  .testimonial-info p {
    font-size: 0.8rem;
  }

  .testimonial-stars {
    font-size: 1rem;
  }
}

/* Results Stats Cards - Mobile */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 0 0.5rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .card-grid {
    gap: 1rem;
    padding: 0;
  }

  .card.text-center {
    padding: 1.5rem 1rem !important;
  }

  .card.text-center div[style*="font-size: 3.5rem"],
  .card.text-center div[style*="font-size: 4rem"] {
    font-size: 2.5rem !important;
  }

  .card.text-center h3 {
    font-size: 1rem;
  }

  .card.text-center p {
    font-size: 0.9rem;
  }
}

/* Student Voices Section - Mobile */
@media (max-width: 768px) {
  .section-coral .card {
    padding: 1.5rem !important;
    margin-bottom: 1rem;
  }

  .section-coral .card p[style*="font-size: 1.25rem"] {
    font-size: 1.05rem !important;
    line-height: 1.6;
  }

  .section-coral .card div[style*="display: flex"] {
    gap: 0.75rem !important;
  }

  .section-coral .card img[style*="width: 50px"] {
    width: 45px !important;
    height: 45px !important;
  }
}

/* Image Gallery - Mobile */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 0 0.5rem;
}

@media (min-width: 640px) {
  .image-gallery {
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
  }
}

@media (max-width: 480px) {
  .image-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .gallery-item {
    aspect-ratio: 1;
  }
}

/* CTA Section - Mobile */
.cta-section {
  padding: 3rem 1rem;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 3rem 1rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .cta-section p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .cta-section {
    padding: 2.5rem 1rem;
  }

  .cta-section h2 {
    font-size: 1.35rem;
  }

  .cta-section p {
    font-size: 0.95rem;
  }
}

/* Container fix for all pages */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
}

/* Fix inline styles that cause overflow */
@media (max-width: 768px) {
  [style*="max-width: 900px"] {
    max-width: 100% !important;
    padding: 0 0.5rem !important;
  }

  [style*="max-width: 800px"] {
    max-width: 100% !important;
    padding: 0 0.5rem !important;
  }

  [style*="margin-left: 10rem"] {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  [style*="display: flex"][style*="gap: 2rem"] {
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: center !important;
  }
}

/* Floating Contact Button - Mobile Position */
@media (max-width: 768px) {
  .floating-contact-btn {
    bottom: 1rem;
    right: 1rem;
  }

  .contact-toggle-btn {
    padding: 0.75rem 1rem;
  }

  .contact-toggle-btn .btn-text {
    display: none;
  }

  .contact-toggle-btn .btn-icon {
    font-size: 1.4rem;
    margin: 0;
  }
}

@media (max-width: 400px) {
  .floating-contact-btn {
    bottom: 0.75rem;
    right: 0.75rem;
  }

  .contact-toggle-btn {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
}



/* ===============================
   TIMELINE COMPONENT
   =============================== */

.timeline-container {
  width: 100%;
  position: relative;
}

.timeline-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 45px;
  width: 2px;
  height: calc(100% + 2rem);
  background: linear-gradient(180deg, var(--color-coral-primary) 0%, var(--color-coral-light) 100%);
  border-radius: 2px;
  z-index: 0;
}

.timeline-step:last-child::before {
  display: none;
}

.timeline-number {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-coral-primary), var(--color-coral-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(244, 126, 82, 0.4);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
}

.timeline-content {
  padding: 0;
  position: relative;
  z-index: 1;
}

.timeline-content h4 {
  color: var(--color-teal-primary);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.timeline-content p {
  color: var(--color-gray-700);
  margin: 0;
  line-height: 1.6;
  font-size: 0.9rem;
}

@media (max-width: 968px) {
  .timeline-step {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  .timeline-step::before {
    display: none;
  }

  .timeline-number {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin: 0 auto 0.75rem;
  }

  .timeline-content h4 {
    font-size: 1.15rem;
  }

  .timeline-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .timeline-number {
    width: 45px;
    height: 45px;
    font-size: 1.35rem;
  }

  .timeline-content h4 {
    font-size: 1.05rem;
  }

  .timeline-content p {
    font-size: 0.9rem;
  }
}

/* ===============================
   FLOATING CONTACT BUTTON - FIXED
   NO WHITE SHADOW - NO GLITCHING
   =============================== */

.floating-contact-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  font-family: var(--font-primary);
}

.contact-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  min-width: 44px;
  min-height: 44px;
  background: linear-gradient(135deg, #f47e52, #e56842);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  /* PURE DARK SHADOW - NO WHITE/LIGHT GLOW */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* DISABLE ANIMATIONS THAT CAUSE GLITCHING */
  animation: none !important;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* REMOVE shimmer/pulse effects */
.contact-toggle-btn::before {
  display: none !important;
}

.contact-toggle-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.contact-toggle-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.contact-toggle-btn .btn-icon {
  font-size: 1.5rem;
  animation: none !important;
  filter: none !important;
}

.contact-toggle-btn .btn-text {
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* Contact Menu */
.contact-menu {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 340px;
  background: white;
  border-radius: 20px;
  /* PURE DARK SHADOW */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
  overflow: hidden;
}

.contact-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.close-contact {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #666;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.close-contact:hover {
  background: #f47e52;
  color: white;
  transform: rotate(90deg);
}

.contact-menu-header {
  background: linear-gradient(135deg, #016060, #014545);
  padding: 1.5rem;
  text-align: center;
}

.contact-menu-header h4 {
  font-size: 1.2rem;
  color: white;
  margin: 0 0 0.25rem 0;
  font-weight: 700;
}

.contact-menu-header p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  background: white;
}

.contact-option:last-child {
  border-bottom: none;
}

.contact-option:hover {
  background: #f9fafb;
  padding-left: 1.5rem;
}

.contact-option:active {
  transform: scale(0.98);
}

.option-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #016060, #014545);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.contact-option:hover .option-icon {
  transform: scale(1.05);
}

.option-content {
  flex: 1;
  min-width: 0;
}

.option-title {
  font-weight: 700;
  color: #1f2937;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.option-detail {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.3;
}

.phone-number {
  font-weight: 700;
  color: #016060;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  font-family: 'Courier New', monospace;
}

.option-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background: #fff5f2;
  color: #f47e52;
  border-radius: 8px;
  font-size: 0.65rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.mobile-only {
  display: none;
}

/* Mobile Responsive for Floating Button */
@media (max-width: 768px) {
  .mobile-only {
    display: inline-block;
  }

  .floating-contact-btn {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .contact-toggle-btn {
    width: 58px;
    height: 58px;
    padding: 0;
    border-radius: 50%;
    font-size: 1rem;
    gap: 0;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
  }

  .contact-toggle-btn .btn-icon {
    font-size: 1.4rem;
  }

  .contact-menu {
    width: 300px;
    max-width: calc(100vw - 2.5rem);
    bottom: 70px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  }

  .contact-menu-header {
    padding: 1.25rem;
  }

  .contact-menu-header h4 {
    font-size: 1.1rem;
  }

  .close-contact {
    width: 28px;
    height: 28px;
    font-size: 1.1rem;
  }

  .contact-option {
    padding: 1rem;
    gap: 0.85rem;
  }

  .option-icon {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }

  .option-title {
    font-size: 0.9rem;
  }

  .option-detail {
    font-size: 0.75rem;
  }

  .phone-number {
    font-size: 0.85rem;
  }
}

@media (max-width: 400px) {
  .contact-toggle-btn .btn-text {
    display: none;
  }

  .contact-toggle-btn {
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }

  .contact-toggle-btn .btn-icon {
    font-size: 1.6rem;
    margin: 0;
  }

  .contact-menu {
    width: 270px;
    max-width: calc(100vw - 2rem);
  }

  .contact-menu-header {
    padding: 1rem;
  }

  .contact-menu-header h4 {
    font-size: 1rem;
  }

  .contact-menu-header p {
    font-size: 0.75rem;
  }

  .contact-option {
    padding: 0.85rem;
    gap: 0.75rem;
  }

  .option-icon {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }

  .option-title {
    font-size: 0.85rem;
  }

  .option-detail {
    font-size: 0.7rem;
  }
}

/* Accessibility - Focus States */
.contact-toggle-btn:focus {
  outline: 3px solid rgba(244, 126, 82, 0.5);
  outline-offset: 3px;
}

.contact-option:focus {
  outline: 2px solid #f47e52;
  outline-offset: -2px;
  background: #fff5f2;
}

.close-contact:focus {
  outline: 2px solid #f47e52;
  outline-offset: 2px;
}

/* ===============================
   LIGHTBOX / IMAGE MODAL - FIXED
   =============================== */

#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

#lightbox.active {
  display: flex;
}

#lightbox .modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lightbox .modal-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Close Button - X Symbol */
#lightbox .lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 100000;
}

#lightbox .lightbox-close:hover {
  background: #f47e52;
  border-color: #f47e52;
  transform: scale(1.1) rotate(90deg);
}

#lightbox .lightbox-close::before,
#lightbox .lightbox-close::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

#lightbox .lightbox-close::before {
  transform: rotate(45deg);
}

#lightbox .lightbox-close::after {
  transform: rotate(-45deg);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  #lightbox {
    padding: 0.5rem;
  }

  #lightbox .lightbox-close {
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
  }

  #lightbox .lightbox-close::before,
  #lightbox .lightbox-close::after {
    width: 20px;
    height: 2px;
  }

  #lightbox .modal-content img {
    max-height: 80vh;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  #lightbox .lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  #lightbox .lightbox-close::before,
  #lightbox .lightbox-close::after {
    width: 18px;
  }
}

/* Gallery item hover effect improvement */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(1, 96, 96, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ===============================
   RESPONSIVE COMPARISON TABLE
   =============================== */

.table-responsive {
  width: 100%;
  overflow: visible;
}

.comparison-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Header row */
.comparison-table thead tr {
  background: var(--color-teal-primary);
  color: white;
}

/* Header cells */
.comparison-table th {
  padding: 1.25rem 1rem;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  vertical-align: middle;
  word-wrap: break-word;
}

.comparison-table th.feature-col {
  text-align: left;
  width: 40%;
}

.comparison-table th.plan-col {
  width: 30%;
}

.comparison-table th.featured-col {
  background: var(--color-coral-primary);
}

.comparison-table .plan-subtitle {
  font-weight: 400;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Body cells */
.comparison-table td {
  padding: 1rem;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.95rem;
  word-wrap: break-word;
}

.comparison-table td:first-child {
  text-align: left;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background: #f9fafb;
}

/* Featured column */
.comparison-table .featured-cell {
  background: var(--color-coral-bg);
}

/* X marks styling */
.comparison-table .no-feature {
  color: #9ca3af;
}

/* Checkmarks */
.comparison-table td:not(:first-child):not(.no-feature) {
  color: var(--color-teal-primary);
  font-weight: 500;
}

/* ===============================
   TABLET RESPONSIVE (max 968px)
   =============================== */

@media (max-width: 968px) {
  .comparison-table th {
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
  }

  .comparison-table th.feature-col {
    width: 38%;
  }

  .comparison-table th.plan-col {
    width: 31%;
  }

  .comparison-table .plan-subtitle {
    font-size: 0.75rem;
  }

  .comparison-table td {
    padding: 0.85rem 0.6rem;
    font-size: 0.88rem;
  }
}

/* ===============================
   MOBILE RESPONSIVE (max 768px)
   =============================== */

@media (max-width: 768px) {
  .comparison-table th {
    padding: 0.85rem 0.5rem;
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .comparison-table th.feature-col {
    width: 36%;
  }

  .comparison-table th.plan-col {
    width: 32%;
  }

  .comparison-table .plan-subtitle {
    font-size: 0.65rem;
    display: block;
    margin-top: 3px;
  }

  .comparison-table td {
    padding: 0.7rem 0.4rem;
    font-size: 0.78rem;
    line-height: 1.4;
  }

  /* Checkmarks and X slightly smaller */
  .comparison-table td:not(:first-child) {
    font-size: 1rem;
  }
}

/* ===============================
   SMALL MOBILE (max 480px)
   =============================== */

@media (max-width: 480px) {
  .comparison-table {
    border-radius: 12px;
  }

  .comparison-table th {
    padding: 0.7rem 0.35rem;
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .comparison-table th.feature-col {
    width: 34%;
  }

  .comparison-table th.plan-col {
    width: 33%;
  }

  .comparison-table .plan-subtitle {
    font-size: 0.58rem;
  }

  .comparison-table td {
    padding: 0.6rem 0.3rem;
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .comparison-table td:not(:first-child) {
    font-size: 0.95rem;
  }

  .comparison-table td strong {
    font-weight: 600;
  }
}

/* ===============================
   VERY SMALL PHONES (max 375px)
   =============================== */

@media (max-width: 375px) {
  .comparison-table th {
    padding: 0.6rem 0.25rem;
    font-size: 0.6rem;
  }

  .comparison-table th.feature-col {
    width: 33%;
  }

  .comparison-table .plan-subtitle {
    font-size: 0.52rem;
  }

  .comparison-table td {
    padding: 0.5rem 0.2rem;
    font-size: 0.6rem;
  }

  .comparison-table td:not(:first-child) {
    font-size: 0.88rem;
  }
}

/* ===============================
   EXTRA SMALL (max 320px)
   =============================== */

@media (max-width: 320px) {
  .comparison-table th {
    padding: 0.5rem 0.2rem;
    font-size: 0.55rem;
  }

  .comparison-table .plan-subtitle {
    font-size: 0.48rem;
  }

  .comparison-table td {
    padding: 0.45rem 0.15rem;
    font-size: 0.55rem;
  }

  .comparison-table td:not(:first-child) {
    font-size: 0.82rem;
  }
}


/* ===============================
   WHICH PROGRAM SHOULD I CHOOSE
   =============================== */

.choose-program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.choose-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid var(--color-gray-200);
  position: relative;
}

.choose-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--color-teal-primary);
}

.choose-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.choose-card li {
  padding: 0.6rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--color-gray-700);
  line-height: 1.5;
  border-bottom: 1px solid var(--color-gray-100);
}

.choose-card li:last-child {
  border-bottom: none;
}

.choose-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.6rem;
  color: var(--color-teal-primary);
  font-weight: 700;
  font-size: 1rem;
}

/* Recommended Card */
.choose-card.recommended {
  border: 3px solid var(--color-coral-primary);
  background: linear-gradient(135deg, rgba(244, 126, 82, 0.03) 0%, white 100%);
}

.recommended-badge {
  display: flex;
  justify-content: center;
  background: var(--color-coral-primary);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* ===============================
   TABLET RESPONSIVE
   =============================== */

@media (max-width: 968px) {
  .choose-program-grid {
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .choose-card {
    padding: 1.75rem;
  }

  .choose-card h3 {
    font-size: 1.15rem;
  }

  .choose-card li {
    font-size: 0.9rem;
  }
}

/* ===============================
   MOBILE RESPONSIVE
   =============================== */

@media (max-width: 768px) {
  .choose-program-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 500px;
    padding: 0 0.75rem;
  }

  /* Put recommended card first on mobile */
  .choose-card.recommended {
    order: -1;
  }

  .choose-card {
    padding: 1.5rem;
  }

  .choose-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .choose-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    font-size: 0.9rem;
  }

  .choose-card li::before {
    top: 0.5rem;
    font-size: 0.95rem;
  }

  .recommended-badge {
    padding: 0.35rem 0.85rem;
    font-size: 0.7rem;
    margin-top: 0.75rem;
  }
}

/* ===============================
   SMALL MOBILE
   =============================== */

@media (max-width: 480px) {
  .choose-program-grid {
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .choose-card {
    padding: 1.25rem;
    border-radius: 12px;
  }

  .choose-card.recommended {
    border-width: 2px;
  }

  .choose-card h3 {
    font-size: 1rem;
    margin-bottom: 0.85rem;
  }

  .choose-card li {
    padding: 0.45rem 0;
    padding-left: 1.35rem;
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .choose-card li::before {
    top: 0.45rem;
    font-size: 0.9rem;
  }

  .recommended-badge {
    padding: 0.3rem 0.75rem;
    font-size: 0.65rem;
    margin-top: 0.75rem;
  }
}

/* ===============================
   VERY SMALL PHONES
   =============================== */

@media (max-width: 375px) {
  .choose-card {
    padding: 1rem;
  }

  .choose-card h3 {
    font-size: 0.95rem;
  }

  .choose-card li {
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    font-size: 0.8rem;
  }

  .choose-card li::before {
    font-size: 0.85rem;
  }
}

/* ===============================
   MOBILE SCROLL FIX - PREVENT ELEMENT SCROLL CAPTURE
   This ensures only the page scrolls, not individual elements
   =============================== */

/* Global fix for all cards and content boxes */
.card,
.card-grid,
.pricing-card,
.testimonial-card,
.value-card-enhanced,
.safety-card,
.tutor-card,
.bootcamp-box,
.partner-card,
.reveal-card,
.choose-card,
.resource-card,
.mobile-testimonial-card,
.float-testimonial,
.accordion-item,
.timeline-step,
.step,
.hero-info-box,
.hero-features,
.promise-pills,
.skills-grid,
.skill-item,
.format-icons,
.format-icon-item,
.why-interactive,
.reveal-cards,
.note-banner,
.bootcamps-grid,
.info-banner,
.partners-grid,
.solution-divider {
  touch-action: pan-y !important;
  -webkit-overflow-scrolling: auto !important;
  overflow: visible !important;
  overscroll-behavior: auto !important;
}

/* Ensure sections don't capture scroll */
.section,
.section-alt,
.section-teal,
.section-coral,
.hero,
.hero-new,
.hero-combined,
.hero-lifeskills,
.cta-section,
.cta-section-custom {
  touch-action: pan-y !important;
  overflow: visible !important;
  overscroll-behavior: auto !important;
}

/* Fix for grid containers */
@media (max-width: 1024px) {
  .card-grid,
  .pricing-grid,
  .testimonial-grid,
  .partners-grid,
  .bootcamps-grid,
  .reveal-cards,
  .choose-program-grid,
  .image-gallery,
  .hero-grid,
  .hero-content,
  .contact-grid,
  .footer-content {
    touch-action: pan-y !important;
    overflow: visible !important;
  }
}

/* Mobile specific fixes */
@media (max-width: 768px) {
  /* Ensure all content allows page scroll */
  .container,
  .hero-text,
  .hero-wrapper,
  .hero-video-col,
  .hero-text-col,
  .cta-content,
  .cta-buttons,
  .pricing-features,
  .testimonial-text,
  .testimonial-author,
  .accordion-content,
  .timeline-container,
  .path-container,
  .filter-bar,
  .tab-buttons,
  .tab-content,
  .video-container,
  .video-wrapper {
    touch-action: pan-y !important;
    overflow: visible !important;
    -webkit-overflow-scrolling: auto !important;
  }

  /* Fix for any element that might have overflow set */
  * {
    -webkit-overflow-scrolling: auto;
  }

  /* Re-apply overflow:hidden on wwd container to clip decorative bg elements */
  .wwd-section .container {
    overflow: hidden !important;
  }

  /* Specific fix for card hover states that might interfere */
  .card:hover,
  .pricing-card:hover,
  .testimonial-card:hover,
  .partner-card:hover,
  .bootcamp-box:hover,
  .reveal-card:hover,
  .value-card-enhanced:hover {
    touch-action: pan-y !important;
  }

  /* Fix for list items */
  ul, ol, li,
  .pricing-features li,
  .value-list li,
  .choose-card ul,
  .choose-card li {
    touch-action: pan-y !important;
    overflow: visible !important;
  }

  /* Fix potential issues with flexbox containers */
  [style*="display: flex"],
  [style*="display:flex"] {
    touch-action: pan-y !important;
  }

  /* Problem and solution cards specific fix */
  .problem-card,
  .solution-card,
  .problem-icon,
  .solution-icon {
    touch-action: pan-y !important;
    overflow: visible !important;
  }

  /* Timeline and path fix */
  .timeline-step,
  .timeline-number,
  .timeline-content,
  .stop-marker,
  .stop-icon,
  .stop-num {
    touch-action: pan-y !important;
    overflow: visible !important;
  }

  /* Testimonials fix */
  .testimonials-float-container,
  .testimonials-mobile-scroll,
  .testimonials-mobile-track {
    touch-action: pan-y pan-x !important;
  }

  /* Hero section specific */
  .hero-features span,
  .hero-feature,
  .hero-badge,
  .hero-buttons a {
    touch-action: pan-y !important;
  }
}

/* Small mobile specific */
@media (max-width: 480px) {
  /* Extra safety for smallest screens */
  body > *,
  .container > *,
  .section > * {
    touch-action: pan-y !important;
  }

  /* Ensure cards don't block scroll */
  .card,
  .card > *,
  .pricing-card > *,
  .testimonial-card > * {
    touch-action: pan-y !important;
    pointer-events: auto;
  }
}

/* Fix for elements with inline overflow styles */
[style*="overflow: hidden"],
[style*="overflow:hidden"],
[style*="overflow-x: hidden"],
[style*="overflow-x:hidden"],
[style*="overflow-y: hidden"],
[style*="overflow-y:hidden"] {
  touch-action: pan-y !important;
}

/* Ensure interactive elements still work */
button,
a,
input,
select,
textarea,
.btn,
.accordion-button,
.tab-button,
.nav-toggle-label,
.contact-toggle-btn,
.gallery-item {
  touch-action: manipulation !important;
}

/* Keep carousels scrollable horizontally but allow vertical page scroll */
.carousel-track,
.testimonials-mobile-track,
.image-carousel-section {
  touch-action: pan-x pan-y !important;
  -webkit-overflow-scrolling: touch !important;
}

/* Fix for the Why Us sticky bar */
.why-us-bar,
.why-us-container,
.why-us-btn {
  touch-action: pan-y manipulation !important;
}

/* Navigation should allow manipulation for taps */
.main-nav,
.main-nav a,
.site-header {
  touch-action: pan-y manipulation !important;
}

/* Contact menu fix */
.floating-contact-btn,
.contact-menu,
.contact-option {
  touch-action: manipulation !important;
}

/* Comparison table fix - allow scroll on tables if needed but prioritize page scroll */
.table-responsive {
  touch-action: pan-y pan-x !important;
  -webkit-overflow-scrolling: touch !important;
}

.comparison-table {
  touch-action: pan-y !important;
}

/* Form elements should allow normal interaction */
.form-group,
.form-input,
.form-select,
.form-textarea {
  touch-action: manipulation !important;
}

/* Pricing card content sections better spacing */
.pricing-card > div[style*="background"] {
  margin-bottom: 2rem;
}

.pricing-card > div[style*="background"] h4 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

/* Better text wrapping for list items */
.pricing-features li {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Ensure buttons align at bottom */
.pricing-card .btn {
  margin-top: auto;
}

/* ===============================
   PRICING FEATURES - ORANGE TICKS
   =============================== */

/* Remove the default green dot */
.pricing-features li::before {
  content: '✓' !important;
  width: 24px;
  height: 24px;
  background: var(--color-coral-primary) !important;
  color: white !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.875rem;
  margin-top: 0 !important;
}

/* For the "What You Get" and "Best For" sections in Programs page */
.pricing-card .pricing-features li::before,
.card .pricing-features li::before {
  content: '✓' !important;
  background: var(--color-coral-primary) !important;
  color: white !important;
  margin-top: 0 !important;
}

/* Ensure consistency across all pricing feature lists */
ul.pricing-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.875rem;
  color: var(--color-gray-700);
  line-height: 1.6;
  text-align: left;
}

ul.pricing-features li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  min-width: 24px;
  margin-top: 0;
  background: var(--color-coral-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1;
}

/* Mobile adjustments for ticks */
@media (max-width: 768px) {
  ul.pricing-features li::before,
  .pricing-features li::before {
    width: 22px;
    height: 22px;
    min-width: 22px;
    font-size: 0.8rem;
  }
  
  .pricing-features li {
    gap: 0.75rem;
    padding: 0.625rem 0;
  }
  
  .pricing-card > div[style*="background"] {
    padding: 1.25rem !important;
  }
}

@media (max-width: 480px) {
  ul.pricing-features li::before,
  .pricing-features li::before {
    width: 20px;
    height: 20px;
    min-width: 20px;
    font-size: 0.75rem;
  }
  
  .pricing-features li {
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
  }
  
  .pricing-card > div[style*="background"] {
    padding: 1rem !important;
  }
  
  .pricing-card > div[style*="background"] h4 {
    font-size: 1rem;
  }
}

/* ===============================
   FREE RESOURCES - LOCKED CONTENT FIX
   Fixes for sample videos and quizzes on mobile
   =============================== */

/* Locked video placeholder - base styles */
.locked-video-placeholder {
  background: linear-gradient(135deg, #1f2937, #374151);
  border-radius: 12px;
  min-height: 180px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 2rem 1rem;
  text-align: center;
}

.locked-video-placeholder .lock-content {
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0 0.5rem;
}

.locked-video-placeholder .lock-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: block;
  line-height: 1;
}

.locked-video-placeholder p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
  line-height: 1.4;
  word-wrap: break-word;
  max-width: 100%;
}

/* Resource card improvements for mobile */
.resource-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  border: 2px solid var(--color-gray-200);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
}

/* Status icon positioning */
.resource-card .status-icon {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 1.25rem;
  z-index: 1;
}

/* Resource type badge */
.resource-card .resource-type {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  max-width: calc(100% - 2.5rem);
  word-wrap: break-word;
}

/* Video embed container */
.resource-card .video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  background: #000;
  min-height: 0;
}

.resource-card .video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===============================
   TABLET RESPONSIVE (max 968px)
   =============================== */
@media (max-width: 968px) {
  .locked-video-placeholder {
    min-height: 160px;
    padding: 1.5rem 1rem;
    border-radius: 10px;
  }

  .locked-video-placeholder .lock-icon {
    font-size: 2.25rem;
  }

  .locked-video-placeholder p {
    font-size: 0.9rem;
  }

  .resource-card {
    padding: 1.25rem;
  }

  .resource-card .status-icon {
    font-size: 1.15rem;
    top: 0.65rem;
    right: 0.65rem;
  }
}

/* ===============================
   MOBILE RESPONSIVE (max 768px)
   =============================== */
@media (max-width: 768px) {
  .locked-video-placeholder {
    min-height: 140px;
    padding: 1.25rem 0.75rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
  }

  .locked-video-placeholder .lock-content {
    padding: 0 0.25rem;
    gap: 0.35rem;
  }

  .locked-video-placeholder .lock-icon {
    font-size: 2rem;
    margin-bottom: 0.35rem;
  }

  .locked-video-placeholder p {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .resource-card {
    padding: 1rem;
    border-radius: 12px;
  }

  .resource-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    padding-right: 2rem;
  }

  .resource-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .resource-card .status-icon {
    font-size: 1.1rem;
    top: 0.6rem;
    right: 0.6rem;
  }

  .resource-card .resource-type {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .resource-card .video-embed {
    border-radius: 8px;
    margin-bottom: 1rem;
  }

  /* Button adjustments */
  .resource-card .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  /* Card grid adjustments */
  .card-grid {
    gap: 1.25rem;
  }
}

/* ===============================
   SMALL MOBILE (max 480px)
   =============================== */
@media (max-width: 480px) {
  .locked-video-placeholder {
    min-height: 120px;
    padding: 1rem 0.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
  }

  .locked-video-placeholder .lock-content {
    gap: 0.25rem;
  }

  .locked-video-placeholder .lock-icon {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
  }

  .locked-video-placeholder p {
    font-size: 0.8rem;
    line-height: 1.25;
  }

  .resource-card {
    padding: 0.875rem;
    border-radius: 10px;
  }

  .resource-card h3 {
    font-size: 1rem;
    padding-right: 1.75rem;
  }

  .resource-card p {
    font-size: 0.85rem;
  }

  .resource-card .status-icon {
    font-size: 1rem;
    top: 0.5rem;
    right: 0.5rem;
  }

  .resource-card .resource-type {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
  }

  .resource-card .btn {
    padding: 0.7rem 0.875rem;
    font-size: 0.85rem;
  }

  /* Sample banner adjustments */
  .sample-banner {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
  }

  .sample-banner h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
  }

  .sample-banner p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}

/* ===============================
   VERY SMALL PHONES (max 375px)
   =============================== */
@media (max-width: 375px) {
  .locked-video-placeholder {
    min-height: 110px;
    padding: 0.875rem 0.4rem;
  }

  .locked-video-placeholder .lock-icon {
    font-size: 1.5rem;
  }

  .locked-video-placeholder p {
    font-size: 0.75rem;
  }

  .resource-card {
    padding: 0.75rem;
  }

  .resource-card h3 {
    font-size: 0.95rem;
  }

  .resource-card p {
    font-size: 0.8rem;
  }

  .resource-card .btn {
    padding: 0.65rem 0.75rem;
    font-size: 0.8rem;
  }

  .resource-card .resource-type {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
  }

  .sample-banner h3 {
    font-size: 1rem;
  }

  .sample-banner p {
    font-size: 0.85rem;
  }
}

/* ===============================
   LOCKED/UNLOCKED CARD STATES
   =============================== */

/* Locked card styling */
.resource-card[style*="border: 2px solid #d1d5db"] {
  opacity: 0.95;
}

/* Unlocked/Free sample card styling */
.resource-card[style*="border: 3px solid #10b981"] .video-embed,
.resource-card[style*="border: 3px solid #10b981"] .locked-video-placeholder {
  border: 2px solid rgba(16, 185, 129, 0.3);
}

/* Ensure buttons are full width and properly styled */
.resource-card .btn[style*="width: 100%"] {
  width: 100% !important;
  box-sizing: border-box;
}

/* Fix for inline styles on cards */
@media (max-width: 768px) {
  .resource-card[style*="border: 3px"],
  .resource-card[style*="border: 2px"] {
    border-width: 2px !important;
  }
}

@media (max-width: 480px) {
  .resource-card[style*="border: 3px"],
  .resource-card[style*="border: 2px"] {
    border-width: 2px !important;
    border-radius: 10px !important;
  }
}

/* ===============================
   STICKY HEADER - ALWAYS VISIBLE ON SCROLL
   Works on all screen sizes including mobile
   =============================== */

/* Make header sticky on all devices */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  box-shadow: none;
}

/* Add padding to body to account for fixed header */
body {
  padding-top: 80px; /* Adjust based on your header height */
}

/* Header container */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  height: 70px;
}

/* Logo styling */
.brand {
  display: flex;
  align-items: center;
  z-index: 9996;
}

.brand-logo {
  height: 50px;
  width: auto;
  transform: scale(1.3);
  transform-origin: left center;
}

/* Why Us sticky bar - positioned below header */
.why-us-bar {
  background: linear-gradient(135deg, #005F60, #016868);
  padding: 0.5rem 0;
  position: fixed !important;
  top: 70px !important; /* Position below header */
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9998 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-bottom: 2px solid #f47e52;
}

/* Close gap between fixed why-us-bar and page content */
.why-us-bar + section,
.why-us-bar + .success-modal + section {
  margin-top: -8px;
}

/* Adjust body padding to account for both header and why-us bar */
body {
  padding-top: 120px !important; /* Header (70px) + Why Us bar (~50px) */
}

/* ===============================
   MOBILE SPECIFIC STYLES
   =============================== */

@media (max-width: 1100px) {
  /* Fixed header on mobile */
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: var(--color-white) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12) !important;
  }

  /* Header container mobile */
  .nav-container {
    padding: 0.5rem 1rem;
    height: 60px;
  }

  /* Logo mobile size */
  .brand-logo {
    height: 40px;
    transform: scale(1.2);
  }

  /* Body padding for mobile */
  body {
    padding-top: 110px !important; /* Header (60px) + Why Us bar (~50px) */
  }

  /* Why Us bar mobile position */
  .why-us-bar {
    top: 60px !important;
    padding: 0.4rem 0;
  }
}

/* ===============================
   SMALL MOBILE (max 480px)
   =============================== */

@media (max-width: 480px) {
  .nav-container {
    padding: 0.5rem 0.75rem;
    height: 55px;
  }

  .brand-logo {
    height: 36px;
    transform: scale(1.15);
  }

  .nav-toggle-label {
    padding: 0.6rem;
  }

  .nav-toggle-label span {
    width: 24px;
    height: 2.5px;
    gap: 5px;
  }

  body {
    padding-top: 100px !important;
  }

  .why-us-bar {
    top: 55px !important;
  }

  .main-nav {
    width: 280px;
    padding: 70px 1.25rem 2rem !important;
  }

  .main-nav > a:not(.header-call):not(.header-login):not(.header-cta),
  .nav-dropdown-menu a {
    font-size: 0.95rem;
    padding: 0.65rem 0;
  }
}

/* ===============================
   VERY SMALL PHONES (max 375px)
   =============================== */

@media (max-width: 375px) {
  .nav-container {
    padding: 0.4rem 0.5rem;
    height: 50px;
  }

  .brand-logo {
    height: 32px;
    transform: scale(1.1);
  }

  body {
    padding-top: 95px !important;
  }

  .why-us-bar {
    top: 50px !important;
  }

  .main-nav {
    width: 260px;
    padding: 65px 1rem 2rem !important;
  }
}

/* ===============================
   HEADER SCROLL EFFECT (OPTIONAL)
   Adds shadow when scrolled
   =============================== */

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

/* ===============================
   DESKTOP STYLES
   Keep desktop navigation normal
   =============================== */

@media (min-width: 1101px) {
  body {
    padding-top: 120px !important; /* Header (70px) + Why Us bar (~50px) */
  }

  .nav-container {
    height: 70px;
    padding: 0 2rem;
  }

  .brand-logo {
    height: 55px;
    transform: scale(1.8);
  }

  .nav-toggle-label {
    display: none !important;
  }

  .main-nav {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.5rem !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
  }

  .main-nav a {
    padding: 0.5rem 0 !important;
    font-size: 0.9rem !important;
    border-bottom: none !important;
  }

  .nav-dropdown-toggle {
    font-size: 0.9rem !important;
  }

  .nav-dropdown-menu a {
    font-size: 0.9rem !important;
    padding: 0.55rem 1.5rem !important;
  }

  .nav-backdrop {
    display: none !important;
  }

  .why-us-bar {
    top: 70px !important;
  }
}

/* ===============================
   CTA SECTION BUTTONS - MOBILE CENTERED
   Fixes for all CTA sections across pages
   =============================== */

/* Base CTA buttons container */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Mobile specific centering for CTA sections */
@media (max-width: 768px) {
  /* CTA Section buttons */
  .cta-section .cta-buttons,
  .cta-section-custom .cta-buttons-custom {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0 1rem;
  }

  .cta-section .cta-buttons .btn,
  .cta-section .cta-buttons a,
  .cta-section-custom .cta-buttons-custom .cta-btn,
  .cta-section-custom .cta-buttons-custom a {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
  }

  /* Hero buttons centering */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
  }

  .hero-buttons .btn,
  .hero-buttons a {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
  }

  .hero-cta-annotation {
    justify-content: center;
    padding-left: 0;
  }

  /* CTA content centering */
  .cta-content {
    text-align: center;
    padding: 0 1rem;
  }

  .cta-content h2 {
    text-align: center;
  }

  .cta-content p {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cta-section .cta-buttons .btn,
  .cta-section .cta-buttons a,
  .cta-section-custom .cta-buttons-custom .cta-btn,
  .hero-buttons .btn,
  .hero-buttons a {
    max-width: 280px;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* ===============================
   LOGO SIZE - 20% BIGGER ON ALL SCREENS
   =============================== */

.brand-logo {
  height: 96px; /* Was 80px, now 20% bigger */
  width: auto;
  transform: scale(1.8); /* Was 1.5, now 20% bigger */
  transform-origin: left center;
}

/* Tablet */
@media (max-width: 968px) {
  .brand-logo {
    height: 84px; /* Was 70px, now 20% bigger */
    transform: scale(1.56); /* Was 1.3, now 20% bigger */
  }
}

/* Mobile */
@media (max-width: 768px) {
  .brand-logo {
    height: 72px; /* Was 60px, now 20% bigger */
    transform: scale(1.44); /* Was 1.2, now 20% bigger */
  }

  /* Adjust header height for bigger logo */
  .site-header {
    height: 72px;
  }

  .nav-container {
    height: 72px;
    padding: 0.5rem 1rem;
  }

  /* Adjust body padding for taller header */
  body {
    padding-top: 120px !important; /* Increased for bigger logo */
  }

  /* Adjust Why Us bar position */
  .why-us-bar {
    top: 72px !important;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .brand-logo {
    height: 60px; /* Was 50px, now 20% bigger */
    transform: scale(1.38); /* Was 1.15, now 20% bigger */
  }

  .site-header {
    height: 68px;
  }

  .nav-container {
    height: 68px;
  }

  body {
    padding-top: 112px !important;
  }

  .why-us-bar {
    top: 68px !important;
  }
}

/* Very Small Phones */
@media (max-width: 375px) {
  .brand-logo {
    height: 54px; /* Was 45px, now 20% bigger */
    transform: scale(1.32); /* Was 1.1, now 20% bigger */
  }

  .site-header {
    height: 62px;
  }

  .nav-container {
    height: 62px;
  }

  body {
    padding-top: 106px !important;
  }

  .why-us-bar {
    top: 62px !important;
  }
}

/* Desktop */
@media (min-width: 1101px) {
  .brand-logo {
    height: 55px;
    transform: scale(1.8);
  }

  .nav-container {
    height: 70px;
    padding: 0.25rem 2rem;
  }

  body {
    padding-top: 120px !important; /* Header (70px) + Why Us bar (~50px) */
  }

  .why-us-bar {
    top: 70px !important;
  }
}

/* ===============================
   HEADER + WHY US STACK (NO GAP)
   =============================== */

/* Base desktop offset */
:root {
  --stack-offset: 70px;
}

/* Tablets */
@media (max-width: 1100px) {
  :root {
    --stack-offset: 60px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --stack-offset: 72px;  /* matches nav-container height at this breakpoint */
  }
}

/* Small mobile */
@media (max-width: 480px) {
  :root {
    --stack-offset: 68px;  /* matches nav-container height at this breakpoint */
  }
}

/* Very small mobile */
@media (max-width: 375px) {
  :root {
    --stack-offset: 62px;  /* matches nav-container height at this breakpoint */
  }
}

/* Ensure Why Us bar sits directly beneath header on all viewports */
.site-header {
  border-bottom: none !important; /* Remove border to prevent sub-pixel gap */
}

.why-us-bar {
  top: calc(var(--stack-offset) - 1px) !important;
  margin-top: 0 !important;
}

/* ===============================
   HOMEPAGE HERO & TESTIMONIALS
   =============================== */

/* Hero Section */
.hero-new {
  background: linear-gradient(135deg, #e6f5f5 0%, #ffffff 50%, #fff5f2 100%);
  padding: 4rem 0 2rem;
  overflow: visible;
  position: relative;
  min-height: auto;
}

.hero-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(1, 96, 96, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(244, 126, 82, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(1, 96, 96, 0.08);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  margin-bottom: 1rem;
  border: 1px solid rgba(1, 96, 96, 0.1);
}

.hero-badge::before {
  content: none;
}

.hero-badge-flag {
  width: 1.4em;
  height: auto;
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  min-height: auto;
}

.hero-text {
  padding-top: 0;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.2;
  color: var(--color-teal-primary) !important;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-text .lead-text {
  color: var(--color-gray-700) !important;
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-info-box {
  background: rgba(1, 96, 96, 0.04);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin: 2.5rem 0;
  border-left: 5px solid var(--color-coral-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.hero-info-box p {
  margin: 0;
  color: var(--color-teal-primary);
  font-size: 1rem;
}

.hero-new .hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.hero-features {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
  z-index: 10;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  background: rgba(1, 96, 96, 0.04);
  padding: 1.25rem 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(1, 96, 96, 0.1);
  width: 160px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-feature span:not(.hero-feature-icon) {
  line-height: 1.3;
  display: block;
}

.hero-feature:hover {
  transform: translateY(-5px);
  background: rgba(1, 96, 96, 0.08);
  box-shadow: 0 10px 20px rgba(1, 96, 96, 0.06);
  border-color: rgba(1, 96, 96, 0.2);
}

.hero-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: white;
  border-radius: 12px;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.hero-feature:hover .hero-feature-icon {
  transform: scale(1.1) rotate(5deg);
}

/* DESKTOP: Floating/Stacked Testimonials */
.testimonials-float-container {
  position: relative;
  min-height: 480px;
  height: auto;
  width: 100%;
}

.float-testimonial {
  position: absolute;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 260px;
  animation: floatSoft 6s ease-in-out infinite;
  border: 1px solid rgba(255,255,255,0.75);
  will-change: transform;
}

.float-testimonial.card-1 {
  top: 10;
  right: 0;
  z-index: 4;
  animation-delay: 0s;
}

.float-testimonial.card-2 {
  top: 10px;
  left: 0;
  z-index: 3;
  animation-delay: 1s;
}

.float-testimonial.card-3 {
  top: 270px;
  left: 40px;
  z-index: 2;
  animation-delay: 2s;
}

.float-testimonial.card-4 {
  top: 420px;
  right: 20px;
  z-index: 5;
  animation-delay: 1.5s;
}

/* Certificate card - special styling */
.float-testimonial.card-certificate {
  top: 120px;
  right: 290px;
  z-index: 6;
  width: 180px;
  padding: 0.75rem;
  animation-delay: 0.5s;
}

.float-testimonial.card-certificate img {
  width: 100%;
  border-radius: 8px;
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.float-testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.float-testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid var(--color-teal-bg);
}

.float-testimonial-info h4 {
  font-size: 0.9rem;
  color: var(--color-teal-primary);
  margin: 0 0 2px 0;
}

.float-testimonial-info p {
  font-size: 0.7rem;
  color: var(--color-coral-primary);
  margin: 0;
}

.float-testimonial-text {
  font-size: 0.8rem;
  color: var(--color-gray-700);
  line-height: 1.5;
  font-style: italic;
  margin: 0;
}

.float-testimonial-stars {
  color: #f59e0b;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.testimonial-certificate-inline {
  width: 100%;
  border-radius: 8px;
  margin-top: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Image Carousel Section */
.image-carousel-section {
  width: 100%;
  overflow-x: clip;
  overflow-y: visible;
  padding: 1.5rem 0;
  background: linear-gradient(to bottom, transparent, rgba(1, 96, 96, 0.03));
  margin-top: 0;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  animation: scrollCarousel 80s linear infinite;
  width: max-content;
  will-change: transform;
  transform: translateZ(0);
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scrollCarousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.carousel-image {
  width: 280px;
  height: 210px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.carousel-image:hover {
  transform: scale(1.05);
}

/* Hide mobile testimonials on desktop */
.testimonials-mobile-scroll {
  display: none;
}

/* ======================= */
/* HOMEPAGE MOBILE / TABLET */
/* ======================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    min-height: auto;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  /* Hide desktop floating testimonials */
  .testimonials-float-container {
    display: none !important;
  }

  /* Show mobile horizontal scroll testimonials */
  .testimonials-mobile-scroll {
    display: block !important;
    overflow: hidden;
    padding: 0.25rem 0 0.5rem;
    margin-top: 1.25rem;
    width: 100%;
  }

  .testimonials-mobile-track {
    display: flex;
    gap: 0.75rem;
    padding: 0 0.75rem;
    width: max-content;
    animation: scrollTestimonials 20s linear infinite;
    align-items: flex-start;
    will-change: transform;
  }

  .testimonials-mobile-track:hover {
    animation-play-state: paused;
  }

  @keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  .mobile-testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    width: 280px;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.05);
  }

  /* Card with certificate is taller */
  .mobile-testimonial-card.has-certificate {
    width: 280px;
  }

  .mobile-testimonial-card .float-testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .mobile-testimonial-card .float-testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-teal-bg);
  }

  .mobile-testimonial-card .float-testimonial-info h4 {
    font-size: 1rem;
    color: var(--color-teal-primary);
    margin: 0;
  }

  .mobile-testimonial-card .float-testimonial-info p {
    font-size: 0.8rem;
    color: var(--color-coral-primary);
    margin: 0;
  }

  .mobile-testimonial-card .float-testimonial-text {
    font-size: 0.9rem;
    color: var(--color-gray-700);
    line-height: 1.5;
    font-style: italic;
    margin: 0;
  }

  .mobile-testimonial-card .float-testimonial-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-top: 0.75rem;
  }

  .mobile-testimonial-card .testimonial-certificate {
    width: 100%;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .hero-new .hero-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .hero-new .hero-buttons a {
    width: 100% !important;
    min-width: auto !important;
  }

  .carousel-image {
    width: 420px;
    height: 460px;
  }
}

@media (max-width: 640px) {
  .hero-new {
    padding: 1.5rem 0 1.5rem;
    text-align: center;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    margin-bottom: 0.75rem;
  }

  .hero-text h1 {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    padding: 0 0.5rem;
  }

  .hero-text .lead-text {
    font-size: 1rem !important;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 0 0.75rem;
  }

  .hero-info-box {
    background: white;
    border: 1px solid rgba(1, 96, 96, 0.1);
    border-left: 4px solid var(--color-coral-primary);
    padding: 1rem;
    margin: 2rem 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-radius: 12px;
  }

  .hero-info-box p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .hero-new .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.75rem auto;
    text-align: center;
  }

  .hero-new .hero-buttons .btn {
    width: 100% !important;
    padding: 0.8rem;
    font-size: 1rem;
  }

  .hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    padding: 0 0.5rem;
    overflow-x: visible;
  }

  .hero-feature {
    flex: 1;
    width: auto;
    padding: 1.25rem 0.5rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    border-radius: 16px;
    background: rgba(1, 96, 96, 0.04);
    border: 1px solid rgba(1, 96, 96, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  }

  .hero-feature-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    margin-bottom: 2px;
  }

  .mobile-testimonial-card {
    width: 230px;
    padding: 0.75rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  }

  .mobile-testimonial-card .float-testimonial-header {
    gap: 0.5rem;
    margin-bottom: 0.4rem;
  }

  .mobile-testimonial-card .float-testimonial-avatar {
    width: 34px;
    height: 34px;
  }

  .mobile-testimonial-card .float-testimonial-info h4 {
    font-size: 0.8rem;
  }

  .mobile-testimonial-card .float-testimonial-info p {
    font-size: 0.65rem;
    margin-bottom: 0;
  }

  .mobile-testimonial-card .float-testimonial-text {
    font-size: 0.75rem;
    line-height: 1.35;
    margin-bottom: 0.2rem;
  }

  .mobile-testimonial-card .float-testimonial-stars {
    font-size: 0.7rem;
    margin-top: 0;
  }

  .mobile-testimonial-card.has-certificate {
    width: 380px;
  }

  .mobile-testimonial-card.has-certificate .testimonial-content-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: center;
  }

  .mobile-testimonial-card.has-certificate .testimonial-text-side {
    flex: 1;
  }

  .mobile-testimonial-card.has-certificate .testimonial-certificate {
    width: 100px;
    margin-top: 0;
    flex-shrink: 0;
  }

  .carousel-image {
    width: 140px;
    height: 110px;
    border-radius: 12px;
  }
}

/* ===============================
   BODY PADDING - CORRECTED (nav-container height + bar ~42px)
   =============================== */

@media (max-width: 1100px) {
  body {
    padding-top: 102px !important; /* header 60px + bar ~42px */
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 114px !important; /* header 72px + bar ~42px */
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 110px !important; /* header 68px + bar ~42px */
  }
}

@media (max-width: 375px) {
  body {
    padding-top: 104px !important; /* header 62px + bar ~42px */
  }
}

/* ===============================
   HERO LIGHT REDESIGN
   =============================== */

.hero-new.hero-light {
  background: linear-gradient(180deg, #d0ecec 0%, #e6f5f5 8%, #ffffff 50%, #fff5f2 100%);
  padding: 2.5rem 0 3rem;
  min-height: auto;
}

.hero-new.hero-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(180deg, #0a6060 0%, #d0ecec 100%) !important;
  background-size: 100% 100% !important;
  z-index: 0;
  pointer-events: none;
}

.hero-light .hero-badge {
  background: rgba(1, 96, 96, 0.06);
  border-color: rgba(1, 96, 96, 0.1);
  color: var(--color-teal-primary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-light .hero-badge::before {
  display: none;
}

.hero-light .hero-text h1 {
  color: var(--color-teal-primary) !important;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
}

.hero-strike-wrap {
  position: relative;
  display: inline;
}

.hero-strike-text {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: italic;
  color: var(--color-gray-400) !important;
}

.hero-strike-wrap::after {
  content: '';
  position: absolute;
  left: -2px;
  top: 53%;
  height: 3px;
  width: 0;
  background: var(--color-coral-primary);
  border-radius: 2px;
  animation: heroStrikethrough 0.7s ease 1.1s forwards;
}

@keyframes heroStrikethrough {
  from { width: 0; }
  to { width: calc(100% + 6px); }
}

.hero-merit-line {
  color: var(--color-coral-primary) !important;
  display: block;
  margin-top: 0.15em;
}

.hero-highlight {
  font-weight: 600;
  padding: 0 0.2em;
  color: var(--color-gray-800);
  position: relative;
  display: inline;
}

.hero-highlight::before {
  content: '';
  position: absolute;
  left: -4px;
  right: 100%;
  bottom: -1px;
  height: 85%;
  background: rgba(244,126,82,0.22);
  border-radius: 2px 4px 3px 5px;
  transform: rotate(-0.5deg) skewX(-2deg);
  animation: highlight-sweep 0.5s ease-out 2.5s forwards;
  z-index: -1;
}

@keyframes highlight-sweep {
  to { right: -6px; }
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--color-gray-500);
  line-height: 1.6;
  margin: 0.5rem 0 1.25rem;
  max-width: 480px;
}

.hero-wanted {
  position: relative;
}

.hero-wanted::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 5px;
  background: #111827;
  border-radius: 2px;
  animation: underline-draw 0.6s ease-out 1s forwards;
}

@media (max-width: 1199px) {
  .hero-wanted::after {
    bottom: 2px;
    height: 3px;
  }
}

@keyframes underline-draw {
  to { width: 100%; }
}

.hero-light .hero-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.75rem;
}

.hero-light .hero-buttons .btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.hero-trust-row {
  display: flex;
  gap: 1.25rem;
  font-size: 0.78rem;
  color: var(--color-gray-400);
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-trust-row span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust-row span::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--color-coral-primary);
  border-radius: 50%;
}

/* Comparison Cards — Connected Journey Design */
.hero-comparison {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1rem;
  z-index: 1;
}

.hero-comparison-inline {
  margin: 1.5rem 0;
}

.cmp-card {
  border-radius: var(--radius-md);
  min-width: 0;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

/* ---- Traditional card (visually diminished) ---- */
.cmp-card.cmp-old {
  flex: 0.8;
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  padding: 1rem 1.1rem;
  opacity: 0.8;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 1.5rem;
}

/* Subtle diagonal stripe overlay */
.cmp-card.cmp-old::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(156, 163, 175, 0.06) 8px,
    rgba(156, 163, 175, 0.06) 9px
  );
  pointer-events: none;
  border-radius: var(--radius-md);
}

/* ---- Merit Method card (visually dominant) ---- */
.cmp-card.cmp-new {
  flex: 1.2;
  background: linear-gradient(145deg, rgba(1,96,96,0.04) 0%, rgba(1,96,96,0.08) 100%);
  border: 1.5px solid rgba(1, 96, 96, 0.1);
  padding: 1.5rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow:
    0 4px 20px rgba(1, 96, 96, 0.08),
    0 0 0 1px rgba(1, 96, 96, 0.04);
  overflow: visible;
}

.cmp-card.cmp-new .cmp-steps-journey {
  position: relative;
  overflow: hidden;
}

.cmp-card.cmp-new .cmp-steps-journey::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  visibility: hidden;
  animation: shimmer-sweep 0.7s ease-in-out 4.1s forwards;
  z-index: 1;
  pointer-events: none;
}

@keyframes shimmer-sweep {
  0% { visibility: visible; left: -60%; }
  100% { visibility: visible; left: 160%; }
}

.hero-cta-vibrating {
  animation: cta-pulse-glow 5.4s ease-in-out !important;
}

@keyframes cta-pulse-glow {
  0%, 100% { box-shadow: 0 8px 20px rgba(244, 126, 82, 0.35); }
  13% { box-shadow: 0 8px 35px rgba(244, 126, 82, 0.6), 0 0 20px rgba(244, 126, 82, 0.3); }
  27% { box-shadow: 0 8px 20px rgba(244, 126, 82, 0.35); }
  40% { box-shadow: 0 8px 35px rgba(244, 126, 82, 0.6), 0 0 20px rgba(244, 126, 82, 0.3); }
  54% { box-shadow: 0 8px 20px rgba(244, 126, 82, 0.35); }
  67% { box-shadow: 0 8px 35px rgba(244, 126, 82, 0.6), 0 0 20px rgba(244, 126, 82, 0.3); }
  80% { box-shadow: 0 8px 20px rgba(244, 126, 82, 0.35); }
}

.cmp-card.cmp-new:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 30px rgba(1, 96, 96, 0.12),
    0 0 0 1px rgba(1, 96, 96, 0.06);
}

/* ---- "MERIT METHOD" badge ---- */
.cmp-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--color-coral-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(244, 126, 82, 0.3);
  white-space: nowrap;
  z-index: 2;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(-15px);
  animation: badge-drop 0.4s ease-out 3.5s forwards;
}

@keyframes badge-drop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Labels ---- */
.cmp-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cmp-old .cmp-label { color: var(--color-gray-500); margin-bottom: 0.9rem; }
.cmp-new .cmp-label { color: var(--color-teal-primary); }

/* ---- Old-style list (Traditional) ---- */
.cmp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.cmp-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.cmp-old .cmp-list li {
  color: var(--color-gray-500);
}

/* ---- Icon circles ---- */
.cmp-x {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  flex-shrink: 0;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  text-decoration: none;
}

/* ---- 3-Step Journey (Merit Method) ---- */
.cmp-steps-journey {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Vertical connecting line — fades out past last step */
.cmp-steps-journey::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 16px;
  height: calc(100% - 16px);
  width: 2px;
  background: linear-gradient(180deg, var(--color-teal-primary) 0%, var(--color-teal-light) 40%, var(--color-coral-primary) 70%, transparent 100%);
  border-radius: 2px;
  opacity: 0.4;
}

.cmp-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  position: relative;
  z-index: 1;
}

.cmp-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-white);
  flex-shrink: 0;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.cmp-step-1 {
  background: linear-gradient(135deg, var(--color-teal-primary), var(--color-teal-light));
  box-shadow: 0 2px 8px rgba(1, 96, 96, 0.25);
}

.cmp-step-2 {
  background: linear-gradient(135deg, var(--color-teal-light), #3a9e8e);
  box-shadow: 0 2px 8px rgba(1, 96, 96, 0.2);
}

.cmp-step-3 {
  background: linear-gradient(135deg, var(--color-coral-primary), var(--color-coral-dark));
  box-shadow: 0 2px 8px rgba(244, 126, 82, 0.3);
}

.cmp-step-item:hover .cmp-step-number {
  transform: scale(1.1);
}

.cmp-step-content {
  flex: 1;
  padding-top: 0.15rem;
}

.cmp-step-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--color-gray-800);
  margin-bottom: 0.15rem;
}
.cmp-new .cmp-step-title { color: var(--color-gray-800); }

.cmp-step-desc {
  font-size: 0.76rem;
  color: var(--color-gray-500);
  line-height: 1.45;
}
.cmp-new .cmp-step-desc { color: var(--color-gray-500); }

/* Comparison Cards — Mobile */
@media (max-width: 640px) {
  .hero-comparison {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-comparison-inline {
    margin: 0.6rem 0;
  }

  /* ---- Traditional card: collapsed single row ---- */
  .cmp-card.cmp-old {
    flex: 0;
    padding: 0.6rem 1rem;
    opacity: 0.85;
    text-align: center;
    align-items: center;
    border-radius: 10px;
  }

  /* Compact label on mobile — gives context to the crossed-out items */
  .cmp-old .cmp-label {
    display: flex;
    font-size: 0.62rem;
    margin-bottom: 0.35rem;
    justify-content: center;
    opacity: 1;
    gap: 0.3rem;
    align-items: center;
    color: var(--color-gray-500);
    font-weight: 600;
    letter-spacing: 0.06em;
  }
  .cmp-old .cmp-label svg {
    width: 11px;
    height: 11px;
  }

  .cmp-card.cmp-old .cmp-list {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0 0.75rem;
  }

  .cmp-list li {
    font-size: 0.72rem;
    justify-content: center;
  }

  .cmp-old .cmp-list li {
    text-decoration: none;
    opacity: 1;
    color: var(--color-gray-500);
  }

  /* ---- Merit card: the hero ---- */
  .cmp-card.cmp-new {
    flex: 1;
    text-align: center;
    padding: 1rem 0.85rem 0.75rem;
    align-items: center;
    border-radius: 14px;
    border: 1.5px solid rgba(1, 96, 96, 0.15);
    background:
      radial-gradient(ellipse at 50% 0%, rgba(1, 96, 96, 0.06) 0%, transparent 60%),
      radial-gradient(ellipse at 50% 100%, rgba(244, 126, 82, 0.04) 0%, transparent 50%),
      var(--color-white);
    box-shadow:
      0 6px 24px rgba(1, 96, 96, 0.08),
      0 1px 3px rgba(0, 0, 0, 0.04);
  }

  .cmp-card.cmp-new:hover {
    transform: none;
  }

  .cmp-new .cmp-label {
    justify-content: center;
    margin-bottom: 0.3rem;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: var(--color-teal-primary);
    position: relative;
  }

  /* Subtle decorative line under the label */
  .cmp-new .cmp-label::after {
    content: '';
    position: absolute;
    bottom: -0.35rem;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-teal-primary), var(--color-coral-primary));
    opacity: 0.5;
  }

  .cmp-step-content {
    text-align: center;
    position: relative;
    background: none;
    padding: 0;
    width: 100%;
  }

  /* ---- Steps: horizontal on mobile ---- */
  .cmp-steps-journey {
    width: 100%;
    padding-top: 0.35rem;
    flex-direction: row !important;
    gap: 0.6rem;
    justify-content: center;
  }

  /* Hide vertical timeline line */
  .cmp-steps-journey::before {
    display: none;
  }

  .cmp-step-item {
    flex: 1;
    flex-direction: column;
    align-items: center;
    padding: 0.2rem 0;
    gap: 0.3rem;
  }

  /* Step circles */
  .cmp-step-number {
    width: 28px;
    height: 28px;
    font-size: 0.65rem;
    font-weight: 800;
    position: relative;
  }

  /* Compact descriptions on mobile — core value prop must be visible */
  .cmp-step-desc {
    display: block;
    font-size: 0.62rem;
    line-height: 1.35;
    color: var(--color-gray-500);
    margin-top: 0.15rem;
    max-width: 100px;
    margin-left: auto;
    margin-right: auto;
  }

  .cmp-step-1 {
    box-shadow:
      0 3px 10px rgba(1, 96, 96, 0.3),
      0 0 0 3px rgba(1, 96, 96, 0.08);
  }

  .cmp-step-2 {
    box-shadow:
      0 3px 10px rgba(1, 96, 96, 0.25),
      0 0 0 3px rgba(1, 122, 122, 0.08);
  }

  .cmp-step-3 {
    box-shadow:
      0 3px 10px rgba(244, 126, 82, 0.3),
      0 0 0 3px rgba(244, 126, 82, 0.08);
  }

  .cmp-step-title {
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--color-gray-800);
    letter-spacing: 0.01em;
  }

  /* Badge — centered, refined */
  .cmp-badge {
    top: -9px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.52rem;
    padding: 0.22rem 0.7rem;
    letter-spacing: 0.14em;
    box-shadow:
      0 3px 12px rgba(244, 126, 82, 0.35),
      0 1px 3px rgba(0, 0, 0, 0.08);
  }

  .cmp-label {
    font-size: 0.62rem;
    margin-bottom: 0.5rem;
  }
}

/* Larger phones (14 Pro Max etc.) — slightly more breathing room */
@media (min-width: 410px) and (max-width: 640px) {
  .hero-comparison {
    gap: 1.15rem;
  }

  .cmp-card.cmp-old {
    padding: 0.65rem 1.1rem;
  }

  .cmp-old .cmp-label {
    font-size: 0.65rem;
  }

  .cmp-list li {
    font-size: 0.75rem;
  }

  .cmp-card.cmp-new {
    padding: 1.1rem 1rem 0.85rem;
  }

  .cmp-step-number {
    width: 30px;
    height: 30px;
  }

  .cmp-step-desc {
    font-size: 0.65rem;
    max-width: 110px;
  }
}

/* Light hero responsive — mobile compact */
@media (max-width: 768px) {
  .hero-new.hero-light {
    padding: 1.75rem 0 1.5rem !important;
    margin-top: -8px !important;
  }
  .hero-light .hero-text h1 {
    font-size: 1.7rem !important;
    margin-bottom: 0.75rem;
    line-height: 1.15;
  }
  /* Side-by-side buttons — saves a full row */
  .hero-light .hero-buttons {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    margin: 1rem auto !important;
    gap: 0.6rem !important;
  }
  .hero-light .hero-buttons .btn {
    flex: 1;
    width: auto !important;
    text-align: center;
    justify-content: center;
    padding: 0.65rem 0.5rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  /* Compact annotation — stays visible */
  .hero-cta-annotation {
    margin-top: 0 !important;
    padding-left: 0 !important;
    justify-content: center;
  }
  .hero-cta-arrow {
    width: 22px;
    height: 30px;
  }
  .hero-cta-annotation span {
    font-size: 1.05rem;
  }
  .hero-trust-row {
    justify-content: center;
    margin-top: 0.75rem;
  }
  .hero-comparison-inline {
    margin: 1rem 0 !important;
  }
}

/* Fix gap between why-us bar and hero */
.why-us-bar {
  border-bottom: none !important;
  box-shadow: none !important;
}

.hero-new.hero-light {
  border-top: none;
  margin-top: -8px;
  padding-top: calc(2.5rem + 8px);
}

.hiw-hero {
  margin-top: -8px;
  padding-top: calc(5rem + 8px);
}

/* ===============================
   TRIAL POPUP — GLASSMORPHISM MODAL
   =============================== */
.trial-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(1,69,69,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms ease, visibility 400ms ease;
}
.trial-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.trial-popup-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 32px 64px rgba(1,69,69,0.25),
    0 0 0 1px rgba(255,255,255,0.2) inset;
  transform: scale(0.88) translateY(30px);
  transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.trial-popup-overlay.show .trial-popup-card {
  transform: scale(1) translateY(0);
}

.trial-popup-accent {
  height: 5px;
  background: linear-gradient(90deg, var(--color-teal-primary) 0%, var(--color-teal-light) 40%, var(--color-coral-primary) 100%);
}

.trial-popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-gray-100);
  color: var(--color-gray-500);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 200ms ease;
  padding: 0;
  line-height: 1;
}
.trial-popup-close:hover {
  background: var(--color-gray-200);
  color: var(--color-gray-800);
  transform: rotate(90deg);
}
.trial-popup-close svg {
  display: block;
}

.trial-popup-body {
  padding: 40px 36px 36px;
  position: relative;
  min-height: 280px;
}
.trial-popup-body::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,126,82,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Step transitions */
.trial-popup-step {
  transition: opacity 350ms ease, transform 350ms ease;
}
.trial-popup-step[data-active="false"] {
  opacity: 0;
  position: absolute;
  pointer-events: none;
  transform: translateX(-20px);
}
.trial-popup-step[data-active="true"] {
  opacity: 1;
  position: relative;
  pointer-events: auto;
  transform: translateX(0);
}

.trial-popup-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-teal-bg);
  color: var(--color-teal-primary);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.trial-popup-badge svg {
  flex-shrink: 0;
}

.trial-popup-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.65rem;
  line-height: 1.2;
  color: var(--color-gray-900);
  margin-bottom: 8px;
}
.trial-popup-title span {
  color: var(--color-coral-primary);
}

.trial-popup-subtitle {
  font-size: 0.95rem;
  color: var(--color-gray-500);
  line-height: 1.5;
  margin-bottom: 28px;
}

.trial-popup-input-wrap {
  position: relative;
  margin-bottom: 16px;
}
.trial-popup-input-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gray-400);
  pointer-events: none;
  transition: color 200ms ease;
}
.trial-popup-input {
  width: 100%;
  padding: 15px 16px 15px 48px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  border: 2px solid var(--color-gray-200);
  border-radius: 14px;
  background: var(--color-white);
  color: var(--color-gray-800);
  outline: none;
  transition: border-color 250ms ease, box-shadow 250ms ease;
}
.trial-popup-input::placeholder {
  color: var(--color-gray-400);
}
.trial-popup-input:focus {
  border-color: var(--color-teal-primary);
  box-shadow: 0 0 0 4px rgba(1,96,96,0.08);
}
.trial-popup-input:focus ~ svg {
  color: var(--color-teal-primary);
}
.trial-popup-input.input-error {
  border-color: var(--color-coral-primary);
}

.trial-popup-cta {
  width: 100%;
  padding: 16px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 250ms ease;
  position: relative;
  overflow: hidden;
}
.trial-popup-cta-primary {
  background: linear-gradient(135deg, var(--color-coral-primary) 0%, var(--color-coral-dark) 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(244,126,82,0.35);
}
.trial-popup-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,126,82,0.4);
}
.trial-popup-cta-primary:active {
  transform: translateY(0);
}
.trial-popup-cta-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
.trial-popup-cta-primary:hover::after {
  animation: trialShineSweep 600ms ease forwards;
}
@keyframes trialShineSweep {
  to { left: 100%; }
}

.trial-popup-cta-secondary {
  background: transparent;
  color: var(--color-gray-500);
  margin-top: 8px;
}
.trial-popup-cta-secondary:hover {
  color: var(--color-gray-700);
  background: var(--color-gray-100);
}

.trial-popup-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--color-gray-400);
}
.trial-popup-trust span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Step 2 */
.trial-popup-step2-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #059669;
}

/* Mobile: shrink popup so it doesn't cover full screen */
@media (max-width: 768px) {
  .trial-popup-overlay {
    align-items: flex-end;
    padding: 16px;
  }
  .trial-popup-card {
    max-width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) var(--radius-md) var(--radius-md);
  }
  .trial-popup-body {
    padding: 28px 24px 24px;
  }
  .trial-popup-title {
    font-size: 1.35rem;
  }
  .trial-popup-subtitle {
    font-size: 0.88rem;
    margin-bottom: 20px;
  }
  .trial-popup-trust {
    gap: 12px;
    font-size: 0.72rem;
  }
  .trial-popup-cta {
    padding: 14px 20px;
    font-size: 0.92rem;
  }
}

/* ===============================
   WHO IT'S FOR — JOURNEY PATH
   =============================== */

.journey-section {
  position: relative;
  padding: 80px 24px 100px;
  background:
    radial-gradient(circle at 1px 1px, var(--color-gray-200) 1px, transparent 0),
    linear-gradient(180deg, var(--color-teal-bg) 0%, var(--color-white) 60%, var(--color-gray-50) 100%);
  background-size: 32px 32px, 100% 100%;
  overflow: hidden;
}

/* Floating shapes */
.journey-section::before,
.journey-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
}
.journey-section::before {
  width: 300px;
  height: 300px;
  background: var(--color-coral-primary);
  top: -60px;
  right: -80px;
}
.journey-section::after {
  width: 220px;
  height: 220px;
  background: var(--color-teal-primary);
  bottom: 40px;
  left: -60px;
}

.journey-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header */
.journey-header {
  text-align: center;
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.journey-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.journey-badge {
  display: inline-block;
  background: var(--color-teal-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.journey-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--color-gray-800);
  line-height: 1.15;
  margin-bottom: 14px;
}
.journey-title .accent {
  color: var(--color-coral-primary);
  position: relative;
}
.journey-title .accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 6px;
  background: var(--color-coral-primary);
  opacity: 0.2;
  border-radius: 3px;
}

.journey-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--color-gray-500);
  font-weight: 500;
  max-width: 520px;
  margin: 0 auto;
}

/* Path Container (Desktop) */
.journey-path-wrap {
  position: relative;
  width: 100%;
  min-height: 480px;
  margin-bottom: 56px;
}

.journey-svg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: visible;
}
.journey-svg-wrap svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.journey-path-line {
  fill: none;
  stroke: var(--color-teal-primary);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  opacity: 0.2;
  transition: none;
}
.journey-path-line.animate {
  animation: drawPath 2.2s ease-out forwards;
}

.journey-path-line-drawn {
  fill: none;
  stroke: var(--color-teal-primary);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
}
.journey-path-line-drawn.animate {
  animation: drawPath 2.2s ease-out forwards;
}

@keyframes drawPath {
  to { stroke-dashoffset: 0; }
}

.journey-path-dashes {
  fill: none;
  stroke: var(--color-white);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 12 18;
  stroke-dashoffset: 2000;
  opacity: 0;
}
.journey-path-dashes.animate {
  opacity: 0.6;
  animation: drawPath 2.2s ease-out forwards;
}

.journey-dot {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.journey-dot.animate {
  opacity: 1;
}

/* Stops */
.journey-stops {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 480px;
}

.journey-stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%;
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.journey-stop.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.journey-stop:nth-child(1) { padding-top: 30px; }
.journey-stop:nth-child(2) { padding-top: 160px; }
.journey-stop:nth-child(3) { padding-top: 50px; }

/* CSS Characters */
.character-wrap {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-bottom: 18px;
}
.character-wrap:hover {
  transform: translateY(-8px) scale(1.05);
}

.character {
  position: relative;
  width: 90px;
  height: 100px;
}

.char-head {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.char-body {
  position: absolute;
  width: 52px;
  height: 44px;
  border-radius: 26px 26px 18px 18px;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.char-eyes {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  display: flex;
  justify-content: space-between;
  z-index: 3;
}
.char-eye {
  width: 7px;
  height: 8px;
  background: var(--color-gray-800);
  border-radius: 50%;
}
.char-smile {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 7px;
  border-bottom: 3px solid var(--color-gray-800);
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.char-accessory {
  position: absolute;
  z-index: 4;
}

/* Character 1: Seedling kid */
.char-1 .char-head { background: #fdd8b5; }
.char-1 .char-body { background: var(--color-teal-primary); }
.char-1 .char-hair {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 26px;
  background: #5c3d2e;
  border-radius: 26px 26px 0 0;
  z-index: 3;
}
.char-1 .char-accessory {
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 26px;
  background: #4ecdc4;
  border-radius: 3px;
  border-left: 4px solid #35a89e;
  box-shadow: 1px 2px 4px rgba(0,0,0,0.15);
}
.char-1 .char-accessory::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 8px;
  width: 16px;
  height: 3px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
}
.char-1 .char-arm-l, .char-1 .char-arm-r {
  position: absolute;
  width: 14px;
  height: 30px;
  border-radius: 7px;
  z-index: 0;
}
.char-1 .char-arm-l {
  background: var(--color-teal-primary);
  top: 46px;
  left: 6px;
  transform: rotate(15deg);
}
.char-1 .char-arm-r {
  background: var(--color-teal-primary);
  top: 46px;
  right: 6px;
  transform: rotate(-15deg);
}

/* Character 2: Star kid */
.char-2 .char-head { background: #f5d0a9; }
.char-2 .char-body { background: var(--color-teal-light); }
.char-2 .char-hair {
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 28px;
  background: #2c1810;
  border-radius: 28px 28px 4px 4px;
  z-index: 3;
}
.char-2 .char-hair::before, .char-2 .char-hair::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 20px;
  background: #2c1810;
  border-radius: 50%;
  top: 8px;
}
.char-2 .char-hair::before { left: -8px; }
.char-2 .char-hair::after { right: -8px; }
.char-2 .char-accessory {
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 26px;
  line-height: 1;
  animation: journeyStarFloat 2s ease-in-out infinite;
}
.char-2 .char-arm-l, .char-2 .char-arm-r {
  position: absolute;
  width: 14px;
  height: 24px;
  border-radius: 7px;
  z-index: 0;
}
.char-2 .char-arm-l {
  background: var(--color-teal-light);
  top: 48px;
  left: 4px;
  transform: rotate(25deg);
}
.char-2 .char-arm-r {
  background: var(--color-teal-light);
  top: 42px;
  right: 2px;
  transform: rotate(-40deg);
}

@keyframes journeyStarFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

/* Character 3: Rocket kid */
.char-3 .char-head { background: #e8c49a; }
.char-3 .char-body { background: var(--color-coral-primary); }
.char-3 .char-hair {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 24px;
  background: #8b4513;
  border-radius: 24px 24px 4px 4px;
  z-index: 3;
}
.char-3 .char-hair::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 12px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 12px solid #8b4513;
}
.char-3 .char-hair::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 24px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 14px solid #8b4513;
}
.char-3 .char-accessory {
  top: -8px;
  right: -10px;
  font-size: 28px;
  line-height: 1;
  animation: journeyRocketBounce 1.5s ease-in-out infinite;
}
.char-3 .char-arm-l, .char-3 .char-arm-r {
  position: absolute;
  width: 14px;
  height: 26px;
  border-radius: 7px;
  z-index: 0;
}
.char-3 .char-arm-l {
  background: var(--color-coral-primary);
  top: 46px;
  left: 4px;
  transform: rotate(20deg);
}
.char-3 .char-arm-r {
  background: var(--color-coral-primary);
  top: 40px;
  right: 0px;
  transform: rotate(-50deg);
}

@keyframes journeyRocketBounce {
  0%, 100% { transform: translateY(0) rotate(-15deg); }
  50% { transform: translateY(-10px) rotate(-15deg); }
}

/* Emoji backdrop */
.char-emoji-bg {
  position: absolute;
  font-size: 64px;
  opacity: 0.12;
  z-index: 0;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Stop number badge */
.stop-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}
.stop-1 .stop-number { background: var(--color-teal-primary); }
.stop-2 .stop-number { background: var(--color-teal-light); }
.stop-3 .stop-number { background: var(--color-coral-primary); }

/* Flag Cards */
.flag-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  border: 2px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  max-width: 220px;
  position: relative;
}
.flag-card:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.stop-1 .flag-card:hover { border-color: var(--color-teal-primary); }
.stop-2 .flag-card:hover { border-color: var(--color-teal-light); }
.stop-3 .flag-card:hover { border-color: var(--color-coral-primary); }

.flag-card::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: var(--color-white);
  box-shadow: -2px -2px 4px rgba(0,0,0,0.04);
}

.flag-emoji {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 8px;
}

.flag-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.stop-1 .flag-name { color: var(--color-teal-primary); }
.stop-2 .flag-name { color: var(--color-teal-light); }
.stop-3 .flag-name { color: var(--color-coral-primary); }

.flag-tagline {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-gray-500);
  font-weight: 500;
  line-height: 1.4;
}

.flag-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 4px;
  border-radius: 4px 4px 0 0;
}
.stop-1 .flag-card::after { background: var(--color-teal-primary); }
.stop-2 .flag-card::after { background: var(--color-teal-light); }
.stop-3 .flag-card::after { background: var(--color-coral-primary); }

/* Journey CTA */
.journey-cta-wrap {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.4s, transform 0.7s ease 0.4s;
}
.journey-cta-wrap.visible {
  opacity: 1;
  transform: translateY(0);
}

.journey-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-coral-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  padding: 18px 36px;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(244, 126, 82, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
}
.journey-cta:hover {
  background: var(--color-coral-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(244, 126, 82, 0.45);
}
.journey-cta:active {
  transform: translateY(-1px);
}
.journey-cta .arrow {
  transition: transform 0.25s ease;
  font-size: 20px;
}
.journey-cta:hover .arrow {
  transform: translateX(4px);
}

/* Decorative floating elements */
.deco-float {
  position: absolute;
  pointer-events: none;
  opacity: 0.06;
  font-size: 40px;
  z-index: 0;
}
.deco-1 { top: 15%; right: 8%; animation: journeyFloat1 6s ease-in-out infinite; }
.deco-2 { top: 55%; left: 4%; animation: journeyFloat2 7s ease-in-out infinite; }
.deco-3 { bottom: 18%; right: 12%; animation: journeyFloat1 5s ease-in-out infinite 1s; }
.deco-4 { top: 30%; left: 12%; animation: journeyFloat2 8s ease-in-out infinite 0.5s; }

@keyframes journeyFloat1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(8deg); }
}
@keyframes journeyFloat2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-6deg); }
}

/* Parent Callout Strip */
.parent-callout {
  background: linear-gradient(135deg, #012e2e 0%, var(--color-teal-dark) 40%, var(--color-teal-primary) 100%);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 5rem;
}

.parent-callout::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.parent-callout::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(244,126,82,0.04), transparent);
  transform: rotate(-15deg);
  pointer-events: none;
}

.callout-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.callout-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.callout-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.callout-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-coral-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 16px rgba(244, 126, 82, 0.25);
}

.callout-cta:hover {
  background: var(--color-coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(244, 126, 82, 0.35);
}

.callout-cta svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Journey Path Responsive */
@media (max-width: 820px) {
  .journey-section {
    padding: 60px 20px 80px;
  }
  .journey-header {
    margin-bottom: 48px;
  }
  .journey-path-wrap {
    min-height: auto;
    margin-bottom: 40px;
  }
  .journey-svg-wrap {
    display: none;
  }
  .journey-stops {
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: 0;
    position: relative;
    padding-left: 40px;
  }
  .journey-stops::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 20px;
    bottom: 20px;
    width: 4px;
    background: repeating-linear-gradient(
      to bottom,
      var(--color-teal-primary) 0px,
      var(--color-teal-primary) 10px,
      transparent 10px,
      transparent 22px
    );
    border-radius: 2px;
    opacity: 0.25;
  }
  .journey-stop {
    width: 100%;
    max-width: 360px;
    padding-top: 0 !important;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-bottom: 44px;
    position: relative;
  }
  .journey-stop:last-child {
    margin-bottom: 0;
  }
  .journey-stop::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid var(--color-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }
  .stop-1::before { background: var(--color-teal-primary); }
  .stop-2::before { background: var(--color-teal-light); }
  .stop-3::before { background: var(--color-coral-primary); }
  .character-wrap {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .character {
    width: 60px;
    height: 68px;
  }
  .char-head {
    width: 34px;
    height: 34px;
  }
  .char-body {
    width: 38px;
    height: 32px;
    top: 28px;
    border-radius: 19px 19px 13px 13px;
  }
  .char-eyes {
    top: 13px;
    width: 20px;
  }
  .char-eye {
    width: 5px;
    height: 6px;
  }
  .char-smile {
    top: 22px;
    width: 10px;
    height: 5px;
    border-bottom-width: 2px;
  }
  .char-1 .char-hair {
    width: 38px;
    height: 19px;
  }
  .char-1 .char-accessory {
    width: 24px;
    height: 18px;
    bottom: 5px;
  }
  .char-1 .char-accessory::after {
    top: 3px;
    left: 5px;
    width: 12px;
    height: 2px;
  }
  .char-1 .char-arm-l, .char-1 .char-arm-r {
    width: 10px;
    height: 20px;
    top: 32px;
  }
  .char-2 .char-hair {
    width: 40px;
    height: 20px;
  }
  .char-2 .char-hair::before, .char-2 .char-hair::after {
    width: 12px;
    height: 14px;
  }
  .char-2 .char-accessory {
    font-size: 18px;
    top: -16px;
  }
  .char-2 .char-arm-l, .char-2 .char-arm-r {
    width: 10px;
    height: 18px;
    top: 34px;
  }
  .char-3 .char-hair {
    width: 36px;
    height: 18px;
  }
  .char-3 .char-accessory {
    font-size: 20px;
    top: -6px;
    right: -8px;
  }
  .char-3 .char-arm-l, .char-3 .char-arm-r {
    width: 10px;
    height: 20px;
    top: 32px;
  }
  .char-emoji-bg {
    font-size: 44px;
    top: -6px;
  }
  .stop-number {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  .flag-card {
    padding: 14px 16px;
    text-align: left;
  }
  .flag-card::before {
    display: none;
  }
  .flag-emoji {
    font-size: 24px;
    margin-bottom: 4px;
  }
  .flag-name {
    font-size: 15px;
  }
  .flag-tagline {
    font-size: 13px;
  }
  .deco-float {
    display: none;
  }
  .parent-callout {
    padding: 4rem 1.5rem;
    margin-top: 3.5rem;
  }
  .callout-headline {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .journey-title {
    font-size: 1.65rem;
  }
  .journey-subtitle {
    font-size: 0.95rem;
  }
  .journey-cta {
    font-size: 15px;
    padding: 16px 28px;
  }
  .journey-stops {
    padding-left: 36px;
  }
  .parent-callout {
    padding: 3.5rem 1.25rem;
    margin-top: 3rem;
  }
  .callout-headline {
    font-size: 1.25rem;
  }
  .callout-sub {
    font-size: 0.95rem;
  }
}

/* ===============================
   HOW IT WORKS PAGE
   =============================== */

/* -- Shared labels & headings -- */
.hiw-section-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.35rem 0.9rem; border-radius: var(--radius-full); margin-bottom: 0.75rem;
}
.hiw-section-label--coral { background: var(--color-coral-bg); color: var(--color-coral-dark); border: 1px solid rgba(244,126,82,0.15); }
.hiw-section-label--teal  { background: var(--color-teal-bg); color: var(--color-teal-primary); border: 1px solid rgba(1,96,96,0.12); }
.hiw-section-label--white { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.2); }
.hiw-section-label--coral-dark { background: rgba(244,126,82,0.12); color: #f47e52; border: 1px solid rgba(244,126,82,0.28); }

.hiw-section-heading {
  font-family: var(--font-heading); font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800; color: var(--color-teal-dark); margin-bottom: 0.5rem; letter-spacing: -0.01em;
}
.hiw-section-heading--white { color: var(--color-white); }
.hiw-section-sub { font-size: 1.05rem; color: var(--color-gray-500); max-width: 560px; line-height: 1.6; margin: 0 auto; }
.hiw-section-sub--white { color: rgba(255,255,255,0.65); }
.hiw-section-header { text-align: center; margin-bottom: 3rem; }

/* -- Buttons -- */
.hiw-btn-coral {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; background: var(--color-coral-primary);
  color: white; font-weight: 700; font-size: 1rem; border-radius: var(--radius-sm);
  border: 2px solid var(--color-coral-primary); cursor: pointer; transition: all 0.25s ease;
  text-decoration: none;
}
.hiw-btn-coral:hover { background: var(--color-coral-dark); border-color: var(--color-coral-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(244,126,82,0.35); }

.hiw-btn-white-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; background: transparent; color: rgba(255,255,255,0.9);
  font-weight: 600; font-size: 1rem; border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.4); cursor: pointer; transition: all 0.25s ease;
  text-decoration: none;
}
.hiw-btn-white-outline:hover { border-color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.hiw-btn-teal-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; background: transparent; color: var(--color-teal-primary);
  font-weight: 600; font-size: 1rem; border-radius: var(--radius-sm);
  border: 2px solid var(--color-teal-primary); cursor: pointer; transition: all 0.25s ease;
  text-decoration: none;
}
.hiw-btn-teal-outline:hover { background: var(--color-teal-primary); color: white; }

/* ── 1. HERO ─────────────────────────────────────────────── */
.hiw-hero {
  background: var(--color-teal-primary);
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
/* Decorative concentric rings */
.hiw-hero::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50%; pointer-events: none;
}
.hiw-hero::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 50%; pointer-events: none;
}
.hiw-hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 900px 500px at 50% 50%, rgba(1,130,130,0.45) 0%, transparent 70%);
  pointer-events: none;
}
.hiw-hero-inner {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto;
}
.hiw-hero-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.65); margin-bottom: 1.25rem;
}
.hiw-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800; color: var(--color-white);
  letter-spacing: -0.04em; line-height: 1.08; margin-bottom: 0.75rem;
}
.hiw-hero-accent {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 800; color: var(--color-coral-primary);
  letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 1.5rem; display: block;
}
.hiw-hero-subtitle {
  font-size: 1.05rem; line-height: 1.72; color: rgba(255,255,255,0.72);
  max-width: 540px; margin: 0 auto 2.5rem;
}
.hiw-hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.25rem; }
.hiw-trust { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.hiw-trust span {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; color: rgba(255,255,255,0.8); font-weight: 500;
}
.hiw-trust-dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,0.18); border: 1.5px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hiw-trust-dot svg { width: 10px; height: 10px; color: var(--color-white); }

/* ── 2. PROBLEM ─────────────────────────────────────────── */
.hiw-problem { padding: 5rem 0; background: #fdf9f5; }
.hiw-problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  counter-reset: problem-card;
}
.hiw-problem-card {
  background: #fff; border: none;
  border-radius: 18px; padding: 2.5rem 2rem 2.25rem;
  position: relative; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  counter-increment: problem-card;
}
.hiw-problem-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #f47e52, #f4a252);
}
.hiw-problem-card::after {
  content: "0" counter(problem-card);
  position: absolute; top: 0.75rem; right: 1.25rem;
  font-family: var(--font-heading); font-size: 5rem; font-weight: 800;
  color: rgba(244,126,82,0.07); line-height: 1;
  pointer-events: none; user-select: none;
}
.hiw-problem-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.hiw-problem-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: #fff5f0; border: 1.5px solid rgba(244,126,82,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
}
.hiw-problem-icon svg { width: 24px; height: 24px; color: #f47e52; }
.hiw-problem-card h3 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: #1c1c1e; margin-bottom: 0.45rem; }
.hiw-problem-card p { font-size: 0.9rem; color: var(--color-gray-500); line-height: 1.65; margin: 0; }

/* ── 3. MERIT METHOD ─────────────────────────────────────── */
.hiw-method { padding: 5rem 0; background: var(--color-teal-bg); }
.hiw-method-grid {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0; align-items: start;
}
.hiw-method-arrow {
  display: flex; align-items: center; justify-content: center;
  padding-top: 65px; padding-left: 10px; padding-right: 10px;
}
.hiw-method-arrow svg { width: 22px; height: 22px; color: var(--color-teal-primary); opacity: 0.3; }
.hiw-method-card {
  background: var(--color-white); border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hiw-method-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(1,96,96,0.14); }
.hiw-method-header {
  height: 120px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hiw-method-card:nth-child(1) .hiw-method-header { background: linear-gradient(135deg, #014545, var(--color-teal-primary)); }
.hiw-method-card:nth-child(3) .hiw-method-header { background: linear-gradient(135deg, var(--color-coral-dark), var(--color-coral-primary)); }
.hiw-method-card:nth-child(5) .hiw-method-header { background: linear-gradient(135deg, #012e2e, #014545); }
.hiw-method-ghost-num {
  position: absolute; right: 12px; bottom: 4px;
  font-family: var(--font-heading); font-weight: 800; font-size: 5rem;
  color: rgba(255,255,255,0.1); line-height: 1; user-select: none; pointer-events: none;
}
.hiw-method-emoji {
  font-size: 2.75rem; position: relative; z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}
.hiw-method-body { padding: 1.75rem 1.75rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.hiw-method-step {
  display: inline-flex; align-items: center;
  padding: 0.25rem 0.75rem; border-radius: var(--radius-full);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 0.75rem; width: fit-content;
}
.hiw-method-card:nth-child(1) .hiw-method-step { background: rgba(1,96,96,0.08); color: var(--color-teal-primary); }
.hiw-method-card:nth-child(3) .hiw-method-step { background: var(--color-coral-bg); color: var(--color-coral-dark); }
.hiw-method-card:nth-child(5) .hiw-method-step { background: rgba(1,69,69,0.08); color: #014545; }
.hiw-method-body h3 { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--color-gray-800); letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.hiw-method-body p { font-size: 0.875rem; color: var(--color-gray-500); line-height: 1.65; flex: 1; margin-bottom: 1rem; }
.hiw-method-detail {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.9rem; background: var(--color-teal-bg);
  border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 500; color: var(--color-teal-primary);
  width: fit-content;
}

/* ── 4. GAME SHOWCASE ────────────────────────────────────── */
.hiw-games {
  padding: 5rem 0; background: #012e2e;
  position: relative; overflow: hidden;
}
.hiw-games::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1.5px, transparent 1.5px);
  background-size: 28px 28px; pointer-events: none;
}
.hiw-games::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(1,96,96,0.35) 0%, transparent 65%);
  pointer-events: none;
}
.hiw-games .container { position: relative; z-index: 1; }
.hiw-games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.hiw-game-card {
  background: rgba(255,255,255,0.06); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg);
  padding: 1.875rem 1.625rem; position: relative; overflow: hidden;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.hiw-game-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-coral-primary), #f9a07a);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.hiw-game-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.2); }
.hiw-game-card:hover::before { transform: scaleX(1); }
.hiw-game-card-num {
  position: absolute; top: 18px; right: 20px;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.7rem;
  letter-spacing: 0.1em; color: var(--color-coral-primary);
}
.hiw-game-emoji {
  font-size: 2.4rem; display: block; margin-bottom: 1rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hiw-game-card:hover .hiw-game-emoji { transform: scale(1.18) rotate(-4deg); }
.hiw-game-card h3 { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--color-white); margin-bottom: 0.5rem; }
.hiw-game-card p { font-size: 0.84rem; color: rgba(255,255,255,0.52); line-height: 1.6; margin: 0; }
.hiw-games-more {
  display: block; width: fit-content; margin: 2.5rem auto 0;
  font-size: 0.92rem; font-style: normal; font-weight: 600;
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 100px; padding: 0.6rem 1.5rem;
  letter-spacing: 0.015em;
}

/* ── 5. GETTING STARTED ──────────────────────────────────── */
.hiw-steps { padding: 5rem 0; background: #eef8f6; }
.hiw-steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
}
.hiw-step-arrow {
  display: flex; align-items: center; justify-content: center;
  padding-top: 46px; padding-left: 4px; padding-right: 4px;
}
.hiw-step-arrow svg { width: 20px; height: 20px; color: var(--color-teal-primary); opacity: 0.4; flex-shrink: 0; }
.hiw-step-item {
  background: #fff; border: 1.5px solid rgba(1,96,96,0.1);
  border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 2px 16px rgba(1,96,96,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hiw-step-item:hover { transform: translateY(-6px); box-shadow: 0 20px 56px rgba(1,96,96,0.13); }
.hiw-step-icon-area {
  height: 100px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hiw-step-item:nth-child(1) .hiw-step-icon-area { background: linear-gradient(135deg, #015555, #016f6f); }
.hiw-step-item:nth-child(3) .hiw-step-icon-area { background: linear-gradient(135deg, #d05838, #f47e52); }
.hiw-step-item:nth-child(5) .hiw-step-icon-area { background: linear-gradient(135deg, #016060, #018080); }
.hiw-step-item:nth-child(7) .hiw-step-icon-area { background: linear-gradient(135deg, #013838, #015050); }
.hiw-step-icon-area::after {
  content: ''; position: absolute; bottom: -24px; right: -24px;
  width: 80px; height: 80px; background: rgba(255,255,255,0.09); border-radius: 50%;
  pointer-events: none;
}
.hiw-step-icon-svg {
  width: 40px; height: 40px; color: rgba(255,255,255,0.92);
  position: relative; z-index: 1;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.15));
}
.hiw-step-badge {
  position: absolute; top: 12px; left: 12px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.22); border: 1.5px solid rgba(255,255,255,0.38);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 0.82rem;
  color: #fff; z-index: 2;
}
.hiw-step-content { padding: 1.25rem 1.25rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.hiw-step-content h4 { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--color-gray-800); letter-spacing: -0.02em; margin-bottom: 0.45rem; }
.hiw-step-content p { font-size: 0.85rem; color: var(--color-gray-500); line-height: 1.65; margin: 0; }
.hiw-step-note {
  display: block; margin-top: 0.85rem;
  font-size: 0.76rem; color: var(--color-teal-primary); font-weight: 600;
  background: rgba(1,96,96,0.07); border: 1px solid rgba(1,96,96,0.15);
  border-radius: 8px; padding: 0.45rem 0.75rem; line-height: 1.5;
}

/* ── 6. FINAL CTA ────────────────────────────────────────── */
.hiw-cta {
  padding: 6rem 0; background: #014545;
  position: relative; overflow: hidden; text-align: center;
}
.hiw-cta::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  border: 1px solid rgba(255,255,255,0.06); border-radius: 50%; pointer-events: none;
}
.hiw-cta::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 450px; height: 450px;
  border: 1px solid rgba(255,255,255,0.04); border-radius: 50%; pointer-events: none;
}
.hiw-cta-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.hiw-cta h2 {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 4rem); color: var(--color-white);
  letter-spacing: -0.04em; line-height: 1.08; margin-bottom: 1rem;
}
.hiw-cta h2 .coral { color: var(--color-coral-primary); }
.hiw-cta-sub { font-size: 1.05rem; color: rgba(255,255,255,0.62); margin-bottom: 2.5rem; line-height: 1.6; }
.hiw-cta-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hiw-cta-trust { font-size: 0.8rem; color: rgba(255,255,255,0.3); letter-spacing: 0.06em; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hiw-steps-row { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .hiw-step-arrow { display: none; }
  .hiw-method-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .hiw-method-arrow { display: none; }
}

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

@media (max-width: 768px) {
  .hiw-hero { padding: 3.5rem 0 4.5rem; }
  .hiw-hero h1 { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .hiw-hero-accent { font-size: clamp(1.4rem, 6vw, 2.2rem); }
  .hiw-problem { padding: 3.5rem 0; }
  .hiw-problem-grid { grid-template-columns: 1fr; gap: 1rem; }
  .hiw-method { padding: 3.5rem 0; }
  .hiw-games { padding: 3.5rem 0; }
  .hiw-games-grid { grid-template-columns: 1fr; gap: 0.875rem; }
  .hiw-steps { padding: 3.5rem 0; }
  .hiw-steps-row { grid-template-columns: 1fr; gap: 1rem; }
  .hiw-step-arrow { display: none; }
  .hiw-cta { padding: 4rem 0; }
  .hiw-cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 640px) {
  .hiw-hero-ctas { flex-direction: column; align-items: center; }
  .hiw-hero-ctas .hiw-btn-coral,
  .hiw-hero-ctas .hiw-btn-white-outline { width: 100%; max-width: 300px; justify-content: center; }
  .hiw-trust { gap: 0.75rem; }
  .hiw-problem-card { padding: 1.75rem 1.5rem 1.5rem; }
  .hiw-section-heading { font-size: 1.5rem; }
}

/* ===============================
   PROGRAMS PAGE (prog-)
   =============================== */

/* --- Shared elements --- */
.prog-label {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.35rem 1rem; border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}
.prog-label--teal {
  background: var(--color-teal-bg); color: var(--color-teal-primary);
  border: 1px solid rgba(1,96,96,0.12);
}
.prog-label--coral {
  background: var(--color-coral-bg); color: var(--color-coral-primary);
  border: 1px solid rgba(244,126,82,0.15);
}
.prog-heading {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--color-teal-dark);
  line-height: 1.2; margin-bottom: 0.75rem; letter-spacing: -0.02em;
}
.prog-sub {
  font-size: 1.05rem; line-height: 1.65; color: var(--color-gray-500);
  max-width: 620px; margin: 0 auto 0;
}
.prog-sub strong { color: var(--color-teal-primary); font-weight: 600; }
.prog-br-desktop { display: inline; }

/* --- 1. Hero --- */
.prog-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--color-teal-bg) 0%, #f0fafa 40%, var(--color-white) 100%);
  padding: 3.5rem 0 3rem; text-align: center;
  margin-top: -8px; /* close gap below fixed why-us-bar */
}
.prog-hero-bg-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(80px); opacity: 0.35;
}
.prog-hero-bg-orb--1 {
  width: 500px; height: 500px; top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(1,96,96,0.12), transparent 70%);
}
.prog-hero-bg-orb--2 {
  width: 400px; height: 400px; bottom: -100px; left: -80px;
  background: radial-gradient(circle, rgba(244,126,82,0.08), transparent 70%);
}
.prog-hero-inner {
  position: relative; z-index: 2; max-width: 720px; margin: 0 auto;
}
.prog-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--color-white); border: 1.5px solid rgba(1,96,96,0.15);
  border-radius: var(--radius-full); padding: 0.4rem 1.1rem;
  font-family: var(--font-heading); font-size: 0.78rem; font-weight: 700;
  color: var(--color-teal-primary); letter-spacing: 0.03em;
  margin-bottom: 1.25rem; box-shadow: 0 2px 8px rgba(1,96,96,0.06);
}
.prog-badge svg { color: var(--color-coral-primary); flex-shrink: 0; }
.prog-hero h1 {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(2.25rem, 5.5vw, 3.5rem); line-height: 1.12;
  color: var(--color-teal-dark); margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}
.prog-hero-accent {
  font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400;
  color: var(--color-coral-primary); letter-spacing: 0;
}
.prog-hero-sub {
  font-size: 1.05rem; line-height: 1.6; color: var(--color-gray-500);
  max-width: 560px; margin: 0 auto 1.5rem;
}
.prog-hero-sub strong { color: var(--color-teal-primary); font-weight: 600; }
.prog-hero-buttons {
  display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.prog-hero-trust {
  display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
}
.prog-hero-trust span {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.82rem; font-weight: 500; color: var(--color-gray-400);
}
.prog-hero-trust svg { color: var(--color-teal-primary); flex-shrink: 0; }

/* --- 2. Trust Bar --- */
.prog-trust-bar {
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-100);
  border-bottom: 1px solid var(--color-gray-100);
  padding: 1rem 0;
}
.prog-trust-bar-inner {
  display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap;
}
.prog-trust-bar-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 500; color: var(--color-gray-500);
  white-space: nowrap;
}
.prog-trust-bar-item svg { color: var(--color-teal-primary); flex-shrink: 0; }

/* --- 3. Program Cards --- */
.prog-programs { padding: 3.5rem 0 3rem; background: var(--color-white); }
.prog-cards-grid {
  display: grid; grid-template-columns: 47fr 53fr; gap: 1.75rem;
  max-width: 920px; margin: 2rem auto 0; align-items: start;
}
.prog-card {
  background: var(--color-white); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; overflow: visible;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative; touch-action: pan-y;
}
.prog-card--foundation {
  border: 2px solid var(--color-gray-200);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.prog-card--foundation:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.prog-card--mastery {
  border: 2.5px solid var(--color-coral-primary);
  box-shadow: 0 8px 40px rgba(244,126,82,0.12), 0 0 0 4px rgba(244,126,82,0.06);
  transform: scale(1.03);
  background: linear-gradient(180deg, #ffffff 0%, #fffcfa 100%);
}
.prog-card--mastery:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 20px 50px rgba(244,126,82,0.18), 0 0 0 4px rgba(244,126,82,0.08);
}
.prog-card-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-coral-primary), #e86535);
  color: var(--color-white); padding: 0.4rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(244,126,82,0.35);
}
.prog-card-header {
  padding: 2rem 1.75rem 1.25rem; text-align: center;
  border-bottom: 1px solid var(--color-gray-100);
}
.prog-card--mastery .prog-card-header {
  padding-top: 2.5rem;
  border-bottom-color: rgba(244,126,82,0.12);
}
.prog-card-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.prog-card-icon--teal {
  background: var(--color-teal-bg); color: var(--color-teal-primary);
  box-shadow: 0 3px 10px rgba(1,96,96,0.1);
}
.prog-card-icon--coral {
  background: var(--color-coral-bg); color: var(--color-coral-primary);
  box-shadow: 0 3px 10px rgba(244,126,82,0.15);
}
.prog-card-title {
  font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700;
  color: var(--color-teal-dark); margin-bottom: 0.25rem;
}
.prog-card-tagline {
  font-size: 0.92rem; color: var(--color-gray-500); margin-bottom: 1.25rem;
}
.prog-card-price {
  display: flex; align-items: baseline; justify-content: center; gap: 0.15rem;
}
.prog-price-label {
  font-size: 0.85rem; color: var(--color-gray-400); margin-right: 0.25rem;
}
.prog-price-amount {
  font-family: var(--font-heading); font-size: 2.75rem; font-weight: 800;
  color: var(--color-teal-dark); line-height: 1; letter-spacing: -0.03em;
}
.prog-price-amount--coral { color: var(--color-coral-primary); }
.prog-price-period {
  font-size: 1rem; font-weight: 500; color: var(--color-gray-400);
}
.prog-price-breakdown {
  font-size: 0.8rem; color: var(--color-gray-400); margin-top: 0.4rem;
  margin-bottom: 0;
}
.prog-card-body { padding: 1.5rem 1.75rem; flex: 1; }
.prog-card-list-title {
  font-family: var(--font-heading); font-size: 0.82rem; font-weight: 700;
  color: var(--color-teal-dark); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 0.75rem;
}
.prog-checklist {
  list-style: none; padding: 0; margin: 0 0 1.5rem;
}
.prog-checklist li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.45rem 0; font-size: 0.95rem; color: var(--color-gray-700);
  line-height: 1.45;
}
.prog-checklist li svg { flex-shrink: 0; margin-top: 3px; }
.prog-checklist--teal li svg { color: var(--color-teal-primary); }
.prog-checklist--coral li svg { color: var(--color-coral-primary); }
.prog-checklist li strong { color: var(--color-gray-800); }
.prog-best-for {
  border-radius: var(--radius-md); padding: 1rem 1.25rem;
}
.prog-best-for--teal {
  background: var(--color-teal-bg); border: 1px solid rgba(1,96,96,0.08);
}
.prog-best-for--coral {
  background: var(--color-coral-bg); border: 1px solid rgba(244,126,82,0.12);
}
.prog-best-for h4 {
  font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700;
  color: var(--color-teal-primary); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 0.3rem;
}
.prog-best-for--coral h4 { color: var(--color-coral-dark); }
.prog-best-for p {
  font-size: 0.9rem; color: var(--color-gray-600); margin: 0; line-height: 1.5;
}
.prog-card-footer { padding: 0 1.75rem 1.75rem; margin-top: auto; }
.prog-card-btn { width: 100%; text-align: center; }
.prog-card-guarantee {
  text-align: center; font-size: 0.78rem; color: var(--color-gray-400);
  margin: 0.75rem 0 0;
}
.prog-cards-annotation {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 0.9rem; color: var(--color-gray-500); margin-top: 1.75rem;
  text-align: center;
}
.prog-cards-annotation svg { color: var(--color-teal-primary); flex-shrink: 0; }
.prog-cards-annotation strong { color: var(--color-coral-primary); }

/* --- 3b. Showcase Card (single-program layout) --- */
.prog-heading-em {
  font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400;
  color: var(--color-teal-primary); letter-spacing: 0;
}
.prog-showcase-card {
  max-width: 720px; margin: 2.5rem auto 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-gray-200);
  border-left: 5px solid var(--color-teal-primary);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(1,96,96,.04);
  overflow: hidden;
}
.prog-showcase-header {
  background: linear-gradient(135deg, var(--color-teal-primary) 0%, var(--color-teal-light) 100%);
  padding: 1.75rem 2.25rem;
  display: flex; align-items: center; gap: 1.1rem;
}
.prog-showcase-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: rgba(255,255,255,.18); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
}
.prog-showcase-title {
  font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700;
  color: var(--color-white); letter-spacing: -.01em;
}
.prog-showcase-tagline {
  font-size: .82rem; color: rgba(255,255,255,.72); margin-top: .15rem;
}
.prog-showcase-body {
  display: grid; grid-template-columns: 1fr 1fr;
}
.prog-col {
  padding: 2rem 2.25rem;
}
.prog-col:first-child {
  border-right: 1px solid var(--color-gray-200);
}
.prog-col-label {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-primary); font-size: .72rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding-bottom: .75rem; border-bottom: 2px solid; margin-bottom: 1.35rem;
}
.prog-col--in .prog-col-label  { color: var(--color-teal-primary); border-color: var(--color-teal-bg); }
.prog-col--after .prog-col-label { color: var(--color-coral-dark); border-color: var(--color-coral-bg); }
.prog-col-items {
  list-style: none; display: flex; flex-direction: column; gap: .85rem;
}
.prog-col-items li {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .9rem; color: var(--color-gray-700); line-height: 1.45;
}
.prog-col-check { flex-shrink: 0; margin-top: .1rem; }
.prog-col-check--teal  { color: var(--color-teal-primary); }
.prog-col-check--coral { color: var(--color-coral-primary); }
.prog-showcase-footer {
  background: var(--color-gray-50); border-top: 1px solid var(--color-gray-200);
  padding: 1.5rem 2.25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.prog-showcase-footer-text {
  font-size: .85rem; color: var(--color-gray-500); font-weight: 500;
}
.prog-showcase-footer-text strong { color: var(--color-gray-700); }

/* --- 4. How It Works --- */
.prog-how {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, var(--color-gray-50) 0%, var(--color-white) 100%);
}
.prog-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: 960px; margin: 2rem auto 0; position: relative;
}
.prog-steps-line {
  position: absolute; top: 24px; left: 16.67%; right: 16.67%; height: 2px;
  background: linear-gradient(90deg, var(--color-teal-bg), var(--color-coral-bg), var(--color-teal-bg));
  z-index: 0;
}
.prog-step {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  position: relative; z-index: 1;
}
.prog-step-num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--color-white); border: 2.5px solid var(--color-teal-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1rem; font-weight: 800;
  color: var(--color-teal-primary); margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(1,96,96,0.1);
  transition: all 0.3s ease;
}
.prog-step:hover .prog-step-num {
  background: var(--color-teal-primary); color: var(--color-white);
  box-shadow: 0 6px 20px rgba(1,96,96,0.2);
}
.prog-step-card {
  background: var(--color-white); border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg); padding: 1.5rem 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}
.prog-step:hover .prog-step-card {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}
.prog-step-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-teal-bg), rgba(1,96,96,0.08));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem; color: var(--color-teal-primary);
}
.prog-step-card h3 {
  font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700;
  color: var(--color-teal-dark); margin-bottom: 0.5rem;
}
.prog-step-card p {
  font-size: 0.92rem; color: var(--color-gray-500); line-height: 1.55; margin: 0;
}

/* --- 5. Features Grid --- */
.prog-features { padding: 3.5rem 0; background: var(--color-white); }
.prog-features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  max-width: 960px; margin: 2rem auto 0;
}
.prog-feature-card {
  background: var(--color-white); border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg); padding: 1.5rem 1.25rem;
  text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.prog-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.prog-feature-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal-bg), rgba(1,96,96,0.08));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.85rem; color: var(--color-teal-primary);
  box-shadow: 0 3px 10px rgba(1,96,96,0.08);
}
.prog-feature-card h3 {
  font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700;
  color: var(--color-teal-dark); margin-bottom: 0.4rem;
}
.prog-feature-card p {
  font-size: 0.9rem; color: var(--color-gray-500); line-height: 1.55; margin: 0;
}

/* --- 6. Social Proof --- */
.prog-proof {
  padding: 3rem 0;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-coral-bg) 20%, var(--color-coral-bg) 80%, var(--color-white) 100%);
}
.prog-proof-inner {
  max-width: 660px; margin: 0 auto; text-align: center;
  position: relative; padding: 2rem 1.75rem;
  background: var(--color-white); border-radius: var(--radius-lg);
  border: 1px solid rgba(244,126,82,0.1);
  box-shadow: 0 8px 30px rgba(244,126,82,0.06);
}
.prog-proof-mark {
  color: var(--color-coral-primary); margin-bottom: 0.5rem;
}
.prog-proof-quote {
  font-size: 1.1rem; line-height: 1.75; color: var(--color-gray-700);
  font-style: italic; margin: 0 0 1.5rem; quotes: none;
}
.prog-proof-author {
  display: flex; align-items: center; justify-content: center; gap: 0.85rem;
}
.prog-proof-avatar {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  border: 2.5px solid var(--color-coral-primary);
  box-shadow: 0 3px 10px rgba(244,126,82,0.15);
}
.prog-proof-name {
  font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700;
  color: var(--color-teal-dark); text-align: left;
}
.prog-proof-role {
  font-size: 0.82rem; color: var(--color-gray-500); text-align: left;
}
.prog-proof-stars {
  font-size: 0.9rem; color: var(--color-coral-primary);
  letter-spacing: 1px; text-align: left; margin-top: 0.15rem;
}

/* --- 7. FAQ --- */
.prog-faq-section {
  padding: 3.5rem 0;
  background: var(--color-gray-50);
}
.prog-faq-list {
  max-width: 720px; margin: 1.75rem auto 0;
}
.prog-faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.prog-faq-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.prog-faq-item.active {
  border-color: rgba(1,96,96,0.2) !important;
  box-shadow: 0 4px 16px rgba(1,96,96,0.06);
}
.prog-faq-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; padding: 1.15rem 1.5rem;
  background: transparent; border: none; cursor: pointer;
  font-family: var(--font-primary); font-size: 1rem; font-weight: 600;
  color: var(--color-teal-dark); text-align: left;
  transition: color 0.2s ease;
}
.prog-faq-btn span { flex: 1; }
.prog-faq-btn svg {
  flex-shrink: 0; color: var(--color-gray-400);
  transition: transform 0.3s ease, color 0.2s ease;
}
.prog-faq-item.active .prog-faq-btn svg {
  transform: rotate(45deg); color: var(--color-coral-primary);
}
.prog-faq-item.active .prog-faq-btn {
  color: var(--color-teal-primary);
}
.prog-faq-answer {
  padding: 0 1.5rem 1.25rem;
}
.prog-faq-answer p {
  font-size: 0.95rem; line-height: 1.65; color: var(--color-gray-600); margin: 0;
}

/* --- 8. Final CTA --- */
.prog-cta {
  padding: 3.5rem 0; text-align: center;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-coral-bg) 30%, var(--color-coral-bg) 70%, var(--color-white) 100%);
}
.prog-cta-inner { max-width: 580px; margin: 0 auto; }
.prog-cta h2 {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-teal-dark); margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.prog-cta p {
  font-size: 1.05rem; color: var(--color-gray-500);
  margin-bottom: 2rem; line-height: 1.65;
}
.prog-cta-buttons {
  display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
}

/* --- Programs Responsive --- */

/* iPad Air Landscape / small desktop (~1180px) */
@media (max-width: 1180px) {
  .prog-steps-line { display: none; }
  .prog-cards-grid { gap: 1.5rem; max-width: 780px; }
  .prog-steps { max-width: 840px; }
  .prog-features-grid { max-width: 840px; }
}

/* Showcase card: stack columns on narrow screens */
@media (max-width: 600px) {
  .prog-showcase-body { grid-template-columns: 1fr; }
  .prog-col:first-child { border-right: none; border-bottom: 1px solid var(--color-gray-200); }
  .prog-showcase-header { padding: 1.4rem 1.5rem; }
  .prog-col { padding: 1.5rem; }
  .prog-showcase-footer { flex-direction: column; align-items: flex-start; padding: 1.25rem 1.5rem; }
}

/* Tablet landscape / iPad Air portrait (~1024px) */
@media (max-width: 1024px) {
  .prog-hero { padding: 2.5rem 0 2rem; }
  .prog-hero h1 { margin-bottom: 1rem; }
  .prog-hero-sub { margin-bottom: 1.25rem; }
  .prog-programs, .prog-how, .prog-features, .prog-faq-section { padding: 2.5rem 0; }
  .prog-proof, .prog-cta { padding: 2.5rem 0; }
  .prog-cards-grid { margin-top: 1.75rem; }
  .prog-steps { margin-top: 1.75rem; }
  .prog-features-grid { margin-top: 1.75rem; }
  .prog-card-icon { width: 40px; height: 40px; margin-bottom: 0.75rem; }
  .prog-card-icon svg { width: 20px; height: 20px; }
  .prog-price-amount { font-size: 2.5rem; }
  .prog-card-tagline { margin-bottom: 1rem; }
  .prog-checklist { margin-bottom: 1rem; }
  .prog-checklist li { padding: 0.35rem 0; font-size: 0.9rem; }
  .prog-best-for { padding: 0.85rem 1rem; }
  .prog-best-for p { font-size: 0.85rem; }
  .prog-faq-list { margin-top: 1.5rem; }
}

/* Tablet portrait / stacking point (~900px) */
@media (max-width: 900px) {
  .prog-hero { padding: 2rem 0 1.75rem; }
  .prog-cards-grid {
    grid-template-columns: 1fr; max-width: 420px;
    margin-left: auto; margin-right: auto; gap: 1.25rem;
  }
  .prog-card--mastery { transform: none; order: -1; }
  .prog-card--mastery:hover { transform: translateY(-6px); }
  .prog-card--mastery .prog-card-header { padding-top: 2.25rem; }
  .prog-steps { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; gap: 1.25rem; }
  .prog-step-num { width: 36px; height: 36px; font-size: 0.9rem; margin-bottom: 0.75rem; }
  .prog-step-icon { width: 42px; height: 42px; }
  .prog-step-icon svg { width: 22px; height: 22px; }
  .prog-features-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .prog-br-desktop { display: none; }
  .prog-cards-annotation { margin-top: 1.25rem; }
}

/* Tablet small / large mobile (~768px) */
@media (max-width: 768px) {
  .prog-hero { padding: 1.75rem 0 1.5rem; }
  .prog-programs, .prog-how, .prog-features, .prog-faq-section { padding: 2rem 0; }
  .prog-proof, .prog-cta { padding: 2rem 0; }
  .prog-trust-bar { padding: 0.75rem 0; }
  .prog-trust-bar-inner { gap: 0.5rem 1.25rem; }
  .prog-trust-bar-item { font-size: 0.8rem; }
  .prog-hero-trust { gap: 0.5rem 1rem; }
  .prog-hero-trust span { font-size: 0.78rem; }
  .prog-heading { margin-bottom: 0.5rem; }
  .prog-sub { font-size: 0.95rem; }
  .prog-proof-inner { padding: 1.5rem 1.25rem; }
  .prog-proof-quote { font-size: 0.95rem; line-height: 1.65; margin-bottom: 1rem; }
  .prog-proof-mark { width: 48px; height: 48px; margin-bottom: 0.25rem; }
  .prog-proof-avatar { width: 44px; height: 44px; }
  .prog-proof-name { font-size: 0.88rem; }
  .prog-faq-btn { padding: 0.9rem 1.15rem; font-size: 0.92rem; }
  .prog-faq-answer { padding: 0 1.15rem 0.85rem; }
  .prog-faq-answer p { font-size: 0.88rem; }
  .prog-faq-item { margin-bottom: 0.5rem; }
  .prog-cta h2 { margin-bottom: 0.5rem; }
  .prog-cta p { margin-bottom: 1.25rem; font-size: 0.95rem; }
}

/* Mobile portrait (~640px) */
@media (max-width: 640px) {
  .prog-hero { padding: 1.5rem 0 1.25rem; }
  .prog-hero h1 { margin-bottom: 0.75rem; }
  .prog-hero-sub { font-size: 0.95rem; margin-bottom: 1rem; line-height: 1.55; }
  .prog-hero-buttons { flex-direction: column; align-items: center; gap: 0.5rem; }
  .prog-hero-buttons .btn { width: 100%; max-width: 280px; }
  .prog-hero-buttons .btn-lg { padding: 0.7rem 1.5rem; font-size: 0.9rem; }
  .prog-hero-trust { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0.35rem 0.75rem; }
  .prog-hero-trust span { font-size: 0.72rem; }
  .prog-badge { margin-bottom: 0.75rem; }
  .prog-features-grid { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; gap: 0.75rem; }
  .prog-feature-card { padding: 1.25rem 1rem; }
  .prog-feature-icon { width: 40px; height: 40px; margin-bottom: 0.6rem; }
  .prog-feature-icon svg { width: 20px; height: 20px; }
  .prog-feature-card h3 { font-size: 0.95rem; margin-bottom: 0.25rem; }
  .prog-feature-card p { font-size: 0.82rem; }
  .prog-cards-grid { max-width: 360px; gap: 1.25rem; }
  .prog-cards-annotation { flex-direction: column; gap: 0.15rem; font-size: 0.82rem; margin-top: 1rem; }
  .prog-card-header { padding: 1.5rem 1.25rem 1rem; }
  .prog-card--mastery .prog-card-header { padding-top: 2rem; }
  .prog-card-body { padding: 1.25rem; }
  .prog-card-footer { padding: 0 1.25rem 1.25rem; }
  .prog-card-title { font-size: 1.15rem; }
  .prog-card-tagline { font-size: 0.85rem; margin-bottom: 0.75rem; }
  .prog-price-amount { font-size: 2.25rem; }
  .prog-card-list-title { font-size: 0.75rem; margin-bottom: 0.5rem; }
  .prog-checklist li { font-size: 0.85rem; padding: 0.3rem 0; }
  .prog-best-for { padding: 0.75rem 1rem; }
  .prog-best-for p { font-size: 0.82rem; }
  .prog-step-card { padding: 1.15rem 1rem; }
  .prog-step-card h3 { font-size: 1rem; }
  .prog-step-card p { font-size: 0.85rem; }
  .prog-steps { max-width: 300px; gap: 1rem; }
  .prog-cta-buttons { flex-direction: column; align-items: center; gap: 0.5rem; }
  .prog-cta-buttons .btn { width: 100%; max-width: 280px; }
  .prog-proof-inner { padding: 1.25rem 1rem; }
  .prog-proof-quote { font-size: 0.9rem; line-height: 1.6; margin-bottom: 0.85rem; }
  .prog-proof-mark { width: 40px; height: 40px; }
  .prog-proof-avatar { width: 40px; height: 40px; }
  .prog-proof-name { font-size: 0.82rem; }
  .prog-proof-role { font-size: 0.75rem; }
  .prog-proof-stars { font-size: 0.8rem; }
  .prog-proof-author { gap: 0.6rem; }
}

/* Small mobile portrait (~480px) */
@media (max-width: 480px) {
  .prog-hero { padding: 1.25rem 0 1rem; }
  .prog-badge { font-size: 0.68rem; padding: 0.25rem 0.75rem; margin-bottom: 0.6rem; }
  .prog-badge svg { width: 11px; height: 11px; }
  .prog-hero-sub { font-size: 0.88rem; }
  .prog-heading { font-size: 1.35rem; margin-bottom: 0.4rem; }
  .prog-sub { font-size: 0.85rem; line-height: 1.5; }
  .prog-label { font-size: 0.68rem; padding: 0.25rem 0.75rem; margin-bottom: 0.5rem; }
  .prog-programs, .prog-how, .prog-features, .prog-faq-section { padding: 1.75rem 0; }
  .prog-proof, .prog-cta { padding: 1.5rem 0; }
  .prog-trust-bar-inner { gap: 0.35rem 0.75rem; }
  .prog-trust-bar-item { font-size: 0.72rem; gap: 0.3rem; }
  .prog-trust-bar-item svg { width: 14px; height: 14px; }
  .prog-cards-grid { max-width: 320px; margin-top: 1.25rem; gap: 1rem; }
  .prog-card-badge { font-size: 0.7rem; padding: 0.3rem 1.1rem; top: -12px; }
  .prog-card-icon { width: 36px; height: 36px; margin-bottom: 0.6rem; }
  .prog-card-icon svg { width: 18px; height: 18px; }
  .prog-card-title { font-size: 1.05rem; }
  .prog-price-amount { font-size: 2rem; }
  .prog-price-period { font-size: 0.85rem; }
  .prog-price-breakdown { font-size: 0.72rem; }
  .prog-checklist li { font-size: 0.82rem; gap: 0.45rem; }
  .prog-checklist li svg { width: 14px; height: 14px; }
  .prog-step-num { width: 32px; height: 32px; font-size: 0.82rem; margin-bottom: 0.6rem; }
  .prog-step-icon { width: 38px; height: 38px; margin-bottom: 0.5rem; }
  .prog-step-icon svg { width: 20px; height: 20px; }
  .prog-step-card { padding: 1rem 0.85rem; }
  .prog-step-card h3 { font-size: 0.92rem; margin-bottom: 0.3rem; }
  .prog-step-card p { font-size: 0.82rem; }
  .prog-features-grid { max-width: 300px; gap: 0.6rem; }
  .prog-feature-card { padding: 1rem 0.85rem; }
  .prog-feature-icon { width: 36px; height: 36px; margin-bottom: 0.5rem; }
  .prog-feature-icon svg { width: 18px; height: 18px; }
  .prog-feature-card h3 { font-size: 0.88rem; }
  .prog-feature-card p { font-size: 0.78rem; }
  .prog-faq-btn { padding: 0.75rem 0.85rem; font-size: 0.85rem; gap: 0.6rem; }
  .prog-faq-btn svg { width: 16px; height: 16px; }
  .prog-faq-answer { padding: 0 0.85rem 0.75rem; }
  .prog-faq-answer p { font-size: 0.82rem; line-height: 1.55; }
  .prog-faq-item { margin-bottom: 0.4rem; }
  .prog-cta h2 { margin-bottom: 0.4rem; }
  .prog-cta p { font-size: 0.88rem; margin-bottom: 1rem; }
  .prog-steps { max-width: 280px; }
}

/* ===============================
   PRICING PAGE — WARM REDESIGN
   =============================== */

/* Hero */
.pw-hero {
  position: relative;
  margin-top: -8px;
  padding: 108px 0 90px;
  background: linear-gradient(170deg, var(--color-teal-bg) 0%, #f0fafa 35%, var(--color-white) 100%);
  overflow: hidden;
  text-align: center;
}

.pw-hero-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  pointer-events: none;
  filter: blur(1px);
}
.pw-hero-blob-1 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, var(--color-teal-bg) 0%, transparent 70%);
  top: -80px; left: -100px;
  animation: pw-floatBlob 8s ease-in-out infinite;
}
.pw-hero-blob-2 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, var(--color-coral-bg) 0%, transparent 70%);
  top: 40px; right: -60px;
  animation: pw-floatBlob 10s ease-in-out infinite reverse;
}
.pw-hero-blob-3 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, var(--color-teal-bg) 0%, transparent 70%);
  bottom: -40px; left: 30%;
  animation: pw-floatBlob 9s ease-in-out infinite 1s;
}
.pw-hero-blob-4 {
  width: 120px; height: 120px;
  background: radial-gradient(circle, var(--color-coral-bg) 0%, transparent 70%);
  bottom: 60px; right: 15%;
  animation: pw-floatBlob 7s ease-in-out infinite 0.5s;
}

@keyframes pw-floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(12px, -16px) scale(1.04); }
  66% { transform: translate(-8px, 10px) scale(0.97); }
}

.pw-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(1, 96, 96, 0.08);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-teal-primary);
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
}
.pw-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-teal-primary);
  margin-bottom: 20px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.02em;
}

.pw-hero-sub {
  font-size: 1.2rem;
  color: var(--color-gray-600);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.pw-btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.pw-hero .pw-btn-group {
  margin-bottom: 48px;
}

.pw-hero-testimonial {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  padding: 20px 32px;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(1, 96, 96, 0.06);
  max-width: 480px;
}

.pw-hero-stars {
  color: #f5b942;
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.pw-hero-quote {
  font-style: italic;
  color: var(--color-gray-700);
  font-size: 0.975rem;
  line-height: 1.6;
}

.pw-hero-author {
  font-size: 0.85rem;
  color: var(--color-gray-400);
  font-weight: 500;
}

/* Social Proof Strip */
.pw-social-proof {
  background: #fdf8f4;
  padding: 40px 0;
  border-top: 1px solid rgba(1,96,96,0.05);
  border-bottom: 1px solid rgba(1,96,96,0.05);
}

.pw-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.pw-proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.pw-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(1,96,96,0.06);
  font-weight: 600;
  color: var(--color-teal-primary);
  font-size: 0.95rem;
}

.pw-proof-icon {
  font-size: 1.2rem;
}

/* Section Headings */
.pw-section-heading {
  text-align: center;
  margin-bottom: 52px;
}

.pw-section-heading h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-teal-primary);
  margin-bottom: 12px;
}

.pw-section-heading p {
  font-size: 1.1rem;
  color: var(--color-gray-500);
  max-width: 560px;
  margin: 0 auto;
}

/* Pricing Cards */
.pw-pricing-section {
  padding: 90px 0;
  background: var(--color-white);
}

.pw-pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
}

.pw-pricing-card {
  background: var(--color-white);
  border-radius: 24px;
  padding: 40px 36px;
  border: 1.5px solid var(--color-gray-200);
  box-shadow: 0 8px 32px rgba(1, 96, 96, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.pw-pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(1, 96, 96, 0.13);
}

.pw-pricing-card.pw-featured {
  border: 2px solid var(--color-coral-primary);
  box-shadow: 0 8px 32px rgba(244, 126, 82, 0.15);
  padding: 48px 40px 44px;
  transform: scale(1.03);
  z-index: 2;
}

.pw-pricing-card.pw-featured:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 12px 44px rgba(244, 126, 82, 0.22);
}

.pw-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-coral-primary);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 22px;
  border-radius: 50px;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 12px rgba(244,126,82,0.3);
}

.pw-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.pw-card-icon-teal { background: var(--color-teal-bg); }
.pw-card-icon-coral { background: var(--color-coral-bg); }

.pw-pricing-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-teal-primary);
  margin-bottom: 4px;
}

.pw-card-desc {
  font-size: 0.95rem;
  color: var(--color-gray-500);
  margin-bottom: 20px;
}

.pw-price-row {
  margin-bottom: 8px;
}

.pw-price-amount {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-teal-primary);
  line-height: 1;
}

.pw-price-period {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-gray-400);
}

.pw-price-prefix {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-gray-400);
  display: block;
  margin-bottom: 4px;
}

.pw-price-breakdown {
  font-size: 0.85rem;
  color: var(--color-gray-500);
  margin-bottom: 20px;
  font-weight: 500;
}

.pw-pricing-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gray-200), transparent);
  margin: 20px 0;
}

.pw-pricing-divider-coral {
  background: linear-gradient(to right, transparent, #f0c4b0, transparent);
}

.pw-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

.pw-feature-list li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--color-gray-700);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.pw-feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
}

.pw-teal-checks li::before {
  background: var(--color-teal-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10l2.5 3L14 7' fill='none' stroke='%23016060' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.pw-coral-checks li::before {
  background: var(--color-coral-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10l2.5 3L14 7' fill='none' stroke='%23f47e52' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.pw-feature-list li strong {
  color: var(--color-gray-800);
}

.pw-card-footnote {
  text-align: center;
  font-size: 0.84rem;
  color: var(--color-gray-400);
}

.pw-pricing-help {
  text-align: center;
  margin-top: 44px;
  font-size: 1.05rem;
  color: var(--color-gray-500);
}

.pw-pricing-help a {
  font-weight: 600;
  color: var(--color-coral-primary);
}

/* Features Section */
.pw-features-section {
  background: var(--color-gray-50);
  padding: 90px 0;
}

.pw-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.pw-feature-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(1, 96, 96, 0.06);
  border: 1px solid var(--color-gray-100);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pw-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(1, 96, 96, 0.13);
}

.pw-feature-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--color-teal-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 18px;
}

.pw-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-teal-primary);
}

.pw-feature-card p {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  line-height: 1.6;
}

/* Comparison Table */
.pw-comparison-section {
  padding: 90px 0;
  background: var(--color-white);
}

.pw-table-wrap {
  max-width: 760px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(1, 96, 96, 0.08);
  border: 1px solid var(--color-gray-200);
}

.pw-comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.pw-comparison-table th,
.pw-comparison-table td {
  padding: 16px 20px;
  text-align: center;
  font-size: 0.93rem;
  border-bottom: 1px solid var(--color-gray-100);
}

.pw-comparison-table th:first-child,
.pw-comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--color-gray-700);
}

.pw-comparison-table thead th {
  background: var(--color-teal-bg);
  color: var(--color-teal-primary);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 18px 20px;
}

.pw-comparison-table .pw-featured-col {
  background: var(--color-coral-bg);
  color: var(--color-coral-primary);
}

.pw-comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.pw-comparison-table .pw-featured-cell {
  background: rgba(244, 126, 82, 0.04);
}

.pw-check-teal {
  color: var(--color-teal-primary);
  font-weight: 700;
  font-size: 1.15rem;
}

.pw-check-no {
  color: var(--color-gray-300);
  font-size: 1.1rem;
}

.pw-comparison-table td strong {
  color: var(--color-gray-800);
}

/* FAQ Accordion */
.pw-faq-section {
  background: var(--color-gray-50);
  padding: 90px 0;
}

.pw-faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pw-faq-item {
  background: var(--color-white);
  border-radius: 16px;
  border: 1px solid var(--color-gray-200);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pw-faq-item:hover {
  box-shadow: 0 4px 24px rgba(1, 96, 96, 0.06);
}

.pw-faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-teal-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  transition: background 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pw-faq-btn:hover {
  background: var(--color-teal-bg);
}

.pw-faq-chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-teal-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pw-faq-chevron svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-teal-primary);
  stroke-width: 2.5;
  fill: none;
}

.pw-faq-item.open .pw-faq-chevron {
  transform: rotate(180deg);
  background: var(--color-teal-primary);
}

.pw-faq-item.open .pw-faq-chevron svg {
  stroke: var(--color-white);
}

.pw-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              padding 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Final CTA */
.pw-final-cta {
  background: linear-gradient(135deg, var(--color-teal-primary) 0%, var(--color-teal-dark) 50%, #013d3d 100%);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pw-final-cta::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,126,82,0.08) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.pw-final-cta::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  bottom: -150px;
  left: -80px;
  pointer-events: none;
}

.pw-final-cta h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pw-final-cta p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.pw-final-cta .pw-btn-group {
  margin-bottom: 32px;
}

.pw-trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.pw-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

.pw-trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

/* Pricing Page Responsive — Tablet */
@media (max-width: 1199px) {
  .pw-hero { padding: 72px 0 56px; }
  .pw-hero h1 { font-size: 2.3rem; margin-bottom: 14px; }
  .pw-hero-sub { font-size: 1.05rem; margin-bottom: 28px; }
  .pw-hero .pw-btn-group { margin-bottom: 32px; }
  .pw-hero-testimonial { padding: 16px 24px; }

  .pw-social-proof { padding: 28px 0; }

  .pw-features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .pw-feature-card { padding: 28px 22px; }
  .pw-feature-card-icon { width: 50px; height: 50px; margin-bottom: 14px; }

  .pw-pricing-section,
  .pw-gamified-section,
  .pw-features-section,
  .pw-comparison-section,
  .pw-faq-section,
  .pw-final-cta { padding: 52px 0; }

  .pw-section-heading h2 { font-size: 1.85rem; }
  .pw-section-heading { margin-bottom: 36px; }

  .pw-pricing-cards { gap: 24px; }
  .pw-pricing-card { padding: 32px 28px; }
  .pw-pricing-card.pw-featured { padding: 40px 32px 36px; }

  .pw-faq-list { gap: 10px; }
  .pw-faq-btn { padding: 16px 20px; font-size: 1rem; }

  .pw-final-cta h2 { font-size: 2rem; }
  .pw-final-cta p { font-size: 1.05rem; margin-bottom: 28px; }
  .pw-final-cta .pw-btn-group { margin-bottom: 24px; }
}

/* Pricing Page Responsive — Mobile */
@media (max-width: 767px) {
  .pw-hero { padding: 52px 0 40px; }
  .pw-hero h1 { font-size: 1.75rem; margin-bottom: 12px; }
  .pw-hero-sub { font-size: 0.95rem; margin-bottom: 22px; line-height: 1.6; }
  .pw-hero .pw-btn-group {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
  }
  .pw-hero .pw-btn-group .btn { width: 100%; max-width: 300px; padding: 12px 24px; }
  .pw-hero-testimonial { padding: 14px 18px; }
  .pw-hero-stars { font-size: 1rem; }
  .pw-hero-quote { font-size: 0.9rem; }
  .pw-hero-author { font-size: 0.8rem; }
  .pw-hero-blob-1 { width: 160px; height: 160px; top: -50px; left: -60px; }
  .pw-hero-blob-2 { width: 120px; height: 120px; }
  .pw-hero-blob-3 { width: 100px; height: 100px; }
  .pw-hero-blob-4 { display: none; }

  .pw-social-proof { padding: 20px 0; }
  .pw-proof-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pw-proof-badge { padding: 8px 16px; font-size: 0.85rem; gap: 6px; }
  .pw-proof-icon { font-size: 1rem; }

  .pw-section-heading h2 { font-size: 1.45rem; }
  .pw-section-heading { margin-bottom: 28px; }
  .pw-section-heading p { font-size: 0.92rem; }

  .pw-pricing-section,
  .pw-gamified-section,
  .pw-features-section,
  .pw-comparison-section,
  .pw-faq-section,
  .pw-final-cta { padding: 40px 0; }

  .pw-pricing-cards {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 420px;
  }
  .pw-pricing-card {
    padding: 28px 24px;
    border-radius: 20px;
  }
  .pw-pricing-card.pw-featured {
    transform: scale(1);
    order: -1;
    padding: 32px 26px 28px;
  }
  .pw-pricing-card.pw-featured:hover {
    transform: translateY(-4px);
  }
  .pw-pricing-card h3 { font-size: 1.3rem; }
  .pw-card-desc { font-size: 0.88rem; margin-bottom: 14px; }
  .pw-price-amount { font-size: 2.4rem; }
  .pw-price-period { font-size: 1rem; }
  .pw-price-prefix { font-size: 0.9rem; }
  .pw-price-breakdown { font-size: 0.8rem; margin-bottom: 14px; }
  .pw-pricing-divider { margin: 14px 0; }
  .pw-feature-list { margin-bottom: 20px; }
  .pw-feature-list li { padding: 6px 0; font-size: 0.88rem; }
  .pw-feature-list li::before { width: 18px; height: 18px; }
  .pw-card-footnote { font-size: 0.78rem; }
  .pw-pricing-help { margin-top: 28px; font-size: 0.95rem; }

  .pw-features-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pw-feature-card { padding: 22px 16px; border-radius: 14px; }
  .pw-feature-card-icon { width: 44px; height: 44px; font-size: 1.3rem; margin-bottom: 12px; border-radius: 10px; }
  .pw-feature-card h3 { font-size: 0.92rem; margin-bottom: 4px; }
  .pw-feature-card p { font-size: 0.82rem; line-height: 1.5; }

  .pw-table-wrap { border-radius: 12px; }
  .pw-comparison-table th,
  .pw-comparison-table td { padding: 10px 12px; font-size: 0.82rem; }
  .pw-comparison-table thead th { padding: 12px; font-size: 0.85rem; }
  .pw-check-teal { font-size: 1rem; }
  .pw-check-no { font-size: 0.95rem; }

  .pw-faq-list { gap: 8px; }
  .pw-faq-item { border-radius: 12px; }
  .pw-faq-btn { font-size: 0.9rem; padding: 14px 16px; gap: 12px; }
  .pw-faq-chevron { width: 24px; height: 24px; }
  .pw-faq-chevron svg { width: 12px; height: 12px; }
  .pw-faq-answer-inner { padding: 0 16px 16px; font-size: 0.85rem; line-height: 1.6; }

  .pw-final-cta h2 { font-size: 1.5rem; margin-bottom: 12px; }
  .pw-final-cta p { font-size: 0.92rem; margin-bottom: 24px; line-height: 1.6; }
  .pw-final-cta .pw-btn-group {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
  }
  .pw-final-cta .pw-btn-group .btn { width: 100%; max-width: 300px; padding: 12px 24px; }
  .pw-trust-badges { gap: 14px; }
  .pw-trust-badge { font-size: 0.82rem; }
}

/* Pricing Page Responsive — Small Mobile */
@media (max-width: 479px) {
  .pw-hero { padding: 44px 0 32px; }
  .pw-hero h1 { font-size: 1.5rem; margin-bottom: 10px; }
  .pw-hero-sub { font-size: 0.88rem; margin-bottom: 18px; }
  .pw-hero .pw-btn-group { margin-bottom: 22px; gap: 8px; }
  .pw-hero .pw-btn-group .btn { max-width: 280px; padding: 11px 20px; font-size: 0.9rem; }
  .pw-hero-testimonial { padding: 12px 14px; border-radius: 16px; }
  .pw-hero-quote { font-size: 0.85rem; }

  .pw-social-proof { padding: 16px 0; }
  .pw-proof-badge { padding: 7px 12px; font-size: 0.78rem; }

  .pw-section-heading h2 { font-size: 1.3rem; }
  .pw-section-heading { margin-bottom: 22px; }

  .pw-pricing-section,
  .pw-gamified-section,
  .pw-features-section,
  .pw-comparison-section,
  .pw-faq-section,
  .pw-final-cta { padding: 32px 0; }

  .pw-pricing-cards { gap: 14px; max-width: 100%; }
  .pw-pricing-card { padding: 22px 18px; border-radius: 16px; }
  .pw-pricing-card.pw-featured { padding: 26px 20px 24px; }
  .pw-popular-badge { font-size: 0.72rem; padding: 5px 16px; top: -12px; }
  .pw-card-icon { width: 40px; height: 40px; font-size: 1.2rem; border-radius: 10px; margin-bottom: 12px; }
  .pw-pricing-card h3 { font-size: 1.2rem; }
  .pw-price-amount { font-size: 2.1rem; }
  .pw-feature-list li { font-size: 0.84rem; gap: 8px; }
  .pw-feature-list li::before { width: 16px; height: 16px; }

  .pw-features-grid { gap: 10px; }
  .pw-feature-card { padding: 18px 14px; }
  .pw-feature-card-icon { width: 38px; height: 38px; font-size: 1.15rem; margin-bottom: 10px; }
  .pw-feature-card h3 { font-size: 0.85rem; }
  .pw-feature-card p { font-size: 0.78rem; }

  .pw-comparison-table th,
  .pw-comparison-table td { padding: 8px 8px; font-size: 0.76rem; }
  .pw-comparison-table thead th { padding: 10px 8px; font-size: 0.78rem; }

  .pw-faq-btn { font-size: 0.85rem; padding: 12px 14px; }
  .pw-faq-answer-inner { padding: 0 14px 14px; font-size: 0.82rem; }

  .pw-final-cta h2 { font-size: 1.3rem; }
  .pw-final-cta p { font-size: 0.85rem; margin-bottom: 20px; }
  .pw-final-cta .pw-btn-group .btn { max-width: 260px; font-size: 0.9rem; }
  .pw-trust-badges { flex-direction: column; align-items: center; gap: 6px; }
  .pw-trust-badge { font-size: 0.78rem; }
}

/* Hero Trust Badges */
.pw-hero-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pw-hero-trust-badge {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  font-weight: 500;
}

.pw-hero-trust-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-gray-300);
  display: inline-block;
  flex-shrink: 0;
}

/* Gamified Learning Section (Pricing Page) */
.pw-gamified-section {
  background: var(--color-teal-bg);
  padding: 90px 0;
}

.pw-gamified-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.pw-gamified-col {
  background: var(--color-white);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(1, 96, 96, 0.08);
  border: 1px solid rgba(1, 96, 96, 0.08);
}

.pw-gamified-label {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pw-gamified-label-teal {
  background: var(--color-teal-primary);
  color: var(--color-white);
}

.pw-gamified-label-coral {
  background: var(--color-coral-primary);
  color: var(--color-white);
}

.pw-gamified-col h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-teal-primary);
  margin-bottom: 12px;
}

.pw-gamified-col p {
  font-size: 0.96rem;
  color: var(--color-gray-600);
  line-height: 1.75;
}

.pw-gamified-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--color-teal-primary);
  font-weight: 500;
}

.pw-gamified-trust-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-teal-primary);
  opacity: 0.4;
  display: inline-block;
  flex-shrink: 0;
}

/* Gamified Section Responsive — Tablet */
@media (max-width: 1199px) {
  .pw-gamified-cols { grid-template-columns: 1fr; gap: 20px; max-width: 560px; margin-bottom: 36px; }
  .pw-gamified-col { padding: 32px 28px; }
}

/* Gamified Section Responsive — Mobile */
@media (max-width: 767px) {
  .pw-gamified-cols { grid-template-columns: 1fr; gap: 16px; max-width: 100%; margin-bottom: 28px; }
  .pw-gamified-col { padding: 24px 20px; border-radius: 16px; }
  .pw-gamified-col h3 { font-size: 1.05rem; margin-bottom: 8px; }
  .pw-gamified-col p { font-size: 0.9rem; line-height: 1.65; }
  .pw-gamified-label { padding: 5px 14px; font-size: 0.75rem; margin-bottom: 14px; }
  .pw-gamified-trust { gap: 10px; font-size: 0.85rem; flex-direction: column; align-items: center; }
  .pw-gamified-trust-dot { display: none; }
}

/* Gamified Section Responsive — Small Mobile */
@media (max-width: 479px) {
  .pw-gamified-cols { gap: 12px; margin-bottom: 22px; }
  .pw-gamified-col { padding: 20px 16px; border-radius: 14px; }
  .pw-gamified-col h3 { font-size: 0.95rem; }
  .pw-gamified-col p { font-size: 0.84rem; }
  .pw-gamified-trust { font-size: 0.8rem; gap: 6px; }
}


/* ===============================
   MATH BATTLE ARENA SECTION
   =============================== */

.arena-section {
  background: #0a0a1a;
  position: relative;
  margin-top: 0;
  padding: 5rem 0 7rem;
}
/* Remove gap between arena and parent-callout */
.arena-section ~ .parent-callout {
  margin-top: 0;
}
/* Gradient faders removed — hard cut top and bottom */

/* ── Star field (contained in section) ───────────────── */
.arena-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.arena-star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  animation: arena-twinkle var(--arena-dur) ease-in-out infinite;
}
@keyframes arena-twinkle {
  0%, 100% { opacity: 0.08; }
  50% { opacity: var(--arena-op); }
}

/* ── Section headings (site fonts, NOT pixel) ────────── */
.arena-main-heading {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #00ffcc;
  text-shadow: 0 0 30px rgba(0,255,204,.3);
  position: relative;
  z-index: 1;
  margin-bottom: 0.75rem;
}
.arena-main-sub {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  color: #9999aa;
  max-width: 540px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

/* ── Arena game box ──────────────────────────────────── */
.arena-box {
  background: #0f0f25;
  border: 1px solid #1a1a35;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(0,255,204,.06), inset 0 0 60px rgba(0,0,0,.5);
  max-width: 900px;
  margin: 0 auto 2.5rem;
  z-index: 1;
}
/* Scanlines overlay */
.arena-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,255,204,.012) 3px, rgba(0,255,204,.012) 4px
  );
  pointer-events: none;
  z-index: 1;
}
.arena-inner { position: relative; z-index: 2; }

/* ── Game title (pixel font, inside arena only) ──────── */
.arena-title {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.65rem, 1.4vw, 0.95rem);
  color: #00ffcc;
  text-shadow: 0 0 20px rgba(0,255,204,.5);
  text-align: center;
  margin-bottom: 0.4rem;
  letter-spacing: 2px;
}
.arena-subtitle {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.38rem, 0.6vw, 0.48rem);
  color: #7a7a8e;
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  line-height: 2.2;
}

/* ── Stats bar ───────────────────────────────────────── */
.arena-stats {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.arena-stat-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 140px;
}
.arena-stat-right { align-items: flex-end; }
.arena-stat-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  letter-spacing: 0.5px;
}
.arena-teal { color: #00ffcc; }
.arena-coral { color: var(--color-coral-primary, #f47e52); }

.arena-hp {
  height: 10px;
  background: #111;
  border: 1px solid #222;
  border-radius: 2px;
  overflow: hidden;
  width: 100%;
}
.arena-hp-fill {
  height: 100%;
  border-radius: 2px;
}
.arena-fill-teal {
  background: linear-gradient(90deg, #00aa77, #00ffcc);
}
.arena-fill-coral {
  background: linear-gradient(90deg, var(--color-coral-primary, #f47e52), #f9a87c);
}

/* Score */
.arena-score-center { text-align: center; flex: 1; }
.arena-score-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: #7a7a8e;
  margin-bottom: 4px;
}
.arena-score-val {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255,215,0,.6);
}

/* ── Battle grid ─────────────────────────────────────── */
.arena-battle {
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  gap: 14px;
  align-items: center;
  margin-bottom: 1.25rem;
}
.arena-fighter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.arena-fighter-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  border: 2px solid;
  transition: transform 0.2s ease;
}
.arena-player {
  border-color: #00ffcc;
  background: rgba(0,255,204,.08);
  box-shadow: 0 0 20px rgba(0,255,204,.2);
  animation: arena-idle 1.6s ease-in-out infinite;
}
.arena-monster {
  border-color: var(--color-coral-primary, #f47e52);
  background: rgba(244,126,82,.08);
  box-shadow: 0 0 20px rgba(244,126,82,.2);
  animation: arena-sway 2s ease-in-out infinite;
}
@keyframes arena-idle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes arena-sway {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}
.arena-fighter-name {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
}

/* ── Question box ────────────────────────────────────── */
.arena-q-box {
  background: #090914;
  border: 1.5px solid #00ffcc;
  border-radius: 14px;
  padding: 1.25rem 1rem;
  position: relative;
  box-shadow: 0 0 30px rgba(0,255,204,.15);
}
.arena-q-chip {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: #00ffcc;
  margin-bottom: 10px;
  opacity: 0.7;
  text-align: center;
}
.arena-q-eq {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.7rem, 1.4vw, 1.2rem);
  color: #fff;
  margin-bottom: 1rem;
  min-height: 28px;
  line-height: 1.6;
  text-align: center;
}
.arena-q-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.arena-q-opt {
  padding: 10px 6px;
  border: 1.5px solid #1e1e35;
  background: #0d0d20;
  border-radius: 8px;
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.5rem, 0.8vw, 0.65rem);
  color: #8888a0;
  text-align: center;
  transition: all 0.2s;
}
.arena-q-opt.arena-correct {
  border-color: #00ffcc;
  color: #00ffcc;
  background: rgba(0,255,204,.1);
  box-shadow: 0 0 12px rgba(0,255,204,.3);
}
.arena-q-opt.arena-wrong {
  border-color: var(--color-coral-primary, #f47e52);
  color: var(--color-coral-primary, #f47e52);
  background: rgba(244,126,82,.1);
}

/* XP float */
.arena-xp-pop {
  position: absolute;
  font-family: 'Press Start 2P', monospace;
  font-size: 13px;
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255,215,0,.8);
  pointer-events: none;
  animation: arena-xp-rise 1.4s ease-out forwards;
  z-index: 20;
  top: 30%;
  left: 40%;
}
@keyframes arena-xp-rise {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-70px); }
}

/* ── Streak ──────────────────────────────────────────── */
.arena-streak {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.arena-streak-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: #7a7a8e;
}
.arena-star-i {
  font-size: 18px;
  filter: grayscale(1) brightness(0.3);
  transition: filter 0.3s, transform 0.3s;
}
.arena-star-i.arena-star-on { filter: none; }
.arena-star-i.arena-star-pop {
  animation: arena-star-pop 0.5s ease-out;
}
@keyframes arena-star-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.6) rotate(15deg); }
  70% { transform: scale(0.9) rotate(-5deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* HP bar hit flash */
.arena-hp-hit {
  animation: arena-hp-flash 0.4s ease-out;
}
@keyframes arena-hp-flash {
  0% { filter: brightness(1); }
  30% { filter: brightness(2.5); }
  100% { filter: brightness(1); }
}

/* Score bump */
.arena-score-bump {
  animation: arena-score-bump 0.4s ease-out;
}
@keyframes arena-score-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Player attack lunge */
.arena-player-attack {
  animation: arena-attack 0.4s ease-out !important;
}
@keyframes arena-attack {
  0% { transform: translateY(0) translateX(0); }
  35% { transform: translateY(-5px) translateX(30px) scale(1.15); }
  100% { transform: translateY(0) translateX(0) scale(1); }
}

/* Boss recoil on hit */
.arena-boss-hit {
  animation: arena-recoil 0.5s ease-out !important;
}
@keyframes arena-recoil {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(0deg) translateX(12px) scale(0.9); }
  40% { transform: rotate(-8deg) translateX(6px); }
  70% { transform: rotate(4deg) translateX(-3px); }
  100% { transform: rotate(0deg) translateX(0); }
}

/* ── Callout grid ────────────────────────────────────── */
.arena-callout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}
.arena-callout-card {
  background: #0f0f25;
  border: 1px solid #1a1a35;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform 0.2s ease;
}
.arena-callout-card:hover {
  transform: translateY(-4px);
}
.arena-callout-icon { font-size: 28px; margin-bottom: 10px; }
.arena-callout-title {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: #00ffcc;
  margin-bottom: 8px;
}
.arena-callout-desc {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8rem;
  color: #9999aa;
  line-height: 1.7;
}

/* ── CTA button ──────────────────────────────────────── */
.arena-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #00cc88, #00ffcc);
  color: #0a0a1a;
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 0 40px rgba(0,255,204,.4);
  animation: arena-cta-glow 2s ease-in-out infinite;
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease;
}
.arena-cta:hover { transform: translateY(-2px); }
@keyframes arena-cta-glow {
  0%, 100% { box-shadow: 0 0 40px rgba(0,255,204,.4); }
  50% { box-shadow: 0 0 60px rgba(0,255,204,.7); }
}

/* ── Arena Responsive ────────────────────────────────── */
@media (max-width: 768px) {
  .arena-section { padding: 3.5rem 0 3rem; }
  .arena-box { padding: 1.5rem 1rem; }
  .arena-battle { grid-template-columns: 70px 1fr 70px; gap: 10px; }
  .arena-fighter-avatar { width: 48px; height: 48px; font-size: 22px; }
  .arena-stat-block { width: 100px; }
  .arena-callout-grid { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 480px) {
  .arena-section { padding: 2.5rem 0 2rem; }
  .arena-box { padding: 1.25rem 0.75rem; border-radius: 12px; }
  .arena-battle { grid-template-columns: 50px 1fr 50px; gap: 6px; }
  .arena-fighter-avatar { width: 38px; height: 38px; font-size: 18px; border-width: 1.5px; }
  .arena-fighter-name { display: none; }
  .arena-stats { gap: 4px; }
  .arena-stat-block { width: 80px; }
  .arena-stat-label { font-size: 6px; }
  .arena-hp { height: 8px; }
  .arena-q-box { padding: 1rem 0.75rem; }
  .arena-cta { padding: 0.85rem 2rem; font-size: 0.85rem; }
  .arena-star-i { font-size: 14px; }
}

/* ============================================================
   RESPONSIVE AUDIT OVERRIDES (2026-04)
   All rules below are append-only overrides for the responsive
   design audit. Never modify existing rules above — only add
   overrides here.
   ============================================================ */

/* ----------------------------------------------------------
   Phase 1B: Font-Size Floor — raise sub-0.7rem to 0.75rem min
   ---------------------------------------------------------- */

/* Base (no media query) overrides */
.pricing-preview-ribbon-icon {
  font-size: 0.75rem; /* was 0.65rem L1410 */
}
.option-badge {
  font-size: 0.75rem; /* was 0.65rem L3833 */
}
.cmp-badge {
  font-size: 0.75rem; /* was 0.52rem L7167 */
}
.cmp-label {
  font-size: 0.75rem; /* was 0.65rem L7193 */
}
.cmp-x {
  font-size: 0.75rem; /* was 0.55rem L7234 */
}
.hiw-method-step {
  font-size: 0.75rem; /* was 0.68rem L9037 */
}

/* @media (max-width: 768px) */
@media (max-width: 768px) {
  .pricing-preview-ribbon-icon {
    font-size: 0.75rem; /* was 0.6rem L1496 */
  }
  .why-us-btn {
    font-size: 0.75rem; /* was 0.65rem L3050 */
  }
  .btn-text {
    font-size: 0.75rem; /* was 0.65rem L3060 */
  }
  .comparison-table .plan-subtitle {
    font-size: 0.75rem; /* was 0.65rem L4290 */
  }
}

/* @media (max-width: 640px) */
@media (max-width: 640px) {
  .mobile-testimonial-card .float-testimonial-info p {
    font-size: 0.75rem; /* was 0.65rem L6809 */
  }
  .cmp-old .cmp-label {
    font-size: 0.75rem; /* was 0.62rem L7351 */
  }
  .cmp-new .cmp-label {
    font-size: 0.75rem; /* was 0.6rem L7408 */
  }
  .cmp-step-number {
    font-size: 0.75rem; /* was 0.65rem L7462 */
  }
  .cmp-step-desc {
    font-size: 0.75rem; /* was 0.62rem L7470 */
  }
  .cmp-badge {
    font-size: 0.75rem; /* was 0.52rem L7511 */
  }
  .cmp-label {
    font-size: 0.75rem; /* was 0.62rem L7520 */
  }
}

/* @media (min-width: 410px) and (max-width: 640px) */
@media (min-width: 410px) and (max-width: 640px) {
  .cmp-old .cmp-label {
    font-size: 0.75rem; /* was 0.65rem L7536 */
  }
  .cmp-step-desc {
    font-size: 0.75rem; /* was 0.65rem L7553 */
  }
}

/* @media (max-width: 480px) */
@media (max-width: 480px) {
  .why-us-label {
    font-size: 0.75rem; /* was 0.65rem L3076 */
  }
  .why-us-btn {
    font-size: 0.75rem; /* was 0.6rem L3081 */
  }
  .btn-text {
    font-size: 0.75rem; /* was 0.6rem L3089 */
  }
  .comparison-table th {
    font-size: 0.75rem; /* was 0.68rem L4318 */
  }
  .comparison-table .plan-subtitle {
    font-size: 0.75rem; /* was 0.58rem L4331 */
  }
  .comparison-table td {
    font-size: 0.75rem; /* was 0.68rem L4336 */
  }
  .recommended-badge {
    font-size: 0.75rem; /* was 0.65rem L4584 */
  }
  .prog-badge {
    font-size: 0.75rem; /* was 0.68rem L9865 */
  }
  .prog-label {
    font-size: 0.75rem; /* was 0.68rem L9870 */
  }
}

/* @media (max-width: 375px) */
@media (max-width: 375px) {
  .why-us-label {
    font-size: 0.75rem; /* was 0.6rem L3101 */
  }
  .why-us-btn {
    font-size: 0.75rem; /* was 0.55rem L3106 */
  }
  .btn-icon {
    font-size: 0.75rem; /* was 0.65rem L3111 */
  }
  .btn-text {
    font-size: 0.75rem; /* was 0.55rem L3115 */
  }
  .comparison-table th {
    font-size: 0.75rem; /* was 0.6rem L4356 */
  }
  .comparison-table .plan-subtitle {
    font-size: 0.75rem; /* was 0.52rem L4364 */
  }
  .comparison-table td {
    font-size: 0.75rem; /* was 0.6rem L4369 */
  }
  .resource-card .resource-type {
    font-size: 0.75rem; /* was 0.65rem L5314 */
  }
}

/* @media (max-width: 320px) */
@media (max-width: 320px) {
  .comparison-table th {
    font-size: 0.75rem; /* was 0.55rem L4384 */
  }
  .comparison-table .plan-subtitle {
    font-size: 0.75rem; /* was 0.48rem L4388 */
  }
  .comparison-table td {
    font-size: 0.75rem; /* was 0.55rem L4393 */
  }
}

/* ----------------------------------------------------------
   Phase 1B (special): Comparison tables — scrollable wrapper
   .comparison-table is unused (pricing.php uses .pw-comparison-table).
   Override tiny fonts for safety above; for .pw-table-wrap, make
   horizontally scrollable at small widths instead of crushing fonts.
   ---------------------------------------------------------- */
@media (max-width: 480px) {
  .pw-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .pw-comparison-table th,
  .pw-comparison-table td {
    font-size: 0.75rem; /* floor — was 0.76rem at 479px, safe override */
    white-space: nowrap;
  }
  .pw-comparison-table td:first-child,
  .pw-comparison-table th:first-child {
    white-space: normal; /* feature names can wrap */
  }
}

/* ----------------------------------------------------------
   Phase 1C: Ultrawide container caps
   ---------------------------------------------------------- */
@media (min-width: 1440px) {
  :root {
    --container-max: 1280px;
    --container-padding: 3rem;
  }
  .float-testimonial.card-1 { right: 15px; }
  .float-testimonial.card-2 { left: 15px; }
  .float-testimonial.card-3 { left: 55px; }
  .float-testimonial.card-4 { right: 35px; }
}
@media (min-width: 1920px) {
  :root {
    --container-max: 1400px;
    --container-padding: 4rem;
  }
  .float-testimonial.card-1 { right: 35px; }
  .float-testimonial.card-2 { left: 35px; }
  .float-testimonial.card-3 { left: 75px; }
  .float-testimonial.card-4 { right: 55px; }
}

/* ----------------------------------------------------------
   Phase 1D: Spacing refinement at narrow widths
   ---------------------------------------------------------- */
@media (max-width: 480px) {
  :root {
    --section-spacing: 3.5rem;
    --container-padding: 1.25rem;
  }
}
@media (max-width: 375px) {
  :root {
    --section-spacing: 3rem;
    --container-padding: 1rem;
  }
}

/* ----------------------------------------------------------
   Phase 2A: Footer XS collapse — 1-col below 374px
   ---------------------------------------------------------- */
@media (max-width: 374px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------
   Phase 2B: Why-Us Bar — minimum font + icon-only below 375px
   ---------------------------------------------------------- */
@media (max-width: 375px) {
  .why-us-btn {
    font-size: 0.75rem;
  }
  .btn-text {
    display: none;
  }
}

/* ----------------------------------------------------------
   Phase 2C: Trial Popup trust text — floor at 0.8125rem (13px)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  .trial-popup-trust {
    font-size: 0.8125rem; /* was 0.72rem L7908 */
  }
}

/* ----------------------------------------------------------
   Phase 1C fix: override hardcoded 1200px container at ultrawide
   The .container rule at line 3423 hardcodes max-width: 1200px,
   overriding the CSS variable. Restore variable usage at ultrawide.
   ---------------------------------------------------------- */
@media (min-width: 1440px) {
  .container {
    max-width: var(--container-max);
    padding: 0 var(--container-padding);
  }
}

/* ----------------------------------------------------------
   Phase 1B supplement: btn-text at 968px breakpoint
   Was exactly 0.7rem (11.2px) — raise to match 12px floor
   ---------------------------------------------------------- */
@media (max-width: 968px) {
  .btn-text {
    font-size: 0.75rem;
  }
}
