/* ═══════════════════════════════════════════════════════════
   OPTI360 — Premium Design System v3
   Inspired by Stripe · Vercel · OpenAI
   ═══════════════════════════════════════════════════════════ */

/* ── 1. CSS VARIABLES ────────────────────────────────────── */
/*
 * Brand palette aligned to official Opti360 logo:
 *   Navy    #1A3A5C  (darkest — "Opti" text & deep shadows)
 *   Steel   #2470A9  (mid-tone — swirl body)
 *   Sky     #29A8E0  (accent — "360" text & CTAs)
 *   Light   #4DC8F0  (highlights)
 */
:root {
  /* Core palette — Opti360 brand */
  --blue-700:    #12284a;   /* deep navy */
  --blue-600:    #1A3A5C;   /* brand navy  */
  --blue-500:    #2470A9;   /* brand steel */
  --blue-400:    #3B9FD4;   /* brand mid-sky */
  --blue-300:    #6DC0E8;   /* brand light */
  --cyan-600:    #1A7BB5;   /* deep sky */
  --cyan-500:    #29A8E0;   /* brand sky — main accent */
  --cyan-400:    #4DC8F0;   /* brand highlight */
  --cyan-300:    #85DAFA;   /* brand pale */

  /* Backgrounds — deep navy inspired by logo */
  --bg-base:     #040d1e;
  --bg-surface:  #081626;
  --bg-elevated: #0d1f38;

  /* Text */
  --white:       #ffffff;
  --text-1:      #eef4ff;
  --text-2:      #8aa4c0;
  --text-3:      #5a7090;

  /* Borders */
  --border:        rgba(255,255,255,0.08);
  --border-subtle: rgba(255,255,255,0.05);
  --border-glow:   rgba(41,168,224,0.35);

  /* Glows — sky blue from logo */
  --glow-blue:   rgba(26, 58, 92, 0.25);
  --glow-cyan:   rgba(41, 168, 224, 0.15);
  --glow-blue-2: rgba(36, 112, 169, 0.30);

  /* Gradients — navy → sky blue (matches logo mark) */
  --grad-brand:  linear-gradient(135deg, #1A3A5C 0%, #29A8E0 100%);
  --grad-brand2: linear-gradient(135deg, #2470A9 0%, #4DC8F0 100%);
  --grad-text:   linear-gradient(135deg, #3B9FD4 0%, #29A8E0 55%, #4DC8F0 100%);
  --grad-card:   linear-gradient(135deg, rgba(26,58,92,0.10) 0%, rgba(41,168,224,0.05) 100%);

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.40);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.50);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.65);
  --shadow-glow: 0 0 40px var(--glow-cyan);
  --shadow-btn:  0 4px 24px rgba(41,168,224,0.40);

  /* Radius */
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-2xl:  28px;
  --r-full: 9999px;

  /* Transitions */
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:  cubic-bezier(0, 0, 0.2, 1);
  --dur-fast:  0.15s;
  --dur:       0.25s;
  --dur-slow:  0.4s;

  /* Layout */
  --max-w:  1200px;
  --nav-h:  72px;

  /* Typography */
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Lead temps */
  --hot:   #ef4444;
  --warm:  #f59e0b;
  --cold:  #3b82f6;
  --green: #10b981;

  /* ── Accent system (theme-switchable) ── */
  --accent:      var(--blue-500);
  --accent-dark: var(--blue-700);
  --accent-glow: var(--glow-blue);

  /* Legacy aliases (keep for backward compat with other pages) */
  --black:      var(--bg-base);
  --gray-950:   var(--bg-base);
  --gray-900:   var(--bg-surface);
  --gray-800:   var(--bg-elevated);
  --gray-700:   #1e3a5f;
  --gray-500:   #64748b;
  --gray-400:   #94a3b8;
  --gray-200:   #e2e8f0;
  --blue:       var(--blue-600);
  --blue-dark:  var(--blue-700);
  --blue-light: var(--blue-500);
  --blue-glow:  var(--glow-blue);
  --radius:     var(--r-md);
  --radius-lg:  var(--r-xl);
  --radius-xl:  var(--r-2xl);
  --shadow-card: var(--shadow-md);
  --transition:  var(--dur) var(--ease);
  --transition-slow: var(--dur-slow) var(--ease);
}

/* ── Niche Theme Overrides ───────────────────────────────── */
[data-theme="spa"] {
  --accent:      #8b5cf6;
  --accent-dark: #6d28d9;
  --accent-glow: rgba(139,92,246,0.15);
}
[data-theme="contractors"] {
  --accent:      #f59e0b;
  --accent-dark: #d97706;
  --accent-glow: rgba(245,158,11,0.15);
}
[data-theme="cruceros"] {
  --accent:      #06b6d4;
  --accent-dark: #0891b2;
  --accent-glow: rgba(6,182,212,0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-base);
  color: var(--text-2);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ── 3. TYPOGRAPHY SCALE ─────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-1);
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
h5 { font-size: 0.95rem; }
p  { font-size: 0.975rem; line-height: 1.7; }

/* Gradient text */
.text-grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 4. LAYOUT ───────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.grid        { display: grid; gap: 1.5rem; }
.grid-2      { grid-template-columns: repeat(2, 1fr); }
.grid-3      { grid-template-columns: repeat(3, 1fr); }
.grid-4      { grid-template-columns: repeat(4, 1fr); }

/* ── 5. ANNOUNCEMENT BAR ─────────────────────────────────── */
.announce-bar {
  background: rgba(37, 99, 235, 0.12);
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
  padding: 0.55rem 1rem;
  text-align: center;
}

.announce-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.825rem;
  color: var(--text-2);
  flex-wrap: wrap;
}

.announce-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--cyan-400);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--cyan-400);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--cyan-400); }
  50%       { opacity: 0.6; box-shadow: 0 0 12px var(--cyan-400); }
}

.announce-link {
  color: var(--blue-400);
  font-weight: 600;
  font-size: 0.825rem;
  transition: color var(--dur) var(--ease);
}
.announce-link:hover { color: var(--cyan-400); }

/* ── 6. NAVIGATION ───────────────────────────────────────── */
header { position: sticky; top: 0; z-index: 100; }

.nav {
  background: rgba(5, 9, 26, 0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--border);
  transition: background var(--dur-slow) var(--ease),
              box-shadow var(--dur-slow) var(--ease);
}

.nav.scrolled {
  background: rgba(5, 9, 26, 0.95);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: var(--nav-h);
}

/* ── NAV LOGO — uses real SVG brand file ──────────────────── */
.nav__logo {
  display: flex;
  align-items: center;
  overflow: visible;
  flex-shrink: 0;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.nav__logo:hover .nav-logo-img {
  filter:
    drop-shadow(0 0 8px rgba(41,168,224,0.55))
    drop-shadow(0 0 20px rgba(37,99,235,0.30));
  opacity: 1;
}
.nav-logo-img {
  height: 47px;
  max-height: 47px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 8px rgba(41,168,224,0.25));
  opacity: 1;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 768px) {
  .nav-logo-img { height: 38px; max-height: 38px; }
}

/* Footer logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0.75rem;
}
.footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 0 8px rgba(41,168,224,0.20));
  opacity: 0.90;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.footer-logo-img:hover {
  filter:
    drop-shadow(0 0 8px rgba(41,168,224,0.50))
    drop-shadow(0 0 18px rgba(37,99,235,0.25));
  opacity: 1;
}
.footer__brand-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 1px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-3);
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease),
              background var(--dur) var(--ease);
}
.nav__links a:hover {
  color: var(--text-1);
  background: rgba(255,255,255,0.06);
}
.nav__links a.active { color: var(--text-1); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 0.75rem 0;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 0.75rem 1.5rem;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__mobile a:hover { color: var(--text-1); background: rgba(255,255,255,0.04); }

/* ── 7. BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--r-full);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* Primary — gradient fill */
.btn-primary {
  background: var(--grad-brand);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37,99,235,0.55), 0 0 0 3px rgba(59,130,246,0.2);
  filter: brightness(1.1);
}
.btn-primary:active { transform: translateY(0); }

/* CTA — gradient, larger */
.btn-cta {
  background: var(--grad-brand);
  color: var(--white);
  border-color: transparent;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-btn);
  font-weight: 700;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(37,99,235,0.6), 0 0 0 4px rgba(59,130,246,0.2);
  filter: brightness(1.08);
}
.btn-cta:active { transform: translateY(0); }

/* Secondary — subtle surface */
.btn-secondary {
  background: rgba(255,255,255,0.07);
  color: var(--text-1);
  border-color: var(--border);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

/* Outline — accent border */
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  position: relative;
  z-index: 1;
}
.btn-outline:hover {
  background: var(--accent-glow);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-1px);
}

/* Ghost — minimal */
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-1);
  border-color: rgba(255,255,255,0.15);
}

/* Ghost white (hero) */
.btn-ghost-white {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.18);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

/* Sizes */
.btn-sm  { padding: 0.5rem 1rem; font-size: 0.825rem; }
.btn-lg  { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-xl  { padding: 1.1rem 2.75rem; font-size: 1.1rem; font-weight: 700; }

/* ── Lang Toggle Button ───────────────────────────────────── */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.lang-toggle:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.5);
  transform: scale(1.04);
}
.lang-toggle:active { transform: scale(0.97); }

/* ── 8. SECTION BASE ─────────────────────────────────────── */
.section {
  padding: 7rem 0;
}

.section-dark {
  background: var(--bg-surface);
  border-top:    1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 680px;
  margin-bottom: 4rem;
}
.section-header.centered {
  text-align: center;
  margin-inline: auto;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p  { color: var(--text-2); font-size: 1.05rem; line-height: 1.7; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--blue-400);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--blue-400);
}

/* ── 9. HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 7rem 0 6rem;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('./hero-bg.jpg') center center / cover no-repeat #040d1e;
}

/* Layer 1 — dark cinematic overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      160deg,
      rgba(4, 12, 34, 0.62) 0%,
      rgba(0, 0, 0, 0.68) 50%,
      rgba(2, 8, 28, 0.75) 100%
    );
  z-index: 0;
}

/* Layer 2 — blue glow accent (left) + cinematic vignette (edges) */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 12% 55%, rgba(37,99,235,0.20) 0%, transparent 65%),
    radial-gradient(ellipse 120% 120% at 50% 50%, transparent 38%, rgba(0,0,0,0.42) 100%);
  z-index: 0;
  pointer-events: none;
}

/* Background stack (tech overlays — on top of dark overlay) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(59,130,246,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 100% at 30% 50%, black 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 100% at 30% 50%, black 0%, transparent 75%);
}

.hero-diag {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent 0px,
    transparent 120px,
    rgba(59,130,246,0.018) 120px,
    rgba(59,130,246,0.018) 121px
  );
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-glow--1 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,0.28) 0%, transparent 65%);
  top: -200px;
  left: -200px;
  filter: blur(70px);
}
.hero-glow--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 65%);
  top: 60px;
  right: -60px;
  filter: blur(60px);
}

/* Hero inner layout — shifted left */
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

/* Hero copy */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: var(--r-full);
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-300);
  letter-spacing: 0.02em;
  margin-bottom: 1.75rem;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--cyan-400);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan-400);
  animation: pulse-dot 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--text-1);
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-btn-main {
  font-size: 1rem;
  padding: 0.9rem 2rem;
  gap: 0.6rem;
}
.hero-btn-main svg {
  transition: transform var(--dur) var(--ease);
}
.hero-btn-main:hover svg { transform: translateX(3px); }

.hero-btn-sec {
  font-size: 0.9rem;
  padding: 0.85rem 1.75rem;
}

/* Hero stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 1.25rem;
}
.hero-stat:first-child { padding-left: 0; }

.hero-stat__val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-stat__lbl {
  font-size: 0.72rem;
  color: var(--text-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Hero visual cards ── */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

.sys-card {
  background: rgba(10, 22, 40, 0.88);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.55),
              0 0 0 1px rgba(59,130,246,0.08),
              inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform var(--dur-slow) var(--ease);
}

.sys-card--main {
  animation: hero-float 7s ease-in-out infinite;
}

.sys-card--pipeline {
  margin-left: 2rem;
  animation: hero-float 8s ease-in-out infinite;
  animation-delay: -3s;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.sys-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sys-live {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-2);
}

.sys-live-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

.sys-time {
  font-size: 0.7rem;
  color: var(--text-3);
}

.sys-card__body {
  margin-bottom: 1rem;
}

.sys-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-3);
  margin-bottom: 0.4rem;
}

.sys-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.3rem;
}

.sys-meta {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: 0.75rem;
}

.sys-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sys-temp {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.sys-temp--hot  { background: rgba(239,68,68,0.15);  color: #fca5a5; border: 1px solid rgba(239,68,68,0.25);  }
.sys-temp--warm { background: rgba(245,158,11,0.15); color: #fcd34d; border: 1px solid rgba(245,158,11,0.25); }
.sys-temp--cold { background: rgba(59,130,246,0.15); color: #93c5fd; border: 1px solid rgba(59,130,246,0.25); }

.sys-score {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-3);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: var(--r-full);
}

.sys-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.sys-channels { display: flex; gap: 0.5rem; }
.sys-ch {
  font-size: 0.72rem;
  color: var(--text-3);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  padding: 2px 8px;
  border-radius: var(--r-full);
}

.sys-sent {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
}

/* Pipeline card */
.sys-pl-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 1rem;
}

.sys-pl-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.25rem;
}
.sys-pl-row:last-of-type { border-bottom: none; margin-bottom: 0.75rem; }

.sys-pl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sys-pl-dot--hot  { background: var(--hot);  box-shadow: 0 0 6px var(--hot); }
.sys-pl-dot--warm { background: var(--warm); box-shadow: 0 0 6px var(--warm); }
.sys-pl-dot--cold { background: var(--cold); box-shadow: 0 0 6px var(--cold); }

.sys-pl-name {
  flex: 1;
  font-size: 0.8rem;
  color: var(--text-2);
  font-weight: 500;
}

.sys-pl-bar-wrap {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sys-pl-bar-label {
  font-size: 0.7rem;
  color: var(--text-3);
  white-space: nowrap;
  flex-shrink: 0;
}

.sys-pl-bar-track {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--r-full);
  overflow: hidden;
}

.sys-pl-bar-fill {
  height: 100%;
  background: var(--grad-brand);
  border-radius: var(--r-full);
  transition: width 1.5s var(--ease-out);
}

.sys-pl-bar-pct {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan-400);
  flex-shrink: 0;
}

/* ── 10. HOW IT WORKS ────────────────────────────────────── */
.hw-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: flex-start;
  gap: 0;
}

.hw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: var(--r-xl);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.hw-step:hover {
  background: rgba(255,255,255,0.03);
  transform: translateY(-4px);
}

.hw-step__num {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--blue-400);
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
}

.hw-step__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--blue-400);
  transition: all var(--dur) var(--ease);
}
.hw-step:hover .hw-step__icon {
  background: rgba(37,99,235,0.18);
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 0 20px rgba(37,99,235,0.2);
  color: var(--cyan-300);
}

.hw-step__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.hw-step__desc {
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--text-3);
  max-width: 160px;
  margin-inline: auto;
}

.hw-step-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, rgba(59,130,246,0.3), rgba(34,211,238,0.3));
  margin-top: 72px;
  flex-shrink: 0;
  position: relative;
}
.hw-step-connector::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-top: 2px solid rgba(34,211,238,0.4);
  border-right: 2px solid rgba(34,211,238,0.4);
  transform: rotate(45deg);
}

/* ── 11. INDUSTRY CARDS (card-niche) ─────────────────────── */
.card-niche {
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--dur-slow) var(--ease);
}

/* Top edge glow on hover */
.card-niche::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease);
  pointer-events: none;
}

/* Background gradient layer */
.card-niche::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease);
  pointer-events: none;
}

.card-niche:hover {
  border-color: rgba(59,130,246,0.25);
  box-shadow: 0 0 0 1px var(--accent-glow),
              0 20px 60px rgba(0,0,0,0.5),
              0 0 60px var(--accent-glow);
  transform: translateY(-6px);
}
.card-niche:hover::before { opacity: 1; }
.card-niche:hover::after  { opacity: 1; }

.card-niche__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.card-niche__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all var(--dur) var(--ease);
}
.card-niche:hover .card-niche__icon-wrap {
  background: rgba(59,130,246,0.18);
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 0 16px var(--accent-glow);
}

.card-niche__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
}

.card-niche__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.card-niche__pain {
  font-size: 0.875rem;
  color: var(--text-2);
  margin-bottom: 0.5rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.card-niche__benefit {
  font-size: 0.84rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  flex: 1;
  position: relative;
  z-index: 1;
}

.card-niche__powered {
  font-size: 0.71rem;
  color: rgba(255, 255, 255, 0.38);
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.card-niche__powered::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.7;
  flex-shrink: 0;
}

.card-niche__powered span {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.card-niche .btn-outline {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  padding: 0.55rem 1.25rem;
}

/* Industry chatbot CTA */
.ind-chatbot-cta {
  margin-top: 2.5rem;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: var(--r-xl);
  padding: 1.75rem 2rem;
}

.ind-chatbot-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.ind-chatbot-cta__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-400);
  margin-bottom: 0.3rem;
}

.ind-chatbot-cta__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
}

/* ── 12. RESULTS SECTION ─────────────────────────────────── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.result-card {
  background: rgba(10,22,40,0.7);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: all var(--dur) var(--ease);
}
.result-card:hover {
  border-color: rgba(59,130,246,0.2);
  background: rgba(15,30,55,0.8);
  transform: translateY(-3px);
}

.result-card--accent {
  background: rgba(37,99,235,0.1);
  border-color: rgba(59,130,246,0.2);
}

.result-card__val {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.result-card__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.result-card__desc {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.6;
}

/* Feature list */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.02);
  transition: all var(--dur) var(--ease);
}
.feature-item:hover {
  border-color: rgba(59,130,246,0.15);
  background: rgba(37,99,235,0.05);
}

.feature-item__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: rgba(37,99,235,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-400);
  flex-shrink: 0;
}

.feature-item h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.feature-item p {
  font-size: 0.775rem;
  color: var(--text-3);
  line-height: 1.55;
}

/* ── 13. TESTIMONIALS ────────────────────────────────────── */
.testimonial {
  background: rgba(10,22,40,0.75);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: all var(--dur) var(--ease);
}
.testimonial:hover {
  border-color: rgba(59,130,246,0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.testimonial__stars {
  font-size: 0.9rem;
  color: #fbbf24;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial__text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-2);
  flex: 1;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.testimonial__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.testimonial__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-1);
}

.testimonial__role {
  font-size: 0.775rem;
  color: var(--text-3);
}

.testimonial__note {
  font-size: 0.7rem;
  color: var(--text-3);
  opacity: 0.6;
  margin-top: auto;
}

/* ── 14. CTA SECTION ─────────────────────────────────────── */
.cta-section {
  padding: 8rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: blur(60px);
}

.cta-section__inner {
  max-width: 680px;
  margin-inline: auto;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--r-full);
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-300);
  margin-bottom: 1.5rem;
}

.cta-section__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-1);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.cta-section__sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 2.5rem;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-btn-main {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.cta-section__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-link {
  font-size: 0.85rem;
  color: var(--text-3);
  font-weight: 500;
  transition: color var(--dur) var(--ease);
}
.cta-link:hover { color: var(--text-1); }

/* ── 15. FOOTER ──────────────────────────────────────────── */
footer {
  background: #030710;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer__brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}
.footer__brand-name span { color: var(--blue-400); }

.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-3);
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__contact a {
  font-size: 0.85rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--dur) var(--ease);
}
.footer__contact a:hover { color: var(--text-1); }

.footer__col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--text-3);
  transition: color var(--dur) var(--ease);
}
.footer__links a:hover { color: var(--text-1); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__copy {
  font-size: 0.775rem;
  color: var(--text-3);
}

/* ── 16. FORM STYLES (for niche pages) ───────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  color: var(--text-1);
  font-size: 0.95rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group select option { background: var(--bg-surface); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-section {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 2.5rem;
}

.form-error {
  font-size: 0.8rem;
  color: var(--hot);
  margin-top: 0.25rem;
}

/* ── 17. STEPS (for niche pages) ─────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.step {
  display: flex;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 2.5rem;
}
.step:last-child { padding-bottom: 0; }

.step::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}
.step:last-child::before { display: none; }

.step__num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(59,130,246,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--blue-400);
  flex-shrink: 0;
}

.step__content {}
.step__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.4rem;
  padding-top: 0.6rem;
}
.step__desc {
  font-size: 0.875rem;
  color: var(--text-3);
  line-height: 1.65;
}

/* ── 18. PROBLEM CARDS ───────────────────────────────────── */
.problem-card {
  background: rgba(10,22,40,0.7);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  transition: all var(--dur) var(--ease);
}
.problem-card:hover {
  border-color: rgba(239,68,68,0.2);
  transform: translateY(-3px);
}

.problem-card__icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  filter: grayscale(0.3);
}

.problem-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.5rem;
}

.problem-card__desc {
  font-size: 0.85rem;
  color: var(--text-3);
  line-height: 1.65;
}

/* ── 19. LEAD CLASSIFICATION CARDS ──────────────────────── */
.lead-card {
  border-radius: var(--r-lg);
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border: 1px solid var(--border);
  background: rgba(10,22,40,0.7);
}

/* Temperature badge — small pill at the top */
.lead-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 0.25rem;
}

/* Person name — prominent */
.lead-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.2;
}

/* Service / detail line — compact, muted */
.lead-detail {
  display: block;
  font-size: 0.78rem;
  color: var(--text-2);
  line-height: 1.45;
}

.lead-card__badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lead-hot  .lead-card__badge { background: rgba(239,68,68,0.15);  color: #fca5a5; border: 1px solid rgba(239,68,68,0.3);  }
.lead-warm .lead-card__badge { background: rgba(245,158,11,0.15); color: #fcd34d; border: 1px solid rgba(245,158,11,0.3); }
.lead-cold .lead-card__badge { background: rgba(59,130,246,0.15); color: #93c5fd; border: 1px solid rgba(59,130,246,0.3); }

/* HOT / WARM / COLD left border accent */
.lead-hot  { border-left: 3px solid rgba(239,68,68,0.6); }
.lead-warm { border-left: 3px solid rgba(245,158,11,0.6); }
.lead-cold { border-left: 3px solid rgba(59,130,246,0.6); }

/* ── 20. BENEFITS CARD ───────────────────────────────────── */
.benefit-card {
  padding: 1.75rem;
  border-radius: var(--r-xl);
  transition: all var(--dur) var(--ease);
}
.benefit-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59,130,246,0.2);
}

.benefit-card__icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.benefit-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.4rem;
}

.benefit-card__desc {
  font-size: 0.825rem;
  color: var(--text-3);
  line-height: 1.65;
}

/* ── 21. GLASS CARD (shared) ─────────────────────────────── */
.card-glass {
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}

/* ── 22. HERO FLOATING NOTIFICATIONS (old niche pages) ───── */
.float-notif { animation: hero-float 6s ease-in-out infinite; }
.float-notif:nth-child(2) { animation-duration: 8s; animation-delay: -2s; }

.notif-card {
  background: rgba(10,22,40,0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-md);
  max-width: 340px;
  margin-bottom: 1rem;
}

.notif-card__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: rgba(37,99,235,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.notif-card__title {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.2rem;
}

.notif-card__desc {
  font-size: 0.78rem;
  color: var(--text-2);
  line-height: 1.5;
}

.notif-card__time {
  font-size: 0.7rem;
  color: var(--text-3);
  margin-top: 0.25rem;
}

/* ── 23. HERO (niche pages) ──────────────────────────────── */
.hero__copy { max-width: 580px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.badge {
  display: inline-block;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--r-full);
  padding: 0.3rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-300);
}

.hero__title { margin-bottom: 1.25rem; }
.hero__sub {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero__stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.72rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

/* ── 24. STATS GRID (legacy) ─────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat__value {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--text-3);
  font-weight: 500;
}

/* ── 25. TICKER ──────────────────────────────────────────── */
.ticker-wrap {
  overflow: hidden;
  background: rgba(37,99,235,0.06);
  border-top:    1px solid rgba(59,130,246,0.1);
  border-bottom: 1px solid rgba(59,130,246,0.1);
  padding: 0.75rem 0;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 0;
  animation: ticker 35s linear infinite;
  will-change: transform;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-3);
  padding: 0 2.5rem;
}

.ticker-dot {
  width: 4px;
  height: 4px;
  background: var(--blue-400);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── 26. URGENCY BAR (legacy) ────────────────────────────── */
.urgency-bar {
  background: rgba(37,99,235,0.12);
  border-bottom: 1px solid rgba(59,130,246,0.15);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-2);
}

/* ── 27. CHAT BUBBLES (demo pages) ───────────────────────── */
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  max-height: 400px;
  overflow-y: auto;
}

.chat-bubble {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px 12px 12px 4px;
  padding: 0.65rem 1rem;
  font-size: 0.825rem;
  color: var(--text-1);
  max-width: 85%;
  line-height: 1.5;
}

.chat-bubble--outgoing {
  background: var(--accent);
  border-color: transparent;
  border-radius: 12px 12px 4px 12px;
  color: var(--white);
  align-self: flex-end;
}

.chat-time {
  font-size: 0.7rem;
  color: var(--text-3);
  padding: 0 0.25rem;
}

/* ── 28. ANIMATIONS ──────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.animate-fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

/* ── 28b. SISTEMAS SECTION ───────────────────────────────── */
.sistemas-section {
  padding: 5rem 0 4.5rem;
}

.sistemas-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.sistemas-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.sistemas-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 600;
  color: var(--text-primary);
  max-width: 520px;
  margin: 0 auto 0.9rem;
  line-height: 1.35;
}

.sistemas-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 420px;
}

.sistemas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.sistema-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.25s, background 0.25s;
}

.sistema-card:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.13);
}

.sistema-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(99, 179, 237, 0.08);
  border: 1px solid rgba(99, 179, 237, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.sistema-card__body {
  flex: 1;
}

.sistema-card__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.sistema-card__desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.sistema-card__tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.25);
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 900px) {
  .sistemas-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ── 29. RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner   { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual  { display: grid; grid-template-columns: 1fr 1fr; max-width: 580px; }
  .sys-card--pipeline { margin-left: 0; }

  .hw-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .hw-step-connector { display: none; }

  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .section { padding: 4.5rem 0; }
  .hero { padding: 5rem 0 4rem; min-height: auto; }

  .nav__links  { display: none; }
  .nav__actions { display: none; }
  .nav__hamburger { display: flex; }

  .hero__inner  { grid-template-columns: 1fr; }
  .hero__title  { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero__visual { grid-template-columns: 1fr; max-width: 100%; }
  .hero__stats  { gap: 1rem; }
  .hero-stat    { padding: 0 0.75rem; }
  .hero-stat-sep { display: none; }

  .hw-grid       { grid-template-columns: 1fr; }
  .hw-step-connector { display: none; }

  .grid-2       { grid-template-columns: 1fr; }
  .grid-3       { grid-template-columns: 1fr; }
  .grid-4       { grid-template-columns: 1fr 1fr; }

  .results-grid  { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: 1fr 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  .form-grid    { grid-template-columns: 1fr; }
  .form-section { padding: 1.5rem; }

  .ind-chatbot-cta__inner { flex-direction: column; }

  .cta-section { padding: 5rem 0; }
  .cta-section__title { font-size: 1.9rem; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero-btn-main, .hero-btn-sec { justify-content: center; }

  .announce-bar__inner { flex-direction: column; gap: 0.4rem; }
  .announce-link { display: none; }

  .result-card__val { font-size: 2rem; }
  .grid-4 { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════
   OPTI360 — v4 Additions: Ticker · Grain · Integrations ·
              Pricing · FAQ · Toasts
   ═══════════════════════════════════════════════════════════ */

/* ── ANNOUNCE BAR TICKER ─────────────────────────────────── */
.announce-bar__ticker {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 0.8rem;
  color: var(--text-1);
}
.announce-bar__ticker.ticker--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── HERO GRAIN TEXTURE ──────────────────────────────────── */
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  z-index: 1;
}

/* ── INTEGRATIONS SECTION ────────────────────────────────── */
.integrations-section {
  padding: 3.5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.integrations-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.75rem;
}
.integrations-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}
.integration-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  cursor: default;
}
.integration-badge:hover {
  border-color: rgba(96,165,250,0.35);
  color: var(--text-1);
  transform: translateY(-2px);
}

/* ── METHODOLOGY CARDS ───────────────────────────────────── */
.met-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.met-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 2.2rem 2rem;
  background: rgba(8, 22, 38, 0.60);
  border: 1px solid rgba(59, 130, 246, 0.16);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  overflow: hidden;
}
.met-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 0%, rgba(37,99,235,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.met-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(59,130,246,0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.met-card--featured {
  border-color: rgba(41, 168, 224, 0.32);
  background: rgba(8, 22, 50, 0.72);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(41, 168, 224, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.met-card--featured::before {
  background: radial-gradient(ellipse 80% 70% at 20% 0%, rgba(41,168,224,0.12) 0%, transparent 70%);
}
.met-card--featured:hover {
  border-color: rgba(41, 168, 224, 0.55);
  box-shadow:
    0 10px 48px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(41, 168, 224, 0.28),
    0 0 32px rgba(41, 168, 224, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.met-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.20);
  flex-shrink: 0;
}
.met-card--featured .met-card__icon-wrap {
  background: rgba(41, 168, 224, 0.14);
  border-color: rgba(41, 168, 224, 0.28);
}
.met-card__icon {
  font-size: 1.5rem;
  line-height: 1;
}

.met-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.3;
  margin: 0;
}
.met-card--featured .met-card__title {
  color: var(--cyan-300);
}

.met-card__desc {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 900px) {
  .met-cards { grid-template-columns: 1fr; gap: 1.25rem; }
  .met-card { padding: 1.75rem 1.5rem; }
}
@media (min-width: 640px) and (max-width: 900px) {
  .met-cards { grid-template-columns: repeat(2, 1fr); }
  .met-card:last-child { grid-column: 1 / -1; max-width: 420px; margin-inline: auto; }
}

/* ── PRICING SECTION ─────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}
.pricing-card:hover {
  border-color: rgba(96,165,250,0.3);
  transform: translateY(-3px);
}
.pricing-card--popular {
  border-color: rgba(59,130,246,0.6);
  background: linear-gradient(160deg, rgba(59,130,246,0.07) 0%, var(--bg-surface) 60%);
  transform: translateY(-6px);
}
.pricing-card--popular:hover {
  transform: translateY(-10px);
}
.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-tier {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 0.5rem;
}
.pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.25rem;
}
.pricing-price {
  margin: 1rem 0;
}
.pricing-price__amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.pricing-price__currency {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-2);
  vertical-align: super;
}
.pricing-price__period {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-left: 4px;
}
.pricing-desc {
  font-size: 0.83rem;
  color: var(--text-2);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.83rem;
  color: var(--text-2);
  line-height: 1.4;
}
.pricing-features li::before {
  content: '\2713';
  color: var(--blue-400);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}
.pricing-features li.pricing-feature--dim {
  color: var(--text-3);
}
.pricing-features li.pricing-feature--dim::before {
  content: '\2013';
  color: var(--text-3);
}
.pricing-cta {
  display: block;
  width: 100%;
  padding: 0.75rem;
  text-align: center;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.pricing-cta--primary {
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-600));
  color: #fff;
}
.pricing-cta--primary:hover {
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
  transform: translateY(-1px);
}
.pricing-cta--outline {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-2);
}
.pricing-cta--outline:hover {
  border-color: rgba(96,165,250,0.4);
  color: var(--text-1);
}
/* Implementation banner */
.pricing-impl {
  margin-top: 2.5rem;
  border-radius: var(--r-lg);
  background: rgba(8, 22, 38, 0.65);
  border: 1px solid rgba(41, 168, 224, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  position: relative;
}
.pricing-impl::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 0% 50%, rgba(37,99,235,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.pricing-impl__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 2.25rem;
}
.pricing-impl__copy { flex: 1; }
.pricing-impl__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
  margin: 0 0 0.35rem;
}
.pricing-impl__title strong { color: var(--cyan-400); }
.pricing-impl__sub {
  font-size: 0.9rem;
  color: var(--text-2);
  margin: 0;
  line-height: 1.55;
}
.pricing-impl__cta { flex-shrink: 0; white-space: nowrap; }

@media (max-width: 600px) {
  .pricing-impl__inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 1.5rem; }
  .pricing-impl__cta { width: 100%; text-align: center; }
}

.pricing-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 1.5rem;
}

/* Secondary pricing action (WhatsApp / email under main CTA) */
.pricing-cta-alt {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s;
}
.pricing-cta-alt:hover { color: var(--text-1); }

/* Calendly variant — cyan brand hover */
.pricing-cta-alt--calendly {
  color: var(--cyan-500);
  font-weight: 600;
  transition: color 0.22s ease, letter-spacing 0.22s ease, filter 0.22s ease;
}
.pricing-cta-alt--calendly:hover {
  color: var(--cyan-300);
  letter-spacing: 0.01em;
  filter: drop-shadow(0 0 6px rgba(41,168,224,0.45));
}

/* CTA section "Agenda una asesoría" — cyan-tinted ghost hover */
.btn-ghost-white.btn-calendly:hover {
  background: rgba(41,168,224,0.1);
  color: var(--cyan-300);
  border-color: rgba(41,168,224,0.5);
  box-shadow: 0 0 18px rgba(41,168,224,0.2);
}

/* ── FLOATING WHATSAPP BUTTON ─────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}
@media (max-width: 480px) {
  .wa-float { bottom: 1rem; right: 1rem; width: 50px; height: 50px; }
}

/* ── IDEAL PARA ──────────────────────────────────────────── */
.ideal-section { padding-top: 1.5rem; padding-bottom: 4rem; }

.ideal-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.ideal-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.2rem;
  background: rgba(8, 22, 38, 0.55);
  border: 1px solid rgba(59, 130, 246, 0.16);
  border-radius: var(--r-full);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
  transition: border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  cursor: default;
}
.ideal-item:hover {
  border-color: rgba(59, 130, 246, 0.40);
  color: var(--text-1);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.14);
  transform: translateY(-2px);
}

.ideal-item--accent {
  border-color: rgba(41, 168, 224, 0.28);
  color: var(--cyan-300);
  background: rgba(8, 22, 50, 0.60);
}
.ideal-item--accent:hover {
  border-color: rgba(41, 168, 224, 0.55);
  color: var(--cyan-300);
  box-shadow: 0 4px 20px rgba(41, 168, 224, 0.15);
}

.ideal-icon { font-size: 1rem; line-height: 1; }
.ideal-text  { line-height: 1.2; }

/* ── FAQ SECTION ─────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover {
  border-color: rgba(96,165,250,0.25);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-1);
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  font-family: inherit;
}
.faq-question:hover { color: var(--white); }
.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--text-3);
  transition: transform 0.3s ease;
}
.faq-item--open .faq-chevron {
  transform: rotate(180deg);
  color: var(--blue-400);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer__inner {
  padding: 0 1.4rem 1.2rem;
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ── FLOATING ACTIVITY TOASTS ────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
  max-width: 280px;
}
.activity-toast {
  background: var(--bg-elevated);
  border: 1px solid rgba(96,165,250,0.2);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  opacity: 0;
  transform: translateX(-16px) scale(0.95);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: auto;
}
.activity-toast--visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.activity-toast--hiding {
  opacity: 0;
  transform: translateX(-12px) scale(0.95);
}
.activity-toast__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 1px;
}
.activity-toast__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.activity-toast__top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.activity-toast__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-1);
}
.activity-toast__temp {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 1px 7px;
  border-radius: 4px;
}
.toast-temp--hot  { background: rgba(239,68,68,0.2);  color: #f87171; }
.toast-temp--warm { background: rgba(245,158,11,0.2); color: #fbbf24; }
.toast-temp--cold { background: rgba(96,165,250,0.2); color: #93c5fd; }
.activity-toast__detail {
  font-size: 0.75rem;
  color: var(--text-2);
}
.activity-toast__meta {
  font-size: 0.7rem;
  color: var(--text-3);
}

/* ── RESPONSIVE: NEW SECTIONS ────────────────────────────── */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .pricing-card--popular { transform: none; }
  .pricing-card--popular:hover { transform: translateY(-3px); }
}

@media (max-width: 640px) {
  .toast-container { max-width: 260px; bottom: 1rem; left: 1rem; }
  .integrations-row { gap: 0.75rem; }
  .integration-badge { padding: 0.5rem 0.85rem; font-size: 0.76rem; }
}

/* ── CONTACT FORM ─────────────────────────────────────────── */
.contact-section { padding: 5rem 0; }
.contact-form-wrap {
  max-width: 680px;
  margin: 0 auto;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.cf-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.cf-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2, #7a9bbf);
  letter-spacing: 0.02em;
}
.cf-field input,
.cf-field select,
.cf-field textarea {
  background: var(--bg-elevated, #0d1f38);
  border: 1px solid rgba(41,168,224,0.2);
  border-radius: 10px;
  color: var(--text-1, #eef4ff);
  font-size: 0.95rem;
  font-family: inherit;
  padding: 0.7rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: rgba(122,155,191,0.5); }
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus { border-color: var(--cyan-500, #29A8E0); }
.cf-field select option { background: var(--bg-elevated, #0d1f38); }
.cf-field textarea { resize: vertical; min-height: 110px; }
.cf-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.cf-submit { min-width: 180px; }
.cf-submit:disabled { opacity: 0.65; cursor: not-allowed; }
.cf-status { font-size: 0.9rem; }
.cf-status--success { color: #22c55e; }
.cf-status--error   { color: #ef4444; }

@media (max-width: 600px) {
  .cf-row { grid-template-columns: 1fr; }
}

/* ── ISOTIPO LOADER ──────────────────────────────────────── */
.isotipo-loader {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.isotipo-loader img {
  width: var(--loader-size, 48px);
  height: var(--loader-size, 48px);
  animation: isotipo-spin 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  filter: drop-shadow(0 0 8px rgba(41,168,224,0.50));
}
@keyframes isotipo-spin {
  0%   { transform: rotate(0deg)   scale(1);    opacity: 1;    }
  45%  { transform: rotate(160deg) scale(1.05); opacity: 0.85; }
  50%  { transform: rotate(180deg) scale(1.05); opacity: 0.85; }
  95%  { transform: rotate(340deg) scale(1);    opacity: 1;    }
  100% { transform: rotate(360deg) scale(1);    opacity: 1;    }
}

/* Page-level fullscreen loader overlay */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-base, #040d1e);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
}
.page-loader.hidden { opacity: 0; pointer-events: none; }

/* ═══════════════════════════════════════════════════════════
   MOBILE-FIRST REFINEMENT — v3
   Desktop: cinematic + full-featured (untouched)
   Mobile:  focused · premium · clean · no overflow
   ═══════════════════════════════════════════════════════════ */

/* ── Global overflow lock ─────────────────────────────────── */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   768px — Tablets & all phones
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {

  /* Hard containment on every major wrapper */
  section, header, footer, main {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* ── Navbar ── */
  :root         { --nav-h: 60px; }
  .nav__links   { display: none; }
  .nav__actions { display: none; }
  .nav__hamburger { display: flex; }

  /* ── Hero: simplified, focused ── */
  .hero { padding: 5rem 0 3.5rem; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 0; }

  /* Hide decorative cards — mobile hero shows only text + CTA */
  .hero__visual { display: none !important; }

  .hero__title {
    font-size: clamp(2rem, 7vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
  }
  .hero__sub {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 100%;
    margin-bottom: 2rem;
  }
  .hero__badge   { margin-bottom: 1.25rem; }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  .hero-btn-main,
  .hero-btn-sec  { justify-content: center; width: 100%; max-width: 380px; }
  .hero__stats   { gap: 1rem; padding: 1rem 0; flex-wrap: wrap; }
  .hero-stat     { padding: 0 0.75rem; }
  .hero-stat-sep { display: none; }

  /* ── sc-inner-grid: inline style needs !important to be overridden ── */
  .sc-inner-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* ── Sections ── */
  .section        { padding: 4.5rem 0; }
  .section-header { margin-bottom: 2.5rem; }

  /* ── How it Works ── */
  .hw-grid           { grid-template-columns: 1fr; }
  .hw-step-connector { display: none; }

  /* ── Layout grids ── */
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }

  /* ── Results / Features / Stats ── */
  .results-grid  { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: 1fr 1fr; }

  /* ── Footer ── */
  .footer__inner  { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  /* ── Forms ── */
  .form-grid    { grid-template-columns: 1fr; }
  .form-section { padding: 1.5rem; }
  .cf-row       { grid-template-columns: 1fr; }

  /* ── Industry chatbot CTA ── */
  .ind-chatbot-cta__inner { flex-direction: column; }

  /* ── Final CTA section ── */
  .cta-section { padding: 5rem 0; }
  .cta-section__title { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .cta-section__sub   { font-size: 0.95rem; }
  .cta-section__actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .cta-btn-main,
  .btn-ghost-white { width: 100%; max-width: 320px; justify-content: center; }
  .cta-section__links { gap: 1rem; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   480px — Standard phones
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 480px) {

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero-btn-main, .hero-btn-sec { justify-content: center; }

  .announce-bar__inner { flex-direction: column; gap: 0.4rem; }
  .announce-link { display: none; }

  .result-card__val { font-size: 2rem; }
  .grid-4 { grid-template-columns: 1fr; }

  .toast-container { max-width: 240px; bottom: 1rem; left: 1rem; }
  .activity-toast  { padding: 0.65rem 0.85rem; gap: 0.55rem; }
  .activity-toast__name   { font-size: 0.78rem; }
  .activity-toast__detail { font-size: 0.7rem; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   430px — Large phones (iPhone 14 Pro Max · Galaxy S24+)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 430px) {
  .container { padding-inline: 1.25rem; }

  .hero         { padding: 4.5rem 0 3rem; }
  .hero__title  { font-size: clamp(1.85rem, 7.5vw, 2.2rem); }
  .hero__sub    { font-size: 0.95rem; margin-bottom: 1.75rem; }
  .hero__badge  { font-size: 0.72rem; padding: 0.28rem 0.7rem; margin-bottom: 1rem; }
  .hero__stats  { padding: 0.85rem 0; }
  .hero-stat__val { font-size: 1.15rem; }

  .section        { padding: 3.5rem 0; }
  .section-title  { font-size: clamp(1.5rem, 7vw, 2rem); }
  .section-sub    { font-size: 0.88rem; }
  .section-header { margin-bottom: 2rem; }

  .pricing-card { padding: 1.5rem 1.25rem; }
  .met-card     { padding: 1.5rem 1.25rem; }
  .faq-question { padding: 1rem 1.25rem; }

  .toast-container { max-width: 220px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   390px — iPhone 14 Pro / 15
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 390px) {
  .hero        { padding: 4rem 0 2.75rem; }
  .hero__title { font-size: clamp(1.7rem, 8.5vw, 2rem); }
  .hero__sub   { font-size: 0.9rem; }

  .section        { padding: 3rem 0; }
  .section-title  { font-size: clamp(1.4rem, 8vw, 1.85rem); }

  .pricing-card          { padding: 1.25rem 1rem; }
  .pricing-price__amount { font-size: 2.2rem; }

  .ideal-item   { font-size: 0.85rem; padding: 0.5rem 1rem; }
  .faq-question { font-size: 0.88rem; }

  .toast-container { max-width: 200px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   375px — iPhone SE / 12 mini
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 375px) {
  .container { padding-inline: 1rem; }

  .hero        { padding: 4rem 0 2.5rem; }
  .hero__title { font-size: clamp(1.6rem, 8.8vw, 1.9rem); line-height: 1.15; }
  .hero__sub   { font-size: 0.88rem; margin-bottom: 1.5rem; }
  .hero__actions { gap: 0.6rem; }
  .hero-btn-main,
  .hero-btn-sec  { padding: 0.8rem 1.5rem; font-size: 0.88rem; }

  .hero-stat     { padding: 0 0.5rem; }
  .hero-stat__val { font-size: 1.05rem; }
  .hero-stat__lbl { font-size: 0.63rem; }
  /* 2-column stat grid replaces flex-row at this size */
  .hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0.85rem 0;
  }
  .hero-stat:first-child { padding-left: 0.5rem; }

  .section        { padding: 2.75rem 0; }
  .section-title  { font-size: clamp(1.35rem, 9vw, 1.75rem); }

  .met-card        { padding: 1.25rem 1rem; }
  .met-card__title { font-size: 1rem; }
  .met-card__desc  { font-size: 0.88rem; }

  .faq-question      { font-size: 0.85rem; padding: 0.9rem 1.1rem; }
  .faq-answer__inner { font-size: 0.8rem; padding: 0 1.1rem 1rem; }

  .cta-section__title { font-size: clamp(1.5rem, 9vw, 1.9rem); }
  .toast-container    { max-width: 190px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   320px — iPhone SE 1st gen · very small screens
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 320px) {
  .container { padding-inline: 0.85rem; }

  .hero        { padding: 3.5rem 0 2rem; }
  .hero__title { font-size: clamp(1.45rem, 9.5vw, 1.7rem); }
  .hero__sub   { font-size: 0.85rem; }
  .hero__badge { display: none; }
  .hero__stats { display: none; }
  .hero-btn-main,
  .hero-btn-sec { padding: 0.75rem 1.25rem; font-size: 0.85rem; }

  .section       { padding: 2.5rem 0; }
  .section-title { font-size: clamp(1.3rem, 10vw, 1.6rem); }

  .met-card     { padding: 1.1rem 0.9rem; }
  .pricing-card { padding: 1.1rem 0.9rem; }
  .pricing-price__amount { font-size: 2rem; }

  .toast-container { display: none; }
}
