/* ==========================================================================
   INSTITUTE OF BUILDING DESIGN (IBD) — DESIGN SYSTEM & STYLESHEET
   Colours: Crisp White, Navy Blue (#0B192C, #132A4A), Teal (#0D9488, #0F766E)
   Typography: Inter (Clean, Academic, Trustworthy)
   ========================================================================== */

:root {
  /* Brand Palette */
  --navy-950: #06101E;
  --navy-900: #0B192C;
  --navy-850: #10233D;
  --navy-800: #162E4F;
  --navy-700: #1E3E66;
  --navy-600: #2C5282;

  --teal-700: #0F766E;
  --teal-600: #0D9488;
  --teal-500: #14B8A6;
  --teal-400: #2DD4BF;
  --teal-100: #CCFBF1;
  --teal-50:  #F0FDFA;

  /* Neutrals & Surfaces */
  --bg-white: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-alt: #F1F5F9;
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  --text-on-dark: #F8FAFC;
  --text-on-dark-muted: #CBD5E1;

  --border-light: #E2E8F0;
  --border-subtle: #EDF2F7;
  --border-dark: #1E3A5F;

  --gold-500: #D97706;
  --gold-100: #FEF3C7;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(11, 25, 44, 0.07), 0 2px 4px -2px rgba(11, 25, 44, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(11, 25, 44, 0.09), 0 4px 6px -4px rgba(11, 25, 44, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(11, 25, 44, 0.12), 0 8px 10px -6px rgba(11, 25, 44, 0.06);

  /* Layout */
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --header-height: 76px;
}

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

html {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-white);
  color: var(--text-main);
  overflow-x: hidden;
}

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

a {
  color: var(--teal-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--teal-700);
}

p {
  margin-bottom: 1.2rem;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2.2rem, 4vw + 1rem, 3.4rem); }
h2 { font-size: clamp(1.75rem, 2.5vw + 0.75rem, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.65rem); }
h4 { font-size: 1.15rem; font-weight: 600; }

/* Container & Sections */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-alt {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-navy {
  background-color: var(--navy-900);
  color: var(--text-on-dark);
}

.section-navy h1, 
.section-navy h2, 
.section-navy h3 {
  color: #FFFFFF;
}

.section-navy p {
  color: var(--text-on-dark-muted);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.2s ease;
}

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

.header-topbar {
  background-color: var(--navy-950);
  color: var(--text-on-dark-muted);
  font-size: 0.8125rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar-badge span.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--teal-400);
  display: inline-block;
  box-shadow: 0 0 8px var(--teal-400);
}

.topbar-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.topbar-links a {
  color: var(--text-on-dark-muted);
  font-size: 0.8125rem;
  transition: color 0.15s ease;
}

.topbar-links a:hover {
  color: #FFFFFF;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo img {
  height: 52px;
  max-height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy-850);
  padding: 0.5rem 0.2rem;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal-700);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--teal-600);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--navy-900);
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background-color: rgba(6, 16, 30, 0.6);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.mobile-nav-panel {
  width: 85%;
  max-width: 360px;
  background-color: #FFFFFF;
  height: 100%;
  margin-left: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.active .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.mobile-nav-links a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-900);
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  line-height: 1.2;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-teal {
  background-color: var(--teal-600);
  color: #FFFFFF;
  border-color: var(--teal-600);
  box-shadow: 0 2px 4px rgba(13, 148, 136, 0.2);
}

.btn-teal:hover {
  background-color: var(--teal-700);
  border-color: var(--teal-700);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
  transform: translateY(-1px);
}

.btn-navy {
  background-color: var(--navy-900);
  color: #FFFFFF;
  border-color: var(--navy-900);
}

.btn-navy:hover {
  background-color: var(--navy-800);
  border-color: var(--navy-800);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy-900);
  border-color: var(--navy-800);
}

.btn-outline:hover {
  background-color: var(--navy-900);
  color: #FFFFFF;
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.5);
}

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

.btn-ghost {
  background-color: transparent;
  color: var(--teal-700);
  border-color: transparent;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.btn-ghost:hover {
  color: var(--teal-600);
  background-color: var(--teal-50);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Badges & Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-teal {
  background-color: var(--teal-50);
  color: var(--teal-700);
  border: 1px solid var(--teal-100);
}

.badge-navy {
  background-color: var(--navy-900);
  color: #FFFFFF;
}

.badge-gold {
  background-color: var(--gold-100);
  color: #92400E;
  border: 1px solid #FDE68A;
}

/* Hero Section */
.hero-wrapper {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-subtle) 100%);
  padding: 4rem 0 5rem;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--teal-500);
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-trust-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-content-centered {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 0;
}

.hero-content-centered .hero-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.hero-content-centered .hero-desc {
  font-size: clamp(1.05rem, 1.4vw, 1.175rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.25rem;
}

.hero-content-centered .hero-cta-group {
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero-content-centered .hero-trust-list {
  justify-content: center;
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
}

/* Product Notice Boxes */
.ts-and-cs-box {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin: 1.25rem 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.ts-and-cs-box strong {
  color: var(--navy-900);
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
}

.urgent-eft-box {
  background-color: #FEF3C7;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.825rem;
  color: #78350F;
  line-height: 1.55;
}

.urgent-eft-box strong {
  color: #92400E;
}

/* Worth Section */
.worth-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.worth-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.worth-card h4 {
  color: var(--navy-900);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.worth-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .worth-card-grid {
    grid-template-columns: 1fr;
  }
}

.hero-image-frame:hover img {
  transform: scale(1.02);
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-lg);
  max-width: 290px;
  z-index: 2;
}

.floating-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.floating-card-icon {
  width: 32px;
  height: 32px;
  background-color: var(--teal-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-600);
}

.floating-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-900);
}

.floating-card-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0;
}

/* Trust Bar */
.trust-bar {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: 2.25rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-800);
}

.trust-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy-900);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.trust-card span {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: block;
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-600);
  margin-bottom: 0.6rem;
  display: block;
}

.section-title {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Products Section */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  align-items: stretch;
}

.product-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.product-card.featured {
  border: 2px solid var(--teal-600);
  box-shadow: var(--shadow-lg);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.product-header {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.5rem;
}

.product-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--teal-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

.product-card h3 {
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.price-display {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.price-val {
  font-size: clamp(2.35rem, 3.2vw, 2.85rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1;
  letter-spacing: -0.02em;
}

.price-unit {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
}

.price-note {
  font-size: 0.85rem;
  color: var(--teal-700);
  font-weight: 600;
  display: block;
}

.product-features-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-900);
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--navy-850);
  line-height: 1.45;
}

.feature-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--teal-600);
  margin-top: 2px;
}

.product-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-guarantee {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

/* Payment Plan / Options Table */
.payment-options-banner {
  margin-top: 3.5rem;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}

.custom-table th {
  padding: 1rem 1.25rem;
  background-color: var(--bg-subtle);
  color: var(--navy-900);
  font-weight: 700;
  border-bottom: 1px solid var(--border-light);
}

.custom-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--navy-850);
  vertical-align: top;
}

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

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-200);
}

.benefit-icon-wrapper {
  width: 52px;
  height: 52px;
  background-color: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
  margin-bottom: 1.25rem;
}

.benefit-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--navy-900);
}

.benefit-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--navy-850);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--navy-800);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.author-name {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--navy-900);
  display: block;
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-light);
  display: block;
}

.rating-stars {
  color: #F59E0B;
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}

/* FAQ Accordion */
.faq-container {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--teal-500);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.35rem 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  font-family: inherit;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
  color: var(--teal-600);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-answer-inner {
  padding: 0 1.6rem 1.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* CTA Final Section */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-800) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 4.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--text-on-dark-muted);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2.25rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* Payment Comparison Box (Requirement 4) */
.payment-compare-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin-top: 3.5rem;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.provider-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  background-color: var(--bg-subtle);
  display: flex;
  flex-direction: column;
  position: relative;
}

.provider-card.recommended {
  border: 2px solid var(--teal-600);
  background-color: #FFFFFF;
}

.provider-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.provider-payout {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-700);
  margin-bottom: 1rem;
}

.provider-payout.warning {
  color: #B45309;
}

.provider-meta-list {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

/* Checkout Drawer / Modal (Requirement 5) */
.checkout-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(6, 16, 30, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.checkout-modal.active {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.checkout-dialog {
  background-color: #FFFFFF;
  width: 100%;
  max-width: 620px;
  max-height: 92vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
  position: relative;
  border: 1px solid var(--border-light);
}

.checkout-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-subtle);
}

.checkout-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.checkout-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
}

.checkout-body {
  padding: 2rem;
}

.checkout-step {
  margin-bottom: 1.75rem;
}

.step-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-number {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--teal-600);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.product-select-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.product-option-radio {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
}

.product-option-radio input {
  display: none;
}

.product-option-radio.selected,
.product-option-radio:has(input:checked) {
  border-color: var(--teal-600);
  background-color: var(--teal-50);
}

.radio-title {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--navy-900);
  display: block;
  margin-bottom: 0.25rem;
}

.radio-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--teal-700);
}

/* Gateway Radio Options */
.gateway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.gateway-option {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.gateway-option input {
  display: none;
}

.gateway-option.selected,
.gateway-option:has(input:checked) {
  border-color: var(--teal-600);
  background-color: var(--teal-50);
}

.gateway-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal-700);
}

.checkout-summary-box {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.summary-row.total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-900);
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  color: var(--navy-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

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

/* Contact Section Responsive Card & Form */
.contact-card-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.contact-info-header {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  text-align: center;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.contact-split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
}

/* Worth Box */
.worth-box {
  margin-top: 3.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  box-shadow: var(--shadow-md);
}

/* About Page: Story, Vision & Mission */
.story-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.story-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 2.5rem;
}

.story-body p {
  margin-bottom: 1.25rem;
}

.vision-mission-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.vision-card,
.mission-card {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vision-card:hover,
.mission-card:hover {
  border-color: var(--teal-400);
  box-shadow: var(--shadow-sm);
}

.vision-card-title,
.mission-card-title {
  font-size: 1.2rem;
  color: var(--navy-900);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.vision-card-text,
.mission-card-text {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Leadership & Governance */
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.leadership-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.leadership-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.leadership-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.leadership-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-700);
  display: block;
}

.leadership-bio {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.leadership-focus {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* Footer - Compact & Clean without Logo */
.site-footer {
  background-color: var(--navy-950);
  color: var(--text-on-dark-muted);
  padding: 2.25rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
}

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

.footer-nav-links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  font-weight: 500;
}

.footer-nav-links a {
  color: var(--text-on-dark-muted);
  transition: color 0.15s ease;
}

.footer-nav-links a:hover {
  color: #FFFFFF;
}

.footer-bottom-copy {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.8125rem;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-grid {
  display: none;
}

/* Keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   Responsive Media Queries — Optimized for Mobile Viewports
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-image-frame img {
    height: 380px;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid,
  .testimonials-grid,
  .provider-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Layout & Container */
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .section {
    padding: 3.25rem 0;
  }
  .section-sm {
    padding: 2.25rem 0;
  }
  .section-header {
    margin-bottom: 2.25rem;
  }
  .section-title {
    font-size: 1.65rem;
    line-height: 1.25;
  }
  .section-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.75rem;
  }

  /* Navigation */
  .nav-menu,
  .nav-actions .btn:not(.btn-mobile-visible) {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }

  /* Hero Section (Clear, Balanced Mobile Typography) */
  .hero-wrapper {
    padding: 2.75rem 0 3.25rem;
  }
  .hero-content-centered {
    padding: 0;
  }
  .hero-kicker {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    max-width: 100%;
    white-space: normal;
    text-align: left;
    line-height: 1.35;
    margin-bottom: 1rem;
    box-sizing: border-box;
  }
  .hero-title,
  .hero-content-centered .hero-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
  }
  .hero-content-centered .hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  .hero-cta-group,
  .hero-content-centered .hero-cta-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.75rem;
    gap: 0.75rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .hero-trust-list,
  .hero-content-centered .hero-trust-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding-top: 1.25rem;
  }
  .hero-trust-item {
    font-size: 0.8125rem;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* Trust Signals Bar */
  .trust-bar {
    padding: 1.75rem 0;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .trust-card {
    gap: 0.85rem;
  }
  .trust-icon-box {
    width: 38px;
    height: 38px;
  }
  .trust-icon-box svg {
    width: 18px;
    height: 18px;
  }
  .trust-card strong {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
  }
  .trust-card span {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  /* Option 1 & Option 2: Programmes & Pricing Cards */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .product-card {
    padding: 1.5rem 1.25rem !important;
    border-radius: var(--radius-md);
  }
  .product-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }
  .product-tag {
    font-size: 0.75rem;
    margin-bottom: 0.35rem;
  }
  .product-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
    line-height: 1.25;
  }
  .product-desc {
    font-size: 0.875rem;
    line-height: 1.45;
    margin-bottom: 0.85rem;
  }
  .price-display {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
  }
  .price-val {
    font-size: 2.15rem;
    letter-spacing: -0.01em;
    line-height: 1.1;
  }
  .price-unit {
    font-size: 0.85rem;
    font-weight: 600;
  }
  .price-note {
    font-size: 0.8125rem;
    line-height: 1.4;
    margin-top: 0.4rem;
    padding: 0.4rem 0.65rem;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-sm);
  }
  .product-features-title {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }
  .feature-list {
    gap: 0.55rem;
    margin-bottom: 1.5rem;
  }
  .feature-item {
    font-size: 0.875rem;
    line-height: 1.4;
    gap: 0.6rem;
  }
  .product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }
  .product-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }
  .featured-ribbon {
    font-size: 0.7rem;
    padding: 0.25rem 0.9rem;
    top: -11px;
  }

  /* What Makes This Worth Section */
  .worth-box {
    margin-top: 2.5rem;
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-md);
  }
  .worth-box h3 {
    font-size: 1.35rem;
    line-height: 1.3;
  }
  .worth-box p {
    font-size: 0.9rem;
    line-height: 1.55;
  }
  .worth-card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
  }
  .worth-card {
    padding: 1.25rem 1rem;
  }

  /* About Section: Story, Vision & Mission */
  .story-body {
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }
  .story-body p {
    margin-bottom: 0.9rem;
  }
  .vision-mission-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .vision-card,
  .mission-card {
    padding: 1.25rem 1.15rem;
    border-radius: var(--radius-md);
  }
  .vision-card-title,
  .mission-card-title {
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
  }
  .vision-card-title svg,
  .mission-card-title svg {
    width: 18px;
    height: 18px;
  }
  .vision-card-text,
  .mission-card-text {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-muted);
  }

  /* Leadership Cards */
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .leadership-card {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-md);
  }
  .leadership-card-header {
    gap: 1rem;
    margin-bottom: 1rem;
  }
  .leadership-avatar {
    width: 52px;
    height: 52px;
    font-size: 1.15rem;
  }
  .leadership-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
  }
  .leadership-role {
    font-size: 0.8125rem;
  }
  .leadership-bio {
    font-size: 0.875rem;
    line-height: 1.55;
    margin-bottom: 1rem;
  }
  .leadership-focus {
    font-size: 0.775rem;
    padding-top: 0.75rem;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 1.5rem 1.15rem;
  }
  .testimonial-quote {
    font-size: 0.875rem;
    line-height: 1.55;
    margin-bottom: 1rem;
  }

  /* Contact Section (Completely Prevents Field Overlapping) */
  .contact-split-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-card-wrapper {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-md);
  }
  .contact-info-header {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .contact-info-header > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact-info-header a {
    word-break: break-all;
    font-size: 1rem !important;
  }
  .form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .form-group {
    margin-bottom: 1rem;
    width: 100%;
  }
  .form-control {
    font-size: 16px !important; /* Prevents auto-zoom in mobile Safari/Chrome */
    padding: 0.75rem 0.85rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Checkout Dialog */
  .checkout-dialog {
    max-width: 95vw;
    margin: 1rem auto;
  }
  .checkout-body {
    padding: 1.25rem 1rem;
  }
  .checkout-header {
    padding: 1rem 1.25rem;
  }
  .product-select-group,
  .gateway-grid {
    grid-template-columns: 1fr;
  }
  .checkout-floating-card {
    position: static;
    max-width: 100%;
    margin-top: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-compact {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .footer-nav-links {
    gap: 1rem;
    flex-direction: column;
  }
  .footer-bottom-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .cta-banner {
    padding: 2.5rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-title,
  .hero-content-centered .hero-title {
    font-size: 1.55rem;
    line-height: 1.22;
  }
  .product-card {
    padding: 1.25rem 0.95rem !important;
  }
  .price-val {
    font-size: 1.85rem;
    letter-spacing: 0;
  }
  .contact-card-wrapper {
    padding: 1.25rem 0.95rem;
  }
}
