/* CalmBridge Styles */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --navy: #0d1b2a;
  --navy-mid: #152333;
  --navy-light: #1e3a5f;
  --teal: #2ec4b6;
  --teal-dark: #20a89a;
  --lavender: #e8e4f3;
  --lavender-mid: #d0c9e8;
  --white: #ffffff;
  --off-white: #f7f8fc;
  --gray-100: #f0f2f5;
  --gray-300: #c8cdd6;
  --gray-500: #8a93a6;
  --gray-700: #4a5568;
  --gray-900: #1a1f2e;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography Scale */
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { font-size: 1rem; color: var(--gray-700); line-height: 1.7; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

.text-center { text-align: center; }
.text-navy { color: var(--navy); }
.text-teal { color: var(--teal); }
.text-lavender { color: var(--lavender-mid); }
.text-white { color: var(--white); }
.text-muted { color: var(--gray-500); }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }

section { padding: 80px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

/* 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;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(46, 196, 182, 0.35);
}
.btn-primary:hover { background: var(--teal-dark); box-shadow: 0 6px 20px rgba(46, 196, 182, 0.45); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-300);
}
.btn-outline:hover { border-color: var(--navy); }

.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}
.navbar-brand img {
  height: 36px;
  width: 36px;
  object-fit: cover;
  border-radius: 8px;
}
.navbar-brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-actions .btn { padding: 10px 20px; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_85417/612da5b3-aeda-44ad-b622-959b22d410ff.jpg') center center / cover no-repeat;
  opacity: 0.2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,27,42,0.5) 0%, rgba(13,27,42,0.9) 70%, rgba(13,27,42,1) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(46, 196, 182, 0.15);
  border: 1px solid rgba(46, 196, 182, 0.3);
  border-radius: 50px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--teal); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  max-width: 520px;
}

/* Problem Section */
.problem-section {
  background: var(--off-white);
}
.problem-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.problem-section h2 { margin-bottom: 16px; }
.problem-lead {
  font-size: 1.2rem;
  color: var(--gray-700);
  max-width: 680px;
  margin-bottom: 48px;
}
.problem-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 768px) { .problem-timeline { grid-template-columns: 1fr; } }
.problem-card {
  background: var(--white);
  border: 1px solid var(--lavender);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  border-radius: 16px 16px 0 0;
}
.problem-years {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.problem-card h4 { margin-bottom: 10px; color: var(--navy); }
.problem-card p { font-size: 0.9rem; }

/* How It Works */
.how-section { background: var(--white); }
.how-section .text-center { margin-bottom: 56px; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: 20px;
  background: var(--gray-100);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.step-card:hover {
  border-color: var(--lavender-mid);
  box-shadow: 0 8px 32px rgba(13,27,42,0.08);
  transform: translateY(-4px);
}
.step-number {
  width: 56px;
  height: 56px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 20px;
}
.step-title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.step-desc { font-size: 0.9rem; color: var(--gray-700); }

/* Who It's For */
.audience-section { background: var(--navy); }
.audience-section h2 { color: var(--white); margin-bottom: 48px; }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px;
}
.audience-icon {
  width: 52px;
  height: 52px;
  background: rgba(46, 196, 182, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.audience-card h3 { color: var(--white); margin-bottom: 16px; }
.audience-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.audience-card li {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  padding-left: 20px;
  position: relative;
}
.audience-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* Providers Section */
.providers-section { background: var(--off-white); }
.providers-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) { .providers-split { grid-template-columns: 1fr; } }
.providers-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--lavender);
  border-radius: 12px;
  padding: 20px;
}
.benefit-card strong { font-size: 0.85rem; color: var(--navy); display: block; margin-bottom: 4px; }
.benefit-card span { font-size: 0.8rem; color: var(--gray-500); }

/* Pricing */
.pricing-section { background: var(--white); }
.pricing-section h2 { margin-bottom: 8px; }
.pricing-sub { font-size: 1rem; color: var(--gray-500); margin-bottom: 48px; }
.pricing-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(46,196,182,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.pricing-amount {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.pricing-amount span { font-size: 1.5rem; font-weight: 400; }
.pricing-tagline {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 32px;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 32px 0;
  text-align: left;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}
.pricing-features li span { color: var(--teal); font-weight: 700; font-size: 1.1rem; }
.pricing-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 20px;
}

/* Founder */
.founder-section { background: var(--lavender); }
.founder-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 768px) { .founder-card { grid-template-columns: 1fr; } }
.founder-avatar {
  width: 120px;
  height: 120px;
  background: var(--navy);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
  flex-shrink: 0;
}
.founder-bio h3 { color: var(--navy); margin-bottom: 4px; }
.founder-credentials { color: var(--teal-dark); font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; }
.founder-bio p { font-size: 0.95rem; }

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  padding: 48px 0 32px;
  font-size: 0.85rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  margin-bottom: 32px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { color: var(--white); font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.footer-crisis {
  background: rgba(46, 196, 182, 0.08);
  border: 1px solid rgba(46, 196, 182, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 8px;
}
.footer-crisis p { font-size: 0.82rem; color: rgba(255,255,255,0.7); }
.footer-crisis strong { color: var(--teal); }
.footer-legal-links {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.footer-legal-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-legal-links a:hover { color: var(--teal); }

.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.35);
}

/* Assessment App Styles */
.app-page { min-height: 100vh; display: flex; flex-direction: column; }
.app-header {
  background: var(--navy);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.app-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--white);
}
.app-logo img { height: 32px; border-radius: 6px; }
.app-logo span { font-weight: 700; font-size: 1rem; }

.app-main { flex: 1; background: var(--off-white); padding: 48px 0; }
.app-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(13,27,42,0.08);
}

/* Progress Bar */
.progress-bar { margin-bottom: 32px; }
.progress-track {
  height: 4px;
  background: var(--lavender);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}
.progress-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 4px;
  transition: width 0.4s ease;
}
.progress-label { font-size: 0.78rem; color: var(--gray-500); font-weight: 500; }

/* Question Styles */
.question-number { font-size: 0.8rem; font-weight: 700; color: var(--teal); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.question-text { font-size: 1.15rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; line-height: 1.4; }
.question-subtext { font-size: 0.88rem; color: var(--gray-500); margin-bottom: 28px; }

.scale-options { display: flex; flex-direction: column; gap: 10px; }
.scale-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--gray-100);
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.scale-option:hover { background: var(--lavender); border-color: var(--lavender-mid); }
.scale-option.selected { background: rgba(46,196,182,0.08); border-color: var(--teal); }
.scale-option input { display: none; }
.scale-dot { width: 20px; height: 20px; border: 2px solid var(--gray-300); border-radius: 50%; flex-shrink: 0; transition: all 0.2s; }
.scale-option.selected .scale-dot { background: var(--teal); border-color: var(--teal); }
.scale-label { font-size: 0.9rem; color: var(--navy); flex: 1; }
.scale-value { font-size: 0.8rem; color: var(--gray-500); font-weight: 500; }

.question-nav { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; }

/* Privacy notice */
.privacy-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(46,196,182,0.06);
  border: 1px solid rgba(46,196,182,0.15);
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 0.82rem;
  color: var(--gray-700);
}
.privacy-notice span { color: var(--teal); font-weight: 600; }

/* Results */
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}
@media (max-width: 600px) { .results-grid { grid-template-columns: 1fr; } }
.score-card {
  background: var(--gray-100);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.score-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 12px; }
.score-number { font-size: 3rem; font-weight: 900; color: var(--navy); line-height: 1; }
.score-severity {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}
.severity-minimal { background: #e8f5e9; color: #2e7d32; }
.severity-mild { background: #fff9e6; color: #8d6e00; }
.severity-moderate { background: #fff3e0; color: #e65100; }
.severity-severe { background: #ffebee; color: #c62828; }
.severity-mod-severe { background: #fce4ec; color: #ad1457; }

.interpretation {
  background: rgba(46,196,182,0.06);
  border: 1px solid rgba(46,196,182,0.2);
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
}
.interpretation h4 { color: var(--navy); margin-bottom: 8px; }
.interpretation p { font-size: 0.9rem; }

.action-steps {
  background: var(--off-white);
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0;
}
.action-steps h4 { color: var(--navy); margin-bottom: 12px; }
.action-steps ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.action-steps li { font-size: 0.88rem; color: var(--gray-700); padding-left: 20px; position: relative; }
.action-steps li::before { content: '→'; position: absolute; left: 0; color: var(--teal); }

/* Booking */
.booking-form { margin-top: 24px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus { border-color: var(--teal); }
.form-input::placeholder { color: var(--gray-500); }

/* Survey */
.survey-question { margin-bottom: 20px; }
.survey-options { display: flex; flex-direction: column; gap: 8px; }
.survey-option {
  padding: 12px 16px;
  background: var(--gray-100);
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--navy);
  transition: all 0.2s;
  text-align: left;
  font-family: var(--font);
  width: 100%;
}
.survey-option:hover { background: var(--lavender); }
.survey-option.selected { background: rgba(46,196,182,0.08); border-color: var(--teal); }
.survey-skip { font-size: 0.8rem; color: var(--gray-500); text-align: center; margin-top: 16px; }
.survey-skip button { background: none; border: none; color: var(--teal); cursor: pointer; font-family: var(--font); font-size: 0.8rem; text-decoration: underline; }

/* Crisis Banner */
.crisis-banner {
  background: rgba(46,196,182,0.08);
  border: 1px solid rgba(46,196,182,0.2);
  border-radius: 12px;
  padding: 14px 20px;
  margin: 20px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.crisis-banner-icon { color: var(--teal); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.crisis-banner p { font-size: 0.85rem; color: var(--gray-700); }
.crisis-banner strong { color: var(--navy); }

/* Disclaimer block */
.disclaimer-block {
  margin-top: 32px;
  padding: 20px;
  background: var(--gray-100);
  border-radius: 12px;
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Loading */
.loading-state {
  text-align: center;
  padding: 48px;
}
.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--lavender);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-state p { font-size: 1rem; font-weight: 600; color: var(--navy); }

/* Code entry */
.code-entry { text-align: center; }
.code-entry h2 { margin-bottom: 8px; }
.code-entry p { margin-bottom: 32px; }
.code-input-wrap { display: flex; gap: 12px; max-width: 400px; margin: 0 auto 16px; }
.code-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--lavender-mid);
  border-radius: 12px;
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  outline: none;
  color: var(--navy);
  text-transform: uppercase;
  transition: border-color 0.2s;
}
.code-input:focus { border-color: var(--teal); }

/* Admin Dashboard */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
@media (max-width: 768px) { .admin-layout { grid-template-columns: 1fr; } }
.admin-sidebar {
  background: var(--navy);
  padding: 32px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.admin-sidebar h3 { color: var(--white); font-size: 1rem; margin-bottom: 24px; }
.admin-nav { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.admin-nav a {
  display: block;
  padding: 10px 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  border-radius: 8px;
  transition: all 0.2s;
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.08); color: var(--white); }
.admin-content { padding: 32px; background: var(--off-white); overflow-y: auto; }
.admin-header { margin-bottom: 32px; }
.admin-header h2 { color: var(--navy); font-size: 1.6rem; }
.admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
@media (max-width: 1024px) { .admin-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(13,27,42,0.06);
}
.stat-card .stat-label { font-size: 0.8rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.stat-card .stat-value { font-size: 2rem; font-weight: 800; color: var(--navy); }
.stat-card .stat-sub { font-size: 0.78rem; color: var(--gray-500); margin-top: 4px; }

/* Chart placeholders */
.chart-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(13,27,42,0.06);
  margin-bottom: 20px;
}
.chart-card h4 { font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 20px; }
.bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.bar { width: 100%; background: var(--navy); border-radius: 4px 4px 0 0; transition: height 0.5s ease; }
.bar-wrap span { font-size: 0.65rem; color: var(--gray-500); }

/* Codes table */
.table-wrap { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 2px 8px rgba(13,27,42,0.06); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 14px 20px; text-align: left; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-500); background: var(--gray-100); border-bottom: 1px solid var(--lavender); }
.data-table td { padding: 14px 20px; font-size: 0.88rem; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); }
.data-table tr:last-child td { border-bottom: none; }
.data-table .status-badge { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.status-pending { background: #fff9e6; color: #8d6e00; }
.status-redeemed { background: #e8f5e9; color: #2e7d32; }

/* Auth PIN */
.pin-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--navy); }
.pin-card { background: var(--white); border-radius: 20px; padding: 40px; width: 100%; max-width: 400px; text-align: center; }
.pin-card h2 { margin-bottom: 8px; }
.pin-card p { margin-bottom: 28px; }
.pin-input { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; }
.pin-digit { width: 48px; height: 56px; border: 2px solid var(--lavender-mid); border-radius: 12px; font-size: 1.5rem; font-weight: 700; text-align: center; outline: none; font-family: var(--font); color: var(--navy); transition: border-color 0.2s; }
.pin-digit:focus { border-color: var(--teal); }

/* Provider form */
.provider-form { max-width: 600px; margin: 0 auto; }
.provider-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .provider-form .form-row { grid-template-columns: 1fr; } }
.form-textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-300); border-radius: 10px; font-family: var(--font); font-size: 0.9rem; color: var(--navy); resize: vertical; min-height: 100px; outline: none; transition: border-color 0.2s; }
.form-textarea:focus { border-color: var(--teal); }

/* Success state */
.success-card { text-align: center; padding: 48px 40px; }
.success-icon { font-size: 3rem; margin-bottom: 16px; }
.success-card h3 { margin-bottom: 8px; }

/* Payment success */
.payment-success-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--navy); padding: 24px; }
.payment-success-card { background: var(--white); border-radius: 24px; padding: 48px; max-width: 500px; text-align: center; }
.payment-success-card h1 { font-size: 2rem; color: var(--navy); margin-bottom: 12px; }
.payment-success-card p { margin-bottom: 32px; }

/* Accessibility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.5s ease forwards; }

/* Section labels */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}