/* ============================================================
   ARTU.AI — Main Stylesheet
   ============================================================ */

/* ---- Variables ---- */
:root {
  --mint:        #0ad6ac;
  --mint-dark:   #09c09a;
  --navy:        #0b4147;
  --navy-mid:    #2545ba;
  --teal:        #0ad6ac;        /* keeps backward compat */
  --teal-dark:   #09c09a;
  --text:        #3d4a55;
  --text-light:  #7a8a99;
  --bg:          #ffffff;
  --bg-off:      #F6F7FA;
  --border:      #e6eaef;
  --font:        'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Gradient – mint → dark teal (brand primary gradient #1) */
  --grad: linear-gradient(135deg, #0ad6ac 0%, #0b4147 100%);
  --grad-hover: linear-gradient(135deg, #09c09a 0%, #092f34 100%);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 50% at -5% 0%,  rgba(10,214,172,0.09) 0%, rgba(10,214,172,0) 55%),
    radial-gradient(ellipse 65% 40% at 105% 18%, rgba(37,69,186,0.06) 0%, rgba(37,69,186,0) 50%),
    radial-gradient(ellipse 80% 38% at 18% 100%, rgba(10,214,172,0.06) 0%, rgba(10,214,172,0) 55%),
    radial-gradient(ellipse 50% 30% at 100% 85%,  rgba(255,129,48,0.07) 0%, rgba(255,129,48,0) 60%),
    #fbfbfb;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img, video { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- Container ---- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}
.text-center { text-align: center; }
.teal  { color: var(--mint); }
.navy  { color: var(--navy); }

/* ---- Logo image ---- */
.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-img  { height: 36px; width: auto; display: block; object-fit: contain; }
.footer-logo-img { height: 28px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 24px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.22s ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 20px rgba(10,214,172,0.28);
}
.btn-primary:hover {
  background: var(--grad-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(10,214,172,0.38);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(11,65,71,0.2);
}
.btn-ghost:hover {
  border-color: var(--mint);
  color: var(--navy);
  background: rgba(10,214,172,0.05);
}
.btn-lg {
  padding: 14px 34px;
  font-size: 15px;
  border-radius: 12px;
}

/* ---- Section typography ---- */
.section-title {
  font-size: 44px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.13;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.section-body {
  font-size: 16px;
  color: var(--text);
  line-height: 1.78;
  max-width: 600px;
  margin: 0 auto 40px;
}
.section-body.wide { max-width: 780px; }

.badge {
  display: inline-block;
  padding: 7px 18px;
  border: 1.5px solid #dde;
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 28px;
  background: rgba(19,245,176,0.05);
}

/* ---- Orbs ---- */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   HEADER — floating pill
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 14px 24px;
  pointer-events: none;
}

.nav-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 48px;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(19,245,176,0.18);
  box-shadow: 0 4px 20px rgba(7,27,91,0.07), 0 1px 3px rgba(7,27,91,0.04);
  pointer-events: all;
}

/* Logo link in nav */
.nav-wrapper > .logo-link { flex-shrink: 0; }

/* Nav */
.nav { flex: 1; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: #444;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.nav-link:hover { background: #f0f8ff; color: var(--navy); }
.has-dropdown > .nav-link.active { color: var(--navy); }

.chevron-icon {
  opacity: 0.45;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.has-dropdown:hover .chevron-icon,
.has-dropdown.open .chevron-icon { transform: rotate(180deg); }

/* ---- Dropdown — redesigned ---- */
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border: 1px solid #eef0f8;
  border-radius: 16px;
  padding: 8px;
  min-width: 240px;
  box-shadow:
    0 4px 6px -1px rgba(7,27,91,0.06),
    0 16px 48px -8px rgba(7,27,91,0.14);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 300;
}

.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.14s;
  color: var(--navy);
}
.dropdown-item:hover {
  background: linear-gradient(135deg, rgba(19,245,176,0.08), rgba(7,27,91,0.04));
}
.dropdown-item:hover .dropdown-icon { color: var(--mint); }

.dropdown-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f6fc;
  border-radius: 8px;
  color: #7080a0;
  flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
}
.dropdown-item:hover .dropdown-icon {
  background: rgba(19,245,176,0.12);
}

.dropdown-text { display: flex; flex-direction: column; gap: 1px; }
.dropdown-text strong { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.dropdown-text small  { font-size: 12px; color: var(--text-light); font-weight: 400; }

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #555;
  border-radius: 2px;
  transition: all 0.28s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(180deg, #fbfbfb 0%, #fbfbfb 50%, rgba(251,251,251,0.6) 80%, rgba(251,251,251,0) 100%);
  padding: 116px 0 60px;
  overflow: hidden;
  position: relative;
}

/* Subtle gradient glow behind hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(19,245,176,0.10) 0%, rgba(19,245,176,0) 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-text { max-width: 560px; }

.hero-title {
  font-size: 60px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 26px;
}
/* "México." with gradient text */
.hero-title .teal {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-body {
  font-size: 16.5px;
  color: var(--text);
  line-height: 1.78;
  margin-bottom: 38px;
  max-width: 460px;
}

/* Hero video — free-floating blob, no container */
.hero-visual { flex-shrink: 0; }
.hero-video {
  width: 420px;
  height: 420px;
  object-fit: cover;
  border-radius: 0;
  display: block;
  background: transparent;
  mix-blend-mode: multiply;
}

/* ============================================================
   CLIENT LOGOS — infinite marquee
   ============================================================ */
.clients {
  padding: 24px 0 60px;
  background: transparent;
  overflow: hidden;
}

.clients-label {
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 28px;
}

/* Fade masks on left + right — alpha-only so they work on any background */
.clients-marquee-wrap {
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  padding: 10px 0;
  animation: marquee 55s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

.client-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 36px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(19,245,176,0.18);
  border-radius: 16px;
  box-shadow:
    0 2px 12px rgba(7,27,91,0.06),
    0 1px 3px rgba(7,27,91,0.04);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.client-logo:hover {
  box-shadow:
    0 6px 24px rgba(7,27,91,0.10),
    0 1px 4px rgba(7,27,91,0.06);
  transform: translateY(-2px);
  border-color: rgba(19,245,176,0.38);
}

.client-logo img {
  height: 58px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  opacity: 0.9;
  transition: opacity 0.25s;
}
.client-logo:hover img {
  opacity: 1;
}

/* ============================================================
   PLD COMPLETE SECTION
   ============================================================ */
.pld-section {
  padding: 110px 0 80px;
  background: transparent;
  position: relative;
  overflow: hidden;
}
.orb-pld-left {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #0ad6ac, #2545ba, #0b4147);
  filter: blur(80px);
  opacity: 0.18;
  top: 0; left: -100px;
}
.orb-pld-right {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #ff8130, #ffb060);
  filter: blur(90px);
  opacity: 0.10;
  top: -80px; right: -120px;
}

/* Product video */
.video-wrapper {
  position: relative;
  margin-top: 52px;
  border-radius: 16px;
  overflow: hidden;
}
.video-bg-gradient { display: none; }
.product-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  box-shadow: 0 16px 50px rgba(7,27,91,0.18);
  background: #0a0a14;
  display: block;
  border: none;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 80px 0 88px;
  background: transparent;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-right: 1px solid #f0f0f8;
  transition: background 0.2s;
}
.feature-card:last-child { border-right: none; }
.feature-card:hover { background: #f8f8fd; }

.feature-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(19,245,176,0.15), rgba(7,27,91,0.06));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--navy);
}
.feature-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.feature-body {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.72;
}

/* ============================================================
   NUESTROS PRODUCTO
   ============================================================ */
.product-section {
  padding: 110px 0 100px;
  background: linear-gradient(180deg, rgba(19,245,176,0) 0%, rgba(19,245,176,0.05) 18%, rgba(10,159,212,0.04) 65%, rgba(10,159,212,0) 100%);
  position: relative;
  overflow: hidden;
}
.orb-product-bl {
  width: 280px; height: 280px;
  background: radial-gradient(circle, #0b4147, #2545ba, #0ad6ac);
  filter: blur(80px);
  opacity: 0.14;
  bottom: 5%; left: -80px;
}

/* ---- 3-Step Process ---- */
.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 48px 0 0;
  flex-wrap: wrap;
}

.step-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  width: 280px;
  text-align: left;
  box-shadow: 0 4px 24px rgba(7,27,91,0.06);
  transition: transform 0.22s, box-shadow 0.22s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(7,27,91,0.12);
}
.step-card-featured {
  background: var(--navy);
  border-color: var(--navy);
}
.step-card-featured .step-title { color: #fff; }
.step-card-featured .step-body  { color: rgba(255,255,255,0.65); }
.step-card-featured .step-number {
  background: rgba(19,245,176,0.15);
  color: var(--mint);
}
.step-card-featured .step-icon { color: var(--mint); }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(19,245,176,0.12);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}
.step-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(19,245,176,0.1);
  border-radius: 12px;
  color: var(--navy);
  margin-bottom: 20px;
}
.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.step-body {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.step-connector {
  padding: 0 8px;
  margin-bottom: 60px; /* align with card center */
  flex-shrink: 0;
}

.steps-cta {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.steps-cta-note {
  font-size: 14px;
  color: var(--text-light);
}
.steps-cta-note strong { color: var(--navy); }

/* Flow Diagram */
.flow-diagram {
  border: 1.5px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  text-align: left;
  box-shadow: 0 4px 24px rgba(7,27,91,0.06);
}
.flow-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.flow-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: #fff;
  border: 1.5px solid #dde;
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--font);
  color: #555;
  cursor: pointer;
  transition: all 0.15s;
}
.flow-add-btn:hover { border-color: var(--mint); color: var(--navy); }
.flow-grid-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1.5px solid #dde;
  border-radius: 7px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.flow-grid-btn:hover { border-color: var(--mint); }
.flow-hint {
  text-align: center;
  font-size: 13px;
  color: #aab;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}
.flow-canvas {
  display: flex;
  align-items: flex-start;
  padding: 32px 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.flow-node {
  background: #fff;
  border: 1.5px solid #e4e6f4;
  border-radius: 12px;
  flex-shrink: 0;
  width: 200px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(7,27,91,0.07);
}
.flow-node-highlighted { border-color: #2545ba; border-width: 2px; }
.node-header {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #f7f8fc, #f0f2fa);
  border-bottom: 1px solid #eef0f8;
  font-size: 11.5px; font-weight: 600; color: var(--navy);
}
.node-body { padding: 8px 12px 10px; }
.node-field-label { font-size: 11px; color: #aab; padding: 3px 0 1px; }
.node-field-row {
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 3px; position: relative;
}
.node-chip {
  background: linear-gradient(90deg, #0ad6ac, #2545ba);
  color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-block;
}
.node-chip.full { flex: 1; text-align: center; }
.node-chip.chip-dark { background: var(--navy); }
.node-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #f0f2fa;
  border: 2px solid #c8cce8;
  flex-shrink: 0;
}
.node-dot.left  { margin-left: -18px; }
.node-dot.right { margin-left: auto; margin-right: -18px; }
.flow-line {
  flex-shrink: 0; width: 32px; height: 2px;
  background: #dde; margin-top: 44px; position: relative;
}
.flow-line::before, .flow-line::after {
  content: ''; position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px;
  border-radius: 50%; background: #ccd;
}
.flow-line::before { left: -1px; }
.flow-line::after  { right: -1px; }
.node-code-block {
  background: #0d1036;
  color: #0ad6ac;
  font-family: 'Courier New', Courier, monospace;
  font-size: 9.5px; line-height: 1.65;
  padding: 10px; border-radius: 8px;
  margin: 4px 0; overflow-x: auto; word-break: break-all;
}

/* ============================================================
   TRUSTED SECTION
   ============================================================ */
.trusted-section {
  padding: 100px 0;
  background: transparent;
}
.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 52px;
}
.trusted-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 96px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(19,245,176,0.18);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(7,27,91,0.06), 0 1px 3px rgba(7,27,91,0.04);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.trusted-logo-item:hover {
  box-shadow: 0 6px 24px rgba(7,27,91,0.10), 0 1px 4px rgba(7,27,91,0.06);
  transform: translateY(-2px);
  border-color: rgba(19,245,176,0.38);
}
.partner-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.partner-logo:hover { opacity: 1; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(180deg, rgba(19,245,176,0) 0%, rgba(19,245,176,0.07) 25%, rgba(10,159,212,0.05) 70%, rgba(10,159,212,0) 100%);
  position: relative;
  overflow: hidden;
}
.orb-cta {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(19,245,176,0.35) 0%, rgba(10,159,212,0.2) 50%, rgba(10,159,212,0) 70%);
  filter: blur(40px);
  bottom: 0; left: 0;
}
.cta-title {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 18px;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  padding: 64px 0 28px;
  color: rgba(255,255,255,0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 60px;
  align-items: start;
  margin-bottom: 44px;
}
.footer-logo-link { display: block; margin-bottom: 14px; }
/* Invert logo in dark footer */
.footer-logo-img { filter: brightness(0) invert(1); height: 28px; }
.footer-tagline {
  font-size: 13.5px;
  color: rgba(255,255,255,0.45);
  max-width: 220px;
  line-height: 1.65;
}
.footer-links-group { display: flex; gap: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-col a:hover { color: var(--mint); }

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}
.footer-contact-row svg { flex-shrink: 0; margin-top: 2px; opacity: 0.5; }
.footer-contact-row:hover { color: var(--mint); }
.footer-address { cursor: default; }
.footer-address:hover { color: rgba(255,255,255,0.6); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  font-size: 13px;
  color: rgba(255,255,255,0.28);
  text-align: center;
}

/* ============================================================
   SCROLL REVEAL (set by JS)
   ============================================================ */
.revealed { opacity: 1 !important; transform: translateY(0) !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-title  { font-size: 48px; }
  .section-title { font-size: 38px; }
  .cta-title   { font-size: 44px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { border-right: none; border-bottom: 1px solid #f0f0f8; }
  .feature-card:nth-child(odd) { border-right: 1px solid #f0f0f8; }
  .feature-card:nth-last-child(-n+2) { border-bottom: none; }
  .hero-video  { width: 260px; height: 260px; }
}

@media (max-width: 768px) {
  .nav, .header-actions { display: none; }
  .hamburger { display: flex; }

  /* Mobile menu drops below the floating pill */
  .nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: 82px; left: 12px; right: 12px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 14px;
    border: 1px solid rgba(19,245,176,0.15);
    box-shadow: 0 8px 32px rgba(7,27,91,0.12);
    padding: 12px;
    z-index: 199;
  }
  .nav.open .nav-list { flex-direction: column; align-items: flex-start; gap: 2px; }
  .nav.open .dropdown {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none;
    background: rgba(19,245,176,0.05); border: none;
    border-radius: 10px; margin-top: 4px; padding: 6px;
  }
  /* CTA buttons float at bottom as a pill too */
  .header-actions.open {
    display: flex; flex-direction: column;
    position: fixed; bottom: 16px; left: 12px; right: 12px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 14px;
    border: 1px solid rgba(19,245,176,0.15);
    box-shadow: 0 8px 32px rgba(7,27,91,0.12);
    gap: 10px;
    z-index: 199;
  }
  .header-actions.open .btn { width: 100%; justify-content: center; }

  .hero {  padding: 100px 0 80px; }
  .hero-inner { flex-direction: column; padding: 0 24px; }
  .hero-title  { font-size: 36px; letter-spacing: -0.5px; }
  .hero-visual { display: none; }
  .hero-text   { max-width: 100%; }
  .hero-body   { max-width: 100%; }

  .container { padding: 0 24px; }
  .section-title { font-size: 30px; }
  .cta-title     { font-size: 34px; }
  .section-body  { font-size: 15px; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card  { border-right: none; border-bottom: 1px solid #f0f0f8; }
  .feature-card:last-child { border-bottom: none; }

  .clients-track { gap: 12px; }
  .client-logo { padding: 14px 20px; }
  .client-logo img { height: 42px; }
  .steps-grid { flex-direction: column; align-items: stretch; gap: 16px; }
  .step-card { width: 100%; }
  .step-connector { display: none; }
  .trusted-logos { gap: 28px; }
  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }

  .pld-section   { padding: 80px 0 60px; }
  .video-wrapper { border-radius: 12px; }
  .product-section { padding: 80px 0; }
  .cta-section   { padding: 80px 0; }
  .nav-wrapper   { padding: 0 16px; border-radius: 12px; }
}

@media (max-width: 480px) {
  .hero-title    { font-size: 30px; }
  .section-title { font-size: 26px; }
  .cta-title     { font-size: 28px; }
}

/* ── 5-MIN INLINE STAT ── */
.pld-stat-row {
  display: flex;
  justify-content: center;
  margin: 28px 0 36px;
}
.pld-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--navy);
  border-radius: 100px;
  padding: 14px 28px 14px 20px;
  max-width: 620px;
}
.pld-stat-num {
  font-size: 22px;
  font-weight: 900;
  color: var(--mint);
  white-space: nowrap;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.pld-stat-sep {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.pld-stat-text {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  text-align: left;
}
.pld-stat-text strong { color: #fff; font-weight: 700; }

@media (max-width: 600px) {
  .pld-stat-pill {
    border-radius: 16px;
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .pld-stat-sep { width: 32px; height: 1px; }
}
