/* ============================================
   KERNVOLT — volt.css
   Dark theme styles for VOLT product page
   kernvolt.com/volt.html
   ============================================ */

/* ── Dark theme variable overrides ────────── */
body.volt-page {
  background: #0A0A0A;
  color: #FFFFFF;
  --bg-primary:       #0A0A0A;
  --bg-secondary:     #111111;
  --bg-surface:       rgba(255,255,255,0.04);
  --bg-surface-hover: rgba(255,255,255,0.07);
  --text-primary:     #FFFFFF;
  --text-secondary:   #999999;
  --text-tertiary:    #555555;
  --border-color:     rgba(255,255,255,0.08);
  --border-hover:     rgba(255,255,255,0.16);
}

/* ── Header dark mode on volt page ──────── */
.volt-page .site-header {
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.volt-page .site-header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.volt-page .nav-link {
  color: rgba(255, 255, 255, 0.6);
}
.volt-page .nav-link:hover,
.volt-page .nav-link.active {
  color: #FFFFFF;
}
.volt-page .hamburger-line {
  background: #FFFFFF;
}
.volt-page .nav-links {
  background: #0A0A0A;
  border-color: rgba(255, 255, 255, 0.08);
}
/* Logo PNG (negro) → invertir a blanco sobre fondo oscuro */
.volt-page .logo-img {
  filter: brightness(0) invert(1);
}

/* Botón "Hablemos" en header → transparente con borde blanco */
.volt-page .nav-actions .btn-primary {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}
.volt-page .nav-actions .btn-primary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  transform: none;
  box-shadow: none;
}

.volt-page .nav-badge {
  background: #FFFFFF;
  color: #0A0A0A;
}

/* Section borders */
.volt-page .section-tag {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
}

/* ── VOLT Hero ─────────────────────────────── */
.volt-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.volt-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-block: var(--space-20);
}

/* Badge "Producto by Kernvolt" */
.volt-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.3rem 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-6);
}
.volt-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
  opacity: 0.7;
}

.volt-hero h1 {
  font-size: clamp(2.75rem, 6.5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  margin-bottom: var(--space-6);
}

.volt-hero p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: var(--space-10);
}

/* Subtle grid background */
.volt-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

/* VOLT CTA buttons */
.volt-btn-primary {
  background: #FFFFFF;
  color: #0A0A0A;
  border: none;
  font-weight: 700;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 4px 24px rgba(255, 255, 255, 0.10),
    0 1px 2px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.volt-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 8px 40px rgba(255, 255, 255, 0.16),
    0 2px 4px rgba(0, 0, 0, 0.4);
}
.volt-btn-primary:active { transform: translateY(0); }

.volt-btn-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
  transition: all 0.2s ease;
}
.volt-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.30);
  transform: translateY(-1px);
}

/* ── Shared section styles ─────────────────── */
.volt-section {
  padding-block: var(--space-20);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.volt-section-header {
  margin-bottom: var(--space-12);
}
.volt-section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  margin-top: var(--space-2);
  margin-bottom: var(--space-3);
}
.volt-section-header p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 520px;
}

/* ── Feature cards (6 en grid 3×2) ─────────── */
.volt-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.volt-feature-card {
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.volt-feature-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}
.volt-feature-card.coming-soon {
  opacity: 0.55;
}

.volt-feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  margin-bottom: var(--space-5);
  color: rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
}
.volt-feature-icon svg { width: 22px; height: 22px; }

.volt-feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}
.volt-feature-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

.volt-coming-badge {
  display: inline-flex;
  margin-top: var(--space-3);
  padding: 0.2rem 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* ── Steps (3 pasos horizontales) ──────────── */
.volt-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}

/* Línea conectora entre pasos */
.volt-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 0;
}

.volt-step {
  text-align: center;
  padding: var(--space-6) var(--space-5);
  position: relative;
  z-index: 1;
}

.volt-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  font-size: 1.375rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.04em;
}

.volt-step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}
.volt-step p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

/* ── Use case cards (4 en grid 2×2) ────────── */
.volt-usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.volt-usecase-card {
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.volt-usecase-card:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
}

.volt-usecase-area {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.volt-usecase-area-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}
.volt-usecase-area-icon svg { width: 16px; height: 16px; }
.volt-usecase-area span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* Chat bubble — pregunta del usuario */
.volt-chat-bubble {
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px 12px 12px 4px;
  margin-bottom: var(--space-3);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
  line-height: 1.55;
}

/* Respuesta de VOLT */
.volt-answer {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.40);
  line-height: 1.65;
  padding-left: var(--space-3);
  border-left: 2px solid rgba(255, 255, 255, 0.10);
}
.volt-answer strong {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

/* ── Screenshot / mockup ───────────────────── */
.volt-screenshot-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

/* Barra de browser falsa */
.volt-browser-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.volt-browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}
.volt-browser-url {
  flex: 1;
  height: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  margin-left: var(--space-2);
}

.volt-screenshot-img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 520px;
}

/* ── CTA Final + Form ───────────────────────── */
.volt-cta-section {
  background: #111111;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-block: var(--space-20);
}

.volt-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.volt-cta-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  margin-top: var(--space-2);
  margin-bottom: var(--space-4);
  line-height: 1.1;
}
.volt-cta-text p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

/* Dark form inputs */
.volt-page .form-input,
.volt-page .form-textarea,
.volt-page .form-select {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
}
.volt-page .form-input::placeholder,
.volt-page .form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.22);
}
.volt-page .form-input:focus,
.volt-page .form-textarea:focus,
.volt-page .form-select:focus {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.07);
}
.volt-page .form-label {
  color: rgba(255, 255, 255, 0.5);
}

/* Form status messages on dark */
.volt-page .form-status.success {
  background: rgba(52, 168, 83, 0.12);
  border-color: rgba(52, 168, 83, 0.25);
  color: #34A853;
}
.volt-page .form-status.error {
  background: rgba(234, 67, 53, 0.12);
  border-color: rgba(234, 67, 53, 0.25);
  color: #EA4335;
}

/* ── Footer dark on volt page ──────────────── */
.volt-page .site-footer {
  background: #0A0A0A;
  border-top-color: rgba(255, 255, 255, 0.07);
}
.volt-page .footer-tagline { color: rgba(255, 255, 255, 0.35); }
.volt-page .footer-nav-title { color: rgba(255, 255, 255, 0.45); }
.volt-page .footer-nav-list a { color: rgba(255, 255, 255, 0.4); }
.volt-page .footer-nav-list a:hover { color: #FFFFFF; }
.volt-page .footer-copy,
.volt-page .footer-made { color: rgba(255, 255, 255, 0.25); }
.volt-page .social-link { color: rgba(255, 255, 255, 0.35); }
.volt-page .social-link:hover { color: rgba(255, 255, 255, 0.85); }
.volt-page .footer-bottom { border-top-color: rgba(255, 255, 255, 0.06); }

/* WhatsApp FAB en dark */
.volt-page .whatsapp-fab {
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
}

/* ── Eclipse transition ─────────────────────── */
#eclipse-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: eclipse-lifecycle 3s ease forwards;
}

@keyframes eclipse-lifecycle {
  0%    { opacity: 0; }
  8%    { opacity: 1; }   /* ~250ms  — fully visible */
  80%   { opacity: 1; }   /* ~2400ms — inicia fade-out */
  100%  { opacity: 0; }   /* 3000ms  — desaparece */
}

/* Posiciona ambos hijos en el centro del overlay */
.eclipse-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120vw;
  height: 120vw;
}

/* Wrapper que gira para el halo rotatorio */
#eclipse-ring-wrapper {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: halo-rotate 2.5s linear infinite;
  transform-origin: center center;
}

/* El anillo de conic-gradient: se extiende 10px más que el círculo negro */
#eclipse-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(
    transparent       0deg,
    rgba(0,229,255,0.15) 12deg,
    rgba(120,230,255,0.7) 40deg,
    rgba(200,245,255,0.95) 56deg,
    rgba(255,255,255,1)   62deg,
    rgba(200,245,255,0.95) 68deg,
    rgba(120,230,255,0.7) 84deg,
    rgba(0,229,255,0.15) 110deg,
    transparent       128deg,
    transparent       360deg
  );
}

/* Círculo negro que tapa el interior del anillo — encima del ring */
#eclipse-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow:
    0 0 30px  3px rgba(0,229,255,0.9),
    0 0 80px 10px rgba(0,229,255,0.40),
    0 0 150px 30px rgba(0,229,255,0.15);
  animation: halo-pulse 1.4s ease-in-out infinite;
}

@keyframes halo-rotate {
  to { transform: rotate(360deg); }
}

@keyframes halo-pulse {
  0%, 100% {
    box-shadow:
      0 0 30px  3px rgba(0,229,255,0.9),
      0 0 80px 10px rgba(0,229,255,0.40),
      0 0 150px 30px rgba(0,229,255,0.15);
  }
  50% {
    box-shadow:
      0 0 40px  5px rgba(0,229,255,1.0),
      0 0 100px 15px rgba(0,229,255,0.55),
      0 0 200px 50px rgba(0,229,255,0.22);
  }
}

/* Texto "VOLT" dentro del círculo */
#volt-eclipse-title {
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-indent: 0.3em;    /* compensa el letter-spacing al final */
  z-index: 1;
  opacity: 0;
  animation: eclipse-title-appear 0.6s ease forwards 0.4s;
}

@keyframes eclipse-title-appear {
  to { opacity: 1; }
}

/* ── Video player (sección 5) ───────────────── */
.volt-video-container {
  position: relative;
}

.volt-demo-video {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 520px;
}

/* Botón de play centrado sobre el video/poster */
.volt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  z-index: 2;
}
.volt-play-btn:hover {
  background: rgba(0, 229, 255, 0.18);
  border-color: rgba(0, 229, 255, 0.55);
  transform: translate(-50%, -50%) scale(1.08);
}
.volt-play-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 4px; /* optical centering del triángulo */
}
.volt-play-btn.volt-play-hidden {
  display: none;
}

/* ── VOLT Hero — Aurora + Glow dramático ─── */
.volt-hero::before {
  content: '';
  position: absolute;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(0,229,200,0.10) 0%, rgba(0,180,160,0.05) 45%, transparent 70%);
  top: 50%;
  left: 40%;
  transform: translate(-50%, -60%);
  animation: volt-aurora-a 14s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.volt-hero::after {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,229,200,0.07) 0%, transparent 65%);
  bottom: -5%;
  right: 10%;
  animation: volt-aurora-b 18s ease-in-out infinite 4s;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

@keyframes volt-aurora-a {
  0%, 100% { transform: translate(-50%, -60%) scale(1); opacity: 0.9; }
  35%       { transform: translate(-48%, -65%) scale(1.12); opacity: 1; }
  70%       { transform: translate(-53%, -55%) scale(0.95); opacity: 0.75; }
}

@keyframes volt-aurora-b {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  45%       { transform: translate(-5%, -8%) scale(1.1); opacity: 1; }
}

/* Canvas de radar dentro del hero */
#volt-radar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}


/* ── Responsive ─────────────────────────────── */
@media (max-width: 900px) {
  .volt-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .volt-hero h1 { font-size: 2.5rem; }
  .volt-features-grid { grid-template-columns: 1fr; }
  .volt-steps {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .volt-steps::before { display: none; }
  .volt-steps::after  { display: none; }
  .volt-usecases-grid { grid-template-columns: 1fr; }
  .volt-cta-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

/* ═══════════════════════════════════════════════════
   ANIMACIONES FUTURISTAS
   ═══════════════════════════════════════════════════ */

/* ── 2. Feature card icon hover ring ───────────── */
.volt-feature-icon {
  position: relative;
  transition:
    border-color 0.25s ease,
    background   0.25s ease,
    box-shadow   0.25s ease,
    color        0.25s ease;
}
.volt-feature-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-md) + 3px);
  border: 1.5px solid transparent;
  border-top-color:   rgba(0, 229, 200, 0.90);
  border-right-color: rgba(0, 229, 200, 0.40);
  opacity: 0;
  transition: opacity 0.25s ease;
  animation: volt-icon-spin 1.2s linear infinite;
  pointer-events: none;
  box-sizing: border-box;
}
.volt-feature-card:hover .volt-feature-icon {
  background:   rgba(0, 229, 200, 0.07);
  border-color: rgba(0, 229, 200, 0.40);
  box-shadow:
    0 0 0 2px rgba(0, 229, 200, 0.10),
    0 0 18px rgba(0, 229, 200, 0.18);
  color: rgba(0, 229, 200, 0.85);
}
.volt-feature-card:hover .volt-feature-icon::before {
  opacity: 1;
}
@keyframes volt-icon-spin {
  to { transform: rotate(360deg); }
}

/* ── 3. Steps connector animated gradient ──────── */
.volt-steps::after {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent          0%,
    rgba(0,229,200,0.00) 5%,
    rgba(0,229,200,0.85) 50%,
    rgba(0,229,200,0.00) 95%,
    transparent         100%
  );
  filter: blur(0.75px);
  z-index: 0;
  animation: volt-connector-travel 3.5s ease-in-out infinite;
}
@keyframes volt-connector-travel {
  0%   { clip-path: inset(0 100% 0 0); opacity: 0; }
  8%   { opacity: 1; }
  40%  { clip-path: inset(0 0% 0 0);   opacity: 1; }
  60%  { clip-path: inset(0 0% 0 0);   opacity: 1; }
  92%  { opacity: 1; }
  100% { clip-path: inset(0 0% 0 100%); opacity: 0; }
}

/* ── 4. Typewriter cursor blink ────────────────── */
.volt-tw-cursor {
  display: inline-block;
  color: rgba(0, 229, 200, 0.80);
  font-weight: 400;
  margin-left: 1px;
  animation: volt-tw-blink 0.75s step-end infinite;
}
@keyframes volt-tw-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── 5. Custom cursor — estela only (desktop) ──── */
.volt-page          { cursor: none; }
.volt-page a,
.volt-page button,
.volt-page input,
.volt-page textarea,
.volt-page [role="button"] { cursor: none; }

.volt-cursor-trail {
  position: fixed;
  top: 0; left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(0, 229, 200, 0.80);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  will-change: left, top, opacity, width, height;
}

/* ═══════════════════════════════════════════════════
   SCROLL STORYTELLING — "Cómo funciona"
   ═══════════════════════════════════════════════════ */

/* Track: área scrolleable que "consume" el scroll */
.volt-story-track {
  position: relative;
  height: 300vh;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Sticky: se queda fijo mientras el track scrollea */
.volt-story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  overflow: hidden;
}

/* Header */
.volt-story-header {
  text-align: center;
  padding: 0 var(--space-6);
}
.volt-story-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  margin-top: var(--space-2);
  margin-bottom: var(--space-3);
}
.volt-story-header p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.50);
  max-width: 520px;
}

/* Grid de pasos */
.volt-story-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 860px;
  padding: 0 var(--space-6);
}

/* Conector SVG — se dibuja con stroke-dashoffset vía JS */
.volt-story-line {
  position: absolute;
  top: 52px; /* padding-top(24px) + mitad del step-num(28px) */
  left: calc(100% / 6);
  width: calc(100% * 2 / 3);
  height: 4px;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.volt-story-line-bg {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}
.volt-story-line-fill {
  stroke: rgba(0, 229, 200, 0.85);
  stroke-width: 1.5;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  filter: drop-shadow(0 0 4px rgba(0, 229, 200, 0.50));
}

/* Paso individual — empieza invisible, JS lo revela */
.volt-story-step {
  text-align: center;
  padding: var(--space-6) var(--space-5);
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.volt-story-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.volt-story-step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}
.volt-story-step p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

/* Highlight del número cuando el paso se activa */
.volt-story-step.is-visible .volt-step-num {
  border-color: rgba(0, 229, 200, 0.35);
  box-shadow: 0 0 0 3px rgba(0, 229, 200, 0.08), 0 0 14px rgba(0, 229, 200, 0.14);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Hint de scroll */
.volt-story-hint {
  position: absolute;
  bottom: var(--space-8);
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.22);
  animation: volt-hint-bounce 1.6s ease-in-out infinite;
  transition: opacity 0.4s ease;
  user-select: none;
}
.volt-story-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
}
@keyframes volt-hint-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* Hero parallax sutil (progressive enhancement) */
@supports (animation-timeline: scroll()) {
  .volt-grid-bg {
    animation: volt-parallax-grid linear both;
    animation-timeline: view(block);
    animation-range: contain 0% exit 60%;
  }
  @keyframes volt-parallax-grid {
    to { transform: translateY(50px); }
  }
}

/* ══════════════════════════════════════════════════════════════════
   TIER 1 — EFECTOS PREMIUM
   ══════════════════════════════════════════════════════════════════ */

/* 1. Noise texture overlay — grain sutil sobre toda la página */
body.volt-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  opacity: 0.055;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 9990;
}

/* 2. Mouse spotlight en feature cards */
.volt-feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(280px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0,229,200,0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .volt-feature-card:hover::after { opacity: 1; }
}

/* 3. Ambient cursor glow */
#volt-ambient {
  position: fixed;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,200,0.035) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  will-change: left, top;
}
@media (hover: none) { #volt-ambient { display: none; } }

/* Mobile: desactivar sticky, mostrar estático */
@media (max-width: 768px) {
  .volt-story-track   { height: auto; }
  .volt-story-sticky  {
    position: static;
    height: auto;
    padding: var(--space-20) 0;
  }
  .volt-story-steps   { grid-template-columns: 1fr; }
  .volt-story-line    { display: none; }
  .volt-story-step    { opacity: 1; transform: none; transition: none; }
  .volt-story-hint    { display: none; }
}
