/* ====== CSS Variables ====== */
:root {
  --color-bg: #07070d;
  --color-surface: #12101c;
  --color-surface-hover: #221d34;
  --color-primary: #a78bfa;
  --color-primary-dark: #8b5cf6;
  --color-primary-deeper: #6d28d9;
  --color-accent: #f59e0b;
  --color-gold: #d4a574;
  --color-text: #f4f0ff;
  --color-text-muted: #b8aecb;
  --color-text-dim: #817891;
  --color-border: rgba(167, 139, 250, 0.15);
  --color-border-hover: rgba(167, 139, 250, 0.35);
  --color-danger: #ef4444;
  --color-success: #22c55e;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 2px 4px rgba(0,0,0,0.2), 0 8px 24px rgba(167,139,250,0.06), 0 16px 48px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 40px rgba(167, 139, 250, 0.12);
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ====== Reset & Base ====== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  will-change: auto;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ====== Stars Background ====== */
#stars, #stars2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

#stars {
  background: transparent;
  animation: starsAnim 200s linear infinite;
}

#stars::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  background: transparent;
  box-shadow: 
    100px 200px #fff, 300px 400px #fff, 500px 100px #fff,
    700px 300px #fff, 900px 500px #fff, 200px 600px #fff,
    400px 800px #fff, 600px 700px #fff, 800px 200px #fff,
    150px 900px #fff, 350px 150px #fff, 550px 450px #fff,
    750px 650px #fff, 950px 350px #fff, 50px 500px #fff,
    250px 750px #fff, 450px 250px #fff, 650px 550px #fff,
    850px 850px #fff, 100px 100px #fff;
  animation: twinkle 4s ease-in-out infinite;
}

#stars2::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 1px;
  background: transparent;
  box-shadow: 
    120px 220px rgba(192,132,252,0.4), 320px 420px rgba(192,132,252,0.4),
    520px 120px rgba(192,132,252,0.4), 720px 320px rgba(192,132,252,0.4),
    920px 520px rgba(192,132,252,0.4), 220px 620px rgba(192,132,252,0.4);
}

@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes starsAnim {
  from { transform: translateY(0); }
  to { transform: translateY(-2000px); }
}

/* ====== Navigation ====== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(192, 132, 252, 0.08);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.15rem;
}

.logo-icon { font-size: 1.4rem; }

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ====== Hero Section ====== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 64px;
  overflow: hidden;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(192,132,252,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.orb-1 {
  top: 10%;
  right: 5%;
  width: 300px;
  height: 300px;
  background: var(--color-primary);
  animation: float 8s ease-in-out infinite;
}

.orb-2 {
  bottom: 20%;
  left: 5%;
  width: 200px;
  height: 200px;
  background: var(--color-accent);
  animation: float 12s ease-in-out infinite reverse;
}

.orb-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: var(--color-primary-deeper);
  animation: pulse 6s ease-in-out infinite;
  opacity: 0.1;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.15; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(192, 132, 252, 0.1);
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-deeper));
  color: #fff;
  box-shadow: 0 4px 20px rgba(192, 132, 252, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(192, 132, 252, 0.4);
}

.btn-glow {
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(192, 132, 252, 0.3); }
  50% { box-shadow: 0 4px 40px rgba(192, 132, 252, 0.5); }
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.1rem;
}

/* ====== Hero Stats ====== */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* ====== Featured ====== */
.featured {
  position: relative;
  z-index: 1;
  padding: 0 24px 60px;
  margin-top: -40px;
}

.featured-label {
  text-align: center;
  color: var(--color-text-dim);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.featured-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 500px;
  margin: 0 auto;
  padding: 18px 24px;
  background: linear-gradient(135deg, rgba(192,132,252,0.08), rgba(244,114,182,0.05));
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}

.featured-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(192, 132, 252, 0.15);
}

.featured-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(192,132,252,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.featured-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.featured-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.2));
}

.featured-text {
  flex: 1;
}

.featured-title {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 2px;
}

.featured-desc {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

.featured-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* ====== Section Styles ====== */
section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  scroll-margin-top: 90px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(192, 132, 252, 0.08);
  border: 1px solid rgba(192, 132, 252, 0.15);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--color-primary);
  margin-bottom: 16px;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ====== Lecturas Grid ====== */
.lecturas {
  background: linear-gradient(180deg, transparent, rgba(192,132,252,0.03) 50%, transparent);
}

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

.lectura-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px 28px;
  cursor: pointer;
  transition: all var(--transition);
  overflow: hidden;
}

.lectura-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 12px 32px rgba(167,139,250,0.08), 0 24px 64px rgba(0,0,0,0.12);
}

.card-glow {
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(192,132,252,0.03) 0%, transparent 50%);
  pointer-events: none;
  transition: opacity var(--transition);
  opacity: 0;
}

.lectura-card:hover .card-glow {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.card-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.2));
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.card-badge {
  padding: 4px 12px;
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-primary);
}

.badge-gold {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.2);
  color: var(--color-gold);
}

.card-featured {
  border-color: rgba(251, 191, 36, 0.2);
  background: linear-gradient(135deg, var(--color-surface), rgba(251,191,36,0.03));
}

/* ====== Cómo funciona ====== */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-deeper));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 auto 16px;
}

.step-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  color: var(--color-primary);
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  margin-top: 80px;
  flex-shrink: 0;
}

/* ====== Testimonios ====== */
.testimonios {
  background: linear-gradient(180deg, transparent, rgba(192,132,252,0.03) 50%, transparent);
}

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

.testimonio-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}

.testimonio-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
}

.testimonio-stars {
  color: var(--color-gold);
  margin-bottom: 12px;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonio-text {
  font-size: 0.92rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonio-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.author-location {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

/* ====== FAQ ====== */
.faq-list {
  max-width: 640px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  font-size: 1.3rem;
  transition: transform var(--transition);
  color: var(--color-text-dim);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ====== CTA Final ====== */
.cta-final {
  padding: 40px 0 80px;
}

.cta-card {
  text-align: center;
  background: linear-gradient(135deg, rgba(192,132,252,0.06), rgba(244,114,182,0.03));
  border: 1px solid rgba(192, 132, 252, 0.15);
  border-radius: var(--radius-xl);
  padding: 60px 32px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

/* ====== Footer ====== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--color-border);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  margin-top: 8px;
  line-height: 1.6;
}

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

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-dim);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

/* ====== Modal ====== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 32px;
  position: relative;
  animation: modalIn 0.3s ease;
}

.modal-result {
  max-width: 640px;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--color-text-dim);
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
}

/* ====== Modal Form ====== */
.modal-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.modal-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group select {
  appearance: none;
  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='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* ====== Result Loading ====== */
.result-loading {
  text-align: center;
  padding: 40px 0;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 24px;
}

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

.result-loading p {
  color: var(--color-text-muted);
  font-size: 1rem;
  animation: dots 2s ease-in-out infinite;
}

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

/* ====== Result Content ====== */
.result-content {
  animation: fadeIn 0.5s ease;
}

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

.result-header {
  text-align: center;
  margin-bottom: 24px;
}

.result-header .modal-icon {
  font-size: 3rem;
}

.result-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.result-header p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.result-body {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  line-height: 1.8;
  white-space: pre-wrap;
}

.result-body p {
  margin-bottom: 16px;
}

.result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ====== Error State ====== */
.error-state {
  text-align: center;
  padding: 40px 0;
}

.error-state .error-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.error-state h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.error-state p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .step-connector {
    width: 2px;
    height: 30px;
    margin: 0 auto;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-links {
    gap: 40px;
  }

  .modal {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 16px 60px;
  }

  .lecturas-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

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