/* =========================================================
   RevApex AI — gorevapex.com landing page
   Dark navy hero / light content / dark CTA pattern
   ========================================================= */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* WhatsApp green — used ONLY inside chat bubbles & WA mark */
:root {
  --wa-green: #25D366;
  --wa-green-dark: #128C7E;
  --wa-bg: #ECE5DD;
  --wa-bubble-sent: #DCF8C6;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============== NAV ============== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  background: rgba(15, 30, 58, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--dur-base) var(--ease-out);
}
.nav.scrolled {
  background: rgba(15, 30, 58, 0.95);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  color: white;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.nav__brand-mark {
  width: 28px; height: 28px;
  display: grid; place-items: center;
}
.nav__brand-mark svg { width: 100%; height: 100%; }
.nav__brand .ai { color: var(--brand-blue); margin-left: 2px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--dur-fast) var(--ease-out);
}
.nav__link:hover {
  color: white;
  background: rgba(255,255,255,0.06);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__cta-secondary {
  color: white;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
}
.nav__cta-secondary:hover { opacity: 0.8; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  transition: all var(--dur-base) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--brand-blue);
  color: white;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--brand-blue-600);
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(44,102,245,0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost-light {
  background: rgba(255,255,255,0.06);
  color: white;
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
}
.btn-outline-dark {
  background: transparent;
  color: var(--brand-navy);
  border: 1.5px solid var(--brand-navy);
}
.btn-outline-dark:hover { background: var(--brand-navy); color: white; }

.btn-wa {
  background: var(--wa-green);
  color: white;
}
.btn-wa:hover { background: var(--wa-green-dark); }

.btn-sm { font-size: 14px; padding: 10px 18px; }

.nav__hamburger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  color: white;
}

/* ============== HERO ============== */
.hero {
  position: relative;
  background: var(--brand-navy);
  color: white;
  padding: 160px 0 40px;
  overflow: hidden;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__glow::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 800px; height: 800px;
  background: radial-gradient(circle at 30% 30%, rgba(44,102,245,0.4), transparent 60%);
  filter: blur(80px);
}
.hero__glow::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37,211,102,0.15), transparent 60%);
  filter: blur(100px);
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}
.hero__badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--wa-green);
  color: white;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: white;
  margin: 0 0 24px;
}
.hero__title .accent {
  background: linear-gradient(135deg, #5B8FFF 0%, #2C66F5 50%, #7DA2FB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.hero__title .underline {
  position: relative;
  white-space: nowrap;
}
.hero__title .underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 4px;
  background: var(--wa-green);
  border-radius: 2px;
}

.hero__sub {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin: 0 0 36px;
  font-weight: 400;
}
.hero__sub strong { color: white; font-weight: 600; }

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__trust-item svg { color: var(--wa-green); }

/* Hero phone visual */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
}

/* ============== SOCIAL PROOF MARQUEE ============== */
.marquee {
  background: var(--brand-navy);
  padding: 0 0 80px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}
.marquee__label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 28px;
  padding-top: 35px;
  font-weight: 600;
}
.marquee__track {
  display: flex;
  gap: 64px;
  align-items: center;
  flex-wrap: nowrap;
  opacity: 0.7;
  width: 100%;
  animation: scrollLogos 40s linear infinite;
}
.marquee__logo {
  font-family: var(--font-display);
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  font-size: 22px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============== SECTION BASE ============== */
.section {
  padding: 120px 0;
  position: relative;
}
.section--dark {
  background: var(--brand-navy);
  color: white;
}
.section--tint {
  background: var(--bg);
}

.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 72px;
}
.section__head--left { text-align: left; margin-left: 0; }

.eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: var(--brand-blue-100);
  margin-bottom: 20px;
}
.section--dark .eyebrow-chip {
  background: rgba(44,102,245,0.15);
  color: #7DA2FB;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--brand-navy);
  margin: 0 0 20px;
}
.section--dark .section__title { color: white; }
.section__title .accent { color: var(--brand-blue); }
.section__title .strike { text-decoration: line-through; text-decoration-color: var(--danger); text-decoration-thickness: 3px; opacity: 0.7; }

.section__sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted-strong);
  max-width: 640px;
  margin: 0 auto;
}
.section--dark .section__sub { color: rgba(255,255,255,0.72); }
.section__head--left .section__sub { margin: 0; }

/* ============== PAIN SECTION ============== */
.pain {
  background: var(--bg);
  padding: 120px 0;
}
.pain__top {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
}
.pain__cost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(224,65,58,0.08);
  color: var(--danger);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.pain__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
.pain__card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 28px 28px 32px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all var(--dur-base) var(--ease-out);
  overflow: hidden;
}
.pain__card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--danger);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.pain__card:hover {
  border-color: rgba(224,65,58,0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.pain__card:hover::before { opacity: 1; }
.pain__card-icon {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(224,65,58,0.08);
  color: var(--danger);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pain__card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-navy);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.pain__card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted-strong);
  line-height: 1.5;
}

.pain__cost-card {
  margin-top: 56px;
  background: var(--brand-navy);
  color: white;
  border-radius: var(--r-2xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
.pain__cost-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at right, rgba(44,102,245,0.25), transparent 60%);
  pointer-events: none;
}
.pain__cost-card > * { position: relative; z-index: 1; }
.pain__cost-card .label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7DA2FB;
  font-weight: 600;
  margin-bottom: 8px;
}
.pain__cost-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.15;
}
.pain__cost-card p {
  margin: 0;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 480px;
}
.pain__cost-stat {
  text-align: right;
}
.pain__cost-stat .num {
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #FFF 0%, #7DA2FB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pain__cost-stat .unit {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ============== SOLUTION DIVIDER ============== */
.solution-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0;
  background: var(--bg);
}
.solution-arrow__line {
  width: 1px; height: 80px;
  background: linear-gradient(to bottom, transparent, var(--brand-blue));
}
.solution-arrow__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(44,102,245,0.5); }
  50% { box-shadow: 0 0 0 16px rgba(44,102,245,0); }
}

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

/* ============== HOW IT WORKS ============== */
.how {
  background: white;
  padding: 120px 0;
}
.how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.how__step {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  transition: all var(--dur-base) var(--ease-out);
}
.how__step:hover {
  border-color: var(--brand-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.how__step-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.how__step-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-blue-50);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.how__step h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-navy);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.how__step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted-strong);
  line-height: 1.55;
}

/* ============== FEATURES ============== */
.features {
  background: var(--brand-navy);
  color: white;
  padding: 120px 0;
}
.features__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 720px;
}
.features__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.features__card:hover {
  border-color: rgba(44,102,245,0.5);
  transform: translateY(-4px);
}
.features__card--lg {
  grid-row: span 2;
  background:
    radial-gradient(circle at 80% 0%, rgba(44,102,245,0.2), transparent 50%),
    rgba(255,255,255,0.04);
}
.features__card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(44,102,245,0.18);
  color: #7DA2FB;
  display: grid;
  place-items: center;
}
.features__card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: white;
  margin: 0;
  letter-spacing: -0.01em;
}
.features__card--lg h3 { font-size: 28px; }
.features__card p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}
.features__card--lg p { font-size: 16px; }
.features__card-spacer { flex: 1; }
.features__card-mock {
  margin-top: auto;
  border-radius: 12px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

/* mini chat preview inside feature card */
.mini-chat {
  display: flex; flex-direction: column; gap: 8px;
}
.mini-chat__bubble {
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  max-width: 80%;
}
.mini-chat__bubble--in {
  background: rgba(255,255,255,0.08);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.mini-chat__bubble--out {
  background: var(--brand-blue);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* mini analytics chart */
.mini-chart {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 80px;
  margin-top: auto;
  padding-top: 12px;
}
.mini-chart__bar {
  flex: 1;
  background: linear-gradient(to top, var(--brand-blue), #7DA2FB);
  border-radius: 3px;
  opacity: 0.85;
  transition: opacity var(--dur-fast) ease;
}
.mini-chart__bar:hover { opacity: 1; }

/* integrations strip inside feature card */
.mini-integrations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}
.mini-integrations__item {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-display);
}

/* ============== METRICS ============== */
.metrics {
  background: white;
  padding: 100px 0;
}
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}
.metrics__cell {
  padding: 28px 4px;
  border-top: 2px solid var(--brand-navy);
}
.metrics__num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--brand-navy);
  line-height: 1;
  margin-bottom: 12px;
}
.metrics__num .unit {
  font-size: 0.5em;
  color: var(--brand-blue);
  font-weight: 600;
  margin-left: 4px;
}
.metrics__label {
  font-size: 14px;
  color: var(--muted-strong);
  line-height: 1.5;
  font-weight: 500;
  max-width: 220px;
}

/* ============== USE CASES ============== */
.usecases {
  background: var(--bg);
  padding: 120px 0;
}
.usecases__tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.usecases__tab {
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: white;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-strong);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.usecases__tab:hover {
  border-color: var(--brand-blue);
  color: var(--brand-navy);
}
.usecases__tab.active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: white;
}

.usecases__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 48px;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.usecases__panel-content h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.usecases__panel-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-strong);
  margin: 0 0 24px;
}
.usecases__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}
.usecases__bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--brand-navy);
  font-weight: 500;
}
.usecases__bullets svg {
  flex-shrink: 0;
  color: var(--wa-green);
  margin-top: 2px;
}
.usecases__bullets strong { font-weight: 600; }

.usecases__results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.usecases__results .num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
}
.usecases__results .lbl {
  font-size: 12px;
  color: var(--muted-strong);
  margin-top: 4px;
}

/* ============== INTEGRATIONS GRID ============== */
.integrations {
  background: white;
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.integrations__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}
.integrations__cell {
  aspect-ratio: 1;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  transition: all var(--dur-base) var(--ease-out);
  cursor: pointer;
}
.integrations__cell:hover {
  border-color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.integrations__cell .name {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted-strong);
  text-align: center;
}
.integrations__cell .logo {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  border-radius: 8px;
  color: white;
}

/* ============== TESTIMONIALS ============== */
.testimonials {
  background: var(--bg);
  padding: 120px 0;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all var(--dur-base) var(--ease-out);
}
.testimonial:hover {
  border-color: var(--brand-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial__stars {
  display: flex; gap: 2px; color: #F59E0B;
}
.testimonial__quote {
  font-size: 17px;
  line-height: 1.55;
  color: var(--brand-navy);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.testimonial__person {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: white;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.testimonial__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--brand-navy);
}
.testimonial__title {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.testimonial__metric {
  margin-left: auto;
  text-align: right;
}
.testimonial__metric .n {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
}
.testimonial__metric .l {
  font-size: 11px;
  color: var(--muted);
}

/* ============== PRICING (lite) ============== */
.pricing {
  background: white;
  padding: 120px 0;
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing__card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: all var(--dur-base) var(--ease-out);
}
.pricing__card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pricing__card--featured {
  background: var(--brand-navy);
  color: white;
  border-color: var(--brand-navy);
  transform: scale(1.02);
}
.pricing__card--featured:hover { transform: scale(1.02) translateY(-4px); }
.pricing__card--featured h3 { color: white; }
.pricing__card--featured .pricing__price { color: white; }
.pricing__card--featured .pricing__feat li { color: rgba(255,255,255,0.85); }
.pricing__card--featured .pricing__feat svg { color: var(--wa-green); }

.pricing__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--brand-blue);
  color: white;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pricing__card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-navy);
  margin: 0;
  letter-spacing: -0.01em;
}
.pricing__price {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-navy);
  line-height: 1;
}
.pricing__price .pre { font-size: 20px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.pricing__price .suf { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.pricing__feat {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.pricing__feat li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px;
  color: var(--brand-navy);
}
.pricing__feat svg {
  color: var(--brand-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============== FAQ ============== */
.faq {
  background: var(--bg);
  padding: 120px 0;
}
.faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq__item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all var(--dur-base) var(--ease-out);
}
.faq__item[open] {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
}
.faq__q {
  padding: 22px 28px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  letter-spacing: -0.01em;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-blue-100);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  transition: transform var(--dur-base) var(--ease-out);
}
.faq__item[open] .faq__q-icon { transform: rotate(45deg); }
.faq__a {
  padding: 0 28px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-strong);
}

/* ============== FINAL CTA ============== */
.cta {
  background: var(--brand-navy);
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(44,102,245,0.3), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(37,211,102,0.15), transparent 60%);
  z-index: -1;
}
.cta__inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 700;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 20px;
}
.cta__title .accent { color: var(--brand-blue); }
.cta__sub {
  font-size: 19px;
  color: rgba(255,255,255,0.72);
  margin: 0 0 36px;
  line-height: 1.55;
}
.cta__ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cta__trust {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.cta__trust span { display: inline-flex; align-items: center; gap: 6px; }
.cta__trust svg { color: var(--wa-green); }

/* ============== FOOTER ============== */
.footer {
  background: var(--brand-navy-900);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  color: white;
  font-size: 20px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.footer__brand .ai { color: var(--brand-blue); margin-left: 4px; }
.footer__about {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  margin: 0 0 24px;
  max-width: 320px;
}
.footer__contact {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer__contact a { color: rgba(255,255,255,0.85); }
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer__col ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.footer__col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--dur-fast) ease;
}
.footer__col a:hover { color: white; }

.footer__bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 16px;
}
.footer__legal { display: flex; gap: 24px; }

/* ============== FLOATING WHATSAPP ============== */
.fab-wa {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--wa-green);
  color: white;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
  cursor: pointer;
  z-index: 50;
  transition: all var(--dur-base) var(--ease-out);
}
.fab-wa:hover { transform: scale(1.08); }
.fab-wa::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--wa-green);
  opacity: 0;
  animation: fabPing 2s ease-out infinite;
}
@keyframes fabPing {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.4); }
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { min-height: 540px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; min-height: 0; }
  .features__card--lg { grid-column: span 2; grid-row: auto; }
  .how__grid { grid-template-columns: repeat(2, 1fr); }
  .pain__grid { grid-template-columns: 1fr; }
  .pain__cost-card { grid-template-columns: 1fr; gap: 24px; }
  .pain__cost-stat { text-align: left; }
  .usecases__panel { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .pricing__card--featured { transform: none; }
  .integrations__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav__links { display: none; }
  .nav__cta-secondary { display: none; }
  .nav__hamburger { display: flex; }
  .hero { padding: 130px 0 80px; }
  .hero__title { font-size: 42px; }
  .hero__sub { font-size: 16px; }
  .section { padding: 80px 0; }
  .pain, .how, .features, .metrics, .usecases, .integrations, .testimonials, .pricing, .faq, .cta {
    padding: 80px 0;
  }
  .section__head { margin-bottom: 48px; }
  .section__title { font-size: 32px; }
  .pain__cost-card { padding: 32px; }
  .pain__cost-stat .num { font-size: 64px; }
  .features__grid { grid-template-columns: 1fr; }
  .features__card--lg { grid-column: auto; }
  .how__grid { grid-template-columns: 1fr; }
  .metrics__grid { grid-template-columns: 1fr 1fr; }
  .integrations__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 36px; }
  .pain__cost-stat .num { font-size: 48px; }
  .integrations__grid { grid-template-columns: repeat(2, 1fr); }
  .metrics__grid { grid-template-columns: 1fr; }
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
