/* ============================================================
   Ownly Network — Production Stylesheet
   Brand: Warm Teal (Palette A) | Font: Plus Jakarta Sans
   ============================================================ */

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #292524;
  background: #FAFAF9;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* PALETTE */
:root {
  --bg-white: #FAFAF9;
  --bg-cream: #F5F5F0;
  --bg-teal-light: #F0FDFA;
  --text-primary: #292524;
  --text-secondary: #57534E;
  --text-muted: #78716C;
  --accent-teal: #14B8A6;
  --accent-teal-dark: #0D9488;
  --accent-amber: #F59E0B;
  --accent-orange: #F97316;
  --accent-orange-light: #FFF7ED;
  --white: #FFFFFF;
  --border: #E7E5E4;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.10);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

/* SHARED — containers, sections, buttons */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section.cream { background: var(--bg-cream); }
.section.white { background: var(--white); }
.section.teal-light { background: var(--bg-teal-light); }

.section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.6;
}
.section-subtitle.center { margin: 0 auto; text-align: center; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.25);
}
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--accent-teal); color: var(--white); }
.btn-primary:hover { background: var(--accent-teal-dark); }

.btn-secondary {
  background: transparent;
  color: var(--accent-teal);
  border: 2px solid var(--accent-teal);
}
.btn-secondary:hover { background: var(--bg-teal-light); }

.btn-ghost {
  background: transparent;
  color: var(--accent-teal);
  padding: 14px 8px;
  font-weight: 600;
}
.btn-ghost:hover { text-decoration: underline; }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* SITE HEADER */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.site-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.logo:hover { opacity: 0.7; }
.logo span { color: var(--accent-teal); }
.logo svg { width: 32px; height: 32px; flex-shrink: 0; }

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  padding-bottom: 2px;
}
.nav-links a:hover { color: var(--accent-teal); }
.nav-links a.active { color: var(--accent-teal); font-weight: 700; }

.nav-links .btn { padding: 10px 20px; font-size: 14px; border-radius: var(--radius-sm); }
.nav-links a.btn-primary { background: var(--accent-teal); color: var(--white); }
.nav-links a.btn-primary:hover { background: var(--accent-teal-dark); color: var(--white); }

/* Mobile hamburger */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-primary);
  padding: 8px;
}

/* CARDS */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 20px;
}
.card-icon.teal { background: var(--bg-teal-light); color: var(--accent-teal); }
.card-icon.orange { background: var(--accent-orange-light); color: var(--accent-orange); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

/* HERO */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  max-width: 720px;
  margin: 0 auto 20px;
  animation: hero-text 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
.hero p {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.6;
  animation: hero-text 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}
.hero .btn-group {
  justify-content: center;
  animation: hero-text 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

.hero-visual {
  margin-top: 56px;
  background: var(--bg-cream);
  border-radius: var(--radius-xl);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--border);
  flex-direction: column;
}

@keyframes hero-text {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* PRODUCT DEMO */
.demo-container { padding: 32px; height: auto; overflow: hidden; width: 100%; }
.demo-app { background: #fff; border-radius: 14px; box-shadow: 0 8px 32px rgba(0,0,0,0.10); overflow: hidden; width: 100%; }
.demo-titlebar { background: #F5F5F4; padding: 12px 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #E7E5E4; }
.demo-dots span { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; }
.demo-dots span:nth-child(1) { background: #EF4444; }
.demo-dots span:nth-child(2) { background: #F59E0B; }
.demo-dots span:nth-child(3) { background: #22C55E; }
.demo-title { font-size: 15px; font-weight: 600; color: #78716C; flex: 1; text-align: center; }
.demo-topbar { display: flex; align-items: center; padding: 16px 28px; border-bottom: 1px solid #E7E5E4; gap: 18px; }
.demo-logo { display: flex; align-items: center; gap: 12px; }
.demo-o { display: inline-flex; width: 36px; height: 36px; border-radius: 8px; background: var(--accent-teal); color: white; font-size: 18px; font-weight: 800; align-items: center; justify-content: center; }
.demo-biz { font-size: 16px; font-weight: 600; color: #292524; }
.demo-tabs { flex: 1; display: flex; gap: 6px; justify-content: center; }
.demo-tab { font-size: 14px; font-weight: 600; padding: 8px 18px; border-radius: 6px; color: #78716C; }
.demo-tab.active { background: #fff; color: #292524; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.demo-health { font-size: 14px; color: #22C55E; font-weight: 600; }

.demo-scene-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 18px; }
.demo-scene-tab {
  padding: 10px 22px; border: none; border-radius: 24px; background: rgba(0,0,0,0.05);
  color: var(--text-muted); font-family: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.2s ease; letter-spacing: 0.02em;
}
.demo-scene-tab:hover { background: rgba(0,0,0,0.08); color: var(--text-primary); }
.demo-scene-tab.active { background: var(--accent-teal); color: #fff; }

.demo-scene { display: none; }
.demo-scene.active { display: block; }
.demo-body { position: relative; min-height: 520px; overflow: hidden; }
.demo-step {
  position: absolute; inset: 0; padding: 32px 36px; opacity: 0; transform: translateY(12px);
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.demo-step.active { opacity: 1; transform: translateY(0); pointer-events: auto; }

.demo-step.active .demo-greeting, .demo-step.active .demo-panel,
.demo-step.active .demo-agenda-item, .demo-step.active .demo-card,
.demo-step.active .demo-fin-card, .demo-step.active .demo-list-item,
.demo-step.active .demo-email, .demo-step.active .demo-trend,
.demo-step.active .demo-draft, .demo-step.active .demo-summary {
  animation: typewrite-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.demo-step.active > :nth-child(1) { animation-delay: 0s; }
.demo-step.active > :nth-child(2) { animation-delay: 0.08s; }
.demo-step.active .demo-panel:nth-child(1) { animation-delay: 0s; }
.demo-step.active .demo-panel:nth-child(2) { animation-delay: 0.15s; }
.demo-step.active .demo-list-item:nth-child(1), .demo-step.active .demo-email:nth-child(1),
.demo-step.active .demo-trend:nth-child(1), .demo-step.active .demo-agenda-item:nth-child(1),
.demo-step.active .demo-card:nth-child(1), .demo-step.active .demo-fin-card:nth-child(1) { animation-delay: 0.05s; }
.demo-step.active .demo-list-item:nth-child(2), .demo-step.active .demo-email:nth-child(2),
.demo-step.active .demo-trend:nth-child(2), .demo-step.active .demo-agenda-item:nth-child(2),
.demo-step.active .demo-card:nth-child(2), .demo-step.active .demo-fin-card:nth-child(2) { animation-delay: 0.15s; }
.demo-step.active .demo-list-item:nth-child(3), .demo-step.active .demo-email:nth-child(3),
.demo-step.active .demo-trend:nth-child(3), .demo-step.active .demo-agenda-item:nth-child(3),
.demo-step.active .demo-card:nth-child(3), .demo-step.active .demo-fin-card:nth-child(3) { animation-delay: 0.25s; }
.demo-step.active .demo-list-item:nth-child(4), .demo-step.active .demo-email:nth-child(4),
.demo-step.active .demo-agenda-item:nth-child(4), .demo-step.active .demo-fin-card:nth-child(4) { animation-delay: 0.35s; }
.demo-step.active .demo-agenda-item:nth-child(5) { animation-delay: 0.45s; }

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

.demo-step.active .demo-greeting-text {
  border-right: 2px solid var(--accent-teal);
  animation: typewrite-in 0.5s both, cursor-blink 0.8s 0.5s 3;
}
@keyframes cursor-blink {
  0%, 100% { border-color: var(--accent-teal); }
  50% { border-color: transparent; }
}

.demo-progress { height: 3px; background: rgba(0,0,0,0.08); border-radius: 2px; margin-top: 12px; overflow: hidden; width: 100%; }
.demo-progress-bar { height: 100%; background: var(--accent-teal); border-radius: 2px; width: 0%; transition: width 0.1s linear; }

.demo-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.demo-panel { background: #FAFAF9; border: 1px solid #E7E5E4; border-radius: 12px; padding: 24px; }
.demo-panel-header { font-size: 17px; font-weight: 700; color: #292524; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #E7E5E4; }
.demo-list-item { font-size: 15px; color: #57534E; padding: 9px 0; display: flex; align-items: flex-start; gap: 12px; line-height: 1.5; }
.demo-list-item.highlight { background: #F0FDFA; margin: 3px -12px; padding: 9px 12px; border-radius: 8px; color: #0D9488; font-weight: 600; }
.demo-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.demo-dot.blue { background: #3B82F6; }
.demo-dot.green { background: #22C55E; }
.demo-dot.amber { background: #F59E0B; }
.demo-dot.teal { background: #14B8A6; }

.demo-email { font-size: 15px; color: #57534E; padding: 8px 0; display: flex; align-items: center; gap: 12px; line-height: 1.5; }
.demo-email-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.demo-email-dot.replied { background: #22C55E; }
.demo-email-dot.flagged { background: #F59E0B; }
.demo-email-dot.auto { background: #A78BFA; }

.demo-agenda-item { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #F5F5F0; font-size: 16px; }
.demo-agenda-item.blank { border-bottom: none; }
.demo-time { font-size: 15px; font-weight: 700; color: #78716C; min-width: 84px; }
.demo-agenda-text { flex: 1; color: #292524; }
.demo-badge { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 5px; text-transform: uppercase; }
.demo-badge.new { background: #FEF3C7; color: #D97706; }

.demo-trend { font-size: 15px; color: #57534E; padding: 9px 0; display: flex; align-items: flex-start; gap: 12px; line-height: 1.5; }
.demo-trend-num { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-teal); color: white; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.demo-draft { font-size: 15px; color: #57534E; padding: 12px 0; display: flex; align-items: center; gap: 12px; line-height: 1.5; border-bottom: 1px solid #F5F5F0; }

.demo-finance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.demo-fin-card { background: #FAFAF9; border: 1px solid #E7E5E4; border-radius: 12px; padding: 24px; text-align: center; }
.demo-fin-card.green { border-color: #BBF7D0; background: #F0FDF4; }
.demo-fin-card.amber { border-color: #FDE68A; background: #FFFBEB; }
.demo-fin-label { font-size: 13px; color: #78716C; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.demo-fin-value { font-size: 30px; font-weight: 800; color: #292524; margin: 10px 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-fin-change { font-size: 14px; font-weight: 600; color: #78716C; white-space: nowrap; }
.demo-fin-change.up { color: #16A34A; }
.demo-fin-change.down { color: #DC2626; }

.demo-greeting { display: flex; align-items: center; gap: 20px; background: var(--bg-teal-light); border-radius: 14px; padding: 28px; }
.demo-avatar { width: 56px; height: 56px; border-radius: 12px; background: var(--accent-teal); color: white; font-weight: 800; font-size: 26px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.demo-greeting-text { font-size: 19px; font-weight: 600; color: #292524; }
.demo-greeting-sub { font-size: 15px; color: var(--accent-teal-dark); font-weight: 600; margin-top: 6px; }

.demo-cards-row { display: flex; flex-direction: column; gap: 12px; }
.demo-card { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: #fff; border: 1px solid #E7E5E4; border-left: 4px solid; border-radius: 10px; transition: all 0.3s ease; }
.demo-card.approved { background: #F0FDF4; border-color: #BBF7D0; }
.demo-card-badge { width: 34px; height: 34px; border-radius: 6px; color: white; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.demo-card-text { flex: 1; font-size: 15px; color: #57534E; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-card-actions { display: flex; gap: 8px; flex-shrink: 0; }
.demo-btn-approve { width: 36px; height: 36px; border-radius: 8px; background: #D1FAE5; color: #16A34A; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.demo-btn-edit { width: 36px; height: 36px; border-radius: 8px; background: var(--bg-teal-light); color: var(--accent-teal); font-size: 18px; display: flex; align-items: center; justify-content: center; }
.demo-card-status { font-size: 14px; font-weight: 600; color: #16A34A; white-space: nowrap; }

.demo-summary { text-align: center; padding: 48px 28px; }
.demo-summary-icon { width: 56px; height: 56px; border-radius: 50%; background: #D1FAE5; color: #16A34A; font-size: 28px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.demo-summary-text { font-size: 20px; font-weight: 700; color: #292524; margin-bottom: 8px; }
.demo-summary-sub { font-size: 16px; color: var(--accent-teal-dark); font-weight: 600; }

/* PAIN-POINT CARDS */
.pain-card { text-align: center; padding: 40px 28px; }
.pain-card .card-icon { font-size: 36px; margin-left: auto; margin-right: auto; }
.pain-card p { font-size: 16px; color: var(--text-secondary); line-height: 1.6; }

/* ROI VISUAL */
.roi-visual { max-width: 600px; margin: 0 auto; }
.roi-bar-group { margin-bottom: 24px; }
.roi-bar-label { font-size: 14px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; display: flex; justify-content: space-between; align-items: baseline; }
.roi-bar-label .roi-tag { font-size: 12px; font-weight: 500; color: var(--text-muted); }
.roi-bar-track { height: 32px; background: #F5F5F0; border-radius: 8px; overflow: hidden; position: relative; }
.roi-bar-fill { height: 100%; border-radius: 8px; display: flex; align-items: center; padding-left: 14px; font-size: 14px; font-weight: 700; color: white; transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); width: 0%; }
.roi-bar-fill.hiring { background: linear-gradient(90deg, #EF4444, #DC2626); }
.roi-bar-fill.agent { background: linear-gradient(90deg, var(--accent-teal), var(--accent-teal-dark)); }
.roi-bar-fill.visible { width: var(--target-width); }

.roi-vs-badge { display: inline-block; background: var(--accent-teal); color: white; font-size: 18px; font-weight: 800; padding: 6px 20px; border-radius: var(--radius-md); margin: 8px 0 24px; animation: gentle-pulse 2.5s ease-in-out infinite; }
@keyframes gentle-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

.year-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.year-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; text-align: center; position: relative; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease; }
.year-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.year-card.highlight-year { border-color: var(--accent-teal); background: var(--bg-teal-light); box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.15); }
.year-card .year-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 8px; }
.year-card .year-hiring { font-size: 15px; color: #EF4444; text-decoration: line-through; margin-bottom: 4px; }
.year-card .year-agent { font-size: 20px; font-weight: 800; color: var(--accent-teal); }
.year-card .year-note { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* CASE STUDY CARDS */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-metric-hero { background: linear-gradient(135deg, #0D9488, #14B8A6); padding: 28px 24px; text-align: center; position: relative; overflow: hidden; }
.case-metric-hero .metric-value { font-size: 36px; font-weight: 800; color: white; line-height: 1; white-space: nowrap; }
.case-metric-hero .metric-label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 6px; }
.case-metric-hero::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.6s ease; }
.case-card:hover .case-metric-hero::after { left: 100%; }
.case-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.case-body .case-type { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-teal); margin-bottom: 8px; }
.case-body .case-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; line-height: 1.3; }
.case-body .case-quote { font-size: 14px; color: var(--text-secondary); line-height: 1.6; font-style: italic; flex: 1; }
.case-stats-row { display: flex; gap: 1px; background: var(--border); }
.case-mini-stat { flex: 1; background: var(--bg-cream); padding: 12px; text-align: center; }
.case-mini-stat .ms-value { font-size: 16px; font-weight: 800; color: var(--text-primary); }
.case-mini-stat .ms-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-top: 2px; }

/* Services page case cards (simpler) */
.case-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.case-card .case-row { display: flex; gap: 8px; margin-bottom: 8px; font-size: 14px; }
.case-card .case-label { font-weight: 700; color: var(--text-primary); flex-shrink: 0; min-width: 72px; }
.case-card .case-value { color: var(--text-secondary); }
.case-card .case-result { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 20px; font-weight: 800; color: var(--accent-teal); }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, #0D9488 0%, #14B8A6 50%, #2DD4BF 100%);
  border-radius: var(--radius-lg); padding: 64px 48px; text-align: center; color: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-banner:hover { transform: scale(1.01); box-shadow: 0 12px 40px rgba(13, 148, 136, 0.3); }
.cta-banner h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; color: var(--white); }
.cta-banner .cta-sub { font-size: 17px; margin-bottom: 24px; opacity: 0.9; }
.cta-banner .btn-primary { background: var(--white); color: var(--accent-teal-dark); }
.cta-banner .btn-secondary { border-color: rgba(255,255,255,0.5); color: var(--white); }
.cta-banner .btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* CONSULTATION CARD — Unified Pricing + Form */
.consult-card {
  display: grid;
  grid-template-columns: 2fr 3fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.consult-pricing {
  display: flex;
  flex-direction: column;
}

.consult-pricing-header {
  background: linear-gradient(135deg, #0D9488, #14B8A6);
  padding: 32px 28px 24px;
  text-align: center;
  color: var(--white);
}

.consult-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 8px;
}

.consult-price-current {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.consult-price-label {
  font-size: 15px;
  font-weight: 600;
  opacity: 0.9;
  margin: 0;
}

.consult-pricing-body {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.consult-includes-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.consult-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
}

.consult-includes li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.consult-includes li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--accent-teal);
  font-weight: 700;
  font-size: 14px;
}

.consult-credit {
  margin-top: 20px;
  padding: 10px 14px;
  background: var(--bg-teal-light);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-teal-dark);
  text-align: center;
}

.consult-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.consult-secure svg {
  flex-shrink: 0;
}

/* Form side */
.consult-form-side {
  padding: 32px;
  border-left: 1px solid var(--border);
}

.consult-form .form-group textarea {
  min-height: 80px;
}

.consult-cta {
  width: 100%;
  text-align: center;
  font-size: 16px;
  padding: 16px;
}

.consult-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: -2px;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Stripe cancel banner */
.stripe-cancel-banner {
  background: #FEF3C7;
  border-bottom: 1px solid #FDE68A;
  padding: 12px 0;
}

.stripe-cancel-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stripe-cancel-banner p {
  font-size: 14px;
  color: #92400E;
  font-weight: 500;
  margin: 0;
}

.stripe-cancel-banner button {
  background: none;
  border: none;
  font-size: 20px;
  color: #92400E;
  cursor: pointer;
  padding: 0 4px;
}

/* Secondary zone */
.consult-secondary {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* CONTACT FORM (legacy, kept for general forms) */
.contact-form { max-width: 560px; margin: 0 auto; }

.scenario-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.scenario-btn {
  display: flex; align-items: center; gap: 8px; padding: 12px 14px; border: 2px solid var(--border);
  border-radius: var(--radius-md); background: var(--white); font-family: inherit; font-size: 13px;
  font-weight: 600; color: var(--text-secondary); cursor: pointer; transition: all 0.2s ease; text-align: left;
}
.scenario-btn:hover { border-color: var(--accent-teal); color: var(--accent-teal-dark); background: var(--bg-teal-light); }
.scenario-btn:active { transform: scale(0.97); }
.scenario-btn.selected { border-color: var(--accent-teal); background: var(--bg-teal-light); color: var(--accent-teal-dark); animation: select-pop 0.3s ease; }
.scenario-btn .scenario-icon { font-size: 18px; flex-shrink: 0; }
@keyframes select-pop { 0% { transform: scale(1); } 50% { transform: scale(1.03); } 100% { transform: scale(1); } }

.scenario-details { display: flex; flex-direction: column; gap: 0; }
.scenario-detail { display: none; background: var(--bg-teal-light); border: 1px solid rgba(20, 184, 166, 0.2); border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 8px; font-size: 13px; color: var(--text-secondary); line-height: 1.5; animation: detail-slide 0.3s ease; }
.scenario-detail.visible { display: block; }
.scenario-detail strong { color: var(--accent-teal-dark); font-size: 14px; }
.scenario-detail ul { list-style: none; margin: 8px 0; padding: 0; }
.scenario-detail ul li { padding: 4px 0; padding-left: 22px; position: relative; line-height: 1.5; }
.scenario-detail ul li::before { content: '\2713'; position: absolute; left: 0; top: 3px; color: var(--accent-teal); font-weight: 700; font-size: 13px; line-height: 1; }
.scenario-detail .detail-stat { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--accent-teal-dark); }
@keyframes detail-slide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text-primary); }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 15px; color: var(--text-primary); background: var(--white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-teal); box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12); transform: translateY(-1px); }
.form-group textarea { resize: vertical; min-height: 140px; }

.contact-info { margin-top: 40px; text-align: center; font-size: 14px; color: var(--text-muted); line-height: 1.8; }

.form-success { text-align: center; padding: 60px 20px; }
.form-success div:first-child { width: 64px; height: 64px; border-radius: 50%; background: #D1FAE5; color: #16A34A; display: inline-flex; align-items: center; justify-content: center; }

/* FOOTER */
.site-footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-teal); }

/* SCROLL ANIMATIONS */
.fade-in-section { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.fade-in-section.visible { opacity: 1; transform: translateY(0); }

.fade-in-section.visible .grid-3 > .card, .fade-in-section.visible .grid-3 > .pain-card,
.fade-in-section.visible .grid-2 > .card, .fade-in-section.visible .year-timeline > .year-card,
.fade-in-section.visible .roi-bar-group, .fade-in-section.visible .case-grid > .case-card {
  opacity: 0; animation: stagger-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.fade-in-section.visible .grid-3 > :nth-child(1), .fade-in-section.visible .grid-2 > :nth-child(1),
.fade-in-section.visible .year-timeline > :nth-child(1), .fade-in-section.visible .roi-bar-group:nth-child(1),
.fade-in-section.visible .case-grid > .case-card:nth-child(1) { animation-delay: 0.1s; }
.fade-in-section.visible .grid-3 > :nth-child(2), .fade-in-section.visible .grid-2 > :nth-child(2),
.fade-in-section.visible .year-timeline > :nth-child(2), .fade-in-section.visible .roi-bar-group:nth-child(2),
.fade-in-section.visible .case-grid > .case-card:nth-child(2) { animation-delay: 0.25s; }
.fade-in-section.visible .grid-3 > :nth-child(3), .fade-in-section.visible .year-timeline > :nth-child(3),
.fade-in-section.visible .case-grid > .case-card:nth-child(3) { animation-delay: 0.4s; }
.fade-in-section.visible .case-grid > .case-card:nth-child(4) { animation-delay: 0.55s; }
.fade-in-section.visible .case-grid > .case-card:nth-child(5) { animation-delay: 0.7s; }
.fade-in-section.visible .case-grid > .case-card:nth-child(6) { animation-delay: 0.85s; }

@keyframes stagger-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Icon bounce on card hover */
.card:hover .card-icon, .pain-card:hover .card-icon { animation: icon-bounce 0.5s ease; }
@keyframes icon-bounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-6px); } 60% { transform: translateY(-2px); } }

/* LEGAL PAGES */
.legal-content { max-width: 720px; margin: 0 auto; padding: 60px 24px; }
.legal-content h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.legal-content .last-updated { font-size: 14px; color: var(--text-muted); margin-bottom: 40px; }
.legal-content h2 { font-size: 22px; font-weight: 700; margin-top: 40px; margin-bottom: 12px; color: var(--text-primary); }
.legal-content h3 { font-size: 18px; font-weight: 600; margin-top: 24px; margin-bottom: 8px; }
.legal-content p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.legal-content ul, .legal-content ol { margin: 12px 0 16px 24px; color: var(--text-secondary); font-size: 16px; line-height: 1.7; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--accent-teal); }

/* UTILITY */
.text-center { text-align: center; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.muted { color: var(--text-muted); font-size: 14px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero h1 { font-size: 40px; }
  .section { padding: 60px 0; }
}

@media (max-width: 768px) {
  .consult-card { grid-template-columns: 1fr; }
  .consult-form-side { border-left: none; border-top: 1px solid var(--border); padding: 24px 20px; }
  .consult-pricing-header { padding: 24px 20px 20px; }
  .consult-pricing-body { padding: 20px; }
  .consult-price-current { font-size: 40px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 16px; box-shadow: var(--shadow-md); }
  .mobile-menu-btn { display: block; }
  .case-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .hero { padding: 64px 0 48px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 17px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 26px; }
  .container { padding: 0 16px; }
  .cta-banner { padding: 40px 24px; }
  .cta-banner h2 { font-size: 24px; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; width: 100%; }
  .demo-container { padding: 16px; }
  .demo-body { min-height: 440px; }
  .demo-step { padding: 24px 20px; }
  .demo-greeting { padding: 20px; gap: 14px; }
  .demo-avatar { width: 44px; height: 44px; font-size: 20px; }
  .demo-greeting-text { font-size: 17px; }
  .demo-greeting-sub { font-size: 14px; }
  .demo-panel { padding: 18px; }
  .demo-panel-header { font-size: 15px; }
  .demo-list-item, .demo-email, .demo-trend, .demo-draft { font-size: 14px; }
  .demo-agenda-item { font-size: 15px; }
  .demo-time { font-size: 14px; }
  .demo-card-text { font-size: 14px; }
  .demo-card-badge { width: 30px; height: 30px; font-size: 11px; }
  .demo-btn-approve, .demo-btn-edit { width: 32px; height: 32px; font-size: 16px; }
  .demo-card-status { font-size: 13px; }
  .demo-summary { padding: 36px 20px; }
  .demo-summary-text { font-size: 18px; }
  .demo-summary-sub { font-size: 15px; }
  .demo-fin-card { padding: 18px; }
  .demo-fin-value { font-size: 24px; }
  .demo-fin-label { font-size: 12px; }
  .demo-fin-change { font-size: 13px; }
  .demo-topbar { padding: 10px 16px; }
  .demo-two-col { grid-template-columns: 1fr; }
  .demo-finance-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-scene-tabs { flex-direction: column; gap: 6px; }
  .demo-scene-tab { font-size: 13px; padding: 8px 16px; }
  .year-timeline { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
  .roi-bar-fill { font-size: 12px; padding-left: 8px; }
  .case-metric-hero .metric-value { font-size: 28px; }
  .case-mini-stat .ms-value { font-size: 14px; }
  .number-item .big { font-size: 28px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .scenario-picks { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .scenario-picks { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 375px) {
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 16px; max-width: 100%; }
  .section { padding: 40px 0; }
  .section-title { font-size: 22px; }
  .container { padding: 0 12px; }
  .card { padding: 20px; }
  .case-metric-hero .metric-value { font-size: 24px; }
  .number-item .big { font-size: 24px; }
  .demo-fin-value { font-size: 20px; }
  .demo-body { min-height: 400px; }
  .demo-step { padding: 20px 16px; }
  .demo-greeting { padding: 16px; gap: 12px; }
  .demo-avatar { width: 40px; height: 40px; font-size: 18px; }
  .demo-greeting-text { font-size: 16px; }
  .demo-greeting-sub { font-size: 13px; }
  .demo-panel { padding: 16px; }
  .demo-panel-header { font-size: 14px; }
  .demo-list-item, .demo-email, .demo-trend, .demo-draft { font-size: 13px; }
  .demo-card-text { font-size: 13px; }
  .demo-summary-text { font-size: 16px; }
  .demo-summary-sub { font-size: 14px; }
}
