/* ============================================================
   F2AIA — styles.css v20260606
   Enterprise Dark · Grid Background · Floating Cards
   ============================================================ */

/* === VARIABLES === */
:root {
  --bg:           #0e1628;
  --bg-card:      #162033;
  --bg-card-2:    #1b2640;
  --green:        #00FF88;
  --green-dim:    #00CC6A;
  --green-glow:   rgba(0,255,136,0.12);
  --green-border: rgba(0,255,136,0.30);
  --white:        #ffffff;
  --muted:        rgba(255,255,255,0.50);
  --muted-2:      rgba(255,255,255,0.26);
  --border:       rgba(255,255,255,0.10);
  --border-hover: rgba(255,255,255,0.18);
  --shadow-card:  0 4px 32px rgba(0,0,0,0.6), 0 1px 0 rgba(255,255,255,0.06) inset;
  --shadow-float: 0 16px 64px rgba(0,0,0,0.75), 0 1px 0 rgba(255,255,255,0.07) inset;
  --nav-h:        66px;
  --container:    1200px;
  --radius:       14px;
  --radius-sm:    8px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }
ul, ol { list-style: none; }

/* === BACKGROUND GRID === */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Grid azul visible — enterprise */
  background-image:
    linear-gradient(rgba(100,140,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,140,255,0.10) 1px, transparent 1px);
  background-size: 60px 60px;
}
/* Glow verde grande detrás del hero terminal */
.bg-grid::before {
  content: '';
  position: absolute;
  top: -5%;
  right: -10%;
  width: 60%;
  height: 90%;
  background: radial-gradient(ellipse at 60% 40%,
    rgba(0,255,136,0.13) 0%,
    rgba(0,200,100,0.05) 40%,
    transparent 70%);
  pointer-events: none;
}
/* Vignette oscura en bordes para dar profundidad */
.bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 140% 50% at 50% 105%, rgba(11,17,32,0.98) 0%, transparent 65%),
    radial-gradient(ellipse 60% 30% at 0% 50%, rgba(11,17,32,0.6) 0%, transparent 50%),
    radial-gradient(ellipse 60% 30% at 100% 50%, rgba(11,17,32,0.6) 0%, transparent 50%);
}

/* === CUSTOM CURSOR === */
.cursor-outer {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0,255,136,0.38);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%,-50%);
  transition: width 0.2s ease, height 0.2s ease,
              border-color 0.2s ease, background 0.2s ease,
              opacity 0.2s;
  will-change: transform;
}
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 5px; height: 5px;
  background: var(--green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  transform: translate(-50%,-50%);
  will-change: transform;
  transition: transform 0.08s ease;
}
.cursor-outer.is-hover {
  width: 58px; height: 58px;
  border-color: var(--green);
  background: rgba(0,255,136,0.06);
}
.cursor-outer.is-click {
  width: 26px; height: 26px;
  background: rgba(0,255,136,0.18);
}
@media (hover: none) {
  .cursor-outer, .cursor-dot { display: none; }
}

/* === UTILITIES === */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px)  { .container { padding: 0 32px; } }
@media (min-width: 1200px) { .container { padding: 0 40px; } }

.kicker {
  font-family: 'Space Mono', monospace;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.green-text { color: var(--green); }

/* === SCROLL BAR === */
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--green-dim));
  z-index: 9999;
  width: 0%;
  transition: width 0.08s linear;
}

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  background: var(--green);
  color: #050505;
  padding: 8px 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 99999;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,8,16,0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-color: var(--border);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px)  { .nav-inner { padding: 0 32px; } }
@media (min-width: 1200px) { .nav-inner { padding: 0 40px; } }

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  flex-shrink: 0;
}
.nav-logo span { color: var(--green); }

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 900px) { .nav-links { display: flex; } }

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 13px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.05); }

.nav-cta {
  color: var(--green) !important;
  border-color: var(--green-border) !important;
}
.nav-cta:hover {
  background: var(--green-glow) !important;
  border-color: rgba(0,255,136,0.4) !important;
}

/* App button nav */
.nav-app-btn {
  display: flex !important;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  color: rgba(0,255,136,0.75) !important;
  border: 1px solid rgba(0,255,136,0.20) !important;
  background: rgba(0,255,136,0.05) !important;
  cursor: default;
  padding: 6px 14px !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s !important;
}
.nav-app-btn:hover {
  color: var(--green) !important;
  border-color: rgba(0,255,136,0.35) !important;
  background: rgba(0,255,136,0.09) !important;
}
.nav-app-pill {
  font-family: 'Space Mono', monospace;
  font-size: 0.5rem;
  background: rgba(0,255,136,0.10);
  color: var(--green);
  border: 1px solid var(--green-border);
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  color: var(--white);
}
@media (min-width: 900px) { .nav-burger { display: none; } }
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 20px;
  background: rgba(8,8,16,0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1),
              padding 0.35s, border-color 0.35s;
}
.nav.open .nav-mobile {
  max-height: 420px;
  padding: 8px 20px 20px;
  border-color: var(--border);
}
.nav-mobile a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--white); }
.mobile-cta { color: var(--green) !important; }
.mobile-app-link {
  color: var(--muted-2) !important;
  opacity: 0.7;
  cursor: default;
}
.mobile-app-pill {
  font-family: 'Space Mono', monospace;
  font-size: 0.5rem;
  background: rgba(0,255,136,0.08);
  color: var(--green);
  border: 1px solid var(--green-border);
  padding: 2px 7px;
  border-radius: 20px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1;
}
.btn-green {
  background: var(--green);
  color: #050505;
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green-dim);
  border-color: var(--green-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,255,136,0.22);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--border-hover);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* === HERO === */
.hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 64px) 0 64px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: stretch;
}
@media (min-width: 768px)  { .hero-grid { padding: 0 32px; gap: 40px; } }
@media (min-width: 1024px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "top    visual"
      "bottom visual";
    gap: 0 64px;
    padding: 0 40px;
    align-items: start;
  }
}

/* Hero text top: badge + title */
.hero-text-top {
  text-align: center;
}
@media (min-width: 1024px) {
  .hero-text-top {
    grid-area: top;
    text-align: left;
    padding-top: 24px;
  }
}

/* Hero text bottom: sub + ctas + proof */
.hero-text-bottom {
  text-align: center;
}
@media (min-width: 1024px) {
  .hero-text-bottom {
    grid-area: bottom;
    text-align: left;
    padding-bottom: 24px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,255,136,0.07);
  border: 1px solid var(--green-border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 24px;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.03em;
}
.badge-pulse {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,255,136,0.55); }
  60%     { box-shadow: 0 0 0 8px rgba(0,255,136,0); }
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}
.hero-title em { font-style: normal; color: var(--green); }

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}
@media (max-width: 1023px) { .hero-sub { margin: 0 auto 32px; } }
.br-desk { display: none; }
@media (min-width: 900px) { .br-desk { display: block; } }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  justify-content: center;
}
@media (min-width: 1024px) { .hero-ctas { justify-content: flex-start; } }

/* App platform badge hero */
.hero-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--muted-2);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 5px 13px;
  border-radius: 20px;
  margin-bottom: 26px;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.04em;
}
.hero-app-badge .app-dot {
  width: 6px; height: 6px;
  background: rgba(0,255,136,0.35);
  border-radius: 50%;
  flex-shrink: 0;
  animation: dotBlink 2.8s ease-in-out infinite;
}
@keyframes dotBlink {
  0%,100% { opacity: 0.35; }
  50%     { opacity: 1; background: var(--green); }
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}
@media (min-width: 1024px) { .hero-proof { justify-content: flex-start; } }
.proof-dots { display: flex; }
.proof-dots span {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  display: block;
}
.proof-dots span:not(:first-child) { margin-left: -9px; }
.hero-proof p { font-size: 0.82rem; color: var(--muted); }

/* Hero visual — visible en todos los dispositivos */
.hero-visual {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: block;
}
@media (min-width: 1024px) {
  .hero-visual {
    grid-area: visual;
    max-width: none;
    margin: 0;
    align-self: center;
  }
}

/* === TERMINAL === */
.terminal {
  background: var(--bg-card);
  border: 1px solid rgba(0,255,136,0.20);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-float),
              0 0 0 1px rgba(0,255,136,0.06),
              0 0 48px rgba(0,255,136,0.08);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.tb-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.tb-title {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  color: var(--muted);
  margin-left: 4px;
  letter-spacing: 0.06em;
}
.terminal-body {
  padding: 16px;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.tl-k { color: var(--muted); letter-spacing: 0.03em; }
.tl-v { color: var(--white); font-weight: 700; }
.tl-v.green { color: var(--green); }
.tl-sep {
  color: rgba(255,255,255,0.09);
  font-size: 0.6rem;
  justify-content: flex-start;
  letter-spacing: -0.04em;
}
.tl-cursor-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  min-height: 22px;
}
.tl-prompt { color: var(--green); font-weight: 700; flex-shrink: 0; }
.tl-type {
  color: rgba(255,255,255,0.72);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: opacity 0.3s;
}
.cursor-blink {
  color: var(--green);
  animation: blink 1s step-end infinite;
  flex-shrink: 0;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-metrics {
  display: flex;
  align-items: center;
  margin-top: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hm-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 12px;
  gap: 3px;
}
.hm-item strong {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green);
}
.hm-item span {
  font-size: 0.64rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.35;
}
.hm-div { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }

/* Hero chips mobile */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 0 20px;
  margin-top: 28px;
}
@media (min-width: 768px) { .hero-chips { display: none; } }
.chip {
  font-size: 0.74rem;
  font-weight: 500;
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--muted);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.3;
  pointer-events: none;
}
.hero-scroll span {
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
}
.scroll-dot {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: scrollAnim 2.5s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%,100% { transform: scaleY(1); transform-origin: top; }
  50%      { transform: scaleY(0.25); transform-origin: top; }
}

/* === TICKER === */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: rgba(255,255,255,0.01);
  position: relative;
  z-index: 1;
}
.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.ticker::after  { right: 0; background: linear-gradient(to left, var(--bg), transparent); }

.ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: ticker 30s linear infinite;
  align-items: center;
  white-space: nowrap;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.ticker-track .sep {
  color: var(--green);
  opacity: 0.35;
  font-size: 0.5rem;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === SECTIONS BASE === */
section { position: relative; z-index: 1; }

/* === FORM SECTION === */
.form-section { padding: 80px 0; }
@media (min-width: 768px) { .form-section { padding: 100px 0; } }

.form-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 900px) { .form-wrap { grid-template-columns: 1fr 1fr; gap: 64px; } }

.form-copy h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.form-sub {
  color: rgba(255,255,255,0.55);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 28px;
}
.form-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.form-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}
.fb-icon {
  width: 22px; height: 22px;
  background: rgba(0,255,136,0.10);
  border: 1px solid var(--green-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 1px;
}
.form-wa {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  padding: 14px 0;
  border-top: 1px solid var(--border);
  transition: color 0.2s;
}
.form-wa:hover { color: rgba(255,255,255,0.75); }

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-float);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (min-width: 480px) { .form-card { padding: 36px 32px; } }

.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}
.field-group input,
.field-group select,
.field-group textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}
.field-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.35)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.field-group select option { background: #111118; color: var(--white); }
.field-group input::placeholder,
.field-group textarea::placeholder { color: rgba(255,255,255,0.22); }
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--green-border);
  box-shadow: 0 0 0 3px rgba(0,255,136,0.07);
  background: rgba(0,255,136,0.02);
}
.field-group textarea { resize: vertical; min-height: 80px; }

.btn-submit {
  width: 100%;
  position: relative;
  font-size: 0.95rem;
  padding: 15px 24px;
}
.btn-submit .btn-sending,
.btn-submit .btn-sent   { display: none; }
.btn-submit.is-sending .btn-label   { display: none; }
.btn-submit.is-sending .btn-sending { display: flex; align-items: center; gap: 8px; }
.btn-submit.is-sent .btn-label      { display: none; }
.btn-submit.is-sent .btn-sent       { display: flex; align-items: center; gap: 8px; }
.btn-submit.is-sent {
  background: rgba(0,255,136,0.10) !important;
  border-color: var(--green-border) !important;
  color: var(--green) !important;
}

.form-disclaimer {
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.02em;
}

/* === PROBLEMA === */
.problema { padding: 80px 0; }
@media (min-width: 768px) { .problema { padding: 100px 0; } }

.prob-header { text-align: center; margin-bottom: 56px; }
.prob-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.prob-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 48px;
}
@media (min-width: 580px) { .prob-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .prob-grid { grid-template-columns: repeat(3, 1fr); } }

.prob-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.prob-card:hover {
  transform: translateY(-5px);
  border-color: var(--green-border);
  box-shadow: var(--shadow-float), 0 0 28px rgba(0,255,136,0.06);
}
.prob-bg-num {
  position: absolute;
  top: -12px; right: 16px;
  font-family: 'Syne', sans-serif;
  font-size: 5.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.prob-icon {
  width: 44px; height: 44px;
  background: rgba(0,255,136,0.06);
  border: 1px solid var(--green-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 16px;
}
.prob-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.prob-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.65;
}
.prob-cta { text-align: center; }

/* === SERVICIOS === */
.servicios { padding: 80px 0; }
@media (min-width: 768px) { .servicios { padding: 100px 0; } }

.srv-header { text-align: center; margin-bottom: 56px; }
.srv-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.srv-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 580px) { .srv-bento { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .srv-bento { grid-template-columns: repeat(3, 1fr); } }

.srv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.srv-card:hover {
  transform: translateY(-5px);
  border-color: var(--green-border);
  box-shadow: var(--shadow-float), 0 0 32px rgba(0,255,136,0.07);
}

.srv-wide {
  grid-column: 1 / -1;
}
@media (min-width: 900px) {
  .srv-wide:first-child { grid-column: 1 / 3; }
  .srv-wide:last-child  { grid-column: 2 / 4; }
}
.srv-wide .srv-card-icon,
.srv-wide .srv-card-text {
  display: inline-block;
}
@media (min-width: 640px) {
  .srv-wide {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
  }
}

.srv-card-icon {
  width: 52px; height: 52px;
  background: rgba(0,255,136,0.06);
  border: 1px solid var(--green-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
  margin-bottom: 16px;
}
.srv-wide .srv-card-icon { margin-bottom: 0; }

.srv-card-text h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.srv-card-text p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.65;
}
.srv-tag {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 0.6rem;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  background: rgba(0,255,136,0.09);
  color: var(--green);
  border: 1px solid var(--green-border);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* === STATS === */
.stats {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0,255,136,0.04);
}
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.stat-item {
  flex: 1;
  min-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  gap: 6px;
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat-unit { font-size: 1.2rem; }
.stat-desc {
  font-size: 0.76rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}
.stat-div { width: 1px; height: 44px; background: var(--border); flex-shrink: 0; }

/* === PROCESO === */
.proceso { padding: 80px 0; }
@media (min-width: 768px) { .proceso { padding: 100px 0; } }

.proc-header { text-align: center; margin-bottom: 64px; }
.proc-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.proc-steps {
  display: flex;
  flex-direction: column;
  max-width: 680px;
  margin: 0 auto;
}
.proc-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 20px;
}
.proc-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
  width: 44px; height: 44px;
  border: 1px solid var(--green-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,255,136,0.06);
  flex-shrink: 0;
  grid-row: 1;
  grid-column: 1;
  position: relative;
  z-index: 1;
}
.proc-line {
  grid-column: 1;
  grid-row: 2;
  width: 1px;
  background: var(--border);
  margin: 0 auto;
  min-height: 28px;
}
.proc-content {
  grid-column: 2;
  grid-row: 1 / 3;
  padding-top: 10px;
  padding-bottom: 40px;
}
.proc-step:last-child .proc-content { padding-bottom: 0; }
.proc-content h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.proc-content p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.65;
}

/* === TESTIMONIALES === */
.testimoniales { padding: 80px 0; }
@media (min-width: 768px) { .testimoniales { padding: 100px 0; } }

.test-header { text-align: center; margin-bottom: 56px; }
.test-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.test-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 580px) { .test-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .test-grid { grid-template-columns: repeat(3, 1fr); } }

.test-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.test-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-border);
  box-shadow: var(--shadow-float);
}
.test-stars { display: flex; gap: 3px; }
.test-card > p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.65;
  flex: 1;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.test-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  flex-shrink: 0;
}
.test-author strong { display: block; font-size: 0.875rem; font-weight: 600; }
.test-author span   { display: block; font-size: 0.74rem; color: var(--muted); margin-top: 2px; }

/* === FAQ === */
.faq {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  background: rgba(80,100,255,0.02);
}
@media (min-width: 768px) { .faq { padding: 100px 0; } }

.faq-header { text-align: center; margin-bottom: 56px; }
.faq-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s;
}
.faq-item.open,
.faq-item:hover { border-color: var(--green-border); }

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: left;
  transition: background 0.2s;
}
.faq-btn:hover { background: rgba(255,255,255,0.03); }
.faq-icon {
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.open .faq-answer { max-height: 260px; }
.faq-answer p {
  padding: 14px 20px 18px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.65;
  border-top: 1px solid var(--border);
}

/* === CTA FINAL === */
.cta-final { padding: 80px 0; }
@media (min-width: 768px) { .cta-final { padding: 100px 0; } }

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px 28px;
  text-align: center;
  box-shadow: var(--shadow-float);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 280px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0.45;
}
.cta-box h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.cta-box > p {
  color: rgba(255,255,255,0.5);
  font-size: 0.94rem;
  margin-bottom: 36px;
}
.cta-final-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 52px;
  background: rgba(5,5,8,0.7);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (min-width: 580px) { .footer-inner { grid-template-columns: 1fr 1fr; } }

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  margin: 12px 0 20px;
  max-width: 280px;
  line-height: 1.6;
}
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.soc-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  color: var(--muted);
  padding: 7px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.soc-link:hover {
  color: var(--white);
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.07);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
  width: fit-content;
}
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.22);
  text-align: center;
}

/* === WA FAB — redesigned === */
.wa-fab {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0f0f18;
  border: 1px solid rgba(37,211,102,0.32);
  color: var(--white);
  padding: 13px 15px;
  border-radius: 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.55), 0 0 0 1px rgba(37,211,102,0.08);
  transition: max-width 0.3s cubic-bezier(0.4,0,0.2,1),
              border-color 0.25s, box-shadow 0.25s;
  max-width: 54px;
  overflow: hidden;
  white-space: nowrap;
}
.wa-fab:hover {
  max-width: 180px;
  border-color: rgba(37,211,102,0.55);
  box-shadow: 0 8px 32px rgba(0,0,0,0.55), 0 0 20px rgba(37,211,102,0.14);
}
.wa-fab svg {
  flex-shrink: 0;
  color: #25d366;
  animation: waGlow 3s ease-in-out infinite;
}
@keyframes waGlow {
  0%,100% { filter: drop-shadow(0 0 3px rgba(37,211,102,0.35)); }
  50%      { filter: drop-shadow(0 0 9px rgba(37,211,102,0.75)); }
}
.wa-label {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.18s 0.08s;
}
.wa-fab:hover .wa-label { opacity: 1; }

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1),
              transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .badge-pulse, .cursor-blink, .scroll-dot,
  .ticker-track, .wa-fab svg, .hero-app-badge .app-dot { animation: none; }
}

/* === GLOBAL FOCUS === */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* === SELECTION === */
::selection { background: rgba(0,255,136,0.18); color: var(--white); }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.09); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); }

/* === LARGE SCREENS === */
@media (min-width: 1440px) {
  :root { --container: 1280px; }
}
@media (min-width: 1920px) {
  :root { --container: 1400px; }
  .hero-title { font-size: 5.5rem; }
}
