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

:root {
  --primary: #2B68C8;
  --primary-dark: #1f52a8;
  --primary-darker: #163d82;
  --accent: #7EC8E8;
  --accent-dark: #5aafd8;
  --primary-light: #edf4fc;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --navy: #0f1f3d;
  --shadow-sm: 0 2px 8px rgba(43, 104, 200, 0.1);
  --shadow: 0 4px 24px rgba(43, 104, 200, 0.12);
  --shadow-lg: 0 12px 48px rgba(43, 104, 200, 0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
  --font: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

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

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

ul {
  list-style: none;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
  color: var(--gray-600);
  line-height: 1.75;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-label.light {
  color: var(--accent);
}

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

.section-desc {
  max-width: 540px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--primary);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(27, 78, 170, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.22);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-icon {
  height: 36px;
  width: auto;
  margin-right: 8px;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.nav-links .nav-cta {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 50px;
}

.nav-links .nav-cta:hover {
  background: var(--accent);
  color: var(--primary-darker);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--primary-dark);
  padding: 12px 0 20px;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: rgba(255,255,255,0.9);
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  transition: background var(--transition);
}

.nav-mobile a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

/* ===== HERO ===== */
.hero {
  background:
    linear-gradient(135deg, rgba(15, 31, 61, 0.82) 0%, rgba(27, 64, 130, 0.75) 50%, rgba(15, 31, 61, 0.88) 100%),
    url('images/hero-bg.jpg') center center / cover no-repeat;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(126, 200, 232, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(126, 200, 232, 0.2);
  color: var(--accent);
  border: 1px solid rgba(126, 200, 232, 0.35);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}

.hero-title span {
  color: var(--accent);
}

.hero-desc {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Mock UI card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.mock-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.1);
  overflow: hidden;
  width: 100%;
  max-width: 400px;
}

.mock-header {
  background: var(--gray-100);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--gray-200);
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mock-dot.red { background: #ff5f57; }
.mock-dot.yellow { background: #ffbd2e; }
.mock-dot.green { background: #28c840; }

.mock-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-left: 8px;
}

.mock-body {
  padding: 20px;
}

.mock-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.mock-stat {
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.mock-stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.mock-stat-label {
  font-size: 0.65rem;
  color: var(--gray-600);
  line-height: 1.3;
}

.mock-agenda-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 10px;
}

.mock-turno {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}

.mock-turno:last-child {
  border-bottom: none;
}

.mock-turno-hora {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  min-width: 36px;
}

.mock-turno-info {
  flex: 1;
}

.mock-turno-nombre {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.2;
}

.mock-turno-tipo {
  font-size: 0.72rem;
  color: var(--gray-400);
}

.mock-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.mock-badge.confirmado {
  background: #dcfce7;
  color: #15803d;
}

.mock-badge.pendiente {
  background: #fef3c7;
  color: #92400e;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 32px 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 12px 40px;
  flex: 1;
  min-width: 140px;
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--gray-600);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}

/* ===== FEATURES ===== */
.features {
  padding: 96px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43,104,200,0.04) 0%, rgba(126,200,232,0.06) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(43,104,200,0.14);
  transform: translateY(-5px);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(126,200,232,0.25) 100%);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(43,104,200,0.12);
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
}

.feature-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
}

.feature-card p {
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  font-size: 0.87rem;
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 96px 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(43, 104, 200, 0.3);
}

.step-content h3 {
  margin-bottom: 10px;
}

.step-content p {
  font-size: 0.92rem;
}

.step-arrow {
  font-size: 2rem;
  color: var(--accent);
  padding-top: 20px;
  flex-shrink: 0;
  font-weight: 300;
}

/* ===== FOR WHO ===== */
.for-who {
  padding: 96px 0;
  background: var(--white);
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.profile-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-card:hover {
  border-color: var(--gray-200);
  box-shadow: 0 16px 48px rgba(43,104,200,0.12);
  transform: translateY(-4px);
}

.profile-card:hover::before {
  transform: scaleX(1);
}

.profile-card.featured {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.profile-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.profile-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.profile-card h3 {
  margin-bottom: 12px;
}

.profile-card p {
  font-size: 0.93rem;
  margin-bottom: 20px;
}

.profile-benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-benefits li {
  font-size: 0.88rem;
  color: var(--gray-600);
  padding-left: 22px;
  position: relative;
  font-weight: 500;
}

.profile-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, var(--navy) 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(126,200,232,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-centered {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-centered h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-centered p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.cta-contact-options {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== WHATSAPP FLOTANTE ===== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s, box-shadow 0.25s;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.6);
}

/* Form card */
.cta-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.cta-form-card h3 {
  margin-bottom: 6px;
  font-size: 1.3rem;
}

.cta-form-card > p {
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--gray-800);
}

.form-group input {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.93rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43, 104, 200, 0.12);
}

.form-group input::placeholder {
  color: var(--gray-400);
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 16px;
  gap: 12px;
}

.success-icon {
  font-size: 3rem;
}

.form-success h4 {
  font-size: 1.2rem;
  color: var(--navy);
}

.form-success p {
  font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  padding: 56px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 40px;
  width: auto;
  border-radius: 6px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  max-width: 280px;
  line-height: 1.65;
}

.footer-brand p a {
  color: var(--accent);
  font-weight: 600;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero {
    padding: 100px 0 64px;
  }

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


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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .steps-grid {
    flex-direction: column;
    gap: 32px;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding-top: 0;
    align-self: center;
  }

  .stats-inner {
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    padding: 8px 20px;
    min-width: 120px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    gap: 32px;
  }

  .hero-inner {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-badge {
    display: block;
    width: fit-content;
    margin: 0 auto 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .feature-card {
    padding: 24px;
  }

  .profile-card {
    padding: 28px;
  }

  .cta-form-card {
    padding: 24px;
  }

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

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

/* ===== PLANES ===== */
.plans {
  padding: 100px 0;
  background: var(--gray-50);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.2s;
}

.plan-card:hover {
  box-shadow: var(--shadow-lg);
}

.plan-card--featured {
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-darker) 50%, var(--navy) 100%);
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(43,104,200,0.35);
  position: relative;
}

.plan-card--featured .plan-tagline {
  color: rgba(255,255,255,0.7);
}

.plan-card--featured .plan-price-amount {
  color: var(--white);
}

.plan-card--featured .plan-price-period {
  color: rgba(255,255,255,0.6);
}

.plan-card--featured .plan-includes {
  color: rgba(255,255,255,0.5);
  border-bottom-color: rgba(255,255,255,0.15);
}

.plan-card--featured .plan-features li {
  color: rgba(255,255,255,0.85);
}

.plan-card--featured .plan-check {
  color: var(--accent);
}

.plan-card--featured::before {
  content: "Más popular";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--accent-dark) 0%, var(--accent) 100%);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(126,200,232,0.5);
}

.plan-badge {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 8px;
  width: fit-content;
}

.plan-badge--basic  { background: #e8f5e9; color: #2e7d32; }
.plan-badge--pro    { background: rgba(255,255,255,0.18); color: var(--white); }
.plan-badge--premium { background: #f3e8ff; color: #7e22ce; }

.plan-tagline {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.4;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plan-features li {
  font-size: 0.9rem;
  color: var(--gray-800);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan-check {
  color: #22c55e;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-check--star {
  color: #a855f7;
}

.plan-assistant-note {
  background: #faf5ff;
  border: 1px solid #e9d5ff;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.55;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-800);
  letter-spacing: -0.5px;
}

.plan-price-period {
  font-size: 0.88rem;
  color: var(--gray-400);
  font-weight: 400;
}

.plan-includes {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gray-200);
}

.plan-assistant-note strong {
  display: block;
  margin-bottom: 6px;
  color: #7e22ce;
  font-size: 0.88rem;
}

.plan-cta {
  display: block;
  text-align: center;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}

.plan-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.plan-cta--basic   { background: #e8f5e9; color: #2e7d32; }
.plan-cta--pro     { background: var(--white); color: var(--primary-darker); }
.plan-cta--premium { background: #7e22ce; color: var(--white); }

@media (max-width: 900px) {
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ===== ANIMACIONES DE SCROLL ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.35s; }

/* ===== HERO EXTRAS ===== */
.hero-glow-2 {
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(43,104,200,0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== FLOATING MOCK CARD ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

.mock-card {
  animation: float 5.5s ease-in-out infinite;
}

/* ===== PROFILE ICON GRADIENT ===== */
.profile-icon {
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(126,200,232,0.25) 100%) !important;
  box-shadow: 0 4px 12px rgba(43,104,200,0.1);
  transition: transform 0.3s;
}

.profile-card:hover .profile-icon {
  transform: scale(1.08);
}

/* ===== STATS BAR MEJORA ===== */
.stat-num {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== SECTION TITLE SUBRAYADO ===== */
.section-header .section-title {
  position: relative;
  padding-bottom: 16px;
}

.section-header .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

/* ===== NAV CTA PULSE ===== */
@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
  50% { box-shadow: 0 0 0 5px rgba(255,255,255,0); }
}

.nav-links .nav-cta {
  animation: pulse-border 2.5s ease-in-out infinite;
}
