/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
    /* Primary Brand Colors */
    --navy-deep: #0a1628;
    --navy-primary: #0f2847;
    --navy-light: #1a3a5c;
    --blue-bright: #3b82f6;
    --blue-accent: #60a5fa;
    --blue-glow: #93c5fd;
    
    /* Neutrals */
    --white: #ffffff;
    --cream: #fafaf9;
    --stone-50: #f5f5f4;
    --stone-100: #e7e5e4;
    --stone-200: #d6d3d1;
    --stone-300: #d1d5db;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-slower: 800ms cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(10, 22, 40, 0.07), 0 2px 4px -1px rgba(10, 22, 40, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(10, 22, 40, 0.08), 0 4px 6px -2px rgba(10, 22, 40, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(10, 22, 40, 0.1), 0 10px 10px -5px rgba(10, 22, 40, 0.04);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  color: #1A2433;
  background: radial-gradient(circle at top left, #FFFFFF 0, #F5F7FB 40%, #EDF1F9 100%);
  line-height: 1.6;
  padding-top: 80px; /* gives room for fixed header */
}

/* Layout */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(248, 250, 255, 0.92);
  border-bottom: 1px solid rgba(9, 30, 66, 0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #03254C;
}

.logo-subtitle {
  font-size: 0.7rem;
  color: #647089;
}

/* Navigation */

nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  font-size: 0.95rem;
}

nav a {
  color: #37425B;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #1865A6, #4CA8FF);
  transition: width 0.22s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: #03254C;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  border: 1px solid #1865A6;
  color: #FFFFFF;
  background: linear-gradient(135deg, #1865A6, #4CA8FF);
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 20px rgba(24, 101, 166, 0.35);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(24, 101, 166, 0.42);
}

.btn-secondary {
  background: transparent;
  color: #1865A6;
  border-color: rgba(24, 101, 166, 0.25);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(24, 101, 166, 0.06);
}

/* Hero */

.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.7fr);
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1865A6;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.7rem;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #03254C;
}

.hero-title span {
  background: linear-gradient(135deg, #1865A6, #4CA8FF);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 30rem;
  color: #4C5670;
  font-size: 0.98rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin: 1.5rem 0 1.9rem;
}

.hero-badge {
  font-size: 0.8rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(24, 101, 166, 0.18);
  color: #1865A6;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.hero-note {
  font-size: 0.8rem;
  color: #647089;
  margin-top: 0.7rem;
}

.hero-visual {
  position: relative;
  padding: 1.6rem;
  border-radius: 1.5rem;
  background: linear-gradient(145deg, #FFFFFF, #E6F0FB);
  box-shadow: 0 18px 45px rgba(11, 36, 72, 0.16);
}

.hero-visual-main {
  border-radius: 1.1rem;
  border: 1px solid #E0E4F0;
  padding: 1rem 1rem 3.8rem;
  background: #FFFFFF;
}


.hero-visual-title {
  font-size: 0.95rem;
  color: #03254C;
  margin-bottom: 0.35rem;
}

.hero-visual-sub {
  font-size: 0.8rem;
  color: #647089;
  margin-bottom: 1.2rem;
}

.hero-kpi-row {
  display: flex;
  gap: 1.4rem;
  margin-bottom: 1.2rem;
}

.hero-kpi {
  flex: 1;
}

.hero-kpi-label {
  font-size: 0.75rem;
  color: #647089;
}

.hero-kpi-value {
  font-size: 1.15rem;
  font-weight: 600;
  color: #03254C;
}

.hero-kpi-value span {
  font-size: 0.85rem;
  opacity: 0.8;
}

.hero-pill {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 1rem;
  background: #03254C;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  color: #F5FAFF;
  box-shadow: 0 6px 16px rgba(3, 37, 76, 0.25);
}

.hero-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 0.9rem;
  margin-bottom: 1rem;
}

@media (max-width: 720px) {
  .hero-image {
    height: 90px;          /* much smaller on mobile */
    margin-bottom: 0.8rem;
  }
}


/* Sections */

.section {
  padding: 3.3rem 0;
}

.section-heading {
  text-align: left;
  margin-bottom: 2rem;
}

.section-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1865A6;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 1.9rem;
  margin-bottom: 0.6rem;
  color: #03254C;
}

.section-subtitle {
  max-width: 32rem;
  color: #647089;
  font-size: 0.95rem;
}

/* Why Lumenetica two column layout */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
  margin-bottom: 2.8rem;
}

.why-text .section-subtitle {
  max-width: 36rem;
}

.why-text .section-subtitle + .section-subtitle {
  margin-top: 0.75rem;
}

.why-image-wrapper {
  display: flex;
  justify-content: center;
}

.why-image {
  width: 100%;
  max-width: 420px;
  border-radius: 1.2rem;
  box-shadow: 0 12px 30px rgba(15, 41, 80, 0.12);
}


@media (max-width: 720px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .why-image {
    height: 250px;
    width: 250px;
  }
}


/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.feature-card {
  border-radius: 1.1rem;
  padding: 1.6rem 1.4rem;
  background: #FFFFFF;
  border: 1px solid #E0E4F0;
  box-shadow: 0 8px 22px rgba(15, 41, 80, 0.08);
}

.feature-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1865A6;
  margin-bottom: 0.7rem;
}

.feature-title {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: #03254C;
}

.feature-text {
  font-size: 0.9rem;
  color: #4C5670;
}

/* Industries */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.industry-card {
  border-radius: 1rem;
  padding: 1.4rem 1.3rem;
  background: #FFFFFF;
  border: 1px solid #E0E4F0;
  box-shadow: 0 8px 22px rgba(15, 41, 80, 0.08);
}

.industry-title {
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
  color: #03254C;
}

.industry-text {
  font-size: 0.9rem;
  color: #4C5670;
}

.industry-image {
  width: 100%;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

/* Plans */

.plan-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}

.plan-card {
  border-radius: 1.2rem;
  padding: 1.8rem 1.5rem;
  background: #FFFFFF;
  border: 1px solid #E0E4F0;
  box-shadow: 0 10px 24px rgba(15, 41, 80, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.plan-badge {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1865A6;
}

.plan-name {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  color: #03254C;
}

.plan-ideal {
  font-size: 0.9rem;
  color: #4C5670;
}

.plan-price-note {
  font-size: 0.8rem;
  color: #647089;
}

.plan-list {
  list-style: none;
  font-size: 0.9rem;
  color: #4C5670;
}

.plan-list li {
  margin-bottom: 0.4rem;
  padding-left: 1rem;
  position: relative;
}

.plan-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: #1865A6;
}

.plan-footer {
  margin-top: auto;
}

/* Compare table */

.compare-table-wrapper {
  margin-top: 2.5rem;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  background: #FFFFFF;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 41, 80, 0.08);
}

.compare-table thead {
  background: #F1F4FB;
}

.compare-table th,
.compare-table td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid #E0E4F0;
  text-align: left;
}

.compare-table th {
  font-weight: 500;
  color: #03254C;
}

.compare-table td {
  color: #4C5670;
}

.compare-feature-group {
  background: #F7F9FF;
  font-weight: 500;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
  gap: 2.4rem;
  margin-top: 2.2rem;
}

.contact-card {
  border-radius: 1.1rem;
  padding: 1.6rem 1.5rem;
  background: #FFFFFF;
  border: 1px solid #E0E4F0;
  box-shadow: 0 8px 22px rgba(15, 41, 80, 0.08);
}

.contact-detail {
  font-size: 0.9rem;
  color: #4C5670;
  margin-bottom: 0.6rem;
}

.contact-detail span {
  font-weight: 500;
  color: #03254C;
}

/* Form */

form {
  display: grid;
  gap: 1rem;
}

label {
  font-size: 0.85rem;
  color: #37425B;
}

input,
textarea {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid #C9D2E6;
  padding: 0.7rem 0.9rem;
  background: #FFFFFF;
  color: #1A2433;
  font-size: 0.9rem;
}

input::placeholder,
textarea::placeholder {
  color: #9AA3BA;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #1865A6;
  box-shadow: 0 0 0 1px rgba(24, 101, 166, 0.35);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* Footer */

footer {
  border-top: 1px solid rgba(9, 30, 66, 0.06);
  padding: 1.5rem 0 2rem;
  margin-top: 3rem;
  color: #7A849B;
  font-size: 0.8rem;
}

/* Utilities */

.text-gold {
  color: #C4923F;
}

.text-muted {
  color: #647089;
}

.chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(24, 101, 166, 0.2);
  background: rgba(232, 242, 253, 0.9);
  color: #1865A6;
}

/* Simple scroll fade */

[data-fade] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-fade].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid,
  .plan-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 3rem;
  }
}

@media (max-width: 720px) {
  nav ul {
    display: none;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .feature-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }
}

/* Hamburger toggle button */
.mobile-menu-toggle {
  width: 28px;
  height: 22px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 3px;
  background: #03254C;
}

/* Mobile dropdown menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #FFFFFF;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #E0E4F0;
}

.mobile-menu a {
  padding: 0.75rem 0;
  font-size: 1rem;
  color: #03254C;
  text-decoration: none;
  border-bottom: 1px solid #E0E4F0;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* Show hamburger, hide desktop nav on mobile */
@media (max-width: 720px) {
  .desktop-nav ul {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }
}

/* ============================================
   CERTIFICATIONS SECTION
   ============================================ */

.certifications-section {
    padding: var(--space-3xl) 0;
    background: var(--stone-50);
    border-top: 1px solid var(--stone-100);
    border-bottom: 1px solid var(--stone-100);
}

.certifications-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--stone-500);
    margin-bottom: var(--space-xl);
}

.certifications-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2xl);
}

@media (max-width: 640px) {
    .certifications-grid {
        gap: var(--space-lg);
    }
}

.cert-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--stone-500);
    transition: color var(--transition-base);
}

.cert-item:hover {
    color: var(--navy-deep);
}

.cert-item svg {
    width: 24px;
    height: 24px;
}

.cert-item span {
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 640px) {
    .cert-item span {
        font-size: 0.75rem;
    }
}

/* ============================================
   PAGE LOADER
   ============================================ */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--navy-deep);
    display: block;
    margin-bottom: var(--space-lg);
    animation: logoFadeIn 0.8s ease forwards;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: var(--stone-100);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--blue-bright), var(--blue-accent));
    animation: loaderProgress 1.5s ease forwards;
}

@keyframes logoFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes loaderProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

/* Hide content until page loads */
body:not(.page-loaded) main,
body:not(.page-loaded) header,
body:not(.page-loaded) footer {
    opacity: 0;
}

body.page-loaded main,
body.page-loaded header,
body.page-loaded footer {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* ============================================
   STICKY CTA
   ============================================ */

.sticky-cta {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.5rem;
    background: var(--navy-deep);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 900;
    text-decoration: none;
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sticky-cta:hover {
    background: var(--navy-primary);
    transform: translateY(-2px);
    box-shadow: 0 25px 30px -5px rgba(10, 22, 40, 0.15);
}

.sticky-cta svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 640px) {
    .sticky-cta {
        right: var(--space-md);
        bottom: var(--space-md);
        padding: 0.75rem 1.25rem;
    }

    .sticky-cta span {
        display: none;
    }

    .sticky-cta svg {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   CERTIFICATIONS SECTION (updated)
   ============================================ */

.certifications-section {
    padding: var(--space-3xl) 0;
    background: var(--stone-50);
    border-top: 1px solid var(--stone-100);
    border-bottom: 1px solid var(--stone-100);
}

.certifications-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--stone-500);
    margin-bottom: var(--space-xl);
}

.certifications-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2xl);
}

@media (max-width: 640px) {
    .certifications-grid {
        gap: var(--space-lg);
    }
}

.cert-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--stone-500);
    transition: color var(--transition-base);
}

.cert-item:hover {
    color: var(--navy-deep);
}

.cert-item svg {
    width: 24px;
    height: 24px;
}

.cert-item span {
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 640px) {
    .cert-item span {
        font-size: 0.75rem;
    }
}

/* ============================================
   WHO WE SERVE SECTION
   ============================================ */

.serve-section {
    padding: var(--space-5xl) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--stone-50) 100%);
}

.serve-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-4xl);
}

.serve-header .section-subtitle {
    margin: 0 auto;
}

.serve-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .serve-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.serve-card {
    background: var(--white);
    border: 1px solid var(--stone-100);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

.serve-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.serve-card:hover {
    border-color: var(--stone-200);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.serve-card-featured {
    border-color: var(--blue-bright);
    background: linear-gradient(135deg, var(--white) 0%, rgba(59, 130, 246, 0.02) 100%);
}

.serve-card-visual {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--stone-100);
}

.serve-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-primary) 100%);
    border-radius: var(--radius-lg);
    color: var(--white);
}

.serve-icon svg {
    width: 28px;
    height: 28px;
}

.serve-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--stone-500);
}

.serve-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy-deep);
    margin-bottom: var(--space-sm);
}

.serve-text {
    font-size: 0.9375rem;
    color: var(--stone-600);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.serve-outcomes {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    list-style: none;
}

.serve-outcomes li {
    font-size: 0.875rem;
    color: var(--stone-600);
    padding-left: var(--space-lg);
    position: relative;
}

.serve-outcomes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--blue-bright);
    border-radius: 50%;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
    padding: var(--space-5xl) 0;
    background: var(--white);
}

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-4xl);
}

.services-header .section-subtitle {
    margin: 0 auto;
}

.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-4xl);
}

@media (min-width: 768px) {
    .plans-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }
}

.plan-card {
    background: var(--white);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

.plan-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.plan-card:hover {
    border-color: var(--stone-300);
    box-shadow: var(--shadow-lg);
}

.plan-card-featured {
    border-color: var(--blue-bright);
    border-width: 2px;
    background: linear-gradient(135deg, var(--white) 0%, rgba(59, 130, 246, 0.02) 100%);
    position: relative;
}

@media (min-width: 768px) {
    .plan-card-featured {
        transform: scale(1.02) translateY(30px);
    }
    
    .plan-card-featured.visible {
        transform: scale(1.02) translateY(0);
    }
    
    .plan-card-featured:hover {
        transform: scale(1.02) translateY(-4px);
    }
}

.plan-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--stone-500);
    margin-bottom: var(--space-lg);
}

.plan-card-featured .plan-badge {
    color: var(--blue-bright);
}

.plan-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy-deep);
    margin-bottom: var(--space-sm);
}

.plan-description {
    font-size: 0.9375rem;
    color: var(--stone-600);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--stone-100);
}

.plan-features {
    flex: 1;
    margin-bottom: var(--space-xl);
    list-style: none;
}

.plan-features li {
    font-size: 0.9375rem;
    color: var(--stone-700);
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    position: relative;
}

.plan-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1em;
    width: 8px;
    height: 1px;
    background: var(--stone-300);
}

.plan-fit {
    font-size: 0.8125rem;
    font-style: italic;
    color: var(--stone-500);
    margin-bottom: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--stone-100);
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.comparison-table th,
.comparison-table td {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    border-bottom: 1px solid var(--stone-100);
}

.comparison-table th {
    font-weight: 600;
    color: var(--navy-deep);
    background: var(--stone-50);
}

.comparison-table th:first-child {
    border-radius: var(--radius-md) 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 var(--radius-md) 0 0;
}

.comparison-table td {
    color: var(--stone-600);
}

.comparison-table td:first-child {
    font-weight: 500;
    color: var(--stone-800);
}

.comparison-table tbody tr:hover {
    background: var(--stone-50);
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--blue-bright);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    padding: var(--space-5xl) 0;
    background: linear-gradient(180deg, var(--stone-50) 0%, var(--white) 100%);
}

.faq-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-4xl);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--stone-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    border-color: var(--stone-200);
}

.faq-item.active {
    border-color: var(--blue-bright);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-lg) var(--space-xl);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-deep);
    transition: all var(--transition-base);
}

.faq-question:hover {
    color: var(--blue-bright);
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--stone-400);
    transition: all var(--transition-base);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--blue-bright);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--space-xl) var(--space-xl);
    color: var(--stone-600);
    line-height: 1.7;
}

/* Layout for FAQ with image */

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.9fr);
    gap: var(--space-3xl);
    align-items: flex-start;
}

/* Only adjust header inside the FAQ content column */
.faq-content .faq-header {
    text-align: left;
    max-width: none;
    margin: 0 0 var(--space-3xl);
}

/* Let the grid fill the column instead of being centered */
.faq-content .faq-grid {
    max-width: none;
    margin: 0;
}

/* Right column image */

.faq-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-image {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-xl);
    box-shadow: 0 18px 40px rgba(7, 16, 35, 0.18);
}

/* Stack on smaller screens */

@media (max-width: 900px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .faq-media {
        order: -1; /* image above FAQs on mobile */
    }

    .faq-content .faq-header {
        text-align: center;
        max-width: 600px;
        margin: 0 auto var(--space-3xl);
    }

    .faq-content .faq-grid {
        max-width: 800px;
        margin: 0 auto;
    }
}

/* Desktop FAQ image crop */
@media (min-width: 900px) {
  .faq-media {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .faq-image {
    /* make it tall and narrow */
    height: 680px;          /* roughly your original height */
    width: 240px;           /* about one third of the old width */
    object-fit: cover;      /* crop the sides, keep height */
    object-position: center;/* keep the question mark centered */
    border-radius: var(--radius-xl);
    box-shadow: 0 18px 40px rgba(7, 16, 35, 0.18);
  }
}


/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: var(--space-5xl) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4xl);
    }
}

.contact-content {
    opacity: 0;
    transform: translateX(-30px);
    transition: all var(--transition-slower);
}

.contact-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.section-text {
    color: var(--stone-600);
    margin-bottom: var(--space-md);
}

.section-text:last-of-type {
    margin-bottom: 0;
}

.contact-details {
    margin-top: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--stone-600);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--blue-bright);
}

.contact-form-wrapper {
    opacity: 0;
    transform: translateX(30px);
    transition: all var(--transition-slower);
}

.contact-form-wrapper.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--stone-100);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .contact-form {
        padding: var(--space-2xl);
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--stone-700);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--stone-800);
    background: var(--stone-50);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-bright);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

.btn-primary {
    background: var(--navy-deep);
    color: var(--white);
    border: 1px solid var(--navy-deep);
}

.btn-primary:hover {
    background: var(--navy-primary);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--navy-deep);
    border: 1px solid var(--navy-deep);
}

.btn-outline:hover {
    background: var(--navy-deep);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: var(--space-3xl) 0 var(--space-2xl);
    background: var(--navy-deep);
    color: var(--stone-400);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        flex-wrap: wrap;
    }
}

.footer-brand .footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-sm);
    display: block;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--stone-500);
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--stone-500);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-legal {
    font-size: 0.8125rem;
    color: var(--stone-600);
    width: 100%;
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--space-md);
}

@media (min-width: 768px) {
    .footer-legal {
        margin-top: var(--space-lg);
    }
}

/* ============================================
   EXIT INTENT POPUP
   ============================================ */

.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.exit-popup.visible {
    opacity: 1;
    visibility: visible;
}

.exit-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.8);
    backdrop-filter: blur(4px);
}

.exit-popup-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 450px;
    width: 90%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xl);
}

.exit-popup.visible .exit-popup-content {
    transform: scale(1) translateY(0);
}

.exit-popup-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--stone-400);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.exit-popup-close:hover {
    color: var(--stone-800);
}

.exit-popup-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-radius: 50%;
    color: var(--blue-bright);
}

.exit-popup-icon svg {
    width: 32px;
    height: 32px;
}

.exit-popup-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy-deep);
    margin-bottom: var(--space-md);
}

.exit-popup-content > p {
    color: var(--stone-600);
    margin-bottom: var(--space-lg);
}

.exit-popup-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.exit-popup-form input[type="email"] {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-md);
    background: var(--stone-50);
    transition: all var(--transition-fast);
}

.exit-popup-form input[type="email"]:focus {
    outline: none;
    border-color: var(--blue-bright);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.exit-popup-note {
    font-size: 0.75rem;
    color: var(--stone-400);
    margin-top: var(--space-sm);
}

/* ============================================
   COMPARISON TABLE FEATURE GROUP
   ============================================ */

.compare-feature-group {
    background: var(--stone-50);
}

.compare-feature-group td {
    font-weight: 600;
    color: var(--navy-deep);
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
}
