@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #0d0d12;
  --bg-elevated: #13131a;
  --bg-card: #16161f;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --text: #f1f5f9;
  --text-muted: #6b7280;
  --text-dim: #4b5563;
  --accent: #a78bfa;
  --accent-hover: #c4b5fd;
  --accent-bg: rgba(167,139,250,0.08);
  --success: #34d399;
  --danger: #f87171;
  --warning: #fbbf24;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 3px; }

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes slideDown {
  from { transform: translateY(-10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes confetti-fall {
  0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 2rem;
  background: rgba(13,13,18,0.85);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--accent-bg);
  color: var(--accent);
  border: 1px solid rgba(167,139,250,0.2);
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.nav-cta:hover {
  background: rgba(167,139,250,0.15);
  border-color: rgba(167,139,250,0.4);
  transform: translateY(-1px);
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 5rem;
  position: relative;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid rgba(167,139,250,0.15);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease-out;
}
.hero-tag .dot {
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.6s ease-out 0.1s both;
}
.hero h1 .accent {
  color: var(--accent);
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 480px;
  animation: fadeUp 0.6s ease-out 0.2s both;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  animation: fadeUp 0.6s ease-out 0.3s both;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(167,139,250,0.25);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}
.btn-secondary:hover {
  border-color: var(--text-muted);
  background: rgba(255,255,255,0.03);
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  animation: fadeUp 0.6s ease-out 0.4s both;
}
.stat-item h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
  animation: fadeIn 1s ease-out 0.5s both;
}
.phone {
  width: 280px;
  height: 560px;
  background: var(--bg-card);
  border-radius: 32px;
  border: 1px solid var(--border);
  margin: 0 auto;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 80px rgba(167,139,250,0.08);
  position: relative;
}
.phone-notch {
  width: 100px; height: 22px;
  background: var(--bg);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
}
.phone-screen {
  padding: 1.2rem;
}
.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  padding: 0 0.3rem;
}
.phone-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
}
.phone-time { font-size: 0.75rem; color: var(--text-dim); }
.appt-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  transition: all 0.2s;
}
.appt-card:hover { border-color: var(--border-hover); }
.appt-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.appt-card .meta {
  font-size: 0.75rem;
  color: var(--text-dim);
}
.appt-card .btn-small {
  width: 100%;
  margin-top: 0.7rem;
  padding: 0.5rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: inherit;
}
.float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 1.2rem;
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  animation: float 6s ease-in-out infinite;
}
.fc-1 { top: 5%; right: -10px; animation-delay: 0s; }
.fc-2 { bottom: 15%; left: -20px; animation-delay: 1.5s; }
.fc-3 { top: 45%; right: -30px; animation-delay: 3s; }

/* ========== SECTIONS ========== */
.section {
  padding: 5rem 2rem;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========== FEATURES ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: all 0.3s ease;
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-bg);
  border: 1px solid rgba(167,139,250,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========== PRICING ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
}
.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.pricing-card.popular {
  border-color: rgba(167,139,250,0.25);
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(167,139,250,0.1);
}
.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-3px);
}
.popular-badge {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  padding: 0.3rem 1rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pricing-name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.pricing-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.pricing-price {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: flex-start;
  gap: 0.2rem;
}
.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.4rem;
}
.pricing-period {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.pricing-features {
  list-style: none;
  margin-bottom: 1.8rem;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li.included { color: var(--text); }
.pricing-features .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(52,211,153,0.1);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}
.pricing-features .x {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(248,113,113,0.1);
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: all 0.3s;
}
.testimonial-card:hover {
  border-color: var(--border-hover);
}
.testimonial-stars {
  color: var(--warning);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}
.testimonial-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--bg);
}
.testimonial-info h4 { font-size: 0.95rem; font-weight: 600; }
.testimonial-info p { color: var(--text-dim); font-size: 0.8rem; }

/* ========== FAQ ========== */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.7rem;
  overflow: hidden;
  transition: all 0.2s;
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-question {
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: 0.7rem;
  color: var(--text-muted);
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--accent-bg);
  color: var(--accent);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 1.5rem 1.2rem;
}

/* ========== CTA ========== */
.cta-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}
.cta-box h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.cta-box p {
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== FOOTER ========== */
.footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ========== MODAL ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.modal-overlay.active {
  display: flex;
  opacity: 1;
}
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}
.modal-close:hover {
  background: rgba(248,113,113,0.1);
  border-color: rgba(248,113,113,0.3);
  color: var(--danger);
}
.modal-header {
  padding: 1.8rem 1.8rem 1rem;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.3rem; }
.modal-header p { color: var(--text-muted); font-size: 0.85rem; }
.modal-body { padding: 1.2rem 1.8rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  transition: all 0.2s;
  font-family: inherit;
}
.form-group input:focus {
  outline: none;
  border-color: rgba(167,139,250,0.4);
  box-shadow: 0 0 0 3px rgba(167,139,250,0.08);
}
.form-group input::placeholder { color: var(--text-dim); }
.card-element {
  padding: 0.9rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-dim);
  font-family: monospace;
  font-size: 0.9rem;
}
.card-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.8rem;
}
.modal-footer {
  padding: 1rem 1.8rem 1.8rem;
  border-top: 1px solid var(--border);
}
.modal-btn {
  width: 100%;
  padding: 0.9rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
}
.modal-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.modal-btn.processing {
  opacity: 0.7;
  pointer-events: none;
}
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(13,13,18,0.3);
  border-top-color: var(--bg);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.plan-summary {
  background: var(--accent-bg);
  border: 1px solid rgba(167,139,250,0.15);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.plan-summary-name { font-weight: 600; font-size: 0.95rem; }
.plan-summary-price { font-size: 1.1rem; font-weight: 700; color: var(--accent); }

/* Success state */
.success-state {
  text-align: center;
  padding: 2.5rem 1.8rem;
  display: none;
}
.success-state.active { display: block; animation: scaleIn 0.4s ease-out; }
.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.2rem;
}
.success-state h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.4rem; }
.success-state p { color: var(--text-muted); margin-bottom: 1.2rem; font-size: 0.9rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 2.4rem; }
  .hero-desc { margin: 0 auto 2rem; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .features-grid, .pricing-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-card.popular { transform: scale(1); }
  .pricing-card.popular:hover { transform: translateY(-3px); }
  .nav-links { display: none; }
  .section-header h2 { font-size: 1.8rem; }
  .cta-box { padding: 2.5rem; }
  .cta-box h2 { font-size: 1.6rem; }
  .card-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .section { padding: 3rem 1.2rem; }
  .nav { padding: 1rem 1.2rem; }
}

/* ========== NODYX VISUAL SYSTEM ========== */
:root {
  --bg: #0e1614;
  --bg-elevated: #13201c;
  --bg-card: #16241f;
  --border: #243730;
  --border-hover: #385248;
  --text: #f0f3ef;
  --text-muted: #a3b2ab;
  --text-dim: #64776f;
  --accent: #f5853f;
  --accent-hover: #ff9d5c;
  --accent-bg: rgba(245,133,63,.11);
  --success: #54c7b8;
  --danger: #ef756f;
  --warning: #f4bd69;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 24px 70px rgba(0,0,0,.32);
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 78% 8%, rgba(84,199,184,.08), transparent 27rem),
    radial-gradient(circle at 8% 24%, rgba(245,133,63,.07), transparent 25rem),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .17;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

::selection { background: var(--accent); color: var(--bg); }

.nav {
  position: relative;
  inset: auto;
  max-width: 1140px;
  margin: 0 auto;
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14,22,20,.86) !important;
  border: 0;
}

header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(14,22,20,.86);
  border-bottom: 1px solid rgba(36,55,48,.8);
  backdrop-filter: blur(18px);
}
.logo { display: inline-flex; align-items: center; flex: none; }
.logo-img { display: block; width: auto; height: 68px; margin: -14px 0; }
.menu { display: flex; align-items: center; gap: 2rem; }
.menu a.link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 550;
  position: relative;
}
.menu a.link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.4rem;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}
.menu a.link:hover { color: var(--text); }
.menu a.link:hover::after { width: 100%; }
.menu .btn { padding: .72rem 1.1rem; font-size: .84rem; text-decoration: none; }
.btn .ar { transition: transform .2s ease; }
.btn:hover .ar { transform: translateX(3px); }
.burger { display: none; border: 0; background: none; padding: .4rem; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--text); border-radius: 2px; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.hero {
  min-height: 92vh;
  padding-top: 9rem;
}
.hero-inner {
  max-width: 1140px;
  grid-template-columns: 1.06fr .94fr;
  gap: 5.5rem;
}
.hero-tag {
  color: var(--success);
  background: rgba(84,199,184,.1);
  border-color: rgba(84,199,184,.24);
  letter-spacing: .06em;
}
.hero-tag .dot { background: var(--success); }
.hero h1 {
  font-size: clamp(2.8rem, 5.2vw, 4.55rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.hero h1 .accent { color: var(--accent); }
.hero-desc {
  max-width: 590px;
  color: var(--text-muted);
  font-size: 1.12rem;
}
.hero-desc strong { color: var(--text); font-weight: 600; }
.btn {
  border-radius: 10px;
  font-weight: 650;
  letter-spacing: 0;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 14px 30px rgba(245,133,63,.24);
}
.btn-secondary {
  border-color: var(--border);
  color: var(--text);
  background: rgba(22,36,31,.64);
}
.btn-secondary:hover {
  border-color: var(--success);
  color: var(--success);
  background: rgba(84,199,184,.07);
}
.hero-stats {
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}
.stat-item h3 { color: var(--text); }
.stat-item p { color: var(--text-dim); }

.hero-visual::before {
  background: radial-gradient(circle, rgba(245,133,63,.13), transparent 68%);
}
.phone {
  width: 292px;
  border: 1px solid #385248;
  background: #101b17;
  box-shadow: 0 35px 90px rgba(0,0,0,.5), 0 0 0 8px rgba(245,133,63,.035);
}
.phone-screen { background: linear-gradient(180deg, #16241f, #101a17); }
.phone-avatar { background: linear-gradient(135deg, var(--accent), var(--accent-hover)); }
.appt-card {
  background: rgba(27,43,37,.9);
  border-color: var(--border);
}
.appt-card:hover { border-color: rgba(245,133,63,.4); }
.appt-card h4 { display: flex; align-items: center; gap: .45rem; }
.mini-icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.float-title { display: flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .8rem; }
.float-title.success { color: var(--success); }
.float-title.warning { color: var(--warning); }
.float-card {
  background: rgba(22,36,31,.92);
  border-color: var(--border);
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
}

.section {
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}
.section-inner { max-width: 1140px; }
.section:nth-of-type(3),
.section:nth-of-type(5) {
  background: rgba(19,32,28,.62);
  border-top: 1px solid rgba(36,55,48,.7);
  border-bottom: 1px solid rgba(36,55,48,.7);
}
.section-header { max-width: 660px; margin-bottom: 3.6rem; }
.section-header::before {
  content: "NODYX / RESERVAS";
  display: block;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .13em;
  margin-bottom: .8rem;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -.035em;
}
.section-header p { color: var(--text-muted); font-size: 1rem; }

.feature-card,
.pricing-card,
.testimonial-card,
.faq-item {
  background: linear-gradient(145deg, rgba(27,43,37,.94), rgba(22,36,31,.94));
  border-color: var(--border);
  box-shadow: none;
}
.feature-card:hover,
.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,.22);
}
.feature-icon {
  background: var(--accent-bg);
  border: 1px solid rgba(245,133,63,.18);
  color: var(--accent);
}
.feature-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card p,
.pricing-desc,
.pricing-period,
.testimonial-info p,
.faq-answer { color: var(--text-muted); }

.pricing-card.popular {
  border-color: rgba(245,133,63,.52);
  background: linear-gradient(155deg, rgba(40,46,35,.98), rgba(22,36,31,.98));
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.popular-badge {
  background: var(--accent);
  color: var(--bg);
}
.pricing-price,
.plan-summary-price { color: var(--accent); }
.pricing-features .check { color: var(--success); }
.pricing-btn-primary {
  color: var(--bg);
  background: var(--accent);
}
.pricing-btn-primary:hover { background: var(--accent-hover); }
.pricing-btn-secondary {
  color: var(--text);
  border-color: var(--border);
  background: rgba(14,22,20,.35);
}
.pricing-btn-secondary:hover {
  color: var(--success);
  border-color: var(--success);
  background: rgba(84,199,184,.07);
}

.testimonial-stars {
  display: inline-flex;
  color: var(--success);
  background: rgba(84,199,184,.09);
  border: 1px solid rgba(84,199,184,.2);
  border-radius: 999px;
  padding: .35rem .65rem;
  font-size: .65rem;
  letter-spacing: .1em;
}
.testimonial-text { color: var(--text); font-style: normal; }
.testimonial-avatar {
  color: var(--bg);
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
}
.faq-item.active { border-color: rgba(245,133,63,.36); }
.faq-icon { color: var(--accent); }
.faq-icon svg {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.faq-item.active .faq-icon { transform: rotate(90deg); }

.cta-box {
  max-width: 1140px;
  background:
    radial-gradient(circle at 90% 0, rgba(84,199,184,.14), transparent 20rem),
    linear-gradient(145deg, #1b2b25, #13201c);
  border: 1px solid var(--border);
  box-shadow: 0 28px 70px rgba(0,0,0,.26);
}
.cta-box::before { background: linear-gradient(90deg, var(--accent), var(--success)); }
.cta-kicker {
  display: block;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: .85rem;
}
.footer {
  border-color: var(--border);
  background: #0b1210;
}
.footer a { color: var(--accent); text-decoration: none; }

.modal {
  background: #16241f;
  border-color: var(--border);
  box-shadow: 0 35px 90px rgba(0,0,0,.55);
}
.form-group input,
.card-element { background: #101a17; border-color: var(--border); }
.form-group input:focus {
  border-color: rgba(245,133,63,.55);
  box-shadow: 0 0 0 3px rgba(245,133,63,.09);
}
.plan-summary {
  background: var(--accent-bg);
  border-color: rgba(245,133,63,.22);
}
.modal-btn { background: var(--accent); color: var(--bg); }
.modal-btn:hover { background: var(--accent-hover); }
.modal-close {
  width: auto;
  height: 32px;
  padding: 0 .7rem;
  border-radius: 999px;
  font-size: .72rem;
}
.success-icon svg {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: var(--bg);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .menu a.link { display: none; }
  .burger { display: block; }
  .menu.open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 1.5rem 1.25rem;
    background: #13201c;
    border-bottom: 1px solid var(--border);
  }
  .menu.open a.link { display: block; padding: .85rem 0; }
  .menu.open a.link::after { display: none; }
  .menu.open .btn { display: flex; justify-content: center; margin-top: .5rem; }
  .hero { padding-top: 8rem; min-height: auto; }
  .hero h1 { font-size: clamp(2.45rem, 9vw, 3.5rem); }
}

@media (max-width: 560px) {
  .nav { padding: .75rem 1rem; }
  .logo-img { height: 58px; }
  .menu .btn { display: none; }
  .menu.open .btn { display: flex; }
  .hero { padding: 7rem 1.15rem 4rem; }
  .hero-buttons { display: grid; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-stats { display: grid; grid-template-columns: 1fr; gap: 1rem; text-align: left; }
  .stat-item { padding-bottom: .8rem; border-bottom: 1px solid var(--border); }
  .section { padding: 4.5rem 1.15rem; }
  .section-header { margin-bottom: 2.4rem; }
  .cta-box { padding: 2.6rem 1.3rem; }
}
