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

:root {
  --navy: #1a1100;
  --navy-light: #261800;
  --coral: #ff7a00;
  --coral-hover: #e56b00;
  --gray-bg: #fffbf4;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-500: #adb5bd;
  --gray-700: #495057;
  --gray-900: #212529;
  --white: #ffffff;
  --green: #2d9a5c;
  --amber: #ffbb00;
  --blue: #3b82f6;
  --purple: #7c3aed;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.1), 0 12px 32px rgba(0,0,0,0.08);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; }

a { text-decoration: none; color: inherit; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--coral-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,122,0,0.4);
}

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

.btn-outline {
  background: transparent;
  color: var(--coral);
  border: 2px solid var(--coral);
}
.btn-outline:hover {
  background: var(--coral);
  color: var(--white);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(20, 13, 0, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nav-logo-tagline {
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  width: 100%;
  margin-top: -4px;
  letter-spacing: 0.01em;
}

.logo-icon {
  color: var(--coral);
  font-size: 1.4rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--coral);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--coral-hover);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
  border-radius: 2px;
}

/* === Hero === */
.hero {
  position: relative;
  background: linear-gradient(135deg, #a84000 0%, #ff7a00 50%, #ffb300 100%);
  color: var(--white);
  padding: 160px 0 120px;
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255,220,80,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-content {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

/* === Hero Email Preview === */
.hero-visual {
  flex: 0 0 380px;
  max-width: 380px;
}

.email-preview {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.28), 0 2px 8px rgba(0,0,0,0.15);
  overflow: hidden;
  transform: rotate(1.5deg);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.email-preview-header {
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  padding: 12px 16px;
}

.email-preview-from {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.email-preview-dot {
  display: inline-block;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: #ff7a00;
  margin-top: 2px;
}

.email-preview-sender {
  font-size: 0.72rem;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
}

.email-preview-subject {
  font-size: 0.68rem;
  color: #666;
  line-height: 1.4;
  margin-top: 2px;
}

.email-preview-body {
  padding: 14px 16px 18px;
  background: #fff;
}

.email-section-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.email-member-card {
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.email-card-risk {
  background: #fff8f0;
  border: 1px solid #ffe5c8;
}

.email-card-birthday {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
}

.email-member-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 2px;
}

.email-member-meta {
  font-size: 0.66rem;
  color: #888;
  margin-bottom: 5px;
}

.email-suggested-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #ff7a00;
  margin-bottom: 4px;
}

.email-member-note {
  font-size: 0.65rem;
  color: #555;
  font-style: italic;
  line-height: 1.45;
  border-left: 2px solid #ff7a00;
  padding-left: 7px;
  margin-bottom: 8px;
}

.email-member-actions {
  display: flex;
  gap: 6px;
}

.email-action-btn {
  font-size: 0.62rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  background: #ff7a00;
  color: #fff;
  letter-spacing: 0.02em;
}

.hero-badge {
  display: inline-block;
  background: rgba(167, 139, 250, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: #c4b5fd;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
}

.hero-subtitle strong {
  color: var(--white);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-founder-note {
  margin-top: 24px;
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: 520px;
  border-left: 2px solid rgba(255,255,255,0.25);
  padding-left: 14px;
}

.hero-testimonial {
  margin-top: 20px;
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
  max-width: 480px;
}

.hero-ticker {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 22px;
}

.ticker-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  min-width: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: ticker-pulse 2s infinite;
}

@keyframes ticker-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
  70%  { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

.ticker-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  transition: opacity 0.5s ease;
}

.ticker-text.fade-out {
  opacity: 0;
}

.ticker-text.fade-in-ticker {
  opacity: 1;
}

/* === Section Titles === */
.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-700);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* === Problem === */
.problem {
  padding: 100px 0;
  background: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-card {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--gray-200);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--coral);
  margin-bottom: 12px;
  line-height: 1.1;
}

.stat-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* === How It Works === */
.how-it-works {
  padding: 100px 0;
  background: var(--gray-bg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 12px;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid var(--gray-200);
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--coral);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.step p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === Sample Reports === */
.sample-reports {
  padding: 100px 0;
  background: var(--white);
}

.tabs {
  margin-top: 12px;
}

.tab-buttons {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  flex: 1;
  padding: 12px 16px;
  background: none;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.tab-btn:hover:not(.active) {
  color: var(--navy);
}

.tab-divider {
  display: flex;
  align-items: center;
  padding: 0 6px;
  flex-shrink: 0;
}

.tab-divider span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--coral);
  background: rgba(255,122,0,0.1);
  border: 1px solid rgba(255,122,0,0.2);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.tab-btn-pro.active {
  color: var(--coral);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeTab 0.3s ease;
}

@keyframes fadeTab {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Email Frame */
.email-frame {
  background: var(--gray-bg);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.email-header {
  background: var(--white);
  padding: 20px 28px;
  border-bottom: 1px solid var(--gray-200);
}

.email-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.email-from {
  font-size: 0.85rem;
  color: var(--gray-700);
}

.email-subject {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.email-date {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.email-body {
  padding: 28px;
}

.email-greeting {
  margin-bottom: 24px;
  color: var(--gray-700);
}

/* Tier Labels */
.tier-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
  margin-top: 24px;
  display: inline-block;
}

.tier-label:first-of-type {
  margin-top: 0;
}

.tier-label.urgent {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.tier-label.warm {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.tier-label.converting {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.tier-label.referral {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.tier-label.nudge {
  background: #fefce8;
  color: #854d0e;
  border: 1px solid #fef08a;
}

/* Celebration Tier Labels */
.tier-label.milestone-birthday {
  background: #fdf2f8;
  color: #be185d;
  border: 1px solid #fbcfe8;
}

.tier-label.milestone-checkin {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.tier-label.milestone-anniversary {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

/* Celebration Badges */
.badge-birthday {
  background: #fdf2f8;
  color: #be185d;
  border: 1px solid #fbcfe8;
}

.badge-milestone {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-anniversary {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

/* Celebration Card Accent */
.celebration-card {
  border-left: 3px solid transparent;
}

.milestone-birthday + .celebration-card,
.milestone-birthday ~ .celebration-card:not(.milestone-checkin ~ .celebration-card) {
  border-left-color: #ec4899;
}

.tier-label.classpass {
  background: #111827;
  color: #6ee7b7;
  border: 1px solid #374151;
}

.tier-label.monitor {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.tier-label.winback {
  background: #f9fafb;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.tier-label.not-attended {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.tier-label.strong-start {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.tier-label.getting-started {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.tier-description {
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 16px;
  line-height: 1.5;
}

.tier-label.cohort-label {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

/* Customer Cards */
.customer-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 12px;
}

.customer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.customer-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

.customer-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Membership Tags */
.membership-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tag-unlimited {
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  color: #6d28d9;
  border: 1px solid #c4b5fd;
}

.tag-credits {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #047857;
  border: 1px solid #a7f3d0;
}

.tag-drop-in {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.tag-classpass {
  background: linear-gradient(135deg, #1a1100, #2d1f00);
  color: #6ee7b7;
  border: 1px solid #374151;
}

.badge-urgent { background: #fef2f2; color: #b91c1c; }
.badge-warm { background: #fffbeb; color: #92400e; }
.badge-monitor { background: #eff6ff; color: #1e40af; }
.badge-escalate { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.badge-winback { background: #f3f4f6; color: #6b7280; border: 1px solid #e5e7eb; }
.badge-low-engagement { background: #eff6ff; color: #1e40af; }
.badge-converting { background: #f0fdf4; color: #166534; }
.badge-strong-start { background: #f0fdf4; color: #166534; }
.badge-getting-started { background: #fffbeb; color: #92400e; }
.badge-not-attended { background: #fef2f2; color: #b91c1c; }
.badge-referral { background: #eff6ff; color: #1e40af; }
.badge-classpass { background: #ecfdf5; color: #047857; }

/* Customer Contact Row */
.customer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}

.contact-link {
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

.contact-phone {
  color: var(--navy);
}

.contact-phone:hover {
  color: var(--coral);
}

.contact-email {
  color: var(--gray-700);
}

.contact-email:hover {
  color: var(--coral);
}

.contact-profile {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: auto;
}

.contact-profile:hover {
  color: var(--coral);
}

.customer-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.875rem;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.customer-detail {
  font-size: 0.875rem;
  color: var(--gray-700);
  margin-bottom: 10px;
}

.customer-insight {
  font-size: 0.925rem;
  color: var(--navy);
  background: var(--gray-bg);
  border-left: 3px solid var(--coral);
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  line-height: 1.5;
}

/* Outreach action buttons */
.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}
.action-btn:hover { opacity: 0.85; }
.action-btn-email {
  background: #4a90d9;
  color: #ffffff;
}
.action-btn-sms {
  background: #2d9a5c;
  color: #ffffff;
}

/* Suggested message block */
.suggested-message {
  margin-top: 10px;
  background: #f8f8fc;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px 14px;
}
.suggested-message-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}
.suggested-message-text {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.55;
}

/* Summary Box */
.email-summary-box {
  background: linear-gradient(135deg, #fff3e0, #ffedd5);
  color: #7a3800;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--coral);
  padding: 20px 24px;
  margin-top: 28px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.email-summary-box strong {
  color: var(--coral);
}

/* Tables */
.nudge-table, .spend-table {
  overflow-x: auto;
  margin-bottom: 12px;
}

.nudge-table table, .spend-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.nudge-table th, .spend-table th {
  background: var(--gray-100);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-700);
  padding: 12px 16px;
  text-align: left;
}

.nudge-table td, .spend-table td {
  padding: 12px 16px;
  font-size: 0.9rem;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-700);
}

/* Monthly Review */
.monthly-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: #fafafa;
  overflow: hidden;
}

.monthly-stat {
  padding: 16px 14px;
  text-align: center;
  border-right: 1px solid var(--gray-200);
}

.monthly-stat:last-child { border-right: none; }

.monthly-stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1;
}

.monthly-stat-change { font-size: 0.75rem; font-weight: 700; }
.monthly-stat-change.positive { color: #2d9a5c; }
.monthly-stat-change.negative { color: #e8614d; }

.monthly-stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #adb5bd;
  margin-top: 5px;
}

.monthly-stat-note { font-size: 0.68rem; color: #adb5bd; margin-top: 3px; }

.monthly-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: #fafafa;
  overflow: hidden;
}

.monthly-flow-cell {
  padding: 16px 14px;
  text-align: center;
  border-right: 1px solid var(--gray-200);
}

.monthly-flow-cell:last-child { border-right: none; }

.monthly-flow-value { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.monthly-flow-label { font-size: 0.75rem; font-weight: 700; color: #212529; margin-top: 5px; }
.monthly-flow-sub { font-size: 0.68rem; color: #adb5bd; margin-top: 2px; }

.monthly-revenue {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}

.monthly-revenue-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-100);
}

.monthly-revenue-label { width: 110px; font-size: 0.85rem; color: #495057; flex-shrink: 0; }

.monthly-revenue-bar-wrap { flex: 1; background: #e9ecef; border-radius: 3px; height: 7px; }
.monthly-revenue-bar { background: #7c3aed; border-radius: 3px; height: 7px; }

.monthly-revenue-amount {
  width: 60px;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a2e;
  flex-shrink: 0;
}

.monthly-revenue-total {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f8f8f8;
  border-top: 2px solid var(--gray-200);
  font-size: 0.9rem;
  font-weight: 800;
  color: #1a1a2e;
}

@media (max-width: 600px) {
  .monthly-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .monthly-stat:nth-child(2) { border-right: none; }
  .monthly-stat:nth-child(3) { border-top: 1px solid var(--gray-200); }
  .monthly-flow-grid { grid-template-columns: 1fr; }
  .monthly-flow-cell { border-right: none; border-bottom: 1px solid var(--gray-200); }
}

/* Cohort Bars */
.cohort-bars {
  margin-bottom: 28px;
}

.cohort-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.cohort-year {
  width: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  text-align: right;
}

.cohort-bar-track {
  flex: 1;
  height: 28px;
  background: var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
}

.cohort-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--coral), var(--amber));
  border-radius: 6px;
  min-width: 4px;
  transition: width 1s ease;
}

.cohort-pct {
  width: 40px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--coral);
}

/* Cohort Insights */
.cohort-insight {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 16px;
}

.cohort-insight .insight-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.cohort-insight p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.highlight-insight {
  border-color: var(--coral);
  border-width: 2px;
  background: #fff8ee;
}

/* === Comparison === */
.comparison {
  padding: 100px 0;
  background: var(--gray-bg);
}

.compare-grid {
  display: flex;
  align-items: stretch;
  gap: 24px;
  margin-top: 48px;
}

.compare-arrow {
  display: flex;
  align-items: center;
  font-size: 2rem;
  color: var(--coral);
  flex-shrink: 0;
}

.compare-card {
  flex: 1;
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
}

.compare-old {
  background: var(--gray-100);
}

.compare-new {
  background: var(--white);
  border-color: var(--coral);
  border-width: 2px;
  box-shadow: var(--shadow);
}

.compare-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.compare-new .compare-label {
  color: var(--coral);
}

.compare-example {
  margin-bottom: 16px;
}

.compare-example code {
  display: block;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.9rem;
  color: var(--gray-700);
  padding: 4px 0;
}

.pulse-example p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--navy);
}

.compare-verdict {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-style: italic;
}

.compare-new .compare-verdict {
  color: var(--green);
  font-style: normal;
  font-weight: 600;
}

.compare-footer {
  text-align: center;
  margin-top: 40px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

/* === Pricing === */
/* === Integrations / Mindbody Certified === */
.integrations {
  padding: 80px 0;
  background: var(--gray-bg);
  text-align: center;
}

.integrations-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 40px 0 28px;
  flex-wrap: wrap;
}

.integration-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px 28px;
  box-shadow: var(--shadow);
}

.integration-logo {
  flex-shrink: 0;
}

.integration-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-900);
}

.integration-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  margin-top: 3px;
}

.integration-coming {
  font-size: 0.85rem;
  color: var(--gray-500);
  background: var(--white);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 18px 28px;
}

.integrations-note {
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.pricing {
  padding: 100px 0;
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--coral);
  border-width: 2px;
  box-shadow: var(--shadow);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 18px;
  border-radius: 20px;
}

.pricing-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.1;
}

.price-dollar {
  font-size: 1.5rem;
  vertical-align: super;
  font-weight: 600;
}

.price-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-500);
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--gray-700);
  line-height: 1.5;
  margin-bottom: 8px;
}

.pricing-features {
  list-style: none;
  margin: 24px 0 28px;
  text-align: left;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.925rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* === Blog Strip === */
.blog-strip {
  padding: 80px 0;
  background: var(--gray-100);
}
.blog-strip-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}
.blog-strip-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.blog-strip-header p {
  color: var(--gray-700);
  font-size: 1rem;
  margin: 0;
}
.blog-strip-all {
  color: var(--coral);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.blog-strip-all:hover { text-decoration: underline; }
.blog-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-strip-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-strip-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.blog-strip-tag {
  display: inline-block;
  background: #fff3e6;
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  width: fit-content;
}
.blog-strip-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin: 0;
}
.blog-strip-card p {
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.blog-strip-read {
  font-size: 0.8125rem;
  color: var(--gray-700);
  font-weight: 500;
  opacity: 0.6;
}
@media (max-width: 768px) {
  .blog-strip-grid {
    grid-template-columns: 1fr;
  }
  .blog-strip-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === CTA Footer === */
.cta-footer {
  padding: 100px 0;
  background: linear-gradient(135deg, #ff6600 0%, #ffb300 100%);
  color: var(--white);
}

.cta-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.cta-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.cta-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.cta-input:focus {
  border-color: var(--amber);
}

/* === Footer === */
.footer {
  padding: 32px 0;
  background: #0f0800;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-products {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  width: 100%;
  text-align: center;
  margin-top: 4px;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

/* === Fade-in Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Utilization Tab === */
.tier-label.util-label {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

/* Donut Ring Cards */
.util-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.util-type-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
}

.util-type-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.util-ring-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 12px;
}

.util-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.util-ring-bg {
  fill: none;
  stroke: var(--gray-200);
  stroke-width: 10;
}

.util-ring-fill {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}

.ring-sig45 { stroke: var(--coral); }
.ring-sig60 { stroke: var(--blue); }
.ring-strength { stroke: var(--green); }
.ring-cardio { stroke: var(--amber); }
.ring-mindful { stroke: #14b8a6; }

.util-ring-pct {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
}

.util-type-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.util-type-trend {
  font-size: 0.8rem;
  font-weight: 700;
}

.trend-up { color: var(--green); }
.trend-down { color: #dc2626; }
.trend-flat { color: #6b7280; }

/* Heatmap */
.heatmap-wrapper {
  margin-bottom: 28px;
}

.heatmap {
  display: grid;
  grid-template-columns: 80px repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 12px;
}

.heatmap-corner {
  /* empty top-left cell */
}

.heatmap-day-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-700);
  text-align: center;
  padding: 6px 0;
}

.heatmap-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  padding-right: 8px;
  justify-content: flex-end;
}

.heatmap-cell {
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 4px;
  min-height: 48px;
  transition: transform 0.15s;
  gap: 1px;
  line-height: 1.2;
}

.heatmap-cell .cell-type {
  font-size: 0.6rem;
  font-weight: 600;
  opacity: 0.85;
  letter-spacing: 0.02em;
}

.heatmap-cell:hover {
  transform: scale(1.08);
  z-index: 1;
}

.heat-high {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: white;
}

.heat-mid {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #78350f;
}

.heat-low {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
}

.heat-empty {
  background: var(--gray-100);
  color: var(--gray-400);
  font-weight: 400;
}

.heatmap-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--gray-500);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: inline-block;
}

.heat-empty-dot { background: var(--gray-100); border: 1px solid var(--gray-300); }
.heat-low-dot { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.heat-mid-dot { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.heat-high-dot { background: linear-gradient(135deg, #dc2626, #ef4444); }

/* Waitlist Bars */
.waitlist-bars {
  margin-bottom: 28px;
}

.waitlist-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.waitlist-label {
  width: 260px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  flex-shrink: 0;
  text-align: right;
}

.waitlist-bar-track {
  flex: 1;
  height: 24px;
  background: var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
}

.waitlist-bar {
  height: 100%;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  border-radius: 6px;
  transition: width 1s ease;
}

.waitlist-count {
  width: 90px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #7c3aed;
  flex-shrink: 0;
}

/* Utilization responsive */
@media (max-width: 768px) {
  .util-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .heatmap {
    grid-template-columns: 60px repeat(7, 1fr);
    gap: 3px;
  }

  .heatmap-time {
    font-size: 0.65rem;
  }

  .heatmap-cell {
    font-size: 0.6rem;
    padding: 4px 2px;
    min-height: 38px;
  }

  .heatmap-cell .cell-type {
    font-size: 0.5rem;
  }

  .heatmap-day-header {
    font-size: 0.65rem;
  }

  .waitlist-label {
    width: 160px;
    font-size: 0.75rem;
  }

  .waitlist-count {
    width: 80px;
    font-size: 0.75rem;
  }
}

@media (max-width: 500px) {
  .util-type-grid {
    grid-template-columns: 1fr 1fr;
  }

  .heatmap {
    grid-template-columns: 50px repeat(7, 1fr);
    gap: 2px;
  }

  .waitlist-row {
    flex-wrap: wrap;
  }

  .waitlist-label {
    width: 100%;
    text-align: left;
  }
}

/* === Modal === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 36px;
  margin: 0 16px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--gray-500);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  padding: 4px;
}

.modal-close:hover {
  color: var(--gray-900);
}

.modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.modal-header .logo-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 0.95rem;
  color: var(--gray-700);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: 0.01em;
}

.form-group input {
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.15);
}

.form-group input::placeholder {
  color: var(--gray-500);
}

.password-wrapper {
  position: relative;
}
.password-wrapper input {
  padding-right: 60px;
  width: 100%;
  box-sizing: border-box;
}
.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-500);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
}
.password-toggle:hover {
  color: var(--gray-700);
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 4px;
}

.form-divider::before,
.form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.form-divider span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.card-input-wrapper {
  position: relative;
}

.card-input-wrapper input {
  width: 100%;
  padding-right: 64px;
  padding: 12px 64px 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card-input-wrapper input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.15);
}

.card-input-wrapper input::placeholder {
  color: var(--gray-500);
}

.card-icons {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 4px;
}

.card-icon {
  font-size: 1.2rem;
  color: var(--gray-500);
  opacity: 0.6;
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-align: center;
  line-height: 1.5;
  margin: 4px 0;
}
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.password-wrapper input {
  width: 100%;
  padding-right: 44px !important;
}
.password-toggle {
  position: absolute;
  right: 12px;
  z-index: 2;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--gray-500);
  padding: 4px;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.15s;
}
.password-toggle:hover {
  opacity: 1;
}
.platform-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.platform-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: border-color 0.15s, background 0.15s;
}
.platform-option:hover {
  border-color: var(--coral);
  background: rgba(255,107,74,0.06);
}
.platform-option input[type="radio"] {
  accent-color: var(--coral);
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
}
.form-error {
  background: #fee2e2;
  color: #dc2626;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.875rem;
  margin: 4px 0;
}

.btn-full {
  width: 100%;
}

.form-trust {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* Modal Success */
.modal-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.modal-success h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.modal-success p {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* Modal responsive */
@media (max-width: 500px) {
  .modal {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .form-row .form-group:last-child {
    grid-column: 1 / -1;
  }
}

/* === Built Different === */
.built-different {
  padding: 80px 0;
  background: var(--white);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.diff-card {
  background: var(--gray-bg);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.diff-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.diff-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.diff-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.diff-card p {
  font-size: 0.925rem;
  color: var(--gray-700);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .diff-grid {
    grid-template-columns: 1fr;
  }
}

/* === Login Button === */
.nav-login {
  color: rgba(255,255,255,0.8) !important;
  font-size: 0.925rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.nav-login:hover {
  color: var(--white) !important;
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
}

/* === Login Error === */
.login-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* === Settings Overlay === */
.settings-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--gray-bg);
  overflow-y: auto;
  display: none;
}
.settings-overlay.active {
  display: block;
}

.settings-panel {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 32px;
  position: sticky;
  top: 0;
  background: var(--gray-bg);
  z-index: 10;
}

.settings-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.settings-header-left .logo-icon {
  font-size: 1.8rem;
}

.settings-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.settings-studio-name {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
}

.settings-close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gray-500);
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  border-radius: 8px;
  transition: all 0.2s;
}
.settings-close-btn:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

.settings-section {
  margin-bottom: 40px;
}

.settings-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.settings-desc {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* Settings Cards */
.settings-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.settings-card:hover {
  box-shadow: var(--shadow);
}

.settings-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
}

.settings-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}

.settings-card-header > div:nth-child(2) {
  flex: 1;
}

.settings-card-header strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
}

.settings-card-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 2px;
}

.settings-card-body {
  display: flex;
  gap: 24px;
  padding: 0 20px 16px 72px;
}

.settings-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.settings-row label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.settings-row select {
  padding: 8px 12px;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 0.875rem;
  font-family: inherit;
  background: var(--white);
  color: var(--gray-900);
  cursor: pointer;
  min-width: 170px;
}
.settings-row select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(232,97,77,0.15);
}
.settings-row-standalone {
  padding: 12px 0;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.settings-row-standalone select {
  min-width: 240px;
}

/* Toggle Switch */
.toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--gray-300);
  border-radius: 24px;
  transition: 0.25s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.25s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.toggle input:checked + .toggle-slider {
  background: var(--green);
}
.toggle input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

/* Recipients */
.recipients-list {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.recipient-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.15s;
}
.recipient-row:last-child { border-bottom: none; }
.recipient-row:hover { background: var(--gray-bg); }

.recipient-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.recipient-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.recipient-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.recipient-email {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.recipient-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-100);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.recipient-reports {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
}

.report-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.rb-lapsing { background: #fef2f2; color: #dc2626; }
.rb-new { background: #eff6ff; color: #2563eb; }
.rb-celebrate { background: #f5f3ff; color: #7c3aed; }
.rb-util { background: #f0fdf4; color: #16a34a; }
.rb-cohort { background: #fffbeb; color: #d97706; }

.recipient-edit {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--gray-500);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.15s;
}
.recipient-edit:hover {
  background: var(--gray-200);
  color: var(--navy);
}

.btn-add-recipient {
  background: none;
  border: 2px dashed var(--gray-300);
  color: var(--gray-700);
  padding: 14px 20px;
  border-radius: var(--radius);
  width: 100%;
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.btn-add-recipient:hover {
  border-color: var(--coral);
  color: var(--coral);
  background: #fef2f2;
}

/* Add Recipient Form */
.add-recipient-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 16px;
}
.add-recipient-form h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray-700);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--coral);
}

.add-recipient-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

/* Save Bar */
.billing-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 24px;
}
.billing-banner--urgent {
  background: rgba(230, 85, 70, 0.1);
  border-color: rgba(230, 85, 70, 0.35);
}
.billing-banner--active {
  background: rgba(45, 154, 92, 0.08);
  border-color: rgba(45, 154, 92, 0.3);
}
.billing-banner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.billing-banner-text strong {
  color: #1a1a2e;
  font-size: 0.9rem;
}
.billing-banner-text span {
  color: rgba(0,0,0,0.6);
  font-size: 0.82rem;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
  white-space: nowrap;
}

.settings-save-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--gray-200);
  margin-top: 20px;
  position: sticky;
  bottom: 0;
  background: var(--gray-bg);
}
.btn-logout {
  margin-right: auto;
  background: transparent;
  color: var(--gray-500, #6b7280);
  border: 1px solid var(--gray-200, #e5e7eb);
  font-size: 0.85rem;
}
.btn-logout:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fecaca;
}
.integration-card {
  background: var(--white);
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 12px;
  padding: 18px 20px;
}
.integration-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.integration-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #1a1a2e;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.integration-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.integration-status {
  font-size: 0.8rem;
  color: var(--gray-500, #6b7280);
}
.integration-status.connected {
  color: #2d9a5c;
}
.integration-status.not-connected {
  color: var(--gray-500, #6b7280);
}
.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
}
.btn-danger {
  background: transparent;
  color: #dc2626;
  border: 1px solid #fecaca;
  font-size: 0.8rem;
}
.btn-danger:hover {
  background: #fee2e2;
}
.integration-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200, #e5e7eb);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.integration-form .form-group {
  margin: 0;
}
.integration-form-actions {
  display: flex;
  gap: 10px;
}

.mb-setup-guide {
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.mb-setup-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-700);
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mb-setup-steps {
  margin: 0;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mb-setup-steps li {
  font-size: 0.83rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.mb-setup-steps li strong {
  color: var(--gray-900);
}
.mb-setup-steps li em {
  font-style: normal;
  font-weight: 600;
  color: var(--gray-800);
}

.save-status {
  font-size: 0.875rem;
  color: var(--green);
  font-weight: 500;
}

/* Settings responsive */
@media (max-width: 768px) {
  .settings-card-body {
    flex-direction: column;
    gap: 12px;
    padding-left: 20px;
  }

  .recipient-row {
    flex-wrap: wrap;
  }

  .recipient-reports {
    width: 100%;
  }

  .recipient-info {
    min-width: unset;
  }
}

/* === Responsive === */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .compare-grid {
    flex-direction: column;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .compare-arrow {
    justify-content: center;
    transform: rotate(90deg);
  }
}

@media (max-width: 960px) {
  .hero-layout {
    flex-direction: column;
    gap: 40px;
  }

  .hero-visual {
    flex: none;
    max-width: 400px;
    width: 100%;
    align-self: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 130px 0 80px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-visual {
    display: none;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .tab-buttons {
    flex-direction: column;
    max-width: 100%;
  }

  .email-body {
    padding: 20px 16px;
  }

  .email-header {
    padding: 16px;
  }

  .customer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .contact-profile {
    margin-left: 0;
  }

  .customer-stats {
    flex-direction: column;
    gap: 4px;
  }

  .cta-form {
    flex-direction: column;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 500px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* === Testimonial === */
.testimonial-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #1a1100 0%, #2d1800 100%);
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,122,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.testimonial-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  display: block;
  font-size: 6rem;
  line-height: 1;
  color: var(--coral);
  opacity: 0.4;
  margin-bottom: -1rem;
  font-family: Georgia, serif;
}

.testimonial-quote {
  font-size: 1.35rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  font-style: italic;
}

.testimonial-attr {
  display: inline-block;
  color: var(--coral);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(255,122,0,0.3);
  padding-top: 1rem;
}

/* === About / Founder === */
.about-founder {
  padding: 100px 0;
  background: var(--gray-bg);
}

.founder-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--coral);
  padding: 52px 56px;
  box-shadow: var(--shadow-lg);
}

.founder-card .section-title {
  text-align: left;
  margin-bottom: 1.75rem;
  font-size: 1.6rem;
}

.founder-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: #555;
  margin-bottom: 1rem;
}

.founder-body p:last-of-type {
  margin-bottom: 0;
}

.founder-sig {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
  font-size: 1rem;
  font-weight: 700;
  color: var(--coral);
}

@media (max-width: 768px) {
  .founder-card {
    padding: 36px 28px;
  }

  .testimonial-quote {
    font-size: 1.15rem;
  }
}

/* === Password Gate === */
#password-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #a84000 0%, #ff7a00 55%, #ffb300 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

#password-gate.hidden {
  display: none;
}

.gate-card {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.gate-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

.gate-logo .logo-icon {
  color: var(--coral);
  margin-right: 0.25rem;
}

.gate-tagline {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

#gate-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gate-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.2);
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.gate-input:focus {
  border-color: var(--coral);
}

.gate-input::placeholder {
  color: rgba(255,255,255,0.55);
}

.gate-btn {
  width: 100%;
}

.gate-error {
  color: var(--coral);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  min-height: 1.2em;
}
}
