/* ============================================================
   AIRWEB — Design System & Landing Page Styles (Optimized)
   Performance-optimized: self-hosted fonts, minimal CSS
   ============================================================ */

/* ── Self-Hosted Fonts ─────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-800.woff2') format('woff2');
}

/* ── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --color-bg: #FFF;
  --color-bg-secondary: #F8F9FB;
  --color-bg-tertiary: #F1F3F5;
  --color-surface: #FFF;
  --color-surface-hover: #F8F9FB;
  --color-border: #E5E7EB;
  --color-border-subtle: #F1F3F5;
  --color-text-primary: #0F172A;
  --color-text-secondary: #475569;
  --color-text-tertiary: #94A3B8;
  --color-text-inverse: #FFF;
  --color-brand: #2563EB;
  --color-brand-hover: #1D4ED8;
  --color-brand-light: #EFF6FF;
  --color-brand-subtle: #DBEAFE;
  --color-accent: #10B981;
  --color-accent-light: #ECFDF5;
  --color-danger: #EF4444;
  --gradient-hero: linear-gradient(135deg, #EFF6FF 0%, #F8F9FB 50%, #ECFDF5 100%);
  --gradient-brand: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
  --gradient-card: linear-gradient(135deg, rgba(37, 99, 235, .02) 0%, rgba(16, 185, 129, .02) 100%);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --leading-tight: 1.2;
  --leading-normal: 1.6;
  --tracking-tight: -0.025em;
  --tracking-wide: 0.025em;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --radius-sm: .375rem;
  --radius-md: .5rem;
  --radius-lg: .75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .06), 0 2px 4px -2px rgba(0, 0, 0, .04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .06), 0 4px 6px -4px rgba(0, 0, 0, .04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .06), 0 8px 10px -6px rgba(0, 0, 0, .04);
  --shadow-brand: 0 4px 14px rgba(37, 99, 235, .25);
  /* Motion — single consistent system */
  --duration: .6s;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --container-max: 1200px;
  --header-height: 72px;
}

/* ── Dark Mode ─────────────────────────────────────────────── */
[data-theme="dark"] {
  --color-bg: #0B0F19;
  --color-bg-secondary: #111827;
  --color-bg-tertiary: #1F2937;
  --color-surface: #151B2B;
  --color-surface-hover: #1F2937;
  --color-border: #1F2937;
  --color-border-subtle: #1A2234;
  --color-text-primary: #F1F5F9;
  --color-text-secondary: #94A3B8;
  --color-text-tertiary: #64748B;
  --color-text-inverse: #0F172A;
  --color-brand: #3B82F6;
  --color-brand-hover: #60A5FA;
  --color-brand-light: rgba(59, 130, 246, .1);
  --color-brand-subtle: rgba(59, 130, 246, .15);
  --color-accent: #34D399;
  --color-accent-light: rgba(16, 185, 129, .1);
  --gradient-hero: linear-gradient(135deg, #0B0F19 0%, #111827 50%, #0B0F19 100%);
  --gradient-brand: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  --gradient-card: linear-gradient(135deg, rgba(59, 130, 246, .04) 0%, rgba(52, 211, 153, .04) 100%);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .2);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .3), 0 1px 2px rgba(0, 0, 0, .2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .3), 0 2px 4px -2px rgba(0, 0, 0, .2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .3), 0 4px 6px -4px rgba(0, 0, 0, .2);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .3), 0 8px 10px -6px rgba(0, 0, 0, .2);
  --shadow-brand: 0 4px 14px rgba(59, 130, 246, .3);
}

/* ── Base ──────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .3s var(--ease), color .3s var(--ease);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-brand);
  text-decoration: none;
  transition: color .15s var(--ease);
}

a:hover {
  color: var(--color-brand-hover);
}

:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

::selection {
  background: var(--color-brand-subtle);
  color: var(--color-text-primary);
}

/* ── Typography ────────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
}

h1 {
  font-size: var(--text-4xl);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

p {
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 1024px) {
  h1 {
    font-size: var(--text-5xl);
  }

  h2 {
    font-size: var(--text-4xl);
  }
}

/* ── Layout ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

section {
  padding: var(--space-16) 0;
}

@media (min-width: 768px) {
  section {
    padding: var(--space-20) 0;
  }
}

.section-label {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-brand);
  margin-bottom: var(--space-4);
}

.section-title {
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 640px;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: var(--space-16);
  }
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ── Grid ──────────────────────────────────────────────────── */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid--2,
.grid--3,
.grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid {
    gap: var(--space-8);
  }

  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Header ────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}

.header.scrolled {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--color-border-subtle);
}

[data-theme="dark"] .header.scrolled {
  background: rgba(11, 15, 25, .85);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: var(--tracking-tight);
}

.header__logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-brand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.header__nav {
  display: none;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.header__nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color .15s var(--ease);
}

.header__nav a:hover {
  color: var(--color-text-primary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s var(--ease);
}

.theme-toggle:hover {
  background: var(--color-surface-hover);
  color: var(--color-text-primary);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  cursor: pointer;
  transition: all .15s var(--ease);
}

.mobile-toggle:hover {
  background: var(--color-surface-hover);
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text-secondary);
  border-radius: 1px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 999;
  padding: var(--space-8) var(--space-6);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.mobile-nav.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav a {
  display: block;
  padding: var(--space-4) 0;
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border-subtle);
}

@media (min-width: 768px) {
  .header__nav {
    display: flex;
  }

  .mobile-toggle {
    display: none;
  }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: all .15s var(--ease);
}

.btn:hover {
  transform: scale(1.02);
}

.btn:active {
  transform: scale(.97);
}

.btn--primary {
  background: var(--gradient-brand);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-brand);
}

.btn--primary:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, .35);
  color: var(--color-text-inverse);
}

.btn--secondary {
  background: var(--color-surface);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}

.btn--secondary:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-text-tertiary);
  color: var(--color-text-primary);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all .3s var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-text-tertiary);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--color-brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  margin-bottom: var(--space-5);
}

.card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text-primary);
}

.card__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  padding-top: calc(var(--header-height) + var(--space-8));
  padding-bottom: var(--space-16);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

/* MOBILE: center hero content */
.hero__content {
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: var(--color-brand-light);
  border: 1px solid var(--color-brand-subtle);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-brand);
  margin-bottom: var(--space-6);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .4;
  }
}

.hero__title {
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-6);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: 0 auto var(--space-8);
  line-height: var(--leading-normal);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  justify-content: center;
}

/* METRICS: always single line, never wrap */
.hero__metrics {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-4);
  justify-content: center;
}

.hero__metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.hero__metric-value {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: var(--tracking-tight);
  white-space: nowrap;
}

.hero__metric-label {
  font-size: clamp(.625rem, 2.5vw, .75rem);
  color: var(--color-text-tertiary);
  font-weight: 500;
  white-space: nowrap;
}

/* DESKTOP: left-align hero */
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero__content {
    text-align: left;
  }

  .hero__subtitle {
    margin: 0 0 var(--space-8);
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .hero__metrics {
    justify-content: flex-start;
    gap: var(--space-8);
  }

  .hero__metric {
    align-items: flex-start;
    flex: unset;
  }

  .hero__metric-value {
    font-size: var(--text-2xl);
  }

  .hero__metric-label {
    font-size: var(--text-xs);
  }
}

.hero__visual {
  position: relative;
}

/* WhatsApp Mockup */
.whatsapp-mockup {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-width: 380px;
  margin: 0 auto;
}

.whatsapp-mockup__header {
  background: #075E54;
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

[data-theme="dark"] .whatsapp-mockup__header {
  background: #1F3B37;
}

.whatsapp-mockup__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.whatsapp-mockup__name {
  color: white;
  font-weight: 600;
  font-size: var(--text-sm);
}

.whatsapp-mockup__status {
  color: rgba(255, 255, 255, .7);
  font-size: var(--text-xs);
}

.whatsapp-mockup__body {
  padding: var(--space-4);
  background: var(--color-bg-secondary);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

[data-theme="dark"] .whatsapp-mockup__body {
  background: #0B141A;
}

.wa-msg {
  max-width: 85%;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  opacity: 0;
  transform: translateY(8px);
  animation: msg-appear .5s var(--ease) forwards;
}

.wa-msg--received {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  align-self: flex-start;
  border-bottom-left-radius: var(--radius-sm);
}

[data-theme="dark"] .wa-msg--received {
  background: #1F2C34;
  border-color: transparent;
}

.wa-msg--sent {
  background: #DCF8C6;
  align-self: flex-end;
  border-bottom-right-radius: var(--radius-sm);
  color: #111;
}

[data-theme="dark"] .wa-msg--sent {
  background: #005C4B;
  color: #E9EDEF;
}

.wa-msg__time {
  font-size: 10px;
  color: var(--color-text-tertiary);
  text-align: right;
  margin-top: var(--space-1);
}

[data-theme="dark"] .wa-msg--sent .wa-msg__time {
  color: rgba(255, 255, 255, .5);
}

.wa-msg:nth-child(1) {
  animation-delay: .3s;
}

.wa-msg:nth-child(2) {
  animation-delay: .8s;
}

.wa-msg:nth-child(3) {
  animation-delay: 1.4s;
}

.wa-msg:nth-child(4) {
  animation-delay: 2s;
}

.wa-msg:nth-child(5) {
  animation-delay: 2.6s;
}

.wa-msg:nth-child(6) {
  animation-delay: 3.2s;
}

@keyframes msg-appear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mini Dashboard */
.mini-dashboard {
  position: absolute;
  top: -10px;
  right: -20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  display: none;
}

.mini-dashboard__title {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-4);
}

.mini-dashboard__stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.mini-dashboard__stat:last-child {
  border-bottom: none;
}

.mini-dashboard__stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

.mini-dashboard__stat-value {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-primary);
}

.mini-dashboard__stat-value--green {
  color: var(--color-accent);
}

.mini-dashboard__stat-value--blue {
  color: var(--color-brand);
}

@media (min-width: 1024px) {
  .mini-dashboard {
    display: block;
    top: 10px;
    right: 0;
  }
}


/* ── Problem ───────────────────────────────────────────────── */
.problem {
  background: var(--color-bg);
}

.problem__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.problem__card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}

.problem__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-danger);
  opacity: .6;
}

.problem__stat {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-danger);
  margin-bottom: var(--space-3);
  letter-spacing: var(--tracking-tight);
}

.problem__card h3 {
  margin-bottom: var(--space-3);
}

@media (min-width: 768px) {
  .problem__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Consequence ───────────────────────────────────────────── */
.consequence {
  background: var(--color-bg-secondary);
}

.consequence__box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .consequence__box {
    padding: var(--space-10);
  }
}

.consequence__amount {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--color-danger);
  margin-bottom: var(--space-4);
  letter-spacing: var(--tracking-tight);
}

.consequence__desc {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

.consequence__breakdown {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.consequence__item {
  text-align: center;
}

.consequence__item-value {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text-primary);
}

.consequence__item-label {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  margin-top: var(--space-1);
}

/* ── Solution ──────────────────────────────────────────────── */
.solution {
  background: var(--color-bg);
}

.solution__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

.solution__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.solution__feature {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.solution__feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.solution__feature-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--color-text-primary);
}

.solution__feature-text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.flow-mockup {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
}

.flow-mockup__title {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-5);
}

.flow-step {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  border: 1px solid var(--color-border-subtle);
  transition: all .3s var(--ease);
}

.flow-step:hover {
  border-color: var(--color-brand);
  background: var(--color-brand-light);
}

.flow-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-brand);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  flex-shrink: 0;
}

.flow-step__text {
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  font-weight: 500;
}

.flow-step__arrow {
  display: flex;
  justify-content: center;
  padding: var(--space-1) 0;
  color: var(--color-text-tertiary);
}

@media (min-width: 1024px) {
  .solution__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── How It Works ──────────────────────────────────────────── */
.how-it-works {
  background: var(--color-bg-secondary);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  background: var(--color-brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  color: var(--color-brand);
  font-size: var(--text-2xl);
  font-weight: 800;
}

.step__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.step__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  max-width: 280px;
  margin: 0 auto;
}

.step__connector {
  display: none;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .step__connector {
    display: block;
    position: absolute;
    top: 32px;
    left: calc(50% + 48px);
    width: calc(100% - 96px);
    height: 2px;
    background: var(--color-border);
  }

  .step:last-child .step__connector {
    display: none;
  }
}

/* ── Comparison ────────────────────────────────────────────── */
.comparison {
  background: var(--color-bg);
}

.comparison__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison__table thead th {
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  text-align: left;
  border-bottom: 2px solid var(--color-border);
}

.comparison__table thead th:first-child,
.comparison__table thead th:nth-child(2) {
  color: var(--color-text-tertiary);
  background: var(--color-bg-secondary);
}

.comparison__table thead th:last-child {
  color: var(--color-brand);
  background: var(--color-brand-light);
}

.comparison__table tbody td {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text-secondary);
}

.comparison__table tbody tr:last-child td {
  border-bottom: none;
}

.comparison__table tbody td:first-child {
  font-weight: 600;
  color: var(--color-text-primary);
}

.comparison__table tbody td:last-child {
  color: var(--color-brand);
  font-weight: 600;
}

.comparison__mobile {
  display: block;
}

.comparison__desktop {
  display: none;
}

.comparison__mobile-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-4);
}

.comparison__mobile-card--airweb {
  border-color: var(--color-brand);
  background: var(--gradient-card);
}

.comparison__mobile-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.comparison__mobile-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.comparison__mobile-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.icon-wrapper {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-wrapper--red {
  background: rgba(239, 68, 68, .1);
  color: var(--color-danger);
}

.icon-wrapper--green {
  background: rgba(16, 185, 129, .1);
  color: var(--color-accent);
}

@media (min-width: 768px) {
  .comparison__mobile {
    display: none;
  }

  .comparison__desktop {
    display: block;
  }
}

/* ── Benefits ──────────────────────────────────────────────── */
.benefits {
  background: var(--color-bg-secondary);
}

/* ── Case Study ────────────────────────────────────────────── */
.case-study {
  background: var(--color-bg);
}

.case-study__wrapper {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.case-study__header {
  padding: var(--space-6) var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

.case-study__grid {
  display: grid;
  grid-template-columns: 1fr;
}

.case-study__col {
  padding: var(--space-8);
}

.case-study__col--before {
  background: rgba(239, 68, 68, .03);
  border-bottom: 1px solid var(--color-border);
}

.case-study__col--after {
  background: rgba(16, 185, 129, .03);
}

.case-study__col-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-5);
}

.case-study__col--before .case-study__col-label {
  color: var(--color-danger);
}

.case-study__col--after .case-study__col-label {
  color: var(--color-accent);
}

.case-study__metrics {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.case-study__metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.case-study__metric:last-child {
  border-bottom: none;
}

.case-study__metric-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.case-study__metric-value {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
}

@media (min-width: 768px) {
  .case-study__grid {
    grid-template-columns: 1fr 1fr;
  }

  .case-study__col--before {
    border-bottom: none;
    border-right: 1px solid var(--color-border);
  }
}

/* ── Investment ────────────────────────────────────────────── */
.investment {
  background: var(--color-bg-secondary);
}

.investment__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 800px;
  margin: 0 auto;
}

.investment__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-10) var(--space-8);
  transition: all .3s var(--ease);
}

.investment__card:hover {
  border-color: var(--color-text-tertiary);
  box-shadow: var(--shadow-md);
}

.investment__card-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-brand);
  margin-bottom: var(--space-4);
}

.investment__value {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-3);
}

.investment__suffix {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text-tertiary);
}

.investment__card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  line-height: var(--leading-normal);
}

.investment__includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.investment__includes li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.investment__includes svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.investment__anchor {
  text-align: center;
  margin-top: var(--space-10);
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  background: var(--gradient-card);
}

.investment__anchor-text {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: var(--leading-snug);
}

.investment__anchor-sub {
  font-weight: 400;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.investment__risk-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.investment__risk-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  justify-content: center;
}

.investment__risk-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.investment__cta {
  text-align: center;
  margin-top: var(--space-10);
}

@media (min-width: 768px) {
  .investment__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .investment__risk-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Infrastructure ────────────────────────────────────────── */
.infrastructure {
  background: var(--color-bg-secondary);
}

.infra-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.infra-card {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: all .3s var(--ease);
}

.infra-card:hover {
  border-color: var(--color-text-tertiary);
  box-shadow: var(--shadow-md);
}

.infra-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--color-brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  flex-shrink: 0;
}

.infra-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--color-text-primary);
}

.infra-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

@media (min-width: 768px) {
  .infra-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .infra-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Risk Reduction ────────────────────────────────────────── */
.risk-reduction {
  background: var(--color-bg);
}

.risk-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.risk-card {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.risk-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.risk-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.risk-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

@media (min-width: 768px) {
  .risk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .risk-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq {
  background: var(--color-bg-secondary);
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all .3s var(--ease);
}

.faq__item:hover {
  border-color: var(--color-text-tertiary);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  gap: var(--space-4);
  transition: color .15s var(--ease);
}

.faq__question:hover {
  color: var(--color-brand);
}

.faq__icon {
  width: 20px;
  height: 20px;
  color: var(--color-text-tertiary);
  flex-shrink: 0;
  transition: transform .3s var(--ease);
}

.faq__item.active .faq__icon {
  transform: rotate(45deg);
  color: var(--color-brand);
}

/* Use transform for animation instead of height */
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease);
}

.faq__item.active .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer-inner {
  overflow: hidden;
  padding: 0 var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
  transition: padding .3s var(--ease);
}

.faq__item.active .faq__answer-inner {
  padding: 0 var(--space-6) var(--space-5);
}

/* ── CTA Final ─────────────────────────────────────────────── */
.cta-final {
  background: var(--gradient-hero);
  text-align: center;
  padding: var(--space-20) 0;
}

@media (min-width: 768px) {
  .cta-final {
    padding: var(--space-24) 0;
  }
}

.cta-final__title {
  margin-bottom: var(--space-4);
}

.cta-final__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-final__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cta-final__note {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  margin-top: var(--space-4);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: var(--space-12) 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: center;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.footer__text {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  max-width: 400px;
}

.footer__links {
  display: flex;
  gap: var(--space-4);
  flex-wrap: nowrap;
  justify-content: center;
  white-space: nowrap;
}

.footer__links a {
  font-size: clamp(.75rem, 2.5vw, .875rem);
  color: var(--color-text-secondary);
}

.footer__links a:hover {
  color: var(--color-text-primary);
}

.footer__bottom-area {
  text-align: center;
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
}

.footer__copyright {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
}

.footer__legal {
  font-size: .625rem;
  color: var(--color-text-tertiary);
  opacity: .7;
  margin-top: var(--space-2);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer__brand {
    justify-content: flex-start;
  }

  .footer__links {
    gap: var(--space-6);
  }

  .footer__links a {
    font-size: var(--text-sm);
  }
}

/* ── Scroll Animations — consistent system ─────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 {
  transition-delay: .1s;
}

.animate-on-scroll.delay-2 {
  transition-delay: .2s;
}

.stagger-children>* {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.stagger-children.visible>*:nth-child(1) {
  transition-delay: .05s;
}

.stagger-children.visible>*:nth-child(2) {
  transition-delay: .1s;
}

.stagger-children.visible>*:nth-child(3) {
  transition-delay: .15s;
}

.stagger-children.visible>*:nth-child(4) {
  transition-delay: .2s;
}

.stagger-children.visible>*:nth-child(5) {
  transition-delay: .25s;
}

.stagger-children.visible>*:nth-child(6) {
  transition-delay: .3s;
}

.stagger-children.visible>* {
  opacity: 1;
  transform: translateY(0);
}

/* ── Utilities ─────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

@media print {

  .header,
  .mobile-nav,
  .theme-toggle,
  .mobile-toggle {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }
}