/* ============================================================
   BEEGEN — global.css
   Shared stylesheet for all pages
   ============================================================ */

/* ── IMPORT ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
@import 'tokens.css';

/* ── RESET & BASE ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  color: #1E293B;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
}

button {
  font-family: inherit;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── TYPOGRAPHY SCALE ────────────────────────────────────── */
h1 {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--navy, #00152E);
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy, #00152E);
}

h3 {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--navy, #00152E);
}

h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy, #00152E);
}

p {
  font-size: 17px;
  line-height: 1.7;
  color: #475569;
}

.label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
}

.lead {
  font-size: 20px;
  line-height: 1.65;
  color: #475569;
}

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-y, 96px) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .label {
  color: var(--teal, #02C39A);
  margin-bottom: 12px;
  display: block;
}

.section-header p {
  max-width: 560px;
  margin: 14px auto 0;
  font-size: 18px;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  padding: 14px 28px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Primary — teal with navy text per brand lock */
.btn-primary {
  background: var(--teal);
  color: var(--navy);
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  box-shadow: var(--shadow-teal);
}

/* Shimmer animation on primary */
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position: 200% center; }
}

/* Secondary */
.btn-secondary {
  background: var(--teal, #02C39A);
  color: #ffffff;
  border-color: var(--teal, #02C39A);
}

.btn-secondary:hover {
  background: var(--teal-dark, #01a882);
  border-color: var(--teal-dark, #01a882);
  box-shadow: var(--shadow-teal, 0 8px 24px rgba(2, 195, 154, 0.4));
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--navy, #00152E);
  border-color: var(--navy, #00152E);
}

.btn-outline:hover {
  background: var(--navy, #00152E);
  color: #ffffff;
}

/* Ghost */
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Sizes */
.btn-lg {
  padding: 17px 36px;
  font-size: 17px;
  border-radius: 12px;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

/* ── NAVIGATION (DESKTOP) ────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
  /* GPU compositing: prevents backdrop-filter from causing nav to disappear on scroll */
  transform: translateZ(0);
  will-change: transform;
}

.nav.scrolled {
  background: #ffffff;
  box-shadow: var(--shadow-sm, 0 1px 4px rgba(0, 0, 0, 0.08));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 72px;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 48px;
}

.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.nav.scrolled .nav-link {
  color: var(--navy, #00152E);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav.scrolled .nav-link:hover {
  background: var(--cloud, #F4F8FB);
  color: var(--teal, #02C39A);
}

.nav-link.active {
  color: var(--teal, #02C39A);
}

.nav-chevron {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg, 0 16px 40px rgba(0, 0, 0, 0.12));
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy, #00152E);
  border-radius: 8px;
  transition: background 0.15s ease;
  text-decoration: none;
}

.nav-dropdown-menu a:hover {
  background: var(--cloud, #F4F8FB);
  color: var(--teal, #02C39A);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* Lang Toggle — pill with EN / ES both visible */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.55);
  border-radius: var(--radius-pill, 100px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all .2s ease;
  text-transform: uppercase;
  font-family: inherit;
}
.lang-toggle:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.3);
}
.lang-toggle .lang-on  { color: #fff; }
.lang-toggle .lang-sep { color: rgba(255,255,255,.3); margin: 0 1px; }
.nav.scrolled .lang-toggle {
  background: var(--cloud);
  border-color: var(--mist);
  color: var(--gray-400);
}
.nav.scrolled .lang-toggle:hover {
  border-color: var(--teal);
}
.nav.scrolled .lang-toggle .lang-on { color: var(--teal); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
  color: white;
}

.nav.scrolled .hamburger {
  color: var(--navy, #00152E);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.22s ease;
}

/* ── MOBILE NAV OVERLAY ──────────────────────────────────── */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--navy, #00152E);
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-overlay.open {
  display: flex;
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.mobile-nav-logo {
  height: 30px;
  width: auto;
}

.mobile-nav-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.mobile-nav-close svg {
  width: 18px;
  height: 18px;
}

.mobile-nav-body {
  flex: 1;
  padding: 12px 0 20px;
}

.mobile-nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: background 0.15s ease;
  font-family: inherit;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-nav-chevron {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  fill: none;
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.mobile-nav-item.open .mobile-nav-chevron {
  transform: rotate(180deg);
}

.mobile-nav-sub {
  display: none;
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 0 8px;
}

.mobile-nav-item.open .mobile-nav-sub {
  display: block;
}

.mobile-nav-sub a {
  display: block;
  padding: 11px 24px 11px 40px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.mobile-nav-sub a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-footer {
  padding: 20px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.mobile-nav-footer .btn {
  width: 100%;
  padding: 14px;
  justify-content: center;
  font-size: 15px;
}

/* Mobile nav breakpoint */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav-right .btn {
    display: none;
  }

  .nav-links {
    display: none !important;
  }
}

/* ── PAGE HERO (SUBPAGES) ────────────────────────────────── */
.page-hero {
  min-height: 380px;
  background: var(--grad-hero, linear-gradient(135deg, #00152E 0%, #0D1B2A 100%));
  display: flex;
  align-items: center;
  padding: 120px 0 72px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(2, 195, 154, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(255, 220, 80, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero h1 {
  color: #ffffff;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.35);
}

/* ── TRUST BADGE STRIP ───────────────────────────────────── */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid rgba(0, 21, 46, 0.06);
  border-bottom: 1px solid rgba(0, 21, 46, 0.06);
  margin-top: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-600, #475569);
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--teal, #02C39A);
  flex-shrink: 0;
}

/* ── REVEAL ANIMATIONS ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── CTA BAND ────────────────────────────────────────────── */
.cta-band {
  background: var(--grad-hero, linear-gradient(135deg, #00152E 0%, #0D1B2A 100%));
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(2, 195, 154, 0.2) 0%, transparent 65%);
  pointer-events: none;
}

.cta-band h2 {
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 19px;
  max-width: 520px;
  margin: 0 auto 36px;
  position: relative;
}

.cta-band-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--dark, #0D1B2A);
  padding: 80px 0 32px;
}

.footer-top {
  background: rgba(2, 195, 154, 0.08);
  border-bottom: 1px solid rgba(2, 195, 154, 0.15);
  padding: 40px 0;
  margin-bottom: 0;
}

.footer-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-top-text h4 {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 6px;
}

.footer-top-text p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 56px;
  margin-bottom: 56px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  margin-top: 16px;
  max-width: 300px;
}

.footer-col h5 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--teal, #02C39A);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.6);
  transition: fill 0.2s ease;
}

.social-link:hover svg {
  fill: #ffffff;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-top .container {
    flex-direction: column;
    text-align: center;
  }
}

/* ── UTILITY CLASSES ─────────────────────────────────────── */
.text-teal   { color: var(--teal, #02C39A); }
.text-orange { color: var(--orange, #F37934); }
.text-white  { color: #ffffff; }
.text-navy   { color: var(--navy, #00152E); }
.text-muted  { color: var(--gray-600, #475569); }

.bg-cloud { background: var(--cloud, #F4F8FB); }
.bg-navy  { background: var(--navy, #00152E); }
.bg-dark  { background: var(--dark, #0D1B2A); }

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── STAT CARD ───────────────────────────────────────────── */
.stat-card {
  text-align: center;
  padding: 32px 24px;
}

.stat-num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  color: var(--teal, #02C39A);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 15px;
  color: var(--gray-600, #475569);
  margin-top: 8px;
}

/* ── FEATURE CARD ────────────────────────────────────────── */
.feature-card {
  background: #ffffff;
  border-radius: var(--radius-lg, 16px);
  padding: 32px;
  border: 1px solid var(--mist, #E2EAF0);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg, 0 16px 40px rgba(0, 0, 0, 0.1));
  border-color: rgba(2, 195, 154, 0.2);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(2, 195, 154, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal, #02C39A);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.65;
}

/* ── PRICING CARD ────────────────────────────────────────── */
.pricing-card {
  background: #ffffff;
  border-radius: var(--radius-xl, 20px);
  padding: 40px;
  border: 2px solid var(--mist, #E2EAF0);
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg, 0 16px 40px rgba(0, 0, 0, 0.1));
}

.pricing-card.featured {
  border-color: var(--teal, #02C39A);
  background: linear-gradient(180deg, rgba(2, 195, 154, 0.04) 0%, #ffffff 100%);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal, #02C39A);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal, #02C39A);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 16px 0;
}

.pricing-amount {
  font-size: 52px;
  font-weight: 800;
  color: var(--navy, #00152E);
  line-height: 1;
}

.pricing-period {
  font-size: 15px;
  color: var(--gray-600, #475569);
}

.pricing-desc {
  font-size: 15px;
  color: var(--gray-600, #475569);
  margin-bottom: 24px;
  line-height: 1.5;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-800, #1E293B);
}

.pricing-feature svg {
  width: 18px;
  height: 18px;
  color: var(--teal, #02C39A);
  flex-shrink: 0;
}

/* Currency code badge shown next to price amount */
.pricing-code {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--gray-400);
  align-self: center;
  background: var(--cloud);
  border: 1px solid var(--mist);
  padding: 2px 7px;
  border-radius: 6px;
}

/* Currency disclaimer below pricing grid */
.currency-note {
  text-align: center;
  margin-top: 32px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
}

/* ── TESTIMONIAL CARD ────────────────────────────────────── */
.test-card {
  background: #ffffff;
  border-radius: var(--radius-lg, 16px);
  padding: 32px;
  border: 1px solid var(--mist, #E2EAF0);
  box-shadow: var(--shadow-sm, 0 1px 4px rgba(0, 0, 0, 0.06));
}

.test-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.test-stars svg {
  width: 16px;
  height: 16px;
  fill: #F59E0B;
}

.test-quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-800, #1E293B);
  margin-bottom: 20px;
  font-style: italic;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.test-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal, #02C39A);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.test-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy, #00152E);
}

.test-role {
  font-size: 13px;
  color: var(--gray-600, #475569);
}

/* ── MARQUEE ─────────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── NAV DROPDOWN (shared tuning) ───────────────────────── */
.nav-dropdown-menu {
  padding: 8px;
  min-width: 232px;
}

/* ── FOOTER (5 columns: brand + modules + product + account + legal) ── */
.footer-grid-5 {
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
}

@media (max-width: 1000px) {
  .footer-grid-5 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-grid-5 {
    grid-template-columns: 1fr;
  }
}

/* ── STEPS (shared: home, landing pages) ─────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(33.333% - 20px);
  right: calc(33.333% - 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal) 0%, rgba(2,195,154,.3) 100%);
  pointer-events: none;
}

.step-card {
  text-align: center;
  padding: 40px 32px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--mist);
  transition: all .3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2,195,154,.2);
}

.step-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(2,195,154,.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 24px;
  font-weight: 800;
}

.step-card h3 { font-size: 22px; margin-bottom: 12px; }
.step-card p { font-size: 15px; color: #64748b; line-height: 1.65; }

@media (max-width: 960px) {
  .steps-grid::before { display: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ── MODULE CARDS ────────────────────────────────────────── */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.module-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--mist);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: all .3s ease;
}

.module-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2,195,154,.2);
}

.module-card.featured {
  border-color: var(--teal);
  background: linear-gradient(180deg, rgba(2,195,154,.04) 0%, #ffffff 100%);
}

.module-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.module-head .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 0;
}

.module-head .feature-icon svg { width: 22px; height: 22px; }

.module-status {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.module-status.live { background: rgba(2,195,154,.12); color: var(--teal-dark); }
.module-status.soon { background: rgba(243,121,52,.12); color: var(--orange); }

.module-card h3 { font-size: 20px; }
.module-card p { font-size: 15px; line-height: 1.6; }

.module-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.module-amount {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.module-unit {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
}

.module-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-800);
}

.module-meta li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }

.module-meta svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.module-card .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.module-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  text-align: center;
  display: block;
}

.module-link:hover { color: var(--teal-dark); }

@media (max-width: 960px) {
  .module-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .module-grid { grid-template-columns: 1fr; }
}

/* ── CRM TIMELINE CARD (hero mockup on landing pages) ────── */
.timeline-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--mist);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

.timeline-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--mist);
  background: var(--cloud);
}

.timeline-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-teal);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timeline-head h4 { font-size: 15px; margin: 0; line-height: 1.2; }
.timeline-head span { font-size: 12px; color: var(--gray-600); display: block; }

.timeline-stage {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(2,195,154,.12);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.timeline-body {
  padding: 6px 20px 14px;
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

.timeline-item:last-child { border-bottom: none; }
.timeline-item.dim { opacity: .45; }

.timeline-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(2,195,154,.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timeline-icon.wa { background: rgba(37,211,102,.14); color: #1da851; }
.timeline-icon.orange { background: rgba(243,121,52,.12); color: var(--orange); }
.timeline-icon.navy { background: rgba(0,21,46,.08); color: var(--navy); }
.timeline-icon svg { width: 16px; height: 16px; }

.timeline-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--gray-800);
  flex: 1;
  min-width: 0;
}

.timeline-text strong { color: var(--navy); font-weight: 700; }

.timeline-time {
  font-size: 11px;
  color: var(--gray-400);
  white-space: nowrap;
  padding-top: 2px;
}

/* ── LANDING HERO (page-hero + two columns) ──────────────── */
.lp-hero {
  min-height: 0;
  padding: 136px 0 80px;
}

.lp-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2,195,154,.15);
  border: 1px solid rgba(2,195,154,.3);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.lp-eyebrow svg { width: 14px; height: 14px; }

.lp-eyebrow.soon {
  background: rgba(243,121,52,.15);
  border-color: rgba(243,121,52,.35);
  color: var(--orange-light);
}

.lp-hero h1 {
  font-size: clamp(34px, 4vw, 54px);
  margin-bottom: 20px;
}

.lp-hero .lp-hero-sub { margin-bottom: 32px; }

.lp-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}

.lp-hero .lp-hero-note {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin: 0;
}

@media (max-width: 900px) {
  .lp-hero { padding: 112px 0 64px; }
  .lp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ── SINGLE PRICE CARD (landing pages) ───────────────────── */
.price-single {
  max-width: 560px;
  margin: 0 auto;
}

.price-single .pricing-features { margin-bottom: 24px; }

.price-bundle-note {
  font-size: 14px;
  color: var(--gray-600);
  text-align: center;
  margin-top: 20px;
  line-height: 1.6;
}

.price-bundle-note a { color: var(--teal); font-weight: 700; }

/* ── FAQ (shared) ────────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.faq-item { border-bottom: 1px solid var(--mist); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
  transition: color .2s ease;
}

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

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(2,195,154,.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s ease, background .2s ease;
}

.faq-icon svg { width: 12px; height: 12px; stroke: currentColor; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--teal); color: #ffffff; }

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

.faq-item.open .faq-answer {
  max-height: 600px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
}

/* Wide "core" module card (CRM) spanning the module grid */
.module-card.module-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  align-items: center;
  gap: 24px 40px;
}

.module-wide .module-head { margin-bottom: 14px; }
.module-wide h3 { margin-bottom: 8px; }
.module-wide .module-wide-cta { display: flex; flex-direction: column; gap: 12px; min-width: 240px; }
.module-wide .module-wide-cta .btn { margin-top: 4px; }

@media (max-width: 960px) {
  .module-card.module-wide { grid-template-columns: 1fr; }
  .module-wide .module-wide-cta { min-width: 0; }
}
