/* =============================================================
   AruYog Diet — Design System
   ============================================================= */

:root {
  /* Brand palette */
  --primary: #0d6e6e;
  --primary-dark: #084747;
  --primary-light: #e8f4f4;
  --primary-50: #f3faf9;
  
  --accent: #e87a3e;
  --accent-dark: #c25c2a;
  --accent-light: #fdf1e7;
  
  --sage: #7fa872;
  --sage-light: #eef5ea;
  
  --rose: #d97777;
  --rose-light: #fcecec;
  
  --purple: #7c5a9c;
  --purple-light: #f3edf8;
  
  --amber: #d4a32c;
  --amber-light: #faf3d9;
  
  --coral: #d97f5c;
  --coral-light: #fcebe2;
  
  --teal: #0d6e6e;
  --teal-light: #e8f4f4;
  
  --cream: #faf8f3;
  --warning: #c0392b;
  --warning-bg: #fdedea;
  --success: #2d8a4f;
  --success-bg: #e9f5ed;
  
  /* Neutral */
  --text: #1d1f1d;
  --text-muted: #5a6260;
  --text-light: #8a8f8c;
  --border: #e5e2db;
  --border-light: #f0eee7;
  --bg: #fdfcf8;
  --white: #ffffff;
  --black: #0a0a0a;
  
  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  
  /* Radius */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(13, 110, 110, 0.04), 0 1px 3px rgba(13, 110, 110, 0.06);
  --shadow: 0 4px 12px rgba(13, 110, 110, 0.06), 0 2px 4px rgba(13, 110, 110, 0.04);
  --shadow-md: 0 8px 24px rgba(13, 110, 110, 0.08), 0 4px 8px rgba(13, 110, 110, 0.04);
  --shadow-lg: 0 16px 40px rgba(13, 110, 110, 0.1), 0 6px 12px rgba(13, 110, 110, 0.04);
  --shadow-xl: 0 24px 56px rgba(13, 110, 110, 0.14);
  
  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  /* Transitions */
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--primary-dark); }

button { font: inherit; cursor: pointer; border: none; background: none; }

input, textarea, select { font: inherit; }

/* =============================================================
   Typography
   ============================================================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}
h1 { font-size: 2.75rem; }
h2 { font-size: 2.125rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

.serif { font-family: var(--font-serif); font-weight: 800; }

.text-muted { color: var(--text-muted); }
.text-light { color: var(--text-light); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* =============================================================
   Layout
   ============================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}
.container-narrow { max-width: 720px; }
.container-wide { max-width: 1320px; }

.section { padding: var(--space-16) 0; }
.section-sm { padding: var(--space-10) 0; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.375rem; }
  .section { padding: var(--space-12) 0; }
}

/* =============================================================
   Header / nav
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 252, 248, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border-light);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}
.nav-brand-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
}
.nav-brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  font-size: 0.95rem;
}
.nav-links a { color: var(--text); font-weight: 500; }
.nav-links a:hover { color: var(--primary); }

@media (max-width: 700px) {
  .nav-links { display: none; }
}

/* =============================================================
   Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(13, 110, 110, 0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(13, 110, 110, 0.3);
}
.btn-accent {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(232, 122, 62, 0.3);
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: white;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover { background: var(--border-light); color: var(--primary); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* =============================================================
   Cards
   ============================================================= */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: var(--space-6);
  transition: var(--transition);
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* =============================================================
   Forms
   ============================================================= */
.form-group { margin-bottom: var(--space-6); }
.form-label {
  display: block;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}
.form-sublabel {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
  font-weight: 400;
}
.form-helper {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: var(--space-2);
}
.form-error {
  color: var(--warning);
  font-size: 0.8125rem;
  margin-top: var(--space-2);
  font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition);
  font-family: var(--font-sans);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 110, 110, 0.1);
}
.form-input.invalid { border-color: var(--warning); }
.form-input.invalid:focus { box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1); }
.form-textarea { min-height: 110px; resize: vertical; }

/* Option pills (single / multi select) */
.option-grid {
  display: grid;
  gap: var(--space-3);
}
@media (min-width: 640px) {
  .option-grid-2 { grid-template-columns: 1fr 1fr; }
}

.option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: 16px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  text-align: left;
  width: 100%;
}
.option:hover {
  border-color: var(--primary);
  background: var(--primary-50);
}
.option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(13, 110, 110, 0.08);
}
.option-radio {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: var(--transition);
  background: white;
  margin-top: 1px;
}
.option.selected .option-radio {
  border-color: var(--primary);
}
.option.selected .option-radio::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--primary);
  border-radius: 50%;
}
.option-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  transition: var(--transition);
  background: white;
  margin-top: 1px;
}
.option.selected .option-checkbox {
  border-color: var(--primary);
  background: var(--primary);
}
.option.selected .option-checkbox::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.option-content { flex: 1; line-height: 1.45; font-size: 0.9375rem; }
.option-label { font-weight: 500; color: var(--text); }
.option-sublabel { font-size: 0.8125rem; color: var(--text-muted); margin-top: 2px; }

/* Checkbox standalone */
.checkbox-line {
  display: flex;
  gap: var(--space-3);
  cursor: pointer;
  padding: var(--space-4);
  border-radius: var(--radius);
  background: var(--primary-50);
  border: 1.5px solid var(--primary-light);
  align-items: flex-start;
}
.checkbox-line input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}

/* =============================================================
   Progress bar
   ============================================================= */
.progress-wrapper {
  position: sticky;
  top: 70px;
  background: rgba(253, 252, 248, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--space-3) 0;
  z-index: 40;
  border-bottom: 1px solid var(--border-light);
}
.progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.progress-row strong { color: var(--primary); }
.progress-bar {
  height: 6px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================================
   Sections / pages specific
   ============================================================= */

/* Section header */
.section-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.section-header::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
}

/* Hero */
.hero {
  padding: var(--space-16) 0 var(--space-12) 0;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: var(--space-16); }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--space-5);
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  margin-bottom: var(--space-5);
}
.hero p.lead {
  font-size: 1.1875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  max-width: 540px;
}
.hero-cta {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
}
.hero-trust {
  margin-top: var(--space-8);
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
}
.hero-trust-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-serif);
  line-height: 1;
}
.hero-trust-lbl { color: var(--text-muted); margin-top: 4px; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--primary-light), var(--cream));
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
}
.hero-pdf-mock {
  background: white;
  border-radius: var(--radius);
  padding: var(--space-5);
  flex: 1;
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
}
.pdf-line {
  height: 8px;
  background: var(--border-light);
  border-radius: var(--radius-sm);
}
.pdf-line.short { width: 60%; }
.pdf-line.medium { width: 80%; }
.pdf-line.long { width: 100%; }
.pdf-line.accent { background: var(--accent); height: 12px; width: 45%; }
.pdf-line.primary { background: var(--primary); height: 16px; width: 70%; }
.hero-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Niche cards */
.niches-grid {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 700px) {
  .niches-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .niches-grid { grid-template-columns: repeat(3, 1fr); }
}
.niche-card {
  display: block;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 2px solid var(--border-light);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.niche-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.niche-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: var(--space-4);
  font-size: 1.5rem;
}
.niche-card[data-color="rose"] .niche-card-icon { background: var(--rose-light); color: var(--rose); }
.niche-card[data-color="teal"] .niche-card-icon { background: var(--teal-light); color: var(--teal); }
.niche-card[data-color="coral"] .niche-card-icon { background: var(--coral-light); color: var(--coral); }
.niche-card[data-color="amber"] .niche-card-icon { background: var(--amber-light); color: var(--amber); }
.niche-card[data-color="purple"] .niche-card-icon { background: var(--purple-light); color: var(--purple); }

.niche-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}
.niche-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-4);
  line-height: 1.5;
}
.niche-card-highlights {
  list-style: none;
  margin-bottom: var(--space-5);
}
.niche-card-highlights li {
  font-size: 0.8125rem;
  color: var(--text);
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.niche-card-highlights li::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
  margin-top: 1px;
}
.niche-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-light);
}
.niche-card-price {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.niche-card-price strong { color: var(--primary); font-size: 1.125rem; }
.niche-card-arrow {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
}
.niche-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--accent);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Trust strip */
.trust-strip {
  background: var(--primary);
  color: white;
  padding: var(--space-8) 0;
  text-align: center;
}
.trust-strip-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) {
  .trust-strip-grid { grid-template-columns: repeat(4, 1fr); }
}
.trust-strip-item h4 {
  color: white;
  font-size: 2rem;
  font-family: var(--font-serif);
  font-weight: 800;
  margin-bottom: 4px;
}
.trust-strip-item p {
  font-size: 0.875rem;
  opacity: 0.85;
  margin: 0;
}

/* Steps section */
.steps {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  text-align: center;
  padding: var(--space-6);
}
.step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-serif);
}
.step h4 { margin-bottom: var(--space-2); }
.step p { color: var(--text-muted); font-size: 0.9375rem; }

/* Question section */
.question-page {
  min-height: 70vh;
  padding: var(--space-8) 0 var(--space-12);
}
.question-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow);
  margin-bottom: var(--space-6);
}
@media (max-width: 640px) {
  .question-section { padding: var(--space-5); }
}
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}
.section-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-title { font-size: 1.5rem; margin-bottom: var(--space-1); }
.section-sub { color: var(--text-muted); margin-bottom: var(--space-6); }

/* Form actions */
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-light);
}
.form-actions.right { justify-content: flex-end; }
@media (max-width: 480px) {
  .form-actions {
    flex-direction: column-reverse;
  }
  .form-actions .btn { width: 100%; }
}

/* Branching message */
.branching-msg {
  background: var(--amber-light);
  border-left: 4px solid var(--amber);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  margin-top: var(--space-3);
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.5;
}

/* =============================================================
   Footer
   ============================================================= */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-12) 0 var(--space-6) 0;
  margin-top: var(--space-16);
}
.footer-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1.5fr 1fr 1fr;
  margin-bottom: var(--space-8);
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h5 {
  color: white;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}
.site-footer a { color: rgba(255, 255, 255, 0.85); display: block; padding: 4px 0; font-size: 0.9375rem; }
.site-footer a:hover { color: white; }
.footer-bottom {
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8125rem;
  opacity: 0.7;
}

/* =============================================================
   Misc / utility
   ============================================================= */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.fade-in { animation: fadeIn 0.4s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.flash {
  padding: var(--space-4);
  border-radius: var(--radius);
  margin-bottom: var(--space-5);
  font-size: 0.9375rem;
}
.flash-success { background: var(--success-bg); color: var(--success); border-left: 4px solid var(--success); }
.flash-warning { background: var(--warning-bg); color: var(--warning); border-left: 4px solid var(--warning); }
.flash-info { background: var(--primary-light); color: var(--primary-dark); border-left: 4px solid var(--primary); }

.skeleton {
  background: linear-gradient(90deg, var(--border-light) 25%, #f5f3ee 50%, var(--border-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Review page specific */
.review-section {
  background: white;
  border-radius: var(--radius);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.review-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-light);
}
.review-section-header h4 { margin: 0; color: var(--primary); font-size: 1.125rem; }
.review-edit {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
}
.review-item {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9375rem;
}
.review-item:last-child { border-bottom: none; }
.review-item-label { color: var(--text-muted); font-weight: 500; }
.review-item-value { color: var(--text); font-weight: 600; }
@media (max-width: 600px) {
  .review-item { grid-template-columns: 1fr; gap: 2px; }
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 800px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.pricing-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 2px solid var(--border-light);
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover {
  border-color: var(--primary);
}
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-light) 0%, white 30%);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pricing-name {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.pricing-price {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}
.pricing-price-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}
.pricing-features {
  list-style: none;
  margin-bottom: var(--space-6);
}
.pricing-features li {
  font-size: 0.9375rem;
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}
.pricing-features li::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
}

/* Success page */
.success-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  box-shadow: var(--shadow);
}
.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-5);
  background: var(--sage-light);
  color: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.success-meta {
  background: var(--primary-light);
  padding: var(--space-4);
  border-radius: var(--radius);
  margin: var(--space-6) auto;
  max-width: 420px;
  font-size: 0.9375rem;
}

/* Loading overlay */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 110, 110, 0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 100;
  text-align: center;
  padding: var(--space-5);
}
.loading-overlay .spinner {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-6);
  border-width: 4px;
}
.loading-overlay h3 {
  color: white;
  margin-bottom: var(--space-2);
}
.loading-overlay p {
  opacity: 0.85;
  max-width: 400px;
}

/* Error page */
.error-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-12) var(--space-5);
}
.error-page h1 {
  font-size: 6rem;
  color: var(--primary);
  font-family: var(--font-serif);
  line-height: 1;
}
.error-page h2 {
  margin: var(--space-3) 0 var(--space-2);
}
.error-page p {
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}
