/* ─── TOKENS (match app globals.css exactly) ─────────────────── */
:root {
  --primary:        #0D9488;
  --primary-light:  #14B8A6;
  --primary-dark:   #0F766E;
  --primary-xdark:  #115E59;
  --primary-50:     #F0FDFA;
  --primary-100:    #CCFBF1;

  --amber:          #F59E0B;
  --amber-light:    #FBBF24;

  --slate-900:      #0F172A;
  --slate-800:      #1E293B;
  --slate-700:      #334155;
  --slate-500:      #64748B;
  --slate-400:      #94A3B8;
  --slate-200:      #E2E8F0;
  --slate-100:      #F1F5F9;
  --slate-50:       #F8FAFC;

  --bg:             #F7F8FA;
  --card:           #FFFFFF;
  --border:         #E2E8F0;

  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow-md:  0 4px 14px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 24px rgba(0,0,0,.10);
  --shadow-xl:  0 24px 48px rgba(0,0,0,.15);
  --shadow-primary: 0 4px 14px rgba(13,148,136,.25);
  --shadow-primary-hover: 0 6px 20px rgba(13,148,136,.35);

  --grad-primary: linear-gradient(135deg, #0D9488, #0F766E);
  --grad-dark:    linear-gradient(135deg, #0F172A, #1E293B);
  --grad-amber:   linear-gradient(135deg, #F59E0B, #D97706);
}

/* ─── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }

/* ─── CONTAINER ───────────────────────────────────────────────── */
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 80px; }

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-family: inherit; font-weight: 600; font-size: 14px;
  border-radius: 10px; border: none; cursor: pointer;
  text-decoration: none; transition: all .18s ease; white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--grad-primary);
  color: white; padding: 11px 22px;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  box-shadow: var(--shadow-primary-hover);
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.btn-outline {
  background: transparent; color: var(--slate-700);
  padding: 11px 20px;
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }

.btn-nav {
  background: var(--primary-50); color: var(--primary-dark);
  padding: 9px 18px; font-size: 13px;
  border: 1.5px solid rgba(13,148,136,.2);
}
.btn-nav:hover { background: var(--primary-100); }

.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }
.btn-full { width: 100%; padding: 15px; font-size: 15.5px; border-radius: 10px; margin-top: 8px; }

/* ─── LOGO ────────────────────────────────────────────────────── */
.logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.logo-name {
  font-size: 20px; font-weight: 800; color: var(--slate-900);
  letter-spacing: -0.04em;
}
.logo-name-teal { color: var(--primary); }
.logo-tagline {
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate-400);
}

/* ─── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,248,250,.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

/* ─── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: var(--slate-900);
  padding: 100px 0 80px;
}

/* subtle dot-grid overlay */
.hero-bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 36px 36px;
}

.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none; z-index: 0;
}
.hero-glow-1 { width: 520px; height: 520px; background: rgba(13,148,136,.28); top: -160px; right: -100px; }
.hero-glow-2 { width: 360px; height: 360px; background: rgba(245,158,11,.12); bottom: -100px; left: -60px; }

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 72px; align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(13,148,136,.15); border: 1px solid rgba(13,148,136,.3);
  border-radius: 100px; padding: 6px 16px;
  font-size: 13px; font-weight: 500; color: var(--primary-light);
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--primary-light);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

.hero-title {
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 900; line-height: 1.08;
  letter-spacing: -2px; color: white;
  margin-bottom: 22px;
}
.hero-title-gradient {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--amber-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 16.5px; color: var(--slate-400);
  line-height: 1.75; margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

/* Stats */
.hero-stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 18px 24px;
  width: fit-content;
}
.stat { display: flex; flex-direction: column; gap: 2px; padding: 0 20px; }
.stat:first-child { padding-left: 0; }
.stat-val { font-size: 22px; font-weight: 800; color: white; letter-spacing: -0.5px; }
.stat-lbl { font-size: 11.5px; font-weight: 500; color: var(--slate-400); }
.stat-sep { width: 1px; height: 36px; background: rgba(255,255,255,.1); }

/* ─── HERO VISUAL (dashboard) ─────────────────────────────────── */
.hero-visual { position: relative; min-width: 0; }

/* Main dashboard card */
.dash-card {
  background: var(--card); border-radius: 18px;
  box-shadow: var(--shadow-xl);
  overflow: hidden; border: 1px solid var(--border);
  width: 100%;
}

/* Header */
.dash-header { padding: 16px 20px 14px; border-bottom: 1px solid var(--border); }
.dash-title-row { display: flex; align-items: center; justify-content: space-between; }
.dash-title { font-size: 14px; font-weight: 700; color: var(--slate-900); }
.dash-date  { font-size: 11.5px; color: var(--slate-400); margin-top: 2px; }
.dash-live  {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; color: #10B981;
  background: #ECFDF5; border: 1px solid #A7F3D0;
  border-radius: 100px; padding: 3px 10px;
}
.dash-live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #10B981;
  animation: pulse-dot 2s infinite;
}

/* Stat tiles */
.dash-stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0; padding: 0;
}
.dash-stat {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.dash-stat:nth-child(even) { border-right: none; }
.dash-stat:nth-child(3), .dash-stat:nth-child(4) { border-bottom: none; }

.dash-stat-icon {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.dash-stat-icon--teal  { background: var(--primary-50);  color: var(--primary); }
.dash-stat-icon--green { background: #ECFDF5; color: #10B981; }
.dash-stat-icon--blue  { background: #EFF6FF; color: #3B82F6; }
.dash-stat-icon--amber { background: #FFFBEB; color: #F59E0B; }
.dash-stat-icon--rupee { font-size: 15px; font-weight: 800; font-family: inherit; }

.dash-stat-body { flex: 1; min-width: 0; }
.dash-stat-val  { font-size: 15px; font-weight: 800; color: var(--slate-900); letter-spacing: -0.3px; line-height: 1.1; }
.dash-stat-lbl  { font-size: 10.5px; color: var(--slate-400); font-weight: 500; margin-top: 1px; }

.dash-stat-trend { font-size: 10.5px; font-weight: 700; flex-shrink: 0; }
.dash-stat-trend--up   { color: #10B981; }
.dash-stat-trend--down { color: #F59E0B; }

/* Divider */
.dash-divider { height: 1px; background: var(--border); }

/* Recent visits */
.dash-section-label {
  padding: 10px 16px 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--slate-400);
}
.dash-visits { padding: 0 0 4px; }
.dash-visit-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px; transition: background .12s;
}
.dash-visit-row:hover { background: var(--slate-50); }
.dash-visit-avatar {
  width: 30px; height: 30px; min-width: 30px; min-height: 30px;
  border-radius: 8px;
  color: white; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dash-visit-info { flex: 1; min-width: 0; }
.dash-visit-name  { font-size: 12.5px; font-weight: 600; color: var(--slate-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-visit-tests { font-size: 11px; color: var(--slate-400); margin-top: 1px; }
.dash-visit-badge {
  font-size: 10.5px; font-weight: 600; border-radius: 100px;
  padding: 3px 9px; flex-shrink: 0;
}
.dash-visit-badge--ready   { color: #10B981; background: #ECFDF5; border: 1px solid #A7F3D0; }
.dash-visit-badge--pending { color: #F59E0B; background: #FFFBEB; border: 1px solid #FED7AA; }

/* Mini bar chart */
.dash-chart-row {
  padding: 12px 16px;
  display: flex; align-items: flex-end; gap: 12px;
}
.dash-chart-label { font-size: 11px; font-weight: 600; color: var(--slate-400); white-space: nowrap; }
.dash-bars { display: flex; align-items: flex-end; gap: 5px; flex: 1; height: 40px; }
.dash-bar-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  flex: 1;
}
.dash-bar {
  width: 100%; border-radius: 4px 4px 0 0;
  background: var(--primary-100); min-height: 4px;
}
.dash-bar--today { background: var(--grad-primary); }
.dash-bar-wrap span {
  font-size: 9px; color: var(--slate-400); font-weight: 600;
}
.dash-bar-today-lbl { color: var(--primary) !important; }
.dash-chart-val { font-size: 11px; font-weight: 700; color: var(--primary); white-space: nowrap; }

/* Floating tags */
.float-tag {
  position: absolute;
  display: flex; align-items: center; gap: 7px;
  background: white; border: 1px solid var(--border);
  border-radius: 100px; padding: 7px 14px;
  font-size: 12.5px; font-weight: 600; color: var(--slate-700);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.float-tag-1 { top: -16px; right: -10px; }
.float-tag-2 { bottom: -16px; left: -10px; }

/* ─── PROOF STRIP ────────────────────────────────────────────── */
.proof-strip {
  background: var(--card); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0; text-align: center;
}
.proof-label { font-size: 12px; font-weight: 600; color: var(--slate-400);
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.proof-icons { display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap; }
.proof-city { font-size: 14px; font-weight: 600; color: var(--slate-500); }
.proof-dot { color: var(--slate-200); font-size: 18px; line-height: 1; }

/* ─── SECTION SHARED ─────────────────────────────────────────── */
.section-head { text-align: center; margin-bottom: 56px; }

.pill {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  letter-spacing: 1.1px; text-transform: uppercase; color: var(--primary);
  background: var(--primary-50); border: 1px solid rgba(13,148,136,.2);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 18px;
}
.pill--light { background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.2); }

.section-title {
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 800;
  letter-spacing: -1.2px; line-height: 1.15; color: var(--slate-900);
  margin-bottom: 16px;
}
.section-sub { font-size: 16px; color: var(--slate-500); max-width: 520px; margin: 0 auto; }

/* ─── FEATURES ───────────────────────────────────────────────── */
.features { padding: 100px 0; background: var(--bg); }

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

.feat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 30px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.feat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(13,148,136,.2);
}
.feat-card--featured {
  background: var(--card);
  border-color: rgba(13,148,136,.3);
  border-top: 3px solid var(--primary);
  box-shadow: 0 4px 20px rgba(13,148,136,.1);
}

.feat-icon {
  width: 48px; height: 48px; border-radius: 13px;
  background: var(--primary-50); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feat-card h3 { font-size: 16px; font-weight: 700; color: var(--slate-900); margin-bottom: 10px; }
.feat-card p  { font-size: 14px; color: var(--slate-500); line-height: 1.65; }

.feat-tag {
  display: inline-block; margin-top: 16px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--amber-light); background: rgba(251,191,36,.15);
  border: 1px solid rgba(251,191,36,.25);
  padding: 4px 10px; border-radius: 100px;
}

/* ─── HOW IT WORKS ───────────────────────────────────────────── */
.how { padding: 100px 0; background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.steps { display: flex; gap: 0; }

.step { display: flex; gap: 20px; flex: 1; }
.step-num-wrap { display: flex; flex-direction: column; align-items: center; gap: 0; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad-primary); color: white;
  font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-primary);
}
.step-line { flex: 1; width: 2px; background: linear-gradient(to bottom, rgba(13,148,136,.3), transparent); min-height: 40px; margin-top: 4px; }
.step-content { padding-top: 8px; padding-right: 32px; padding-bottom: 16px; }
.step-content h4 { font-size: 16px; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.step-content p  { font-size: 14px; color: var(--slate-500); line-height: 1.65; }

/* ─── REGISTER ───────────────────────────────────────────────── */
.register {
  padding: 100px 0; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0F172A 0%, #134E4A 60%, #0F172A 100%);
}
.register-glow {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: rgba(13,148,136,.18); filter: blur(120px);
  top: -200px; right: -100px; pointer-events: none;
}
.register-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 72px; align-items: start;
}

.register-title {
  font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -1px;
  color: white; line-height: 1.15; margin-bottom: 16px; margin-top: 12px;
}
.register-sub { font-size: 15.5px; color: rgba(255,255,255,.6); line-height: 1.75; margin-bottom: 32px; }

.perks { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 44px; }
.perks li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.8); }
.perk-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(13,148,136,.25); color: #34D399;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}

.register-logo { display: flex; align-items: center; gap: 12px; }
.register-logo-name { font-size: 18px; font-weight: 800; color: white; letter-spacing: -0.03em; }
.register-logo-name span { color: var(--primary-light); }
.register-logo-tagline { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-top: 2px; }

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

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--slate-700); }
.req { color: var(--primary); font-size: 13px; font-weight: 600; margin-left: 2px; }
.opt { color: var(--slate-400); font-weight: 500; font-size: 12px; margin-left: 4px; }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit; font-size: 14px; color: var(--slate-900);
  background: var(--slate-50); border: 1.5px solid var(--border);
  border-radius: 8px; padding: 11px 14px;
  transition: border-color .15s, box-shadow .15s;
  outline: none; width: 100%; resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--slate-400); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); background: white;
  box-shadow: 0 0 0 3px rgba(13,148,136,.1);
}

.form-note { text-align: center; font-size: 12px; color: var(--slate-400); margin-top: 10px; }

.form-success { text-align: center; padding: 20px 0; }
.success-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: #ECFDF5; color: #10B981;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.form-success h3 { font-size: 22px; font-weight: 800; color: var(--slate-900); margin-bottom: 10px; }
.form-success p  { font-size: 15px; color: var(--slate-500); line-height: 1.65; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer { background: var(--slate-900); padding: 28px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-logo-name { font-size: 16px; font-weight: 800; color: white; letter-spacing: -0.03em; }
.footer-logo-name span { color: var(--primary); }
.footer-logo-tagline { font-size: 9.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-top: 2px; }
.footer-copy { font-size: 13px; color: var(--slate-500); }
.footer-email { font-size: 13px; color: var(--slate-400); text-decoration: none; transition: color .15s; }
.footer-email:hover { color: var(--primary-light); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-title { font-size: clamp(34px, 6vw, 52px); }
  .hero-stats { width: 100%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .register-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 640px) {
  .container { padding: 0 24px; }
  .hero { padding: 72px 0 60px; }
  .hero-title { letter-spacing: -1px; }
  .hero-stats { gap: 0; padding: 14px 16px; }
  .stat { padding: 0 14px; }
  .stat-val { font-size: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .features { padding: 72px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .how { padding: 72px 0; }
  .steps { flex-direction: column; }
  .step-line { display: none; }
  .step-content { padding-right: 0; }
  .register { padding: 72px 0; }
  .form-card { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .nav-inner .btn-nav { display: none; }
  .footer-inner { flex-direction: column; text-align: center; gap: 12px; }
  .float-tag-1, .float-tag-2 { display: none; }
  .proof-icons { gap: 8px; }
  .proof-dot { display: none; }
}
