/* ============================================================
   mylifeguard.net — Shared Styles
   Brand: Lifeguard Network (consumer hub)
   Stack: Static HTML/CSS/JS — Cloudflare Pages
   ============================================================ */

/* --- CSS Variables (Brand Tokens) --- */
:root {
  /* Lifeguard Network — Primary (trust, authority) */
  --lg-blue: #1a5276;
  --lg-blue-light: #2980b9;
  --lg-blue-dark: #0e2f44;
  --lg-white: #ffffff;
  --lg-off-white: #f8f9fa;
  --lg-light-gray: #f0f2f5;
  --lg-gray: #6c757d;
  --lg-dark: #1a1a2e;
  --lg-text: #2d3436;
  --lg-text-light: #636e72;
  --lg-accent: #27ae60;
  --lg-accent-hover: #219a52;
  --lg-red-cross: #e74c3c;
  --lg-gold: #f39c12;

  /* Launchpad Careers overlay */
  --lp-blue: #036AAF;
  --lp-gold: #FFBE1C;
  --lp-dark: #0a2540;

  /* Blaney Group overlay */
  --bg-mint: #2BEBA8;
  --bg-lavender: #8B9DCF;

  /* Layout */
  --max-width: 1200px;
  --section-padding: 80px 24px;
  --section-padding-mobile: 48px 16px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --card-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --card-shadow-hover: 0 8px 24px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);

  /* Typography */
  --font-heading: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--lg-text);
  background: var(--lg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lg-blue-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--lg-blue); }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--lg-dark);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); margin-bottom: 0.5rem; }
h4 { font-size: 1.125rem; font-family: var(--font-body); font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lg-blue-light);
  margin-bottom: 0.5rem;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
}

.section--alt {
  background: var(--lg-light-gray);
}

.section--dark {
  background: var(--lg-dark);
  color: var(--lg-white);
}
.section--dark h2, .section--dark h3 { color: var(--lg-white); }
.section--dark p { color: rgba(255,255,255,0.8); }

.grid {
  display: grid;
  gap: 24px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .section { padding: var(--section-padding-mobile); }
}

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0 24px;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lg-blue);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__logo span { color: var(--lg-accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--lg-text);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--lg-blue-light); }

.nav__cta {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  background: var(--lg-blue);
  color: var(--lg-white) !important;
  transition: background 0.2s, transform 0.1s;
}
.nav__cta:hover { background: var(--lg-blue-dark); transform: translateY(-1px); }

/* Mobile nav */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--lg-text);
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--lg-white);
    padding: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--card-shadow);
  }
  .nav__toggle { display: block; }
}

/* --- Hero --- */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero--gradient {
  background: linear-gradient(135deg, var(--lg-blue-dark) 0%, var(--lg-blue) 50%, var(--lg-blue-light) 100%);
  color: var(--lg-white);
}
.hero--gradient h1, .hero--gradient h2 { color: var(--lg-white); }
.hero--gradient p { color: rgba(255,255,255,0.85); }

.hero__subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn--primary {
  background: var(--lg-accent);
  color: var(--lg-white);
}
.btn--primary:hover {
  background: var(--lg-accent-hover);
  color: var(--lg-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(39,174,96,0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--lg-white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn--secondary:hover {
  border-color: var(--lg-white);
  color: var(--lg-white);
  background: rgba(255,255,255,0.1);
}

.btn--outline {
  background: transparent;
  color: var(--lg-blue);
  border: 2px solid var(--lg-blue);
}
.btn--outline:hover {
  background: var(--lg-blue);
  color: var(--lg-white);
}

.btn--dark {
  background: var(--lg-dark);
  color: var(--lg-white);
}
.btn--dark:hover {
  background: #2d2d4e;
  color: var(--lg-white);
  transform: translateY(-1px);
}

.btn--sm {
  font-size: 0.875rem;
  padding: 10px 20px;
}

.btn--lg {
  font-size: 1.125rem;
  padding: 18px 40px;
}

/* --- Cards --- */
.card {
  background: var(--lg-white);
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.3s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.card__title {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--lg-dark);
}

.card__text {
  font-size: 0.9375rem;
  color: var(--lg-text-light);
  line-height: 1.6;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--lg-blue-light);
  margin-top: 16px;
}
.card__link:hover { gap: 8px; }

/* --- Stats Bar --- */
.stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 32px 0;
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-ui);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--lg-blue);
  line-height: 1;
}

.stat__label {
  font-size: 0.875rem;
  color: var(--lg-text-light);
  margin-top: 4px;
}

/* --- Trust Bar (Carrier Logos) --- */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 24px 0;
  opacity: 0.6;
}

.trust-bar img {
  height: 32px;
  filter: grayscale(100%);
  transition: filter 0.3s, opacity 0.3s;
}
.trust-bar img:hover { filter: grayscale(0%); opacity: 1; }

/* --- Forms --- */
.form-section {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px;
  background: var(--lg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow-hover);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--lg-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1.5px solid #ddd;
  border-radius: var(--border-radius-sm);
  transition: border-color 0.2s;
  background: var(--lg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--lg-blue-light);
  box-shadow: 0 0 0 3px rgba(41,128,185,0.1);
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

/* --- FAQ Accordion --- */
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--lg-dark);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--lg-gray);
  transition: transform 0.2s;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--lg-text-light);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

/* --- Footer --- */
.site-footer {
  background: var(--lg-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 24px 32px;
}

.footer__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lg-white);
  margin-bottom: 16px;
}

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer__heading {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lg-white);
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--lg-white); }

.footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__legal a {
  color: rgba(255,255,255,0.5);
  margin-left: 24px;
}
.footer__legal a:hover { color: var(--lg-white); }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* --- Testimonial --- */
.testimonial {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 24px;
}

.testimonial__quote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--lg-dark);
  margin-bottom: 24px;
  position: relative;
}

.testimonial__quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--lg-blue-light);
  opacity: 0.3;
  position: absolute;
  top: -20px;
  left: -10px;
}

.testimonial__author {
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--lg-dark);
}

.testimonial__role {
  font-size: 0.875rem;
  color: var(--lg-text-light);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--lg-blue) 0%, var(--lg-blue-dark) 100%);
  color: var(--lg-white);
  text-align: center;
  padding: 64px 24px;
  border-radius: var(--border-radius);
  margin: 0 24px;
}

.cta-banner h2 { color: var(--lg-white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 24px; }

/* --- Brand-specific overrides --- */

/* Launchpad Careers pages */
.brand--launchpad { --lg-blue: #036AAF; --lg-blue-light: #0478c2; --lg-blue-dark: #0a2540; --lg-accent: #FFBE1C; --lg-accent-hover: #e5a917; }
.brand--launchpad .btn--primary { background: var(--lp-gold); color: var(--lp-dark); }
.brand--launchpad .btn--primary:hover { background: #e5a917; box-shadow: 0 4px 12px rgba(255,190,28,0.3); }
.brand--launchpad .hero--gradient { background: linear-gradient(135deg, #0a2540 0%, #036AAF 100%); }

/* Blaney Group pages */
.brand--blaney { --lg-blue: #2BEBA8; --lg-blue-light: #2BEBA8; }
.brand--blaney .hero--gradient { background: linear-gradient(135deg, #111111 0%, #1a1a2e 50%, #2d2d4e 100%); }
.brand--blaney .btn--primary { background: var(--bg-mint); color: #111; }

/* AO / Lifeguard pages */
.brand--lifeguard .hero--gradient { background: linear-gradient(135deg, #0e2f44 0%, #1a5276 50%, #2980b9 100%); }

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-prose { max-width: 680px; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeUp 0.6s ease forwards;
  opacity: 0;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ============================================================
   VISUAL ENHANCEMENTS — Dynamic & Responsive Upgrades
   ============================================================ */

/* --- Scroll-triggered fade-in (JS adds .visible) --- */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Gradient text utility --- */
.gradient-text {
  background: linear-gradient(135deg, var(--lg-blue) 0%, var(--lg-blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand--launchpad .gradient-text {
  background: linear-gradient(135deg, #036AAF 0%, #0498e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* --- Subtle card hover glow (per brand) --- */
.card--glow:hover {
  box-shadow: 0 8px 32px rgba(26,82,118,0.15), 0 2px 8px rgba(0,0,0,0.06);
}
.brand--launchpad .card--glow:hover {
  box-shadow: 0 8px 32px rgba(3,106,175,0.18), 0 2px 8px rgba(0,0,0,0.06);
}

/* --- Numbered step circles --- */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lg-blue);
  color: var(--lg-white);
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.brand--launchpad .step-number {
  background: var(--lp-blue);
}

/* --- Responsive Tables (horizontal scroll on mobile) --- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -16px;
  padding: 0 16px;
}
.table-wrap table {
  min-width: 500px;
}

/* --- Responsive form inputs (consistent sizing) --- */
input, select, textarea {
  -webkit-appearance: none;
  appearance: none;
}
@media (max-width: 480px) {
  input, select, textarea {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
  }
}

/* --- Pulse animation for CTA buttons --- */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,190,28,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(255,190,28,0); }
}
.btn--pulse {
  animation: pulse-glow 2.5s ease-in-out infinite;
}
.brand--lifeguard .btn--pulse {
  animation: pulse-glow-green 2.5s ease-in-out infinite;
}
@keyframes pulse-glow-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(39,174,96,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(39,174,96,0); }
}

/* --- Badge / pill utility --- */
.badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--lg-blue-light);
  color: var(--lg-white);
}
.badge--green { background: var(--lg-accent); }
.badge--gold { background: var(--lg-gold); color: #333; }
.badge--red { background: var(--lg-red-cross); }

/* --- Divider with icon --- */
.divider-icon {
  text-align: center;
  margin: 48px 0;
  position: relative;
}
.divider-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e5e7eb;
}
.divider-icon span {
  position: relative;
  background: var(--lg-white);
  padding: 0 16px;
  font-size: 1.5rem;
}
.section--alt .divider-icon span {
  background: var(--lg-light-gray);
}

/* --- Hero pattern overlay (subtle geometric) --- */
.hero--pattern::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.05) 1px, transparent 1px),
                    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* --- Stat card with animated counter effect --- */
.stat--highlight .stat__number {
  color: var(--lg-accent);
  font-size: 3rem;
}

/* --- Testimonial cards (grid layout) --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

.testimonial-card {
  background: var(--lg-white);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: var(--card-shadow);
  border-left: 4px solid var(--lg-blue-light);
  transition: box-shadow 0.3s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}
.brand--launchpad .testimonial-card {
  border-left-color: var(--lp-blue);
}

/* --- Sticky CTA bar (mobile only) --- */
.sticky-cta {
  display: none;
}
@media (max-width: 768px) {
  .sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--lg-white);
    padding: 12px 16px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    text-align: center;
  }
  .sticky-cta .btn {
    width: 100%;
    justify-content: center;
  }
  /* Add bottom padding to body so sticky CTA doesn't cover content */
  body:has(.sticky-cta) {
    padding-bottom: 72px;
  }
}

/* --- Progress indicator for long forms --- */
.form-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.form-progress__step {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #e5e7eb;
}
.form-progress__step.active {
  background: var(--lg-blue-light);
}
.brand--launchpad .form-progress__step.active {
  background: var(--lp-gold);
}

/* --- Comparison table enhancements --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.comparison-table thead tr {
  border-bottom: 2px solid var(--lg-blue);
}
.comparison-table th {
  padding: 12px 16px;
  font-weight: 600;
  text-align: left;
  font-family: var(--font-ui);
  font-size: 0.85rem;
}
.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.comparison-table .check { color: var(--lg-accent); font-weight: 600; }
.comparison-table .cross { color: var(--lg-red-cross); }
.comparison-table .highlight-col {
  background: rgba(3,106,175,0.04);
}

/* --- Enhanced hero with animated gradient --- */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero--animated-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
}

/* --- Icon circle (for feature sections) --- */
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(26,82,118,0.08);
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.brand--launchpad .icon-circle {
  background: rgba(3,106,175,0.08);
}

/* --- Additional mobile refinements --- */
@media (max-width: 768px) {
  /* Hero text sizing on mobile */
  h1 { font-size: 1.75rem !important; line-height: 1.25 !important; }
  h2 { font-size: 1.4rem !important; }

  /* Stats bar responsive */
  .stats { gap: 24px; padding: 20px 0; }
  .stat__number { font-size: 1.8rem; }

  /* Card padding reduction */
  .card { padding: 20px; }

  /* Form card on mobile */
  .form-section { padding: 24px 16px; }

  /* Better touch targets */
  .btn { min-height: 48px; }
  .faq-question { min-height: 56px; padding: 16px 0; }

  /* Testimonial sizing */
  .testimonial__quote { font-size: 1.2rem; }
  .testimonial { padding: 32px 16px; }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .container { padding: 0 16px; }
  .hero { padding: 64px 16px 48px; }

  /* Stack everything */
  .hero__actions { flex-direction: column; align-items: stretch; }
  .stats { flex-direction: column; gap: 16px; }

  /* Full width buttons */
  .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================================ */

/* --- Skip navigation link --- */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--lg-blue);
  color: var(--lg-white) !important;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-nav:focus {
  top: 0;
  outline: 3px solid var(--lg-gold);
  outline-offset: 2px;
}

/* --- Focus indicators (keyboard only) --- */
.keyboard-nav *:focus {
  outline: 3px solid var(--lg-blue-light);
  outline-offset: 2px;
}
.keyboard-nav .btn:focus {
  outline: 3px solid var(--lg-gold);
  outline-offset: 2px;
}
.keyboard-nav .card:focus,
.keyboard-nav a.card:focus {
  outline: 3px solid var(--lg-blue-light);
  outline-offset: 4px;
}
.keyboard-nav .faq-question:focus {
  outline: 3px solid var(--lg-blue-light);
  outline-offset: 2px;
  border-radius: var(--border-radius-sm);
}
/* Hide focus outline for mouse/touch users */
*:focus:not(:focus-visible) {
  outline: none;
}
*:focus-visible {
  outline: 3px solid var(--lg-blue-light);
  outline-offset: 2px;
}
.btn:focus-visible {
  outline: 3px solid var(--lg-gold);
  outline-offset: 2px;
}

/* --- Reduced motion support --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero--animated-gradient {
    animation: none !important;
  }
  .btn--pulse {
    animation: none !important;
  }
  .fade-in-section {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* JS-applied class fallback for older browsers */
.reduce-motion * {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

/* --- High contrast mode support --- */
@media (forced-colors: active) {
  .btn {
    border: 2px solid ButtonText;
  }
  .card {
    border: 1px solid CanvasText;
  }
  .hero--gradient {
    background: Canvas;
    color: CanvasText;
  }
  .hero--gradient h1,
  .hero--gradient h2,
  .hero--gradient p { color: CanvasText; }
  .step-number {
    border: 2px solid ButtonText;
  }
}

/* --- Screen reader only (enhanced) --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* --- Minimum touch target size (WCAG 2.5.8) --- */
@media (pointer: coarse) {
  .btn, .faq-question, .nav__toggle, .nav__links a, .footer__links a {
    min-height: 44px;
    min-width: 44px;
  }
  .nav__links a {
    display: inline-flex;
    align-items: center;
    padding: 8px 4px;
  }
}

/* ============================================================
   LANGUAGE SWITCHER (i18n)
   ============================================================ */

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-left: 16px;
}
.lang-switcher__current {
  color: var(--lg-blue);
  font-weight: 700;
}
.lang-switcher__sep {
  color: var(--lg-gray);
  opacity: 0.4;
}
.lang-switcher__alt {
  color: var(--lg-text-light);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.lang-switcher__alt:hover {
  background: var(--lg-light-gray);
  color: var(--lg-blue);
}
.lang-switcher--mobile {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 12px;
  margin-top: 8px;
}
.lang-switcher--mobile a {
  font-weight: 600;
  color: var(--lg-blue-light) !important;
}

@media (max-width: 768px) {
  .lang-switcher {
    margin-left: 12px;
    font-size: 0.75rem;
  }
}

/* --- Print styles (hide non-essential) --- */
@media print {
  .site-header, .sticky-cta, .nav, footer, .faq-item, .lang-switcher, .skip-nav { display: none; }
  .section { padding: 24px 0; }
  .card { box-shadow: none; border: 1px solid #ddd; }
}
