/* NoMiss Landing Page */
:root {
  --bg: #FAF7F2;
  --bg-alt: #F0EBE3;
  --fg: #0D1F18;
  --fg-muted: #4A6358;
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --green: #0D3B2E;
  --green-mid: #1A5C45;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 32px rgba(13,27,24,0.08);
  --shadow-lg: 0 16px 64px rgba(13,27,24,0.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.nav {
  padding: 24px 48px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,247,242,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13,27,24,0.06);
}
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 900; color: var(--green); letter-spacing: -0.5px; }
.nav-tag { font-size: 13px; color: var(--fg-muted); font-weight: 400; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--fg); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-cta {
  background: var(--accent);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}
.nav-cta:hover { background: var(--accent-dark); }

.hero {
  padding: 160px 48px 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(13,59,46,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 62px;
  font-weight: 900;
  line-height: 1.08;
  color: var(--green);
  margin-bottom: 24px;
  letter-spacing: -2px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 20px;
  color: var(--fg-muted);
  margin-bottom: 40px;
  line-height: 1.5;
}
.hero-actions { display: flex; gap: 16px; align-items: center; }
.btn-primary {
  background: var(--green);
  color: var(--white);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); }
.btn-secondary {
  color: var(--fg-muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-secondary:hover { color: var(--fg); }

.hero-visual {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(13,27,24,0.06);
}
.phone-mock {
  background: var(--green);
  border-radius: 24px;
  padding: 24px;
  color: var(--white);
  font-size: 14px;
}
.phone-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.phone-avatar {
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
}
.phone-info h4 { font-size: 15px; font-weight: 600; }
.phone-info span { font-size: 12px; opacity: 0.7; }
.phone-waves {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  height: 24px;
}
.wave-bar {
  width: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 4px;
  animation: wave 1.2s ease-in-out infinite;
}
.wave-bar:nth-child(1) { height: 12px; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 20px; animation-delay: 0.15s; }
.wave-bar:nth-child(3) { height: 16px; animation-delay: 0.3s; }
.wave-bar:nth-child(4) { height: 24px; animation-delay: 0.1s; }
.wave-bar:nth-child(5) { height: 14px; animation-delay: 0.2s; }
.wave-bar:nth-child(6) { height: 18px; animation-delay: 0.05s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}
.phone-script {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 14px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.phone-script-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.6; margin-bottom: 6px; }
.phone-script.lead { background: rgba(245,158,11,0.15); border-left: 3px solid var(--accent); }
.phone-script.reply { background: rgba(255,255,255,0.08); border-left: 3px solid rgba(255,255,255,0.3); }
.phone-booking {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(245,158,11,0.2);
  border-radius: 10px;
  padding: 12px;
  font-size: 13px;
}
.phone-booking-icon { font-size: 20px; }
.phone-booking-text strong { display: block; font-size: 14px; }
.phone-booking-text span { opacity: 0.7; font-size: 12px; }

.stats-row {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0 48px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(13,27,24,0.05);
}
.stat-item { text-align: center; padding: 0 24px; }
.stat-item + .stat-item { border-left: 1px solid rgba(13,27,24,0.08); }
.stat-number { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 900; color: var(--green); }
.stat-label { font-size: 13px; color: var(--fg-muted); margin-top: 4px; }

.section { padding: 80px 48px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 900;
  color: var(--green);
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-header p { font-size: 18px; color: var(--fg-muted); max-width: 560px; margin: 0 auto; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(13,27,24,0.06);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 56px; height: 56px;
  background: rgba(245,158,11,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 19px; font-weight: 700; color: var(--fg); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

.how-it-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.how-it-visual { display: grid; gap: 16px; }
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid rgba(13,27,24,0.06);
  box-shadow: var(--shadow);
}
.step-num {
  min-width: 40px; height: 40px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}
.step-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step-card p { font-size: 14px; color: var(--fg-muted); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 2px solid rgba(13,27,24,0.08);
  box-shadow: var(--shadow);
  position: relative;
}
.pricing-card.popular { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(245,158,11,0.1), var(--shadow-lg); }
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.pricing-card .price { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 900; color: var(--green); }
.pricing-card .price sup { font-size: 20px; top: -1em; }
.pricing-card .price span { font-size: 16px; font-weight: 400; color: var(--fg-muted); }
.pricing-card .desc { font-size: 14px; color: var(--fg-muted); margin-bottom: 28px; margin-top: 4px; }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li { font-size: 14px; padding: 8px 0; display: flex; align-items: center; gap: 10px; }
.pricing-features li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.pricing-card .btn {
  width: 100%;
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
}
.pricing-card .btn-primary { background: var(--green); color: var(--white); }
.pricing-card .btn-primary:hover { background: var(--green-mid); }
.pricing-card.popular .btn-primary { background: var(--accent); color: var(--white); }
.pricing-card.popular .btn-primary:hover { background: var(--accent-dark); }

.cta-section { background: var(--green); color: var(--white); text-align: center; padding: 100px 48px; }
.cta-section h2 { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 900; margin-bottom: 16px; letter-spacing: -1px; }
.cta-section p { font-size: 20px; opacity: 0.8; margin-bottom: 40px; }
.cta-section .btn-primary { background: var(--accent); font-size: 18px; padding: 18px 40px; }
.cta-section .btn-primary:hover { background: var(--accent-dark); }

footer { background: var(--fg); color: var(--white); padding: 48px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 900; color: var(--accent); }
.footer-links { display: flex; gap: 32px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.4); }

/* Admin Dashboard */
.admin-nav {
  background: var(--green);
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 0;
}
.admin-nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 20px 24px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-nav a:hover, .admin-nav a.active { color: var(--white); border-bottom-color: var(--accent); }
.admin-nav .nav-logo { color: var(--white); margin-right: 40px; }

.dashboard { padding: 40px 48px; max-width: 1200px; margin: 0 auto; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.dashboard-header h1 { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 900; color: var(--green); }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.kpi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(13,27,24,0.06);
  box-shadow: var(--shadow);
}
.kpi-card .kpi-label { font-size: 13px; color: var(--fg-muted); font-weight: 500; margin-bottom: 8px; }
.kpi-card .kpi-value { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 900; color: var(--green); }
.kpi-card .kpi-delta { font-size: 12px; margin-top: 4px; }
.kpi-card .kpi-delta.positive { color: #16a34a; }
.kpi-card .kpi-delta.negative { color: #dc2626; }

.section-title { font-size: 18px; font-weight: 700; color: var(--fg); margin-bottom: 16px; }

.calls-table, .appointments-table {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(13,27,24,0.06);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 40px;
}
.calls-table table, .appointments-table table { width: 100%; border-collapse: collapse; }
.calls-table th, .appointments-table th {
  background: var(--bg-alt);
  padding: 14px 20px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--fg-muted);
  border-bottom: 1px solid rgba(13,27,24,0.08);
}
.calls-table td, .appointments-table td {
  padding: 16px 20px;
  font-size: 14px;
  border-bottom: 1px solid rgba(13,27,24,0.05);
}
.calls-table tr:last-child td, .appointments-table tr:last-child td { border-bottom: none; }
.calls-table tr:hover td, .appointments-table tr:hover td { background: var(--bg); }

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}
.badge-answered { background: rgba(22,163,74,0.1); color: #16a34a; }
.badge-missed { background: rgba(220,38,38,0.1); color: #dc2626; }
.badge-qualified { background: rgba(245,158,11,0.1); color: #d97706; }
.badge-booked { background: rgba(13,59,46,0.1); color: var(--green); }
.badge-pending { background: rgba(74,99,88,0.1); color: var(--fg-muted); }

.empty-state { padding: 60px; text-align: center; color: var(--fg-muted); }
.empty-state .empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { font-size: 18px; font-weight: 700; color: var(--fg); margin-bottom: 8px; }
.empty-state p { font-size: 14px; }

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .how-it-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .nav { padding: 16px 24px; }
  .section, .hero { padding: 60px 24px; }
  .dashboard { padding: 24px; }
}