/* ============================================
   My Benni AI — Shared Design System
   ============================================ */

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

:root {
  /* Verified against Figma Dev Mode (Sign Up node 2821:39762) */
  --purple-50:  #F6F3FF;
  --purple-100: #EEE7FF;
  --purple-200: #DED0FF;
  --purple-300: #C6ACFF;
  --purple-400: #A780FF;
  --purple-500: #8B5CF6;
  --purple-600: #6200EE; /* Figma "Primary" purple, exact */
  --purple-700: #4F00C4;

  --pink-bg: #FCDCED;
  --pink-fg: #D6409F; /* punched up to the vivid magenta used for Family/Childcare headers */
  --teal-bg: #D2F1EE;
  --teal-fg: #1E9088; /* vivid teal, Fertility category */
  --mint-bg: #D7F5E3;
  --mint-fg: #22A85B; /* vivid green, Wellness category */
  --sky-bg:  #DCE8FE;
  --sky-fg:  #2E6FEA; /* vivid blue, Vision/Calendar category */
  --amber-bg:#FBEACB;
  --amber-fg:#D98F1B; /* vivid gold, sticky-note/alert accent */

  --ink-900: #18181B; /* Figma Typography/900, exact — used for buttons & headings */
  --ink-850: #0D0D12; /* Figma Greyscale/900 */
  --ink-800: #030527; /* Figma Label Colors/Primary */
  --ink-600: #4A4A57;
  --ink-400: #818898; /* Figma Greyscale/400, exact — placeholder text */
  --ink-200: #DFE1E7; /* Figma Greyscale/100, exact — borders */
  --ink-100: #ECEFF3; /* Figma Greyscale/50, exact — subtle surfaces */
  --white: #FFFFFF;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 2px 8px rgba(14,14,19,0.04), 0 12px 32px rgba(14,14,19,0.06);
  --shadow-pop: 0 8px 24px rgba(139,92,246,0.25);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif; /* stands in for SF Pro Display used in Figma */
  --font-light: 'DM Sans', 'Inter', sans-serif; /* Figma uses DM Sans Light for auth subtext */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink-900);
  color: var(--white);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.btn-secondary {
  background: var(--white);
  color: var(--ink-900);
  border: 1.5px solid var(--ink-200);
}
.btn-secondary:hover { border-color: var(--ink-900); }
.btn-text { color: var(--ink-800); font-weight: 600; font-size: 15px; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-200);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink-900);
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--purple-600); /* solid fill, matches Figma logo circle exactly */
  flex-shrink: 0;
  position: relative;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 28%;
  background: rgba(255,255,255,0.9);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-600);
}
.nav-links a:hover { color: var(--ink-900); }
.nav-actions { display: flex; align-items: center; gap: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 60px;
  background: linear-gradient(180deg, var(--purple-50) 0%, var(--white) 100%);
}
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-100);
  color: var(--purple-600);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
h1 {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-bottom: 20px;
}
h1 .accent { color: var(--purple-600); }
.hero p.lead {
  font-size: 18px;
  color: var(--ink-600);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; margin-bottom: 28px; }
.hero-trust { font-size: 13px; color: var(--ink-400); }

/* Phone mockup */
.phone-frame {
  position: relative;
  width: 300px;
  margin: 0 auto;
  background: var(--ink-900);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(76,29,149,0.25), 0 8px 20px rgba(0,0,0,0.12);
}
.phone-screen {
  background: var(--white);
  border-radius: 32px;
  overflow: hidden;
  min-height: 560px;
}
.phone-statusbar {
  display: flex;
  justify-content: space-between;
  padding: 14px 22px 4px;
  font-size: 13px;
  font-weight: 600;
}
.phone-header {
  background: radial-gradient(120% 140% at 15% 0%, var(--purple-100) 0%, var(--ink-100) 70%);
  padding: 18px 22px 24px;
  color: var(--ink-850);
}
.phone-header .app-id { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 15px; margin-bottom: 16px; font-family: var(--font-display); }
.phone-header .app-id .dot { display: none; }
.phone-header h3 { font-size: 19px; font-weight: 600; margin-bottom: 4px; color: var(--ink-850); }
.phone-header p { font-size: 13px; color: var(--ink-600); opacity: 1; }

/* ---------- Section shared ---------- */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-head .eyebrow { margin-left: auto; margin-right: auto; }
h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 14px; }
.section-head p { color: var(--ink-600); font-size: 16px; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.feature-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--ink-600); }

/* ---------- Benefit category chips ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.category-card {
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.category-card .cat-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.category-card h4 { font-size: 15.5px; font-weight: 700; }
.category-card span { font-size: 12.5px; opacity: 0.75; }
.cat-family  { background: var(--pink-bg);  color: var(--pink-fg); }
.cat-dental  { background: var(--sky-bg);   color: var(--sky-fg); }
.cat-mental  { background: var(--purple-100); color: var(--purple-700); }
.cat-vision  { background: var(--teal-bg);  color: var(--teal-fg); }
.cat-general { background: var(--mint-bg);  color: var(--mint-fg); }
.cat-fertility { background: var(--amber-bg); color: var(--amber-fg); }
.cat-life    { background: var(--ink-100);  color: var(--ink-800); }
.cat-external{ background: var(--purple-50);color: var(--purple-600); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: center; }
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink-900); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; margin: 0 auto 18px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-600); }

/* ---------- Split (for-employers etc) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split .tag { color: var(--purple-600); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.split h2 { margin-bottom: 16px; }
.split p.desc { color: var(--ink-600); margin-bottom: 24px; }
.check-list li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 15px; color: var(--ink-800); }
.check-list .tick {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--purple-100); color: var(--purple-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0; margin-top: 1px;
}

.panel-mock {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.panel-mock .panel-topbar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid var(--ink-200);
}
.panel-mock .panel-topbar span { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-200); }
.panel-body { padding: 22px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--purple-600), var(--purple-400));
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 480px; margin: 0 auto 30px; }
.cta-banner .btn-primary { background: var(--white); color: var(--ink-900); }

/* ---------- Footer ---------- */
.footer { background: var(--ink-900); color: var(--ink-200); padding: 64px 0 28px; margin-top: 40px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.footer .logo { color: var(--white); margin-bottom: 14px; }
.footer-inner p { color: var(--ink-400); font-size: 14px; max-width: 260px; }
.footer-col h5 { font-size: 13px; color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .05em; }
.footer-col li { margin-bottom: 10px; font-size: 14.5px; color: var(--ink-400); }
.footer-col li:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--ink-400);
}

/* ---------- Auth pages ---------- */
.auth-wrap {
  min-height: calc(100vh - 73px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-50);
  padding: 40px 20px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.auth-header {
  background: radial-gradient(120% 140% at 15% 0%, var(--purple-100) 0%, var(--ink-100) 60%);
  color: var(--ink-850);
  padding: 32px 32px 28px;
}
.auth-header .app-id { display: flex; align-items: center; gap: 10px; font-weight: 400; margin-bottom: 24px; font-size: 20px; font-family: var(--font-display); color: var(--ink-850); }
.auth-header .app-id .dot { display: none; } /* replaced by real .logo-mark below */
.auth-header h1 { font-size: 24px; font-weight: 400; color: var(--ink-850); margin-bottom: 6px; }
.auth-header p { font-size: 14px; font-family: var(--font-light); font-weight: 300; color: var(--ink-800); opacity: 1; letter-spacing: -0.2px; }
.auth-body { padding: 28px 32px 32px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 400; color: var(--ink-900); margin-bottom: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input {
  width: 100%;
  height: 48px;
  padding: 8px 16px;
  border: 1px solid var(--ink-200);
  border-radius: 40px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink-850);
  transition: border-color .15s ease;
}
.input::placeholder { color: var(--ink-400); }
.input:focus { outline: none; border-color: var(--purple-400); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--ink-400); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--ink-200); }
.social-row { display: flex; gap: 12px; }
.social-btn {
  flex: 1;
  padding: 13px;
  border: 1px solid var(--ink-100);
  border-radius: 34px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  background: var(--white);
}
.auth-foot { text-align: center; font-size: 13.5px; color: var(--ink-600); margin-top: 22px; }
.auth-foot a { color: var(--purple-600); font-weight: 600; }
.legal-note { font-size: 12px; color: var(--ink-400); text-align: center; margin-top: 18px; }

/* ---------- App shell (dashboard/benefits/assistant) ---------- */
.app-shell { max-width: 480px; margin: 0 auto; min-height: 100vh; background: var(--ink-100); }
.app-topbar {
  background: radial-gradient(120% 140% at 15% 0%, var(--purple-100) 0%, var(--ink-100) 70%);
  color: var(--ink-850);
  padding: 20px 22px 26px;
}
.app-topbar .greet-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.app-topbar .greet-row .app-id { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 15px; font-family: var(--font-display); }
.app-topbar .greet-row .dot { display: none; }
.app-topbar .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ink-200); }
.app-topbar h2 { color: var(--ink-850); font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.app-topbar p { font-size: 13.5px; color: var(--ink-600); opacity: 1; }

.day-strip { display: flex; gap: 8px; padding: 18px 16px; overflow-x: auto; }
.day-pill {
  min-width: 52px;
  padding: 10px 0 12px;
  border-radius: 18px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--ink-200);
  flex-shrink: 0;
}
.day-pill .dow { font-size: 12px; color: var(--ink-400); font-weight: 600; margin-bottom: 8px; }
.day-pill .num { font-size: 15px; font-weight: 700; }
.day-pill.active { background: var(--purple-600); border-color: var(--purple-600); }
.day-pill.active .dow, .day-pill.active .num { color: var(--white); }

.section-title { display: flex; justify-content: space-between; align-items: center; padding: 4px 16px 12px; }
.section-title h3 { font-size: 16px; font-weight: 700; }
.section-title a { font-size: 13px; color: var(--purple-600); font-weight: 600; }

.provider-list { padding: 0 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.provider-card {
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex; align-items: center; gap: 14px;
}
.provider-card .avatar-lg {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.6);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.provider-card .info { flex: 1; }
.provider-card .info h4 { font-size: 15.5px; font-weight: 700; }
.provider-card .info p { font-size: 12.5px; opacity: 0.75; }
.provider-card .rating { display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: 13px; }
.provider-card.pv1 { background: var(--pink-bg); color: var(--pink-fg); }
.provider-card.pv2 { background: var(--ink-100); color: var(--ink-800); }
.provider-card.pv3 { background: var(--mint-bg); color: var(--mint-fg); }

.tabbar {
  position: sticky; bottom: 0;
  background: var(--white);
  border-top: 1px solid var(--ink-200);
  display: flex; justify-content: space-around;
  padding: 12px 0 18px;
}
.tabbar .tab { text-align: center; font-size: 11px; color: var(--ink-400); font-weight: 600; }
.tabbar .tab .ic { font-size: 18px; margin-bottom: 4px; }
.tabbar .tab.active { color: var(--purple-600); }

.benefit-grid { padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.benefit-tile {
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  min-height: 108px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.benefit-tile .cat-icon { width: 34px; height: 34px; font-size: 15px; }
.benefit-tile h4 { font-size: 14px; font-weight: 700; margin-top: 10px; }
.benefit-tile span { font-size: 11.5px; opacity: .75; }

.search-bar {
  margin: 14px 16px;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-pill);
  padding: 11px 18px;
  font-size: 14px;
  color: var(--ink-400);
}

/* Chat / assistant */
.chat-body { padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 78%; padding: 12px 16px; border-radius: 18px; font-size: 14px; line-height: 1.45; }
.msg.bot { background: var(--white); border: 1px solid var(--ink-200); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--ink-900); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 16px; }
.chip {
  padding: 9px 14px; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--purple-200);
  color: var(--purple-600); font-size: 13px; font-weight: 600;
}
.chat-input-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px 22px;
  background: var(--white); border-top: 1px solid var(--ink-200);
}
.chat-input-row .input { flex: 1; }
.send-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink-900); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 16px;
}

/* Admin panel (desktop) */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 73px); }
.admin-side { background: var(--ink-900); color: var(--ink-200); padding: 24px 16px; }
.admin-side .logo { color: var(--white); margin-bottom: 30px; padding: 0 8px; }
.admin-side nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 12px;
  font-size: 14.5px; font-weight: 500; margin-bottom: 4px;
  color: var(--ink-400);
}
.admin-side nav a.active { background: rgba(255,255,255,0.08); color: var(--white); }
.admin-main { padding: 32px 40px; background: var(--ink-100); }
.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.admin-head h1 { font-size: 24px; font-weight: 800; }
.admin-head p { color: var(--ink-600); font-size: 14px; margin-top: 4px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.stat-card { background: var(--white); border-radius: var(--radius-lg); padding: 22px; border: 1px solid var(--ink-200); }
.stat-card .label { font-size: 13px; color: var(--ink-600); margin-bottom: 8px; }
.stat-card .value { font-size: 26px; font-weight: 800; }
.stat-card .delta { font-size: 12.5px; color: var(--mint-fg); font-weight: 600; margin-top: 6px; }
.admin-panel-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--ink-200); padding: 24px; margin-bottom: 20px; }
.admin-panel-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.table-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--ink-100); font-size: 14px; }
.table-row:last-child { border-bottom: none; }
.pill-status { padding: 4px 12px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; }
.pill-status.active { background: var(--mint-bg); color: var(--mint-fg); }
.pill-status.pending { background: var(--amber-bg); color: var(--amber-fg); }

/* ---------- Interactive product demo ---------- */
.demo-section { background: var(--ink-100); }
.demo-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
}
.demo-tabs { display: flex; flex-direction: column; gap: 10px; }
.demo-tab {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1.5px solid transparent;
  background: transparent;
  transition: background .15s ease, border-color .15s ease;
  width: 100%;
}
.demo-tab .demo-tab-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
  background: var(--ink-200); color: var(--ink-600);
}
.demo-tab h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 3px; color: var(--ink-800); }
.demo-tab p { font-size: 13.5px; color: var(--ink-600); }
.demo-tab.active { background: var(--white); border-color: var(--ink-200); box-shadow: var(--shadow-card); }
.demo-tab.active .demo-tab-icon { background: var(--purple-600); color: var(--white); }
.demo-tab.active h4 { color: var(--ink-900); }

.demo-phone-wrap { display: flex; justify-content: center; }
.demo-panel { display: none; }
.demo-panel.active { display: block; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.testimonial-card .stars { color: #F5A623; font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p.quote { font-size: 15px; color: var(--ink-800); line-height: 1.6; margin-bottom: 20px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: var(--white); flex-shrink: 0;
}
.testimonial-person h5 { font-size: 14px; font-weight: 700; }
.testimonial-person span { font-size: 12.5px; color: var(--ink-600); }

/* ---------- Insurance carrier partners ---------- */
.carrier-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.carrier-badge {
  padding: 14px 26px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-800);
  background: var(--white);
  transition: border-color .15s ease, transform .15s ease;
}
.carrier-badge:hover { border-color: var(--purple-400); transform: translateY(-1px); }

/* ---------- HR data UI: status pills, dept tags, KPI tiles, avatars ---------- */
.status-pill { display: inline-flex; padding: 4px 12px; border-radius: var(--radius-pill); font-size: 11.5px; font-weight: 700; }
.status-pill.connected, .status-pill.valid { background: #E3F5E1; color: #2F8F4E; }
.status-pill.not-connected, .status-pill.missing { background: #FDE2E2; color: #C43A3A; }

.dept-tag { display: inline-flex; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; }
.dept-tag.eng { background: #E4EBFC; color: #3B5FC4; }
.dept-tag.mkt { background: var(--pink-bg); color: var(--pink-fg); }
.dept-tag.design { background: var(--mint-bg); color: var(--mint-fg); }
.dept-tag.sales { background: var(--amber-bg); color: var(--amber-fg); }

.avatar-initial {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--white); flex-shrink: 0;
}

.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi-tile { border-radius: var(--radius-md); padding: 14px 16px; }
.kpi-tile .kpi-label { font-size: 11px; font-weight: 600; opacity: .8; margin-bottom: 6px; }
.kpi-tile .kpi-value { font-size: 20px; font-weight: 800; }
.kpi-tile.k-purple { background: var(--purple-100); color: var(--purple-700); }
.kpi-tile.k-pink   { background: var(--pink-bg); color: var(--pink-fg); }
.kpi-tile.k-mint   { background: var(--mint-bg); color: var(--mint-fg); }
.kpi-tile.k-sky    { background: var(--sky-bg); color: var(--sky-fg); }
.kpi-tile.k-white  { background: var(--white); border: 1px solid var(--ink-200); color: var(--ink-900); }

.hr-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--ink-100); font-size: 12.5px; }
.hr-row:last-child { border-bottom: none; }
.hr-row .hr-name { flex: 1; }
.hr-row .hr-name strong { display: block; font-size: 13px; }
.hr-row .hr-name span { font-size: 11px; color: var(--ink-600); }

.ai-suggest-banner {
  background: linear-gradient(120deg, var(--purple-600), var(--purple-400));
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  color: var(--white);
  margin-bottom: 12px;
}
.ai-suggest-banner .tag { font-size: 11px; font-weight: 700; opacity: .85; display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.ai-suggest-banner p { font-size: 13px; line-height: 1.4; margin-bottom: 10px; }
.ai-suggest-banner .mini-btn { background: var(--white); color: var(--purple-700); font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: var(--radius-pill); display: inline-block; }

.usage-card { background: var(--white); border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 10px; }
.usage-card .u-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.usage-card .u-top h4 { font-size: 14px; font-weight: 700; }
.usage-card .u-top .u-icon { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.usage-card .u-amt { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.usage-card .u-bar { height: 5px; border-radius: 4px; background: var(--ink-100); overflow: hidden; margin-bottom: 6px; }
.usage-card .u-bar span { display: block; height: 100%; border-radius: 4px; }
.usage-card .u-save { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: var(--radius-pill); display: inline-block; }

/* ---------- Product tour (auto-scroll carousel) ---------- */
.tour-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tour-track { display: flex; gap: 22px; width: max-content; animation: tour-scroll 34s linear infinite; }
.tour-track:hover { animation-play-state: paused; }
@keyframes tour-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tour-card {
  width: 280px; flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.tour-card .tour-top {
  padding: 14px 18px;
  font-size: 13px; font-weight: 700; color: var(--white);
  display: flex; align-items: center; gap: 8px;
}
.tour-card .tour-body { padding: 16px 18px 20px; background: var(--ink-100); }
.tour-card .tour-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--purple-600); margin-bottom: 6px; }
.tour-card .tour-title { font-size: 14.5px; font-weight: 700; margin-bottom: 10px; }
.tour-logo-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tour-logo-chip { background: var(--white); border: 1px solid var(--ink-200); border-radius: 10px; padding: 8px 10px; font-size: 10.5px; font-weight: 700; text-align: center; flex: 1; min-width: 74px; }
.tour-mini-row { display: flex; align-items: center; gap: 10px; background: var(--white); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.tour-mini-row .mini-ic { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.tour-mini-row .mini-text h5 { font-size: 12.5px; font-weight: 700; }
.tour-mini-row .mini-text span { font-size: 10.5px; color: var(--ink-600); }

/* ---------- Integration logo strip ---------- */
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logo-chip {
  padding: 12px 22px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink-600);
  background: var(--white);
}

/* ---------- Life-stage journey (employee framing) ---------- */
.stage-banner {
  background: linear-gradient(120deg, var(--purple-600), var(--purple-400));
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  color: var(--white);
  margin-bottom: 12px;
}
.stage-banner .stage-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.2); font-size: 10.5px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill); margin-bottom: 8px; }
.stage-banner h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.stage-banner p { font-size: 12px; line-height: 1.4; opacity: .92; }

.journey-card { background: var(--white); border-radius: var(--radius-md); padding: 14px 16px; }
.journey-card h5 { font-size: 12.5px; font-weight: 700; margin-bottom: 2px; }
.journey-card .journey-sub { font-size: 10.5px; color: var(--ink-600); margin-bottom: 10px; }
.journey-card svg { display: block; width: 100%; height: auto; }
.journey-stages { display: flex; justify-content: space-between; margin-top: 6px; }
.journey-stages span { font-size: 9px; color: var(--ink-400); font-weight: 600; }
.journey-stages span.now { color: var(--purple-600); }

.insight-row { display: flex; align-items: flex-start; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--ink-100); }
.insight-row:last-child { border-bottom: none; }
.insight-row .dot { width: 6px; height: 6px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.insight-row h6 { font-size: 11.5px; font-weight: 700; }
.insight-row span { font-size: 10.5px; color: var(--ink-600); }

/* ---------- Showcase (mindblowing features) ---------- */
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.showcase-card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.showcase-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--purple-600); background: var(--purple-100); padding: 6px 14px; border-radius: var(--radius-pill); width: fit-content; }
.showcase-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.showcase-card p.desc { font-size: 15px; color: var(--ink-600); line-height: 1.55; }
.showcase-visual { background: var(--ink-100); border-radius: var(--radius-md); padding: 16px; margin-top: auto; }

/* ---------- Admin v2: matches real Employee Benefit Dashboard screens ---------- */
.admin-shell-v2 { display: grid; grid-template-columns: 88px 1fr; min-height: calc(100vh - 73px); background: var(--ink-100); }
.admin-side-v2 { background: var(--ink-900); display: flex; flex-direction: column; align-items: center; padding: 22px 0; }
.admin-side-v2 .logo-mark { margin-bottom: 26px; width: 42px; height: 42px; }
.admin-side-v2 .icon-nav a {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}
.admin-side-v2 .icon-nav a.active { background: var(--purple-600); color: var(--white); }

.admin-main-v2 { padding: 32px 40px 60px; }
.admin-head-v2 { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.admin-head-v2 h1 { font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.admin-head-v2 p { color: var(--ink-600); font-size: 14.5px; }
.admin-head-v2 .btn-export { background: var(--purple-600); color: var(--white); }

.kpi-card-solid { border-radius: var(--radius-lg); padding: 22px 24px; }
.kpi-card-solid .kc-label { font-size: 14.5px; font-weight: 600; margin-bottom: 12px; }
.kpi-card-solid .kc-value { font-size: 32px; font-weight: 800; margin-bottom: 12px; line-height: 1; }
.kpi-card-solid .kc-delta { display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,0.4); padding: 4px 11px; border-radius: var(--radius-pill); font-size: 11.5px; font-weight: 700; }
.kpi-card-solid.kc-periwinkle { background: #6E7EF2; color: var(--white); }
.kpi-card-solid.kc-pink { background: #F5A8D6; color: var(--ink-900); }
.kpi-card-solid.kc-mint { background: #7CEBB0; color: var(--ink-900); }
.kpi-card-solid.kc-sky { background: #7EC2F5; color: var(--ink-900); }

.emp-search { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--radius-pill); padding: 12px 18px; color: var(--ink-400); font-size: 14px; margin-bottom: 4px; }
.emp-table { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; }
.emp-table-head { display: grid; grid-template-columns: 2.4fr 1.2fr 1.6fr 1fr; padding: 14px 22px; font-size: 12.5px; font-weight: 700; color: var(--ink-600); background: var(--ink-100); }
.emp-row { display: grid; grid-template-columns: 2.4fr 1.2fr 1.6fr 1fr; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--ink-100); font-size: 14px; }
.emp-row:last-child { border-bottom: none; }
.emp-person { display: flex; align-items: center; gap: 12px; }
.emp-person .avatar-initial { width: 38px; height: 38px; font-size: 13px; }
.emp-person h4 { font-size: 14.5px; font-weight: 700; }
.emp-person span { font-size: 12.5px; color: var(--ink-600); }

.insight-panel { background: var(--white); border-radius: var(--radius-lg); padding: 22px; }
.insight-panel h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.insight-panel .sub { font-size: 12.5px; color: var(--ink-600); margin-bottom: 16px; }

/* ---------- Corrected against MyBenni prototype deck (shared w/ Centene, 250918) ---------- */
.phone-header.grad-purple {
  background: linear-gradient(165deg, #9A6BFF 0%, var(--purple-600) 65%, #4B0FBE 100%);
  color: var(--white);
}
.phone-header.grad-purple .app-id, .phone-header.grad-purple h3 { color: var(--white); }
.phone-header.grad-purple p { color: rgba(255,255,255,0.82); }

.tabbar-float {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  background: var(--ink-900);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px;
  z-index: 5;
}
.tabbar-float .tf-ic {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: rgba(255,255,255,0.55);
}
.tabbar-float .tf-ic.active { background: var(--purple-600); color: var(--white); }
.tabbar-float .tf-ic.center {
  width: 40px; height: 40px; background: var(--purple-600); color: var(--white);
  border-radius: 50%; margin: -6px 2px;
  box-shadow: 0 4px 12px rgba(98,0,238,0.4);
  position: relative;
}
.tabbar-float .tf-ic.center::after { content:''; position:absolute; inset: 8px; border: 2px solid rgba(255,255,255,0.7); border-radius: 50%; }
.phone-screen { position: relative; padding-bottom: 58px; }

/* ---------- Benefit list screens (matches real category screens exactly) ---------- */
.bf-search { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.35); border-radius: var(--radius-pill); padding: 10px 16px; font-size: 12.5px; color: rgba(255,255,255,0.9); margin-top: 10px; }
.ai-summary-card { border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 10px; color: var(--white); }
.ai-summary-card .tag { font-size: 10.5px; font-weight: 700; opacity: .9; display: flex; align-items: center; gap: 5px; margin-bottom: 6px; }
.ai-summary-card p { font-size: 12px; line-height: 1.4; margin-bottom: 10px; }
.ai-summary-card .mini-btn { background: var(--ink-900); color: var(--white); font-size: 11.5px; font-weight: 700; padding: 7px 14px; border-radius: var(--radius-pill); display: inline-block; }
.benefit-list-card { background: var(--white); border-radius: var(--radius-md); padding: 12px; display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.benefit-list-card .bf-thumb { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.benefit-list-card .bf-info { flex: 1; }
.benefit-list-card .bf-info h5 { font-size: 13.5px; font-weight: 700; margin-bottom: 2px; }
.benefit-list-card .bf-info span { font-size: 11px; color: var(--ink-600); }
.benefit-list-card .bf-chev { color: var(--ink-400); font-size: 14px; }

.bf-top-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 0; }
.bf-avatar-photo { width: 40px; height: 40px; border-radius: 50%; background: var(--purple-200); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.bf-fam-stack { display: flex; align-items: center; gap: 8px; }
.bf-fam-stack .stack { display: flex; }
.bf-fam-stack .stack span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink-100); margin-left: -8px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--white); font-weight: 700; }
.bf-fam-stack .stack span:first-child { margin-left: 0; }
.bf-fam-stack .lbl { font-size: 10.5px; color: var(--ink-600); }
.bf-search-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.bf-h1 { font-size: 26px; font-weight: 800; padding: 10px 16px 14px; }
.seg-tabs { display: flex; gap: 6px; padding: 0 16px 12px; }
.seg-tabs span { padding: 7px 14px; border-radius: var(--radius-pill); font-size: 11.5px; font-weight: 700; background: var(--white); color: var(--ink-600); }
.seg-tabs span.active { background: var(--ink-900); color: var(--white); }
.tile-savings { margin-top: 6px; display: inline-block; padding: 3px 9px; border-radius: var(--radius-pill); font-size: 10.5px; font-weight: 700; }

/* ---------- Demo request form ---------- */
.demo-form-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 40px;
}
.demo-form-card .field { margin-bottom: 16px; }
.demo-form-card textarea.input { height: auto; min-height: 90px; padding-top: 14px; border-radius: var(--radius-md); resize: vertical; }
.demo-form-success { display: none; text-align: center; padding: 40px 20px; }
.demo-form-success .tick-big { width: 56px; height: 56px; border-radius: 50%; background: var(--mint-bg); color: var(--mint-fg); display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner, .split, .footer-inner, .demo-layout, .showcase-grid { grid-template-columns: 1fr; }
  .feature-grid, .category-grid, .steps, .stat-grid, .testimonial-grid, .kpi-row { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 38px; }
  .nav-links { display: none; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { display: none; }
  .demo-phone-wrap { order: -1; }
  .admin-shell-v2 { grid-template-columns: 1fr; }
  .admin-side-v2 { display: none; }
  .stat-grid-v2 { grid-template-columns: repeat(2, 1fr) !important; }
  .emp-table-head, .emp-row { grid-template-columns: 2fr 1fr; }
  .emp-table-head span:nth-child(3), .emp-table-head span:nth-child(4),
  .emp-row .emp-loc, .emp-row .emp-status-cell { display: none; }
}
