/* ===== CSS Custom Properties ===== */
:root {
  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f9fafb;
  --bg-section-alt: #f9fafb;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-tertiary: #9ca3af;
  --accent: #111827;
  --accent-blue: #3b82f6;
  --accent-subtle: rgba(17, 24, 39, 0.06);
  --border-color: #e5e7eb;
  --font: 'Inter', sans-serif;
  --font-serif: 'DM Serif Display', serif;
  --max-width: 1200px;
  --section-padding: 100px 20px;
  --radius: 12px;
  --transition: 0.3s ease;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
}

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

ul, ol {
  list-style: none;
}

html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

h4 {
  font-size: 0.9375rem;
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* ===== Utility ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

/* Section dividers */
.problem,
.features,
.how-it-works,
.calculator,
.case-studies,
.faq,
.contact {
  position: relative;
}

.problem::before,
.how-it-works::before,
.calculator::before,
.faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  height: 1px;
  background: var(--border-color);
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--text-primary);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 50px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
  background: #1f2937;
}

.btn-primary:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 4px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 50px;
  border: 1.5px solid var(--border-color);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background: var(--bg-section-alt);
  transform: scale(1.03);
}

.btn-outline:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 4px;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-soundwave span {
    animation: none !important;
  }
  .hero h1,
  .hero-sub,
  .hero-cta-group,
  .trust-badges,
  .hero-visual {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 1px 0 var(--border-color);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-logo {
  width: 60px;
  height: 60px;
  color: var(--text-primary);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.navbar-links a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.navbar-links a:hover,
.navbar-links a:focus-visible {
  color: var(--text-primary);
}


/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  padding: 140px 20px 80px;
  position: relative;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 .highlight {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  display: block;
  margin-top: 8px;
  color: var(--text-primary);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.trust-badges span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-badges .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-primary);
  display: inline-block;
}

/* Hero Visual (right column) */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background: var(--bg-section-alt);
  border-radius: 24px;
  border: 1px solid var(--border-color);
  padding: 48px 32px;
}

/* Hero Soundwave */
.hero-soundwave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 120px;
  margin-bottom: 40px;
}

.hero-soundwave span {
  display: block;
  width: 6px;
  border-radius: 6px;
  background: var(--text-primary);
  animation: soundwave 1.2s ease-in-out infinite;
}

.hero-soundwave span:nth-child(1) { height: 20px; animation-delay: 0s; }
.hero-soundwave span:nth-child(2) { height: 40px; animation-delay: 0.1s; }
.hero-soundwave span:nth-child(3) { height: 64px; animation-delay: 0.2s; }
.hero-soundwave span:nth-child(4) { height: 90px; animation-delay: 0.3s; }
.hero-soundwave span:nth-child(5) { height: 76px; animation-delay: 0.4s; }
.hero-soundwave span:nth-child(6) { height: 90px; animation-delay: 0.5s; }
.hero-soundwave span:nth-child(7) { height: 64px; animation-delay: 0.6s; }
.hero-soundwave span:nth-child(8) { height: 40px; animation-delay: 0.7s; }
.hero-soundwave span:nth-child(9) { height: 20px; animation-delay: 0.8s; }

@keyframes soundwave {
  0%, 100% { transform: scaleY(0.4); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Hero Badges */
.hero-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--text-primary);
}

/* ===== Hero Entrance Animation ===== */
@keyframes heroFadeBlur {
  from { opacity: 0; filter: blur(var(--hero-blur, 8px)); }
  to { opacity: 1; filter: blur(0); }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(var(--hero-y, 12px)); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  --hero-blur: 8px;
  animation: heroFadeBlur 0.9s ease-out 0.1s both;
}

.hero-sub {
  --hero-blur: 6px;
  animation: heroFadeBlur 0.9s ease-out 0.35s both;
}

.hero-cta-group {
  --hero-y: 12px;
  animation: heroFadeUp 0.7s ease-out 0.6s both;
}

.trust-badges {
  --hero-y: 8px;
  animation: heroFadeUp 0.7s ease-out 0.8s both;
}

.hero-visual {
  --hero-blur: 10px;
  animation: heroFadeBlur 1s ease-out 0.2s both;
}

/* ===== Stats / Trust Bar ===== */
.stats-bar {
  padding: 32px 20px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg);
}

.stats-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.stats-logos {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: scroll-logos 20s linear infinite;
  width: max-content;
}

.partner-logo {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-tertiary);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.partner-logo:nth-child(odd) {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.stat-number {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-plus,
.stat-suffix {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== Counters Bar ===== */
.counters-bar {
  padding: 60px 20px;
  background: var(--bg-section-alt);
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

/* ===== Problem Section ===== */
.problem {
  padding: var(--section-padding);
  background: var(--bg);
}

.problem-content {
  max-width: 720px;
  margin: 0 auto;
}

.problem h2 {
  margin-bottom: 20px;
}

.problem-body {
  margin-bottom: 32px;
}

.problem-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problem-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.0625rem;
  color: var(--text-primary);
}

.problem-points .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.problem-points .icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-primary);
}

/* Problem Stats Block */
.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.pstat-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pstat-card:nth-child(1)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #111827;
  border-radius: var(--radius) var(--radius) 0 0;
}

.pstat-card:nth-child(2)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #4b5563;
  border-radius: var(--radius) var(--radius) 0 0;
}

.pstat-card:nth-child(3)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #9ca3af;
  border-radius: var(--radius) var(--radius) 0 0;
}

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

/* Ring */
.pstat-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
}

.pstat-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.pstat-ring-bg {
  fill: none;
  stroke: var(--border-color);
  stroke-width: 8;
}

.pstat-ring-fill {
  fill: none;
  stroke: var(--text-primary);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  transition: stroke-dashoffset 1.4s ease;
}

.pstat-ring-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: baseline;
  gap: 1px;
}

/* Shared */
.pstat-number {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.pstat-percent {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pstat-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.pstat-source {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.pstat-source:hover {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .problem-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===== Features Section ===== */
.features {
  padding: var(--section-padding);
  background: var(--bg-section-alt);
}

.features h2 {
  text-align: center;
  margin-bottom: 16px;
}

.features h2 em {
  font-family: var(--font-serif);
  font-weight: 400;
}

.features .section-label {
  text-align: center;
  display: block;
}

.features-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-primary);
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.9375rem;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: var(--section-padding);
  background: var(--bg);
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 16px;
}

.how-it-works .section-label {
  text-align: center;
  display: block;
}

.how-subtitle {
  text-align: center;
  max-width: 450px;
  margin: 0 auto 60px;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-item {
  flex: 1 1 0%;
  max-width: 320px;
  text-align: center;
  padding: 0 24px;
}

.step-number {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  border-radius: 50%;
  background: var(--text-primary);
  color: #ffffff;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  flex-shrink: 0;
}

.step-item h3 {
  margin-bottom: 12px;
}

.step-item p {
  font-size: 0.9375rem;
}

.step-connector {
  width: 80px;
  height: 2px;
  background: var(--border-color);
  flex-shrink: 0;
  margin-top: 28px;
  border-radius: 1px;
}

/* ===== Calculator Section ===== */
.calculator {
  padding: var(--section-padding);
  background: var(--bg-section-alt);
}

.calculator h2 {
  text-align: center;
  margin-bottom: 16px;
}

.calculator .section-label {
  text-align: center;
  display: block;
}

.calculator-subtitle {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 60px;
}

.calculator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.calculator-sliders {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.slider-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.slider-group label .slider-value {
  font-weight: 700;
  color: var(--text-primary);
}

.slider-group input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  outline: none;
}

.slider-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text-primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.slider-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-group input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text-primary);
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-sm);
}

.slider-group input[type="range"]:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 4px;
}

.calculator-result {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 48px 36px;
  text-align: center;
  position: sticky;
  top: 120px;
  box-shadow: var(--shadow-sm);
}

.result-label {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.result-amount {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #ef4444;
  margin-bottom: 8px;
  transition: transform 0.2s ease;
}

.result-period {
  font-size: 0.9375rem;
  color: var(--text-tertiary);
  margin-bottom: 32px;
}

.result-cost {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--accent-subtle);
  padding: 10px 24px;
  border-radius: 50px;
  margin-bottom: 32px;
}

.calculator-cta-inline {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.calculator-cta-text {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin: 0;
}

.calculator-cta-inline .btn-primary {
  width: 100%;
  font-size: 0.9375rem;
  padding: 14px 24px;
}

/* ===== Case Studies ===== */
.case-studies {
  padding: var(--section-padding);
  background: var(--bg);
}

.case-studies h2 {
  text-align: center;
  margin-bottom: 16px;
}

.case-studies .section-label {
  text-align: center;
  display: block;
}

.case-studies-subtitle {
  text-align: center;
  max-width: 550px;
  margin: 0 auto 60px;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.case-stat {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.case-company {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.case-card p {
  font-size: 0.9375rem;
}

.case-studies-note {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-tertiary);
  font-style: italic;
}

/* ===== FAQ Section ===== */
.faq {
  padding: var(--section-padding);
  background: var(--bg-section-alt);
}

.faq h2 {
  text-align: center;
  margin-bottom: 16px;
}

.faq .section-label {
  text-align: center;
  display: block;
}

.faq-subtitle {
  text-align: center;
  max-width: 450px;
  margin: 0 auto 60px;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item.active {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  background: none;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--text-secondary);
}

.faq-question:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: -2px;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  margin-left: 16px;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-tertiary);
  border-radius: 1px;
  transition: transform var(--transition);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
}

.faq-answer-inner p {
  font-size: 0.9375rem;
}

/* ===== Contact / Lead Capture ===== */
.contact {
  padding: var(--section-padding);
  background: var(--bg);
}

.contact h2 {
  text-align: center;
  margin-bottom: 16px;
}

.contact .section-label {
  text-align: center;
  display: block;
}

.contact-subtitle {
  text-align: center;
  max-width: 450px;
  margin: 0 auto 60px;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input::placeholder {
  color: var(--text-tertiary);
}

.form-group input:focus {
  border-color: var(--text-primary);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

.form-group input:focus-visible {
  outline: none;
}

.form-group input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error {
  font-size: 0.8125rem;
  color: #ef4444;
  display: none;
}

.form-group input.error + .form-error {
  display: block;
}

.form-submit {
  margin-top: 8px;
}

.form-submit .btn-primary {
  width: 100%;
}

.form-success {
  text-align: center;
  padding: 40px;
  display: none;
}

.form-success.active {
  display: block;
}

.form-success h3 {
  color: var(--text-primary);
  margin-bottom: 12px;
  font-size: 1.5rem;
}

/* ===== Footer ===== */
.footer {
  padding: 60px 20px 32px;
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

.footer .navbar-brand {
  color: #ffffff;
}

.footer .brand-logo {
  color: #ffffff;
}

.footer .navbar-brand span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  text-align: left;
}

.footer-brand .navbar-brand {
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.875rem;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links h4,
.footer-contact h4 {
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li,
.footer-contact li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  list-style-type: none;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ===== Mobile Floating CTA ===== */
.mobile-cta {
  display: none;
  visibility: hidden;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-layout {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 72px 20px;
  }

  /* Mobile Nav */
  .menu-toggle {
    display: flex;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 80px 32px 32px;
    transition: right var(--transition);
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
  }

  .navbar-menu.open {
    right: 0;
  }

  .navbar-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .navbar-links a {
    font-size: 1.125rem;
  }


  /* Hero */
  .hero {
    padding: 100px 20px 60px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .trust-badges {
    justify-content: center;
  }

  .hero-visual {
    min-height: 280px;
  }

  /* Stats */
  .stats-grid {
    text-align: center;
  }


  .counters-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-plus,
  .stat-suffix {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.6875rem;
  }

  /* Grids */
  .features-grid,
  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  /* How It Works */
  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .step-item {
    max-width: 100%;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    margin: 0;
    background: var(--border-color);
  }

  /* Calculator */
  .calculator-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .calculator-result {
    position: static;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: left;
  }

  .footer-bottom {
    text-align: left;
  }

  /* Mobile Floating CTA */
  .mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    z-index: 999;
    display: block;
    visibility: hidden;
    text-align: center;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-cta.visible {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-cta .btn-primary {
    width: 100%;
    padding: 14px 24px;
    font-size: 0.9375rem;
  }

  /* Extra bottom padding so footer isn't hidden behind floating CTA */
  .footer {
    padding-bottom: 80px;
  }
}
