/*
 * TriageInsight Landing Page — styles.css
 * Design: "Dark Signal" — Deep Focus Blue hero (#0A2540) → Clean white body
 * Brand: Clarity Teal #20A4A4 | Deep Focus Blue #0A2540 | Signal Yellow #FFC857
 * Typography: Inter (Google Fonts)
 */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: #ffffff;
  color: #0A2540;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
  --teal:        #20A4A4;
  --teal-light:  #28BFBF;
  --teal-dark:   #1a8f8f;
  --blue:        #0A2540;
  --blue-mid:    #0d2e4d;
  --yellow:      #FFC857;
  --yellow-light:#FFD47A;
  --grey-light:  #F8F9FA;
  --grey-mid:    #6C757D;
  --grey-border: #e9ecef;
  --red-accent:  #E85D4A;
  --white:       #ffffff;
  --radius:      0.625rem;
  --radius-lg:   1rem;
  --radius-xl:   1.25rem;
  --shadow-sm:   0 2px 8px rgba(10,37,64,0.08);
  --shadow-md:   0 8px 24px rgba(10,37,64,0.12);
  --shadow-lg:   0 16px 48px rgba(10,37,64,0.14);
  --shadow-teal: 0 8px 24px rgba(32,164,164,0.30);
  --transition:  0.22s ease;
}

/* ─── Layout Utilities ──────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 1rem;
}

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-yellow {
  background: var(--yellow);
  color: var(--blue);
}
.btn-yellow:hover {
  background: var(--yellow-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,200,87,0.35);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
}
.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-teal);
}
.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-outline-teal:hover {
  background: rgba(32,164,164,0.08);
}
.btn-sm { font-size: 0.875rem; padding: 0.6rem 1.25rem; }

/* ─── Navbar ────────────────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
#navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--grey-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.nav-logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  transition: color var(--transition);
}
#navbar.scrolled .nav-logo-text { color: var(--blue); }
.nav-logo-text span { color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--teal); }
#navbar.scrolled .nav-links a { color: var(--grey-mid); }
#navbar.scrolled .nav-links a:hover { color: var(--teal); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-signin {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
}
.nav-signin:hover { color: var(--teal); }
#navbar.scrolled .nav-signin { color: var(--blue); }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--white);
  transition: color var(--transition);
}
#navbar.scrolled .nav-toggle { color: var(--blue); }

.nav-mobile {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--grey-border);
  padding: 1rem 0;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-mid);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--teal); }
.nav-mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--grey-border);
}
.nav-mobile-cta .btn { justify-content: center; }

@media (max-width: 767px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
#hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 50%, #0a3060 100%);
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(32,164,164,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.8) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.04;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 8rem;
  padding-bottom: 2rem;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 999px;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.2); }
}
.hero-headline {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}
.hero-headline .teal { color: var(--teal); }
.hero-subtext {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.70);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.hero-trust {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.40);
}
.hero-mockup-wrap {
  position: relative;
  z-index: 2;
  margin-top: 4rem;
}
.hero-mockup-glow {
  position: absolute;
  left: 2rem; right: 2rem;
  top: 1rem; bottom: 0;
  background: radial-gradient(ellipse at center, rgba(32,164,164,0.25) 0%, transparent 70%);
  filter: blur(32px);
  pointer-events: none;
}
.hero-mockup-img {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 0 80px rgba(32,164,164,0.25), 0 0 160px rgba(32,164,164,0.10), 0 32px 80px rgba(0,0,0,0.4);
}
.hero-mockup-img img { width: 100%; }
.hero-wave {
  position: relative;
  background: var(--blue);
  height: 80px;
  margin-bottom: -1px;
}
.hero-wave svg {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 100%;
}

/* ─── Logo Cloud ────────────────────────────────────────────────────────────── */
#logo-cloud {
  background: var(--grey-light);
  padding: 4rem 0;
}
.logo-cloud-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 2.5rem;
}
.logo-cloud-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 3rem;
  margin-bottom: 2rem;
}
.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.logo-avatar {
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.logo-avatar:hover { transform: scale(1.06); }
.logo-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--grey-mid);
}
.logo-cloud-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--grey-mid);
}
.logo-cloud-note strong { color: var(--blue); }

/* ─── Problem ───────────────────────────────────────────────────────────────── */
#problem {
  background: var(--white);
  padding: 5rem 0 6rem;
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 767px) { .problem-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.problem-headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.problem-headline .red { color: var(--red-accent); }
.problem-subtext {
  font-size: 1.1rem;
  color: var(--grey-mid);
  margin-bottom: 2.5rem;
}
.pain-list { display: flex; flex-direction: column; gap: 1.25rem; }
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.pain-icon {
  flex-shrink: 0;
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.75rem;
  background: #fff0ee;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.pain-text {
  font-weight: 500;
  color: var(--blue);
  padding-top: 0.5rem;
  line-height: 1.5;
}
.problem-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-md);
}
.problem-visual-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--red-accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* ─── How It Works ──────────────────────────────────────────────────────────── */
#how-it-works {
  background: var(--grey-light);
  padding: 5rem 0 6rem;
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.section-headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-headline .teal { color: var(--teal); }
.section-subtext { font-size: 1.1rem; color: var(--grey-mid); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}
@media (max-width: 767px) { .steps-grid { grid-template-columns: 1fr; } }

.step-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.step-number-bg {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(10,37,64,0.05);
  line-height: 1;
  user-select: none;
}
.step-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 0.875rem;
  background: rgba(32,164,164,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.step-desc { color: var(--grey-mid); line-height: 1.65; }

.step-connector {
  display: none;
}
@media (min-width: 768px) {
  .step-connector {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -1.25rem;
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--white);
    border: 2px solid var(--teal);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
  }
}

/* ─── Features ──────────────────────────────────────────────────────────────── */
#features {
  background: var(--white);
  padding: 5rem 0 6rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 639px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 40px rgba(32,164,164,0.12);
  transform: translateY(-2px);
}
.feature-icon {
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  background: rgba(32,164,164,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.feature-desc { font-size: 0.9rem; color: var(--grey-mid); line-height: 1.65; }

/* ─── Before / After ────────────────────────────────────────────────────────── */
#before-after {
  background: var(--grey-light);
  padding: 5rem 0 6rem;
}
.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 767px) {
  .ba-grid { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); }
}
.ba-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.ba-panel.after { border-color: rgba(32,164,164,0.35); }
.ba-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid;
}
.ba-header.before-hdr {
  background: #fff5f4;
  border-color: #fde8e5;
}
.ba-header.after-hdr {
  background: rgba(32,164,164,0.06);
  border-color: rgba(32,164,164,0.15);
}
.ba-dot {
  width: 0.75rem; height: 0.75rem;
  border-radius: 50%;
}
.ba-dot.red  { background: var(--red-accent); }
.ba-dot.teal { background: var(--teal); }
.ba-header-label {
  font-size: 0.8rem;
  font-weight: 600;
}
.ba-header.before-hdr .ba-header-label { color: #c0392b; }
.ba-header.after-hdr  .ba-header-label { color: var(--teal); }

.ba-body { padding: 1.25rem; max-height: 320px; overflow-y: auto; }
.ba-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--grey-mid);
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  transition: background var(--transition);
}
.ba-item:hover { background: #fff5f4; }
.ba-item-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #f5b8b1;
  flex-shrink: 0;
}
.ba-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid;
}
.ba-footer.before-ftr {
  background: #fff5f4;
  border-color: #fde8e5;
}
.ba-footer.after-ftr {
  background: rgba(32,164,164,0.06);
  border-color: rgba(32,164,164,0.15);
}
.ba-footer-text {
  font-size: 0.75rem;
  font-weight: 600;
}
.ba-footer.before-ftr .ba-footer-text { color: #c0392b; }
.ba-footer.after-ftr  .ba-footer-text { color: var(--teal); }

.ba-theme {
  margin-bottom: 1rem;
}
.ba-theme-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.375rem;
}
.ba-theme-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
}
.ba-theme-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal);
  background: rgba(32,164,164,0.10);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.ba-progress-track {
  height: 6px;
  background: var(--grey-border);
  border-radius: 999px;
  overflow: hidden;
}
.ba-progress-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 999px;
  transition: width 0.7s ease;
}

.ba-arrow-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
  margin-top: 4rem;
}
@media (max-width: 767px) { .ba-arrow-wrap { margin-top: 0; } }
.ba-arrow-label {
  background: var(--blue);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* ─── Testimonials ──────────────────────────────────────────────────────────── */
#testimonials {
  background: var(--white);
  padding: 5rem 0 6rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 767px) { .testimonials-grid { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 767px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}
.testimonial-quote {
  font-size: 0.95rem;
  color: var(--blue);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--grey-border);
}
.author-avatar {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.author-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
}
.author-title { font-size: 0.75rem; color: var(--grey-mid); }

/* ─── Pricing ───────────────────────────────────────────────────────────────── */
#pricing {
  background: var(--grey-light);
  padding: 5rem 0 6rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 639px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.pricing-card.featured {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(32,164,164,0.15);
}
.pricing-card.featured:hover {
  box-shadow: 0 16px 48px rgba(32,164,164,0.25);
}
.pricing-badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: var(--yellow);
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}
.pricing-tier {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 0.25rem;
}
.pricing-card.featured .pricing-tier { color: var(--teal); }
.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}
.pricing-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}
.pricing-period { font-size: 0.9rem; color: var(--grey-mid); margin-bottom: 0.25rem; }
.pricing-desc { font-size: 0.85rem; color: var(--grey-mid); margin-bottom: 2rem; }
.pricing-features { flex: 1; display: flex; flex-direction: column; gap: 0.875rem; margin-bottom: 2rem; }
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--blue);
}
.check-icon { flex-shrink: 0; margin-top: 1px; }
.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--grey-mid);
  margin-top: 2rem;
}
.pricing-note strong { color: var(--blue); }

/* ─── Final CTA ─────────────────────────────────────────────────────────────── */
#cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(32,164,164,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 2; }
.cta-headline {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  max-width: 600px;
  margin: 1rem auto 1.25rem;
}
.cta-subtext {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin: 0 auto 2.5rem;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.cta-trust { font-size: 0.85rem; color: rgba(255,255,255,0.40); }

/* ─── Footer ────────────────────────────────────────────────────────────────── */
#footer {
  background: #060f1c;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 479px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer-logo-text {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}
.footer-logo-text span { color: var(--teal); }
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.40);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.footer-socials { display: flex; gap: 0.625rem; }
.social-btn {
  width: 2.25rem; height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition), background var(--transition);
}
.social-btn:hover {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.footer-col-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.40);
  transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,0.75); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.30); }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.30);
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,0.60); }

/* ─── Scroll Fade-Up Animation ──────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.10s; }
.fade-up-delay-2 { transition-delay: 0.20s; }
.fade-up-delay-3 { transition-delay: 0.30s; }
.fade-up-delay-4 { transition-delay: 0.40s; }

/* ─── Responsive helpers ────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .hero-content { padding-top: 6rem; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  #problem, #how-it-works, #features, #before-after,
  #testimonials, #pricing, #cta { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2.5rem; }
}
