@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #ec4899;
  --secondary: #f97316;
  --dark: #0f172a;
  --gray: #6b7280;
  --bg-light: #f9fafb;
  --white: #ffffff;
}

/* ===== GENERAL ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg-light);
  color: #111827;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== NAVBAR ===== */
.navbar {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}

.brand-dot {
  color: #111827;
  font-weight: 600;
  font-size: 18px;
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  gap: 10px;
}

/* ===== BOTONES ===== */
.btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(236, 72, 153, 0.5);
}

.btn-outline {
  background: transparent;
  border: 1px solid #e5e7eb;
  color: #111827;
}

.btn-outline:hover {
  background: #f3f4f6;
}

.btn-text {
  background: transparent;
  border: none;
  color: var(--primary);
  padding: 8px 14px;
}

.btn-full {
  width: 100%;
}

/* ===== HERO ===== */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.hero-left h1 {
  font-size: 40px;
  font-weight: 800;
  margin: 12px 0 18px;
  line-height: 1.2;
}

.hero-left p {
  font-size: 16px;
  color: var(--gray);
  max-width: 520px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 12px;
  color: var(--gray);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-stats {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-stats h3 {
  margin: 0 0 3px;
  font-size: 22px;
  color: var(--primary);
}

.hero-stats span {
  font-size: 12px;
  color: var(--gray);
}

/* ===== HERO RIGHT (PANEL) ===== */
.hero-right {
  display: flex;
  justify-content: center;
}

.dashboard-box {
  background: #ffffff;
  border-radius: 24px;
  padding: 22px 22px 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.15);
  max-width: 420px;
  width: 100%;
}

.dashboard-header {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
}

.dashboard-cards {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.card {
  background: #f9fafb;
  border-radius: 14px;
  padding: 10px 10px;
  flex: 1;
  text-align: left;
  font-size: 12px;
  color: var(--gray);
}

.card span {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.card small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
}

.dashboard-list {
  margin-top: 6px;
}

.line-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 8px;
}

.appt {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f9fafb;
  margin-bottom: 6px;
}

.appt-time {
  font-size: 12px;
  color: var(--gray);
  margin-top: 2px;
}

.appt strong {
  font-size: 13px;
}

.appt small {
  font-size: 11px;
  color: var(--gray);
}

.dashboard-button {
  margin-top: 12px;
  text-align: center;
  display: block;
  padding: 11px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
}

/* ===== SECCIONES GENERALES ===== */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px;
}

.section-alt {
  background: linear-gradient(135deg, #fdf2ff, #ffffff);
}

.section-header {
  text-align: center;
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: 28px;
  margin: 0 0 8px;
}

.section-header p {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
}

/* ===== CÓMO FUNCIONA ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.08);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.step-card p {
  margin: 0;
  font-size: 14px;
  color: var(--gray);
}

/* ===== FUNCIONES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04);
}

.feature-box h4 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--primary);
}

.feature-box p {
  margin: 0;
  font-size: 14px;
  color: var(--gray);
}

/* ===== PLANES ===== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.plan-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  position: relative;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
}

.plan-card-featured {
  border-color: var(--primary);
  box-shadow: 0 18px 44px rgba(236, 72, 153, 0.18);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.06), #ffffff);
}

.badge {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
}

.plan-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.plan-price {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.plan-desc {
  font-size: 14px;
  margin: 6px 0 10px;
  color: var(--gray);
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: 14px;
  color: #111827;
}

.plan-card li {
  margin-bottom: 6px;
}

/* ===== DEMO ===== */
.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}

.demo-text {
  font-size: 14px;
  color: var(--gray);
}

.demo-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 20px;
  font-size: 14px;
  color: #111827;
}

.demo-list li {
  margin-bottom: 6px;
}

.demo-screen {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-window {
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.demo-bar {
  padding: 10px 12px;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  gap: 6px;
}

.demo-bar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #d1d5db;
}

.demo-content {
  padding: 14px 16px 16px;
}

.demo-row {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f9fafb;
  margin-bottom: 6px;
}

.demo-row.muted {
  opacity: 0.7;
}

.demo-time {
  font-size: 12px;
  color: var(--gray);
  margin-top: 2px;
}

.demo-info strong {
  font-size: 13px;
}

.demo-info small {
  font-size: 11px;
  color: var(--gray);
}

.demo-note {
  font-size: 11px;
  color: var(--gray);
}

/* ===== FAQ ===== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-item {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.faq-item p {
  margin: 0;
  font-size: 14px;
  color: var(--gray);
}

/* ===== CTA FINAL ===== */
.cta {
  text-align: center;
  padding: 60px 24px 52px;
  background: linear-gradient(135deg, #fdf2f8, #ffffff);
}

.cta h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.cta p {
  margin: 0 auto 20px;
  max-width: 520px;
  color: var(--gray);
  font-size: 14px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== FOOTER ===== */
.footer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  padding: 18px 16px;
  font-size: 13px;
  color: var(--gray);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    order: -1;
  }

  .nav-links {
    display: none; /* sin menú hamburguesa por simplicidad */
  }

  .demo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps-grid,
  .features-grid,
  .plans-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .nav-actions {
    display: none;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-left h1 {
    font-size: 30px;
  }

  .hero-stats {
    gap: 16px;
  }
}
