/* CPTR Design System - Brand Overhaul */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
  --navy-900: #1a3358;
  --navy-800: #1e3a63;
  --navy-700: #244676;
  --navy-600: #2d5591;
  --cyan-500: #85C5F0;
  --cyan-400: #9dd2f4;
  --cyan-300: #b5dff7;
  --teal-500: #67BB77;
  --teal-400: #82CC9A;
  --white: #FFFFFF;
  --gray-100: #F0F4F8;
  --gray-200: #D9E2EC;
  --gray-300: #BCCCDC;
  --gray-600: #486581;
  --gray-800: #243B53;
  --gradient-hero: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, #1a3358 100%);
  --gradient-accent: linear-gradient(135deg, var(--cyan-500), var(--teal-500));
  --gradient-btn: linear-gradient(135deg, var(--teal-500), var(--teal-400));
  --shadow-sm: 0 2px 8px rgba(36,70,118,0.08);
  --shadow-md: 0 8px 30px rgba(36,70,118,0.12);
  --shadow-lg: 0 20px 60px rgba(36,70,118,0.18);
  --shadow-glow: 0 0 30px rgba(103,187,119,0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

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

body {
  font-family: 'Roboto', -apple-system, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Roboto', sans-serif; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

a { color: var(--cyan-500); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--teal-400); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ====== NAVIGATION ====== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}
.nav.scrolled {
  background: rgba(0,24,48,0.92);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'Roboto', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--white); letter-spacing: -0.5px; }
.nav-logo img { height: 36px; width: auto; }
.footer .nav-logo img { height: 32px; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.95rem; position: relative; padding: 4px 0; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--gradient-accent); transition: width 0.3s ease; border-radius: 2px; }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--cyan-500); }
.nav-links a.active::after { width: 100%; }

.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  background: var(--gradient-btn); color: var(--navy-900);
  border: none; cursor: pointer; transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(103,187,119,0.3);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); color: var(--white); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.3); cursor: pointer; transition: all 0.3s ease;
}
.btn-outline:hover { border-color: var(--cyan-500); color: var(--cyan-500); transform: translateY(-2px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); transition: all 0.3s ease; border-radius: 2px; }

/* ====== HERO ====== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--gradient-hero); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,24,48,0.85) 0%, rgba(0,51,102,0.7) 50%, rgba(0,24,48,0.9) 100%); }
.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.particle {
  position: absolute; width: 4px; height: 4px; background: var(--cyan-500);
  border-radius: 50%; opacity: 0; animation: particleFloat 8s infinite;
}
@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  20% { opacity: 0.6; }
  80% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-100px) scale(1); }
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
  background: rgba(0,212,255,0.1); color: var(--cyan-400);
  border: 1px solid rgba(0,212,255,0.2); margin-bottom: 24px;
  animation: fadeInUp 0.8s ease;
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--cyan-500); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }
.hero h1 { color: var(--white); margin-bottom: 20px; animation: fadeInUp 0.8s ease 0.2s both; }
.hero h1 .highlight { background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: rgba(255,255,255,0.75); font-size: 1.15rem; margin-bottom: 36px; max-width: 560px; animation: fadeInUp 0.8s ease 0.4s both; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.6s both; }
.hero-stats {
  display: flex; gap: 48px; margin-top: 64px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1); animation: fadeInUp 0.8s ease 0.8s both;
}
.stat-item h3 { color: var(--cyan-400); font-size: 2.2rem; font-weight: 800; margin-bottom: 4px; }
.stat-item p { color: rgba(255,255,255,0.6); font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

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

/* ====== SECTIONS ====== */
.section { padding: 100px 0; }
.section-dark { background: var(--gradient-hero); color: var(--white); }
.section-light { background: var(--gray-100); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: var(--cyan-500); margin-bottom: 16px;
}
.section-label .line { width: 40px; height: 2px; background: var(--gradient-accent); border-radius: 2px; }
.section-header p { color: var(--gray-600); font-size: 1.1rem; margin-top: 16px; }
.section-dark .section-header p { color: rgba(255,255,255,0.65); }

/* ====== FEATURE CARDS ====== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 40px 32px;
  border: 1px solid rgba(0,0,0,0.06); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-accent); transform: scaleX(0); transition: transform 0.4s ease;
  transform-origin: left;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(0,180,160,0.1));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; font-size: 1.5rem;
}
.feature-card h4 { margin-bottom: 12px; }
.feature-card p { color: var(--gray-600); font-size: 0.95rem; }

/* ====== PRODUCT SECTION ====== */
.product-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.product-image { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.product-image img { width: 100%; height: 400px; object-fit: cover; }
.product-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), transparent);
  pointer-events: none;
}
.product-content h2 { margin-bottom: 20px; }
.product-content p { color: var(--gray-600); margin-bottom: 24px; }
.product-list { list-style: none; margin-bottom: 32px; }
.product-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
}
.product-list .check { color: var(--teal-500); font-weight: 700; flex-shrink: 0; }

/* ====== WHY CPTR ====== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.why-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 40px 32px; text-align: center;
  transition: all 0.4s ease; backdrop-filter: blur(10px);
}
.why-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-8px); border-color: rgba(0,212,255,0.3); box-shadow: 0 20px 60px rgba(0,212,255,0.1); }
.why-icon { font-size: 2.5rem; margin-bottom: 20px; }
.why-card h4 { color: var(--white); margin-bottom: 12px; }
.why-card p { color: rgba(255,255,255,0.65); font-size: 0.95rem; }

/* ====== SCALE STATS ====== */
.scale-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.scale-card {
  text-align: center; padding: 48px 32px; background: var(--white);
  border-radius: var(--radius-lg); border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.4s ease;
}
.scale-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.scale-icon { font-size: 2.5rem; margin-bottom: 16px; }
.scale-number {
  font-family: 'Roboto', sans-serif; font-size: 2.8rem; font-weight: 900;
  background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.scale-card p { color: var(--gray-600); font-size: 0.95rem; }

/* ====== CTA BANNER ====== */
.cta-banner {
  background: var(--gradient-hero); border-radius: var(--radius-xl);
  padding: 80px 64px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(0,212,255,0.15), transparent 60%);
  animation: ctaGlow 6s ease-in-out infinite alternate;
}
@keyframes ctaGlow { from { transform: translate(0, 0); } to { transform: translate(5%, 5%); } }
.cta-banner h2 { color: var(--white); position: relative; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 1.1rem; position: relative; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-cta { position: relative; }

/* ====== FAQ ====== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid rgba(0,0,0,0.08); border-radius: var(--radius-md);
  margin-bottom: 16px; overflow: hidden; transition: all 0.3s ease;
}
.faq-item:hover { border-color: rgba(0,212,255,0.3); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 1.05rem;
  background: var(--white); transition: background 0.3s ease; border: none; width: 100%; text-align: left;
  font-family: 'Roboto', sans-serif;
}
.faq-question:hover { background: var(--gray-100); }
.faq-chevron { transition: transform 0.3s ease; font-size: 1.2rem; color: var(--cyan-500); flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.4s ease; }
.faq-item.open .faq-answer { max-height: 500px; padding: 0 24px 24px; }
.faq-answer p { color: var(--gray-600); line-height: 1.8; }

/* ====== CONTACT ====== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info-cards { display: flex; flex-direction: column; gap: 24px; }
.contact-card {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 28px; background: var(--white); border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.06); transition: all 0.3s ease;
}
.contact-card:hover { border-color: rgba(0,212,255,0.3); box-shadow: var(--shadow-sm); }
.contact-card-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(0,180,160,0.1));
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.contact-card h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--gray-600); font-size: 0.95rem; }
.contact-form {
  background: var(--white); padding: 40px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); border: 1px solid rgba(0,0,0,0.06);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--gray-800); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px; border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); font-family: 'Roboto', sans-serif; font-size: 0.95rem;
  transition: all 0.3s ease; background: var(--gray-100);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--cyan-500); box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
  background: var(--white);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ====== FOOTER ====== */
.footer {
  background: var(--navy-900); color: rgba(255,255,255,0.6); padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.7; max-width: 360px; }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-links a:hover { color: var(--cyan-400); }
.footer-bottom { 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.85rem; }

/* ====== PAGE HERO (subpages) ====== */
.page-hero {
  padding: 160px 0 80px; background: var(--gradient-hero); position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.15rem; max-width: 600px; }
.page-hero.dark-end::after { background: linear-gradient(to top, var(--gray-100), transparent); }

/* ====== ABOUT ====== */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; height: 480px; object-fit: cover; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 16px; }
.value-card { text-align: center; padding: 32px 24px; }
.value-icon { font-size: 2rem; margin-bottom: 16px; }
.value-card h4 { margin-bottom: 8px; }
.value-card p { color: var(--gray-600); font-size: 0.9rem; }

/* ====== NEWS / INSIGHTS ====== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.news-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06); transition: all 0.4s ease;
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.news-card img { width: 100%; height: 220px; object-fit: cover; }
.news-card-body { padding: 28px; }
.news-card-body .tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--cyan-500); margin-bottom: 12px; display: block; }
.news-card-body h4 { margin-bottom: 12px; }
.news-card-body p { color: var(--gray-600); font-size: 0.9rem; }

/* ====== COMPARISON TABLE ====== */
.comparison-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.comparison-table thead th { background: var(--navy-800); color: var(--white); padding: 20px 24px; font-family: 'Roboto', sans-serif; font-weight: 600; text-align: left; }
.comparison-table tbody td { padding: 16px 24px; border-bottom: 1px solid var(--gray-200); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) { background: var(--gray-100); }
.comparison-table .advantage { color: var(--teal-500); font-weight: 600; }
.comparison-table .disadvantage { color: #e74c3c; }

/* ====== SCROLL ANIMATIONS ====== */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ====== ANIMATED COUNTER ====== */
.counter { display: inline-block; }

/* ====== MOBILE ====== */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(0,24,48,0.98); padding: 24px; gap: 16px; backdrop-filter: blur(20px);
  }
  .features-grid, .why-grid, .scale-grid, .news-grid { grid-template-columns: 1fr; }
  .product-split, .about-split, .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 0 16px; }
  .cta-banner { padding: 48px 24px; }
}

@media (max-width: 640px) {
  .hero-actions { flex-direction: column; }
  .btn-cta, .btn-outline { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ====== ACCESSIBILITY ====== */
.skip-link {
  position: absolute; top: -40px; left: 8px; z-index: 9999;
  background: var(--cyan-500); color: var(--navy-900);
  padding: 8px 16px; border-radius: 6px; font-weight: 600; font-size: 0.9rem;
}
.skip-link:focus { top: 8px; }

@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;
  }
}

/* ====== SVG ICONS (replace emoji) ====== */
[data-icon] { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
[data-icon] svg { display: block; }

.feature-icon, .why-icon, .scale-icon, .value-icon, .contact-card-icon {
  color: var(--cyan-500);
}
.section-dark .why-icon { color: var(--cyan-400); }

/* Override font-size based emoji sizing for icons */
.feature-icon[data-icon] svg { width: 26px; height: 26px; }
.why-icon[data-icon] svg, .scale-icon[data-icon] svg, .value-icon[data-icon] svg { width: 32px; height: 32px; }
.contact-card-icon[data-icon] svg { width: 22px; height: 22px; }

/* ====== URGENCY BANNER ====== */
.urgency-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  background: linear-gradient(90deg, #244676, #2d5591);
  color: var(--white); padding: 10px 0;
  font-size: 0.88rem; font-weight: 500;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.urgency-banner .container {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.urgency-banner .icon-wrap { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.urgency-banner .icon-wrap svg { width: 18px; height: 18px; }
.urgency-banner a { color: var(--white); text-decoration: underline; font-weight: 600; }
.urgency-banner a:hover { color: var(--navy-900); }
.urgency-banner .close-btn {
  background: rgba(255,255,255,0.15); border: none; color: var(--white);
  width: 24px; height: 24px; border-radius: 50%; cursor: pointer; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
  transition: background 0.2s ease;
}
.urgency-banner .close-btn:hover { background: rgba(255,255,255,0.3); }
body.has-banner .nav { top: 40px; }
body.has-banner .hero { padding-top: 40px; }

/* ====== HAMBURGER ANIMATED ====== */
.hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ====== LIVE COUNTER STRIP ====== */
.live-strip {
  background: linear-gradient(90deg, var(--navy-900), var(--navy-700), var(--navy-900));
  color: var(--white); padding: 20px 0;
  border-top: 1px solid rgba(0,212,255,0.15); border-bottom: 1px solid rgba(0,212,255,0.15);
}
.live-strip .container { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.live-strip .pulse-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #00ff88; box-shadow: 0 0 12px #00ff88;
  animation: livePulse 1.6s infinite;
}
@keyframes livePulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.4); } }
.live-strip .live-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 2px; color: var(--cyan-400); font-weight: 700; }
.live-strip .live-value {
  font-family: 'Roboto', sans-serif; font-weight: 900; font-size: 1.6rem;
  background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.live-strip .live-suffix { font-size: 0.95rem; color: rgba(255,255,255,0.7); }

/* ====== TRUST / PRESS STRIP ====== */
.trust-strip {
  padding: 48px 0; background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.trust-strip .trust-label {
  text-align: center; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 3px;
  color: var(--gray-600); font-weight: 600; margin-bottom: 28px;
}
.trust-grid {
  display: flex; align-items: center; justify-content: center; gap: 56px;
  flex-wrap: wrap; opacity: 0.7; filter: grayscale(0.6);
}
.trust-badge {
  font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 0.95rem;
  letter-spacing: 1px; color: var(--gray-800); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1.5px solid var(--gray-300); border-radius: 6px;
}
.trust-badge.highlight { color: var(--teal-500); border-color: var(--teal-500); }

/* ====== ANIMATED MOLECULE VISUAL ====== */
.molecule-stage {
  position: relative; width: 100%; aspect-ratio: 1.2 / 1; max-width: 540px; margin: 0 auto;
  background: radial-gradient(circle at 50% 50%, rgba(0,212,255,0.08), transparent 70%);
  border-radius: var(--radius-xl); overflow: hidden;
}
.molecule-stage svg { width: 100%; height: 100%; display: block; }
.mip-pocket { fill: none; stroke: var(--cyan-500); stroke-width: 2; opacity: 0.85; }
.mip-binding { fill: var(--cyan-500); opacity: 0.5; }
.pfas-chain { stroke: #ff6b35; stroke-width: 3; stroke-linecap: round; fill: none; filter: drop-shadow(0 0 6px rgba(255,107,53,0.6)); }
.pfas-atom { fill: #ff6b35; }
.pfas-atom.f { fill: #ffd166; }
.water-particle { fill: var(--cyan-300); opacity: 0; }

@keyframes pfasApproach {
  0% { transform: translate(180px, -120px) scale(0.6); opacity: 0; }
  20% { opacity: 1; }
  60% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(0, 0) scale(1); opacity: 1; }
}
@keyframes pocketGlow {
  0%, 60% { stroke-width: 2; filter: none; }
  70% { stroke-width: 3; filter: drop-shadow(0 0 12px var(--cyan-500)); }
  100% { stroke-width: 2; filter: drop-shadow(0 0 8px var(--cyan-500)); }
}
@keyframes waterFlow {
  0% { transform: translate(-40px, 0); opacity: 0; }
  20% { opacity: 0.8; }
  80% { opacity: 0.8; }
  100% { transform: translate(420px, 0); opacity: 0; }
}
.molecule-stage.animate .pfas-group { animation: pfasApproach 4s ease-in-out forwards; }
.molecule-stage.animate .mip-pocket { animation: pocketGlow 4s ease-in-out forwards; }
.molecule-stage.animate .water-particle { animation: waterFlow 5s linear infinite; }
.molecule-stage.animate .water-particle:nth-child(2) { animation-delay: 0.6s; }
.molecule-stage.animate .water-particle:nth-child(3) { animation-delay: 1.2s; }
.molecule-stage.animate .water-particle:nth-child(4) { animation-delay: 1.8s; }
.molecule-stage.animate .water-particle:nth-child(5) { animation-delay: 2.4s; }
.molecule-stage.animate .water-particle:nth-child(6) { animation-delay: 3.0s; }
.molecule-stage.animate .water-particle:nth-child(7) { animation-delay: 3.6s; }
.molecule-stage.animate .water-particle:nth-child(8) { animation-delay: 4.2s; }

.molecule-legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 24px; justify-content: center; }
.molecule-legend span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--gray-600);
}
.molecule-legend .swatch { width: 12px; height: 12px; border-radius: 50%; }



/* ====== COMPARISON VISUAL (replaces table) ====== */
.comparison-visual {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 48px; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200);
}
.comparison-row {
  display: grid; grid-template-columns: 200px 1fr 1fr 1fr; gap: 24px;
  align-items: center; padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}
.comparison-row:last-child { border-bottom: none; }
.comparison-row.head {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gray-600); font-weight: 700; padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-200);
}
.comparison-row .criteria {
  font-weight: 700; font-family: 'Roboto', sans-serif; font-size: 0.95rem;
  color: var(--navy-900);
}
.comparison-row .head-cell.featured {
  background: var(--gradient-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  font-weight: 800;
}
.comparison-bar {
  position: relative; height: 36px; background: var(--gray-100);
  border-radius: 18px; overflow: hidden;
}
.comparison-bar .fill {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 0; transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 18px;
  display: flex; align-items: center; padding: 0 14px;
  font-size: 0.82rem; font-weight: 600; color: var(--white);
  white-space: nowrap;
}
.comparison-bar .fill.low { background: linear-gradient(90deg, #e74c3c, #c0392b); }
.comparison-bar .fill.med { background: linear-gradient(90deg, #f39c12, #e67e22); }
.comparison-bar .fill.high { background: var(--gradient-btn); color: var(--navy-900); }
.comparison-visual.animate .comparison-bar .fill { width: var(--w, 0%); }

@media (max-width: 868px) {
  .comparison-visual { padding: 24px; }
  .comparison-row { grid-template-columns: 1fr; gap: 8px; padding: 16px 0; }
  .comparison-row.head { display: none; }
  .comparison-row::before { content: attr(data-criteria); display: block; font-weight: 700; color: var(--navy-900); margin-bottom: 4px; font-family: 'Roboto', sans-serif; }
  .comparison-row .criteria { display: none; }
  .comparison-bar::before { content: attr(data-method); display: block; font-size: 0.75rem; color: var(--gray-600); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; padding-left: 4px; }
  .comparison-bar { background: transparent; height: auto; }
  .comparison-bar .fill { position: relative; height: 32px; }
}

/* ====== STATE PFAS REGULATION MAP ====== */
.state-map-wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.state-map {
  display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px;
  background: var(--gray-100); padding: 20px; border-radius: var(--radius-lg);
}
.state-cell {
  aspect-ratio: 1; background: var(--gray-200); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; color: var(--gray-600);
  cursor: default; transition: all 0.2s ease; border: none;
  font-family: 'Roboto', sans-serif;
}
.state-cell.empty { background: transparent; }
.state-cell[data-state] { cursor: pointer; }
.state-cell.tone-strict { background: #c0392b; color: var(--white); }
.state-cell.tone-active { background: #e67e22; color: var(--white); }
.state-cell.tone-federal { background: var(--cyan-500); color: var(--navy-900); }
.state-cell[data-state]:hover, .state-cell[data-state]:focus {
  transform: scale(1.15); z-index: 2; outline: 2px solid var(--navy-900);
}

.state-map-legend { display: flex; gap: 20px; margin-top: 16px; flex-wrap: wrap; font-size: 0.85rem; color: var(--gray-600); }
.state-map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.state-map-legend .swatch { width: 14px; height: 14px; border-radius: 3px; }

.state-info { min-height: 280px; }
.state-info-empty {
  padding: 40px 20px; text-align: center; color: var(--gray-600);
  background: var(--gray-100); border-radius: var(--radius-lg); font-size: 0.95rem;
}
.state-info-card {
  padding: 28px; border-radius: var(--radius-lg); border-left: 4px solid var(--cyan-500);
  background: var(--white); box-shadow: var(--shadow-md);
}
.state-info-card.tone-strict { border-left-color: #c0392b; }
.state-info-card.tone-active { border-left-color: #e67e22; }
.state-info-card.tone-federal { border-left-color: var(--cyan-500); }
.state-info-tag {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  background: var(--gray-100); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; color: var(--gray-800);
}
.state-info-card h4 { margin-bottom: 8px; font-size: 1.3rem; }
.state-info-limit {
  font-family: 'Roboto', sans-serif; font-weight: 700;
  color: var(--navy-900); font-size: 1.1rem; margin-bottom: 12px;
}
.state-info-note { font-size: 0.85rem; color: var(--gray-600); line-height: 1.5; }

@media (max-width: 868px) {
  .state-map-wrap { grid-template-columns: 1fr; }
  .state-map { grid-template-columns: repeat(11, 1fr); }
}

/* ====== ENHANCED FEATURE ICON BACKGROUND ====== */
.feature-icon, .why-icon, .scale-icon, .value-icon {
  font-size: 0; /* hides any leftover emoji */
}
.value-icon[data-icon] svg { color: var(--cyan-500); }
.scale-icon[data-icon] svg { color: var(--cyan-500); }
.section-dark .scale-icon[data-icon] svg { color: var(--cyan-400); }

/* ====== UTILITY CLASSES (replace inline styles) ====== */
.muted { color: var(--gray-600); }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-32 { margin-top: 32px; }
.text-light { color: rgba(255,255,255,0.7); }
.text-white { color: var(--white); }
.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.scroll-x { overflow-x: auto; }
.center { text-align: center; }
.full-width { width: 100%; }

/* ====== ACCESSIBILITY ====== */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 9999;
  background: var(--navy-700); color: var(--white); padding: 12px 24px;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; outline: 3px solid var(--teal-400); outline-offset: 2px; }

/* Focus-visible for keyboard navigation */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--cyan-500); outline-offset: 2px; border-radius: 2px;
}
.btn-cta:focus-visible, .btn-outline:focus-visible {
  outline: 3px solid var(--teal-400); outline-offset: 3px;
}
.nav-links a:focus-visible { outline: 2px solid var(--cyan-400); outline-offset: 4px; border-radius: 4px; }
.faq-question:focus-visible { outline: 3px solid var(--cyan-500); outline-offset: -2px; }
.state-cell:focus-visible { outline: 2px solid var(--navy-700); outline-offset: 1px; }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* High contrast mode support */
@media (forced-colors: active) {
  .btn-cta, .btn-outline { border: 2px solid ButtonText; }
  .nav { border-bottom: 1px solid ButtonText; }
}

/* ====== PRIVACY POLICY PAGE ====== */
.privacy-content h2 {
  font-size: 1.4rem; margin-top: 48px; margin-bottom: 16px;
  padding-bottom: 8px; border-bottom: 2px solid var(--gray-200);
  color: var(--navy-700);
}
.privacy-content h2:first-of-type { margin-top: 0; }
.privacy-content h3 {
  font-size: 1.1rem; margin-top: 28px; margin-bottom: 12px;
  color: var(--gray-800);
}
.privacy-content p { margin-bottom: 16px; line-height: 1.8; color: var(--gray-600); }
.privacy-content ul {
  margin-bottom: 16px; padding-left: 24px; list-style: disc;
}
.privacy-content li { margin-bottom: 8px; line-height: 1.7; color: var(--gray-600); }
.privacy-content a { color: var(--navy-700); text-decoration: underline; font-weight: 500; }
.privacy-content a:hover { color: var(--teal-500); }

