/* ============================================================
   Eztra — Punto de Venta Inteligente
   Design: dark premium, aurora + glass + glow (21st.dev style)
   ============================================================ */

/* --- Variables --- */
:root {
  --purple: #1e90ff;
  --purple-bright: #45aaff;
  --purple-deep: #0b63e0;
  --violet: #7cc7ff;
  --cyan: #22d3ee;
  --pink: #7dd3fc;
  --bg: #04070f;
  --bg-soft: #08101c;
  --surface: rgba(255,255,255,0.03);
  --surface-2: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --heading: #f0f6ff;
  --body: #9db1cc;
  --muted: #64748b;
  --success: #34d399;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', var(--font);
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --max-width: 1140px;
  --nav-height: 68px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --glow-purple: 0 0 40px rgba(30,144,255,0.35);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: rgba(30,144,255,0.4); color: #fff; }
a { color: var(--purple-bright); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--violet); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--heading); line-height: 1.15; letter-spacing: -0.02em; }

/* ============================================================
   Ambient background
   ============================================================ */
.bg-aurora {
  position: fixed; inset: 0; z-index: -4;
  overflow: hidden; pointer-events: none;
  filter: blur(90px) saturate(130%);
}
.aurora-blob { position: absolute; border-radius: 50%; opacity: 0.55; will-change: transform; }
.aurora-1 {
  width: 55vw; height: 55vw; top: -22vw; left: -12vw;
  background: radial-gradient(circle, rgba(30,144,255,0.55), transparent 65%);
  animation: drift1 26s ease-in-out infinite alternate;
}
.aurora-2 {
  width: 45vw; height: 45vw; top: -10vw; right: -14vw;
  background: radial-gradient(circle, rgba(34,211,238,0.30), transparent 65%);
  animation: drift2 32s ease-in-out infinite alternate;
}
.aurora-3 {
  width: 40vw; height: 40vw; top: 55vh; left: 55vw;
  background: radial-gradient(circle, rgba(139,92,246,0.30), transparent 65%);
  animation: drift3 38s ease-in-out infinite alternate;
}
.aurora-4 {
  width: 50vw; height: 50vw; top: 110vh; left: -18vw;
  background: radial-gradient(circle, rgba(124,58,237,0.28), transparent 65%);
  animation: drift2 44s ease-in-out infinite alternate-reverse;
}
@keyframes drift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(10vw, 8vh) scale(1.15); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1.1); } to { transform: translate(-8vw, 10vh) scale(0.95); } }
@keyframes drift3 { from { transform: translate(0,0) scale(1); } to { transform: translate(-12vw, -8vh) scale(1.2); } }

.bg-grid {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 80%);
}
.bg-noise {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

#cursor-glow {
  position: fixed; width: 500px; height: 500px; z-index: 0;
  pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,144,255,0.07), rgba(139,92,246,0.05) 45%, transparent 65%);
  transform: translate(-50%, -50%);
  left: 50%; top: 30%;
  transition: opacity 0.4s;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 0.95rem;
  padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple-bright), var(--purple-deep));
  color: #fff;
  box-shadow: 0 4px 20px rgba(30,144,255,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(30,144,255,0.55), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-ghost {
  background: var(--surface); color: var(--heading);
  border-color: var(--border-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  color: #fff; border-color: rgba(77,175,255,0.5);
  background: rgba(30,144,255,0.1); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,144,255,0.2);
}
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-arrow { transition: transform 0.3s var(--ease-out); display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* shine sweep */
.btn-shine::after {
  content: ''; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -80%; } 85%, 100% { left: 160%; } }

/* ============================================================
   Navigation — floating glass pill
   ============================================================ */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(var(--max-width), calc(100% - 32px));
  z-index: 1000; border-radius: 999px;
  background: rgba(6,12,22,0.55);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(5,10,20,0.8);
  border-color: rgba(30,144,255,0.25);
  box-shadow: 0 8px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(30,144,255,0.06);
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 10px 22px;
}
.nav-logo { display: inline-flex; align-items: center; gap: 10px; }
.nav-brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  color: var(--heading); letter-spacing: -0.02em;
}
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  color: var(--body); font-size: 0.92rem; font-weight: 500;
  padding: 8px 14px; border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; padding: calc(var(--nav-height) + 96px) 24px 40px;
  text-align: center; overflow: hidden;
}
.hero-container { max-width: var(--max-width); margin: 0 auto; position: relative; z-index: 1; }

.badge-glow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 500; color: var(--violet);
  padding: 7px 18px; border-radius: 999px;
  background: rgba(30,144,255,0.1);
  border: 1px solid rgba(77,175,255,0.3);
  box-shadow: 0 0 24px rgba(30,144,255,0.25), inset 0 0 12px rgba(30,144,255,0.08);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulse 2s ease-in-out infinite;
}
.badge-arrow { opacity: 0.7; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

.hero-title {
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  font-weight: 700; margin: 28px 0 22px;
  text-shadow: 0 0 80px rgba(30,144,255,0.3);
}
.gradient-text {
  background: linear-gradient(90deg, var(--purple-bright), #a78bfa, var(--cyan), var(--purple-bright));
  background-size: 300% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradient-flow 8s linear infinite;
}
@keyframes gradient-flow { to { background-position: 300% center; } }

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 300;
  max-width: 640px; margin: 0 auto 36px; color: var(--body);
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex; justify-content: center; align-items: center; gap: clamp(24px, 5vw, 56px);
  flex-wrap: wrap; margin-bottom: 72px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-number {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  background: linear-gradient(180deg, #fff, #a78bfa);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat-label { font-size: 0.85rem; color: var(--muted); }
.stat-divider { width: 1px; height: 40px; background: linear-gradient(180deg, transparent, var(--border-strong), transparent); }

/* Terminal mockup */
.hero-visual { display: flex; justify-content: center; perspective: 1200px; }
.hero-screen {
  position: relative; width: min(680px, 100%);
  border-radius: var(--radius-lg);
  background: rgba(8,14,26,0.75);
  border: 1px solid rgba(77,175,255,0.25);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 60px rgba(30,144,255,0.18), inset 0 1px 0 rgba(255,255,255,0.08);
  text-align: left; overflow: hidden;
  transform-style: preserve-3d;
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.screen-glow {
  position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(30,144,255,0.15), transparent 60%);
}
.screen-header {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.screen-dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f57; } .dot-yellow { background: #febc2e; } .dot-green { background: #28c840; }
.screen-title { margin-left: 10px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.screen-status {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--success);
}
.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 8px var(--success); animation: pulse 2s infinite;
}
.screen-body { padding: 24px 26px 28px; font-family: var(--font-mono); font-size: 0.95rem; }
.screen-line { padding: 5px 0; color: var(--muted); }
.term-label { color: var(--muted); }
.screen-highlight { color: #e6f1ff; }
.screen-highlight.typing::after {
  content: '▌'; color: var(--purple-bright); animation: blink 0.8s step-end infinite;
}
.term-green { color: var(--success); text-shadow: 0 0 12px rgba(52,211,153,0.5); }
.screen-cursor { color: var(--purple-bright); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  overflow: hidden; padding: 22px 0; position: relative;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.marquee-track {
  display: flex; gap: 42px; width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 500;
  color: var(--muted); white-space: nowrap;
}
.marquee-star { color: #a78bfa; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 110px 24px; position: relative; }
.section-container { max-width: var(--max-width); margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.section-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 0.8rem;
  color: var(--purple-bright); letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 20px;
  border: 1px solid rgba(30,144,255,0.3); background: rgba(30,144,255,0.07);
}
.section-title { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 700; margin-bottom: 18px; }
.section-subtitle { font-size: 1.1rem; font-weight: 300; max-width: 620px; margin: 0 auto 60px; }

/* ============================================================
   Cards — spotlight + tilt
   ============================================================ */
.spotlight-card {
  position: relative; border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.3s var(--ease-out);
}
.spotlight-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(30,144,255,0.14), transparent 55%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.spotlight-card::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(77,175,255,0.7), transparent 45%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.spotlight-card:hover::before, .spotlight-card:hover::after { opacity: 1; }
.spotlight-card:hover {
  border-color: rgba(77,175,255,0.25);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px rgba(30,144,255,0.12);
}
.tilt-card { transform-style: preserve-3d; will-change: transform; }

.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px; text-align: left;
}
.feature-card { padding: 34px 30px; }
.feature-icon, .about-icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(30,144,255,0.2), rgba(139,92,246,0.14));
  border: 1px solid rgba(77,175,255,0.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 0 20px rgba(30,144,255,0.15);
}
.feature-icon svg, .about-icon svg {
  width: 30px; height: 30px;
  filter: drop-shadow(0 0 8px rgba(30,144,255,0.5));
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; font-weight: 300; }

/* ============================================================
   Speed section
   ============================================================ */
.feature-dark { padding-top: 60px; }
.feature-dark-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px;
  align-items: center; text-align: left;
}
.feature-dark-text h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 18px; }
.feature-dark-text p { font-weight: 300; margin-bottom: 26px; }
.feature-dark-text strong { color: var(--heading); font-weight: 600; }
.feature-list { list-style: none; }
.feature-list li {
  position: relative; padding: 9px 0 9px 34px; font-size: 0.98rem;
}
.feature-list li::before {
  content: '⚡'; position: absolute; left: 0; top: 8px;
  filter: drop-shadow(0 0 6px rgba(77,175,255,0.8));
}

.glass-panel {
  position: relative; border-radius: var(--radius-xl);
  background: rgba(8,14,26,0.6);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.07);
}
.speed-demo { padding: 34px; display: flex; flex-direction: column; gap: 22px; }
.speed-header {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.speed-info { display: flex; justify-content: space-between; font-size: 0.92rem; margin-bottom: 8px; color: var(--heading); }
.speed-ms {
  font-family: var(--font-mono); font-weight: 700; color: var(--cyan);
  text-shadow: 0 0 14px rgba(34,211,238,0.6);
}
.speed-track {
  height: 8px; border-radius: 999px; background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.speed-fill {
  height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--purple-deep), var(--purple-bright), var(--cyan));
  box-shadow: 0 0 16px rgba(30,144,255,0.6);
  transition: width 1.4s var(--ease-out);
}
.speed-bar.animated .speed-fill { width: var(--w); }

/* ============================================================
   Pricing
   ============================================================ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 420px));
  gap: 28px; justify-content: center; text-align: left; align-items: stretch;
}
.pricing-card { padding: 40px 36px; display: flex; flex-direction: column; }
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 14px; }
.pricing-price {
  font-family: var(--font-display); font-size: 2.8rem; font-weight: 700;
  color: var(--heading); margin-bottom: 12px; letter-spacing: -0.03em;
}
.pricing-period { font-size: 1rem; font-weight: 400; color: var(--muted); }
.pricing-desc { font-size: 0.95rem; font-weight: 300; margin-bottom: 26px; }
.pricing-features { list-style: none; margin-bottom: 32px; flex: 1; }
.pricing-features li { position: relative; padding: 7px 0 7px 30px; font-size: 0.95rem; }
.pricing-features li::before {
  content: '✓'; position: absolute; left: 0; color: var(--success);
  font-weight: 700; text-shadow: 0 0 10px rgba(52,211,153,0.6);
}

/* Featured card — rotating beam border */
.pricing-card-featured {
  position: relative; border-radius: var(--radius-lg); padding: 2px;
  overflow: hidden; transform: scale(1.02);
}
.beam-border {
  position: absolute; top: 50%; left: 50%;
  width: 220%; aspect-ratio: 1; margin: 0;
  transform: translate(-50%, -50%);
  background: conic-gradient(transparent 0%, transparent 64%, var(--cyan) 76%, #a78bfa 86%, var(--purple-bright) 94%, transparent 100%);
  animation: beam-rotate 5s linear infinite;
}
@keyframes beam-rotate { to { transform: translate(-50%, -50%) rotate(360deg); } }
.pricing-card-inner {
  position: relative; z-index: 1; height: 100%;
  border-radius: calc(var(--radius-lg) - 2px);
  background: linear-gradient(160deg, rgba(10,26,52,0.97), rgba(6,12,22,0.97));
  padding: 40px 36px; display: flex; flex-direction: column;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.pricing-card-inner h3 { font-size: 1.3rem; margin-bottom: 14px; }
.pricing-card-inner .pricing-features { flex: 1; }
.pricing-badge {
  position: absolute; top: 22px; right: 24px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  color: #fff; padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(135deg, var(--purple-bright), var(--purple-deep));
  box-shadow: 0 0 20px rgba(30,144,255,0.5);
}

/* ============================================================
   About
   ============================================================ */
.about-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px; text-align: left;
}
.about-card { padding: 34px 30px; }
.about-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.about-card p { font-size: 0.95rem; font-weight: 300; }

/* ============================================================
   Contact
   ============================================================ */
.contact-panel {
  padding: clamp(36px, 6vw, 70px); overflow: hidden;
}
.contact-glow {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 70%; height: 60%; pointer-events: none;
  background: radial-gradient(ellipse, rgba(30,144,255,0.22), transparent 70%);
}
.contact-form { max-width: 680px; margin: 0 auto; text-align: left; position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 500;
  color: var(--heading); margin-bottom: 8px;
}
.form-group input, .form-group textarea {
  width: 100%; padding: 13px 16px;
  font-family: var(--font); font-size: 0.95rem; color: var(--heading);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  outline: none; resize: vertical;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--purple-bright);
  background: rgba(30,144,255,0.06);
  box-shadow: 0 0 0 4px rgba(30,144,255,0.15), 0 0 24px rgba(30,144,255,0.2);
}
.form-disclaimer { font-size: 0.82rem; color: var(--muted); text-align: center; margin-top: 16px; }
.form-success {
  text-align: center; padding: 40px 20px; font-size: 1.1rem; color: var(--heading);
}
.form-success .success-icon {
  font-size: 3rem; display: block; margin-bottom: 16px;
  filter: drop-shadow(0 0 20px rgba(52,211,153,0.7));
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 70px 24px 0; position: relative; overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(30,144,255,0.05));
}
.footer-container { max-width: var(--max-width); margin: 0 auto; position: relative; z-index: 1; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 50px; text-align: left;
}
.footer-brand p { font-size: 0.9rem; font-weight: 300; margin-top: 16px; max-width: 300px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 {
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.footer-links a { color: var(--body); font-size: 0.92rem; }
.footer-links a:hover { color: var(--purple-bright); }
.footer-wordmark {
  font-family: var(--font-display); font-weight: 700; text-align: center;
  font-size: clamp(4rem, 18vw, 13rem); line-height: 0.9; letter-spacing: 0.02em;
  background: linear-gradient(180deg, rgba(77,175,255,0.22), transparent 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  user-select: none; margin-bottom: -2vw;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0 28px; text-align: center;
}
.footer-bottom p { font-size: 0.85rem; color: var(--muted); }

/* ============================================================
   Cookie banner
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: 16px; left: 50%;
  transform: translate(-50%, calc(100% + 40px));
  width: min(760px, calc(100% - 32px));
  background: rgba(8,14,26,0.85);
  border: 1px solid rgba(77,175,255,0.3);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  color: var(--body); z-index: 10000; padding: 18px 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(30,144,255,0.15);
  transition: transform 0.5s var(--ease-out);
}
.cookie-banner.visible { transform: translate(-50%, 0); }
.cookie-content {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.cookie-content p { font-size: 0.875rem; margin: 0; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }

/* ============================================================
   Legal pages
   ============================================================ */
.legal-page {
  max-width: 800px; margin: 0 auto;
  padding: calc(var(--nav-height) + 90px) 24px 90px;
}
.legal-page h1 { font-size: 2.2rem; margin-bottom: 10px; }
.legal-page h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal-page p, .legal-page li { font-weight: 300; margin-bottom: 12px; }
.legal-page ul { padding-left: 24px; }
.legal-date { color: var(--muted); font-size: 0.9rem; margin-bottom: 30px; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .feature-dark-grid { grid-template-columns: 1fr; gap: 44px; }
  .pricing-grid { grid-template-columns: minmax(0, 440px); }
  .pricing-card-featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  .section { padding: 80px 20px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .speed-fill { width: var(--w); }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Logo
   ============================================================ */
.logo-img {
  height: 38px; width: auto;
  filter: drop-shadow(0 2px 12px rgba(30,144,255,0.5));
}
.logo-img-sm { height: 30px; }
.nav-brand-stack { display: flex; flex-direction: column; line-height: 1; }
.nav-tagline {
  font-size: 0.55rem; font-weight: 600; letter-spacing: 0.26em;
  color: var(--muted); margin-top: 3px;
}

/* ============================================================
   Hero 3D crystal
   ============================================================ */
.hero-crystal {
  position: relative; width: 170px; height: 170px;
  margin: 6px auto 2px; perspective: 900px;
}
.crystal-tilt {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.crystal-stage {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  animation: crystal-float 8s ease-in-out infinite;
  will-change: transform;
}
.crystal-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(11,99,224,0.55)) drop-shadow(0 0 26px rgba(69,170,255,0.45));
  transform: translateZ(40px);
}
.crystal-halo {
  position: absolute; inset: -46%; z-index: -1;
  background: radial-gradient(circle, rgba(30,144,255,0.4), rgba(139,92,246,0.18) 48%, transparent 70%);
  filter: blur(18px);
  animation: halo-pulse 5s ease-in-out infinite;
}
.crystal-ring {
  position: absolute; inset: -14%; border-radius: 50%;
  border: 1px solid rgba(77,175,255,0.35);
  transform: rotateX(72deg);
  box-shadow: 0 0 24px rgba(30,144,255,0.25), inset 0 0 24px rgba(30,144,255,0.2);
  animation: ring-spin 14s linear infinite;
}
.crystal-shadow {
  position: absolute; left: 50%; bottom: -30px; width: 65%; height: 20px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(11,99,224,0.5), transparent 70%);
  filter: blur(10px);
  animation: shadow-pulse 8s ease-in-out infinite;
}
@keyframes crystal-float {
  0%, 100% { transform: translateY(0) rotateY(-9deg) rotateX(2deg); }
  50% { transform: translateY(-16px) rotateY(9deg) rotateX(-3deg); }
}
@keyframes halo-pulse { 0%, 100% { opacity: 0.8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes ring-spin { to { transform: rotateX(72deg) rotate(360deg); } }
@keyframes shadow-pulse { 0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.8; } 50% { transform: translateX(-50%) scale(0.82); opacity: 0.5; } }

/* ============================================================
   Scroll-to-expand dashboard journey
   ============================================================ */
.dash-journey { height: 280vh; position: relative; }
.dash-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden; perspective: 1300px;
}
.dash-title {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; gap: 0.35em; white-space: nowrap;
  font-size: clamp(3rem, 9vw, 7.5rem); font-weight: 700;
  z-index: 0; pointer-events: none;
  opacity: calc(1 - var(--p, 0) * 1.6);
}
.dash-word { display: inline-block; }
.dash-word-l {
  transform: translateX(calc(var(--p, 0) * -18vw));
  background: linear-gradient(90deg, #fff, var(--purple-bright));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.dash-word-r {
  transform: translateX(calc(var(--p, 0) * 18vw));
  background: linear-gradient(90deg, #a78bfa, var(--cyan));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.dash-frame {
  position: relative; z-index: 1;
  width: min(1080px, 94vw);
  border-radius: var(--radius-lg);
  background: rgba(8,14,26,0.88);
  border: 1px solid rgba(77,175,255,0.28);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 80px rgba(30,144,255,0.2), inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  transform: scale(calc(0.52 + var(--p, 0) * 0.48)) rotateX(calc((1 - var(--p, 0)) * 22deg)) translateY(calc((1 - var(--p, 0)) * 4vh));
  transform-style: preserve-3d;
  opacity: calc(0.55 + var(--p, 0) * 0.45);
  will-change: transform;
}
.dash-caption {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
  opacity: calc(1 - var(--p, 0) * 2);
}
.dash-caption .scroll-hint { display: inline-block; animation: hint-bounce 1.6s ease-in-out infinite; margin-right: 8px; }
@keyframes hint-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* Dashboard mockup internals */
.dash-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.dash-chrome .screen-title { margin-left: 8px; }
.dash-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--success);
}
.dash-body { display: grid; grid-template-columns: 176px 1fr; min-height: 430px; }
.dash-sidebar {
  border-right: 1px solid var(--border); padding: 14px 10px;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(255,255,255,0.015);
}
.dash-nav-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.8rem; color: var(--muted);
  padding: 8px 10px; border-radius: 8px;
}
.dash-nav-item svg { width: 15px; height: 15px; flex-shrink: 0; }
.dash-nav-item.active {
  color: #fff; background: linear-gradient(90deg, rgba(30,144,255,0.25), rgba(30,144,255,0.06));
  border: 1px solid rgba(77,175,255,0.3);
}
.dash-main { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.dash-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.dash-kpi {
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}
.dash-kpi-label { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.dash-kpi-value {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--heading);
  margin-top: 2px;
}
.dash-kpi-delta { font-family: var(--font-mono); font-size: 0.68rem; color: var(--success); }
.dash-kpi-delta.down { color: #f87171; }
.dash-widgets { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; flex: 1; }
.dash-widget {
  padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.dash-widget-title { font-size: 0.78rem; font-weight: 600; color: var(--heading); margin-bottom: 12px; }
.dash-chart { display: flex; align-items: flex-end; gap: 8px; flex: 1; min-height: 120px; }
.dash-bar {
  flex: 1; border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--purple-bright), var(--purple-deep));
  box-shadow: 0 0 14px rgba(30,144,255,0.35);
  height: calc(var(--h) * 1%);
  min-height: 6px;
  position: relative;
  animation: bar-grow 1.2s var(--ease-out) both;
}
.dash-bar.peak { background: linear-gradient(180deg, var(--cyan), var(--purple-bright)); }
@keyframes bar-grow { from { height: 4%; } }
.dash-chart-labels { display: flex; gap: 8px; margin-top: 8px; }
.dash-chart-labels span { flex: 1; text-align: center; font-family: var(--font-mono); font-size: 0.62rem; color: var(--muted); }
.dash-list { display: flex; flex-direction: column; gap: 9px; }
.dash-list-item { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--body); }
.dash-list-item strong { color: var(--heading); font-weight: 500; }
.dash-list-item .mono { font-family: var(--font-mono); font-size: 0.72rem; color: var(--cyan); }
.dash-alert { color: #fbbf24; }
.dash-flia {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(30,144,255,0.14), rgba(34,211,238,0.07));
  border: 1px solid rgba(77,175,255,0.3);
  font-size: 0.78rem; color: var(--body);
}
.dash-flia .flia-spark { font-size: 1rem; filter: drop-shadow(0 0 8px rgba(69,170,255,0.8)); }
.dash-flia .typing-dots span {
  display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: var(--purple-bright); margin-right: 3px;
  animation: dot-blink 1.2s infinite;
}
.dash-flia .typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.dash-flia .typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot-blink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; text-align: left; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(77,175,255,0.35); box-shadow: 0 0 30px rgba(30,144,255,0.1); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 18px 22px; font-weight: 600; color: var(--heading);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { transition: transform 0.35s var(--ease-out); color: var(--purple-bright); flex-shrink: 0; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 22px 18px; font-size: 0.95rem; font-weight: 300; }

/* ============================================================
   WhatsApp floating button
   ============================================================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 5000;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #34d399, #0d8a3a);
  box-shadow: 0 8px 30px rgba(13,138,58,0.5), 0 0 0 0 rgba(52,211,153,0.5);
  animation: wa-pulse 2.6s infinite;
  transition: transform 0.3s var(--ease-out);
}
.wa-float:hover { transform: scale(1.1) translateY(-3px); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes wa-pulse {
  0% { box-shadow: 0 8px 30px rgba(13,138,58,0.5), 0 0 0 0 rgba(52,211,153,0.45); }
  70% { box-shadow: 0 8px 30px rgba(13,138,58,0.5), 0 0 0 16px rgba(52,211,153,0); }
  100% { box-shadow: 0 8px 30px rgba(13,138,58,0.5), 0 0 0 0 rgba(52,211,153,0); }
}

/* Pricing guarantee note */
.pricing-guarantee {
  margin-top: 30px; font-size: 0.92rem; color: var(--body);
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.pricing-guarantee .shield { filter: drop-shadow(0 0 8px rgba(52,211,153,0.6)); }

/* Responsive extras */
@media (max-width: 900px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-sidebar { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--border); }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-widgets { grid-template-columns: 1fr; }
  .dash-journey { height: 220vh; }
}

/* ============================================================
   Purple motion pack — orbs, word-rise, parallax
   ============================================================ */
.bg-aurora, .bg-grid { will-change: transform; }

.hero-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.orb {
  position: absolute; border-radius: 50%;
  will-change: transform;
}
.orb-1 {
  width: 14px; height: 14px; left: 12%; top: 30%;
  background: #45aaff;
  box-shadow: 0 0 22px 6px rgba(69,170,255,0.55);
  animation: orb-float-a 13s ease-in-out infinite;
}
.orb-2 {
  width: 10px; height: 10px; right: 14%; top: 24%;
  background: #a78bfa;
  box-shadow: 0 0 20px 6px rgba(167,139,250,0.55);
  animation: orb-float-b 17s ease-in-out infinite;
}
.orb-3 {
  width: 8px; height: 8px; left: 22%; bottom: 20%;
  background: #22d3ee;
  box-shadow: 0 0 18px 5px rgba(34,211,238,0.5);
  animation: orb-float-c 15s ease-in-out infinite;
}
.orb-4 {
  width: 6px; height: 6px; right: 20%; bottom: 28%;
  background: #8b5cf6;
  box-shadow: 0 0 16px 5px rgba(139,92,246,0.55);
  animation: orb-float-b 11s ease-in-out infinite reverse;
}
@keyframes orb-float-a {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.9; }
  33% { transform: translate(34px, -46px) scale(1.25); opacity: 1; }
  66% { transform: translate(-22px, -14px) scale(0.85); opacity: 0.65; }
}
@keyframes orb-float-b {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  40% { transform: translate(-40px, 30px) scale(1.3); opacity: 1; }
  75% { transform: translate(18px, -26px) scale(0.9); opacity: 0.6; }
}
@keyframes orb-float-c {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate(28px, 34px) scale(1.35); opacity: 1; }
}

/* Hero title word-by-word entrance */
.title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em) rotateX(45deg);
  animation: word-rise 0.85s var(--ease-out) forwards;
  animation-delay: calc(var(--wi, 0) * 0.09s + 0.15s);
  transform-origin: bottom center;
}
.hero-title { perspective: 600px; }
@keyframes word-rise {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

/* Idle breathing on section titles' gradient words */
.section-title .gradient-text { animation: gradient-flow 8s linear infinite, breath 6s ease-in-out infinite; }
@keyframes breath {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(167,139,250,0)); }
  50% { filter: drop-shadow(0 0 18px rgba(167,139,250,0.45)); }
}

/* ============================================================
   Nav — FLIA link
   ============================================================ */
.nav-links .nav-ai { color: var(--violet); font-weight: 600; }
.nav-links .nav-ai:hover { color: #fff; background: rgba(30,144,255,0.12); }
.nav-ai .ai-spark {
  display: inline-block; font-size: 0.8em;
  animation: spark-twinkle 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(69,170,255,0.9));
}
@keyframes spark-twinkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.55; transform: scale(0.8) rotate(20deg); }
}

/* Hero badge spacing */
.hero .badge-glow { margin-top: 26px; }
.hero .badge-glow:hover { color: #fff; box-shadow: 0 0 34px rgba(30,144,255,0.45), inset 0 0 12px rgba(30,144,255,0.12); }

/* ============================================================
   FLIA — AI showcase section
   ============================================================ */
.flia { position: relative; overflow: hidden; }
.flia-wordmark {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(11rem, 34vw, 28rem); line-height: 1; letter-spacing: 0.03em;
  background: linear-gradient(180deg, rgba(69,170,255,0.1), rgba(139,92,246,0.02) 85%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  pointer-events: none; user-select: none; z-index: 0; white-space: nowrap;
}
.flia .section-container { z-index: 1; }
.flia-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px;
  align-items: center; text-align: left; margin-top: 8px;
}
.flia-list { list-style: none; margin-bottom: 26px; }
.flia-list li { position: relative; padding: 10px 0 10px 36px; font-size: 1rem; font-weight: 300; }
.flia-list li::before {
  content: '✦'; position: absolute; left: 0; top: 9px;
  color: var(--purple-bright);
  filter: drop-shadow(0 0 8px rgba(69,170,255,0.8));
}
.flia-list strong { color: var(--heading); font-weight: 600; }
.flia-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.flia-chip {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--violet);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(30,144,255,0.08); border: 1px solid rgba(77,175,255,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

/* FLIA chat mockup */
.flia-chat { overflow: hidden; }
.flia-avatar {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: #fff;
  background: linear-gradient(135deg, var(--purple-bright), #8b5cf6);
  box-shadow: 0 0 16px rgba(69,170,255,0.6);
}
.chat-body { padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 14px; }
.chat-msg {
  max-width: 86%; padding: 12px 16px; font-size: 0.92rem; line-height: 1.5;
  border-radius: 16px;
  opacity: 0; transform: translateY(14px);
}
.flia-chat.visible .chat-msg { animation: msg-in 0.55s var(--ease-out) forwards; }
.flia-chat.visible .chat-msg:nth-child(1) { animation-delay: 0.25s; }
.flia-chat.visible .chat-msg:nth-child(2) { animation-delay: 0.9s; }
.flia-chat.visible .chat-msg:nth-child(3) { animation-delay: 1.65s; }
.flia-chat.visible .chat-msg:nth-child(4) { animation-delay: 2.35s; }
.flia-chat.visible .chat-msg:nth-child(5) { animation-delay: 3.1s; }
@keyframes msg-in { to { opacity: 1; transform: translateY(0); } }
.chat-msg.user {
  align-self: flex-end; color: #fff;
  background: linear-gradient(135deg, var(--purple-bright), var(--purple-deep));
  border-bottom-right-radius: 4px;
  box-shadow: 0 6px 20px rgba(30,144,255,0.3);
}
.chat-msg.flia {
  align-self: flex-start; color: var(--body);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(77,175,255,0.22);
  border-bottom-left-radius: 4px;
}
.chat-msg.flia strong { color: var(--heading); }
.chat-flia-tag {
  display: block; font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.1em; color: var(--purple-bright); margin-bottom: 4px;
}
.chat-msg.chat-typing { padding: 14px 18px 10px; }
.chat-typing .typing-dots span {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--purple-bright); margin-right: 4px;
  animation: dot-blink 1.2s infinite;
}
.chat-typing .typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing .typing-dots span:nth-child(3) { animation-delay: 0.4s; }

/* ============================================================
   Promo CTA banner
   ============================================================ */
.promo { padding-top: 20px; padding-bottom: 20px; }
.promo-panel {
  position: relative; border-radius: var(--radius-xl);
  padding: 2px; overflow: hidden;
}
.promo-inner {
  position: relative; z-index: 1;
  border-radius: calc(var(--radius-xl) - 2px);
  background:
    radial-gradient(900px circle at 50% -10%, rgba(30,144,255,0.25), transparent 60%),
    linear-gradient(160deg, rgba(10,26,52,0.97), rgba(6,12,22,0.97));
  padding: clamp(44px, 7vw, 80px) clamp(24px, 6vw, 70px);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.promo-kicker {
  display: inline-block; font-family: var(--font-mono); font-size: 0.8rem;
  color: #fff; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(30,144,255,0.35), rgba(139,92,246,0.25));
  border: 1px solid rgba(77,175,255,0.45);
  box-shadow: 0 0 28px rgba(30,144,255,0.35);
  animation: promo-glow 3s ease-in-out infinite;
}
@keyframes promo-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(30,144,255,0.3); }
  50% { box-shadow: 0 0 40px rgba(30,144,255,0.6); }
}
.promo-title { font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 700; margin: 20px 0 18px; }
.promo-sub {
  max-width: 580px; margin: 0 auto 34px;
  font-size: 1.05rem; font-weight: 300;
}
.promo-sub strong { color: var(--heading); font-weight: 600; }
.promo-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.promo-trust {
  display: flex; gap: clamp(14px, 3vw, 28px); justify-content: center; flex-wrap: wrap;
  font-size: 0.88rem; color: var(--body);
}
.promo-trust span { white-space: nowrap; }

/* ============================================================
   Social media icons
   ============================================================ */
.social-row { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.social-btn {
  width: 46px; height: 46px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  color: var(--body);
  transition: transform 0.3s var(--ease-out), background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.social-btn svg { width: 22px; height: 22px; fill: currentColor; }
.social-btn:hover { transform: translateY(-4px) scale(1.06); color: #fff; }
.social-fb:hover { background: #1877F2; border-color: #1877F2; box-shadow: 0 8px 24px rgba(24,119,242,0.45); }
.social-ig:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: #dc2743; box-shadow: 0 8px 24px rgba(220,39,67,0.45);
}
.social-x:hover { background: #000; border-color: rgba(255,255,255,0.45); box-shadow: 0 8px 24px rgba(255,255,255,0.14); }
.social-tt:hover { background: #010101; border-color: #69C9D0; box-shadow: 0 8px 24px rgba(105,201,208,0.35); }
.social-yt:hover { background: #FF0000; border-color: #FF0000; box-shadow: 0 8px 24px rgba(255,0,0,0.45); }
.social-in:hover { background: #0A66C2; border-color: #0A66C2; box-shadow: 0 8px 24px rgba(10,102,194,0.45); }

/* Responsive — FLIA & promo */
@media (max-width: 900px) {
  .flia-grid { grid-template-columns: 1fr; gap: 44px; }
  .flia-chat { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
  .chat-msg { max-width: 94%; }
  .promo-cta .btn { width: 100%; }
}

/* ============================================================
   Recorrido cinemático — capturas reales en 3D slow-motion
   ============================================================ */
.journey { position: relative; }
.journey-track { height: 560vh; position: relative; }
.journey-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-top: 84px;
}
.journey-head { text-align: center; padding: 0 20px; margin-bottom: 4px; z-index: 3; }
.journey-head .section-title { margin-bottom: 6px; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.journey-head .section-subtitle { margin-bottom: 0; font-size: 0.95rem; }
.journey-stage {
  position: relative; height: min(47vh, 540px); aspect-ratio: 16 / 10.6;
  max-width: 92vw;
  perspective: 1400px; transform-style: preserve-3d; margin-top: 16px;
}
.journey-slide {
  position: absolute; inset: 0; margin: 0;
  will-change: transform, opacity; opacity: 0;
  transform-style: preserve-3d;
}
.journey-frame {
  height: 100%; display: flex; flex-direction: column;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #0b1322;
  box-shadow: 0 40px 90px rgba(2, 8, 20, 0.75), 0 0 60px rgba(30,144,255,0.12);
}
.journey-chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 16px; background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
}
.journey-chrome .screen-title { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); margin-left: 8px; }
.journey-frame img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top; display: block; }
.journey-captions {
  position: relative; width: min(1080px, 92vw);
  min-height: 96px; margin-top: 18px; z-index: 3;
}
.journey-caption {
  position: absolute; inset: 0; text-align: center;
  opacity: 0; transform: translateY(18px);
  will-change: transform, opacity;
}
.journey-step-num {
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.35em;
  color: var(--purple-bright);
}
.journey-caption h3 { font-size: 1.5rem; margin: 4px 0 6px; }
.journey-caption p { max-width: 560px; margin: 0 auto; font-weight: 300; }
.kbd-combo kbd {
  font-family: var(--font-mono); font-size: 0.82em; color: var(--heading);
  background: rgba(255,255,255,0.07); border: 1px solid var(--border-strong);
  border-bottom-width: 2.5px; border-radius: 7px; padding: 2px 9px;
}
.journey-rail {
  display: flex; gap: 10px; margin-top: 18px; z-index: 3;
}
.journey-dot {
  width: 34px; height: 4px; border-radius: 999px;
  background: rgba(255,255,255,0.12); overflow: hidden; position: relative;
  transition: background 0.4s;
}
.journey-dot.active { background: linear-gradient(90deg, var(--purple-bright), var(--cyan)); box-shadow: 0 0 14px rgba(69,170,255,0.55); }
@media (max-width: 768px) {
  .journey-track { height: 420vh; }
  .journey-caption h3 { font-size: 1.15rem; }
  .journey-caption p { font-size: 0.88rem; }
}

/* ============================================================
   Galería 3D en movimiento
   ============================================================ */
.gallery { padding: 90px 0 40px; overflow: hidden; }
.gallery-plane {
  perspective: 1100px;
}
.gallery-row {
  display: flex; gap: 26px; width: max-content;
  transform: rotateX(12deg) rotateZ(-2.5deg);
  animation: gallery-scroll 75s linear infinite;
  will-change: transform;
}
.gallery-row img {
  width: 420px; border-radius: 14px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 26px 60px rgba(2,8,20,0.7);
  opacity: 0.85; transition: opacity 0.4s, transform 0.4s;
}
.gallery-row img:hover { opacity: 1; transform: translateY(-8px) scale(1.02); }
@keyframes gallery-scroll {
  from { transform: rotateX(12deg) rotateZ(-2.5deg) translateX(0); }
  to   { transform: rotateX(12deg) rotateZ(-2.5deg) translateX(calc(-50% - 13px)); }
}
@media (prefers-reduced-motion: reduce) { .gallery-row { animation: none; } }
@media (max-width: 768px) { .gallery-row img { width: 260px; } }

/* ============================================================
   Giros
   ============================================================ */
.giros-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px;
}
.giro-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px; position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.giro-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.giro-emoji { font-size: 1.9rem; display: block; margin-bottom: 12px; }
.giro-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.giro-card p { font-size: 0.92rem; font-weight: 300; }
@media (max-width: 900px) { .giros-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .giros-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Hardware
   ============================================================ */
.hardware-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 46px;
}
.hw-item {
  text-align: center; padding: 30px 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.hw-item:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.hw-item svg { width: 42px; height: 42px; margin: 0 auto 14px; }
.hw-item h4 { font-size: 0.98rem; margin-bottom: 5px; }
.hw-item p { font-size: 0.84rem; color: var(--muted); font-weight: 300; }
@media (max-width: 900px) { .hardware-row { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Cumplimiento
   ============================================================ */
.compliance { padding-top: 20px; padding-bottom: 20px; }
.compliance-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(30,144,255,0.05), rgba(255,255,255,0.02));
  padding: 28px 26px;
}
.comp-item { text-align: center; }
.comp-badge {
  display: inline-block; font-family: var(--font-mono); font-weight: 700; font-size: 0.86rem;
  color: var(--heading); letter-spacing: 0.06em;
  background: rgba(69,170,255,0.12); border: 1px solid rgba(69,170,255,0.35);
  border-radius: 999px; padding: 5px 16px; margin-bottom: 10px;
}
.comp-item p { font-size: 0.82rem; color: var(--muted); font-weight: 300; margin: 0; }
@media (max-width: 900px) { .compliance-band { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Pricing legal + form extras + footer address
   ============================================================ */
.pricing-legal {
  margin-top: 34px; text-align: center; font-size: 0.86rem; font-weight: 300;
  color: var(--muted); max-width: 760px; margin-left: auto; margin-right: auto;
}
.pricing-legal strong { color: var(--body); }
.form-optin {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.86rem; color: var(--body); margin-top: 16px; cursor: pointer;
}
.form-optin input { margin-top: 3px; accent-color: var(--purple); }
.footer-address { font-style: normal; font-size: 0.88rem; color: var(--muted); line-height: 1.8; }
