/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

/* ==========================================================================
   MagicCam - Custom styles mejorados
   ========================================================================== */

:root {
  --bg-main: #05040a;
  --bg-hero-overlay: rgba(5, 4, 10, 0.7);
  --primary: #c85bff;
  --primary-soft: #f4d0ff;
  --accent: #00e5ff;
  --accent-2: #ff6ad5;
  --text-main: #f9f5ff;
  --text-muted: #c7b7e1;
  --border-soft: rgba(255, 255, 255, 0.12);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
  --radius-xl: 24px;
  --radius-pill: 999px;
  --max-width: 1120px;
  --nav-height: 70px;
  --transition-fast: 0.2s ease-out;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  background: radial-gradient(circle at top, #2a0944 0, #05040a 55%);
  color: var(--text-main);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Accessibility - Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary);
  color: #05040a;
  padding: 8px 16px;
  text-decoration: none;
  font-weight: 600;
  z-index: 100;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  top: 0;
}

/* Required field indicator */
.required {
  color: var(--accent-2);
}

/* ========= Layout base ========= */

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5, 4, 10, 0.95), rgba(5, 4, 10, 0.6));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition-smooth);
}

header.scrolled {
  background: linear-gradient(to bottom, rgba(5, 4, 10, 0.98), rgba(5, 4, 10, 0.85));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform var(--transition-fast);
}

.brand:hover {
  transform: scale(1.02);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 0, #00e5ff 0, #5316b5 40%, #05040a 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text span:first-child {
  font-family: "Space Grotesk", "Arial Black", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-text span:last-child {
  font-size: 12px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transition: width var(--transition-fast);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--text-main);
  outline: none;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #05040a;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  border: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover,
.nav-cta:focus {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.8);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text-main);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle .hamburger {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background var(--transition-fast);
}

.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: currentColor;
  left: 0;
  transition: transform var(--transition-fast);
}

.nav-toggle .hamburger::before {
  top: -6px;
}

.nav-toggle .hamburger::after {
  bottom: -6px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ========= Hero ========= */

.hero {
  position: relative;
  padding: 80px 20px 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image: url("../img/hero-magiccam.png");
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: -2;
  transform: scale(1.05);
  filter: saturate(1.3);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(100, 44, 160, 0.9) 0, rgba(5, 4, 10, 0.95) 55%);
  mix-blend-mode: multiply;
  z-index: -1;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-soft);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  opacity: 0.8;
}

.hero-title {
  font-family: "Space Grotesk", "Arial Black", sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 0 32px rgba(0, 0, 0, 0.9);
}

.hero-title span.highlight {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 15px;
  max-width: 460px;
  color: var(--text-muted);
  margin-bottom: 26px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
              background var(--transition-fast), border-color var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: radial-gradient(circle at 20% 0, #ffffff 0, #ffe6ff 18%, #ff6ad5 40%, #5a11d7 80%);
  color: #1c0525;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.9);
  outline: none;
}

.btn-ghost {
  background: rgba(8, 5, 20, 0.7);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-main);
}

.btn-ghost:hover,
.btn-ghost:focus {
  background: rgba(8, 5, 20, 0.95);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  transform: translateY(-1px);
  outline: none;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(10, 7, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0, var(--accent-2) 80%);
  box-shadow: 0 0 9px rgba(0, 229, 255, 0.8);
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-card {
  position: relative;
  padding: 18px 18px 22px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(11, 6, 34, 0.95), rgba(35, 9, 72, 0.95));
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-screen {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at top, #3a1167 0, #05040a 50%);
  aspect-ratio: 9 / 16;
  margin-bottom: 16px;
}

.hero-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/demo-preview.png");
  background-size: cover;
  background-position: center;
  opacity: 0.75;
}

.hero-pill {
  position: absolute;
  inset: 12px 12px auto auto;
  padding: 6px 10px;
  font-size: 11px;
  border-radius: var(--radius-pill);
  background: rgba(5, 4, 10, 0.7);
  color: var(--primary-soft);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  z-index: 1;
}

.hero-filter-tag {
  position: absolute;
  inset: auto auto 16px 50%;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(5, 4, 10, 0.85);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary-soft);
  z-index: 1;
}

.hero-glow-orb,
.hero-glow-orb-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.7;
  mix-blend-mode: screen;
  animation: float 9s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-glow-orb {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--accent) 0, transparent 70%);
  top: -40px;
  right: -40px;
}

.hero-glow-orb-2 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, var(--accent-2) 0, transparent 75%);
  bottom: -60px;
  left: -50px;
  animation-duration: 12s;
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 11px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.hero-card-footer strong {
  color: var(--primary-soft);
}

.hero-badge {
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 4, 10, 0.85);
}

@keyframes float {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(10px, -20px, 0);
  }
}

/* ========= Secciones genéricas ========= */

main {
  flex: 1;
}

section {
  padding: 70px 20px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-kicker {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-soft);
  margin-bottom: 10px;
}

.section-title {
  font-family: "Space Grotesk", "Arial Black", sans-serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}

.section-description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========= Cómo funciona ========= */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.step-card {
  padding: 20px 18px 22px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(255, 106, 213, 0.16) 0, rgba(14, 9, 40, 0.98) 45%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7);
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
  color: #05040a;
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========= Casos de uso ========= */

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.usecase-card {
  padding: 18px 16px 20px;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(21, 11, 46, 0.9), rgba(39, 9, 66, 0.95));
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.usecase-pill {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary-soft);
  margin-bottom: 10px;
}

.usecase-title {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 15px;
}

.usecase-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

.usecase-tag {
  font-size: 11px;
  color: var(--accent);
}

.usecase-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  inset: auto -40px -60px auto;
  background: radial-gradient(circle, rgba(255, 106, 213, 0.8) 0, transparent 70%);
  opacity: 0.5;
  filter: blur(18px);
  pointer-events: none;
}

/* ========= Beneficios ========= */

.benefits-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}

.benefits-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.benefit-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.benefit-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0, #2a0944 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.7);
}

.benefit-body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.benefit-body strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 2px;
}

.benefits-panel {
  padding: 20px 18px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(8, 4, 28, 0.95), rgba(55, 16, 85, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

.benefits-panel h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.benefits-panel p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.benefits-panel ul {
  list-style: none;
  font-size: 13px;
  color: var(--text-muted);
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.benefits-panel li {
  padding-left: 18px;
  position: relative;
}

.benefits-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ========= Demo Mejorado ========= */

.demo-section {
  background: radial-gradient(circle at top, rgba(98, 36, 168, 0.6) 0, rgba(5, 4, 10, 1) 55%);
  position: relative;
  overflow: hidden;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.demo-phone-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.demo-phone {
  position: relative;
}

.demo-phone-frame {
  border-radius: 32px;
  padding: 12px;
  background: linear-gradient(145deg, #fdf2ff, #6b1fb5);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.9);
  position: relative;
}

.demo-phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 24px;
  background: #05040a;
  border-radius: 0 0 18px 18px;
  z-index: 2;
}

.demo-phone-screen {
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at top, #3a1167 0, #05040a 50%);
  aspect-ratio: 9 / 16;
  position: relative;
}

.demo-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.demo-qr-card {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, rgba(8, 4, 28, 0.98), rgba(55, 16, 85, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.demo-qr-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.demo-qr-placeholder {
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.qr-icon {
  width: 100%;
  height: 100%;
  color: #05040a;
}

.demo-caption {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

.demo-copy {
  display: grid;
  gap: 20px;
}

.demo-feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(15, 7, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.demo-feature-card:hover {
  transform: translateX(4px);
  background: rgba(15, 7, 40, 0.9);
}

.demo-feature-icon {
  font-size: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(200, 91, 255, 0.2) 0, transparent 70%);
  border-radius: 12px;
}

.demo-feature-card h3 {
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text-main);
}

.demo-feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-demo-external {
  margin-top: 10px;
  width: 100%;
}

.btn-demo-external svg {
  transition: transform var(--transition-fast);
}

.btn-demo-external:hover svg {
  transform: translateX(4px);
}

/* ========= Proceso ========= */

.process-timeline {
  display: grid;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 700px;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  padding-left: 20px;
  margin-left: 13px;
}

.process-step:last-child {
  border-left-color: transparent;
}

.process-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--primary-soft);
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--primary-soft);
  font-weight: 600;
  margin-left: -33px;
  flex-shrink: 0;
}

.process-step strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 4px;
}

.process-step span {
  line-height: 1.5;
}

/* ========= Contacto ========= */

.contact-section {
  background: linear-gradient(180deg, #05040a 0, #090311 60%, #05040a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: flex-start;
}

.contact-text p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
}

.contact-highlights {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.contact-highlights li {
  padding-left: 22px;
  position: relative;
}

.contact-highlights li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.contact-card {
  padding: 22px 20px;
  border-radius: var(--radius-xl);
  background: rgba(15, 7, 40, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  font-size: 16px;
  margin-bottom: 16px;
}

.contact-card form {
  display: grid;
  gap: 14px;
}

.field-group {
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.field-group label {
  color: var(--text-muted);
  font-weight: 500;
}

.field-group input,
.field-group textarea,
.field-group select {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 4, 10, 0.9);
  color: var(--text-main);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
              background var(--transition-fast);
}

.field-group textarea {
  resize: vertical;
  min-height: 90px;
}

.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.25);
  background: rgba(5, 4, 10, 1);
}

.form-footnote {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

.btn-submit {
  margin-top: 6px;
  width: 100%;
  justify-content: center;
}

/* ========= Footer ========= */

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 20px 26px;
  font-size: 12px;
  color: var(--text-muted);
  background: #05040a;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 12px;
  transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--primary-soft);
  outline: none;
}

/* ========= Responsive ========= */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    max-width: 360px;
    margin-inline: auto;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .usecases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefits-grid,
  .demo-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .benefits-panel {
    position: static;
  }

  .demo-phone-container {
    max-width: 320px;
  }

  .demo-qr-card {
    position: static;
    transform: none;
    margin-top: 20px;
  }
}

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

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-height) 0 auto 0;
    background: radial-gradient(circle at top, #2a0944 0, #05040a 60%);
    flex-direction: column;
    padding: 20px;
    gap: 10px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 8px 0;
    width: 100%;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }

  .hero {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 38px);
  }

  section {
    padding: 50px 18px;
  }

  .steps-grid,
  .usecases-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .demo-phone-frame {
    padding: 8px;
    border-radius: 26px;
  }

  .demo-phone-screen {
    border-radius: 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .demo-phone-container {
    max-width: 280px;
  }

  .demo-qr-placeholder {
    width: 100px;
    height: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden,
[hidden] {
  display: none !important;
}

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* ==========================================================================
   GSAP Animation Classes - Asegurar visibilidad
   ========================================================================== */

/* Todos los elementos animados son visibles por defecto */
.gsap-fade-up,
.gsap-fade-up-delay-1,
.gsap-fade-up-delay-2,
.gsap-fade-up-delay-3,
.gsap-fade-up-delay-4,
.gsap-fade-in,
.gsap-scale-in,
.gsap-card,
.gsap-slide-right,
.gsap-phone,
.gsap-timeline-item,
.step-card,
.usecase-card,
.benefit-item,
.demo-feature-card,
.process-step,
.section-header,
.contact-text,
.contact-card,
.benefits-panel {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Fallback para navegadores sin JS */
.no-js .gsap-fade-up,
.no-js .gsap-fade-up-delay-1,
.no-js .gsap-fade-up-delay-2,
.no-js .gsap-fade-up-delay-3,
.no-js .gsap-fade-up-delay-4,
.no-js .gsap-fade-in,
.no-js .gsap-scale-in,
.no-js .gsap-card,
.no-js .gsap-slide-right,
.no-js .gsap-phone,
.no-js .gsap-timeline-item {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
/* ==========================================================================
   Contacto Mejorado - Estilos Adicionales
   ========================================================================== */

/* Info Card con WhatsApp */
.contact-info-card {
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.15) 0%, rgba(8, 4, 28, 0.95) 80%);
  border: 1px solid rgba(37, 211, 102, 0.3);
  margin-bottom: 24px;
}

.contact-info-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-main);
}

.contact-info-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp svg {
  flex-shrink: 0;
}

/* Contact Benefits */
.contact-benefits {
  padding: 20px;
  border-radius: 16px;
  background: rgba(15, 7, 40, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-benefits strong {
  display: block;
  margin-bottom: 12px;
  color: var(--primary-soft);
  font-size: 15px;
}

.contact-benefits ul {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.contact-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

/* Form Intro */
.form-intro {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Field Row para campos lado a lado */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Form Footer */
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.form-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--accent);
  margin: 0;
}

.form-note svg {
  flex-shrink: 0;
  opacity: 0.8;
}

/* Select mejorado */
.field-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c7b7e1' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  appearance: none;
}

/* Date input mejorado */
.field-group input[type="date"] {
  cursor: pointer;
}

.field-group input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(0.7);
}

/* Estados de validación */
.field-group input:valid,
.field-group textarea:valid,
.field-group select:valid {
  border-color: rgba(37, 211, 102, 0.3);
}

.field-group input.error,
.field-group textarea.error,
.field-group select.error {
  border-color: #ff4444;
  background: rgba(255, 68, 68, 0.05);
}

.field-group input.error:focus,
.field-group textarea.error:focus,
.field-group select.error:focus {
  border-color: #ff4444;
  box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.2);
}

/* Loading state en botón */
.btn-submit.loading {
  pointer-events: none;
  opacity: 0.7;
  position: relative;
}

.btn-submit.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* Success message */
.form-success {
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25D366;
  font-size: 14px;
  text-align: center;
  margin-bottom: 16px;
  display: none;
}

.form-success.show {
  display: block;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .field-row {
    grid-template-columns: 1fr;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-submit {
    width: 100%;
  }

  .contact-info-card {
    padding: 20px;
  }

  .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact-info-card h3 {
    font-size: 16px;
  }

  .contact-benefits {
    padding: 16px;
  }
}
