:root {
  --ink:#1C1A17; --ink2:#2E2B26; --paper:#FAF8F4; --cream:#F2EDE4;
  --rule:#DDD8CE; --muted:#8A8277; --green:#2A6041; --green-light:#3A8057;
  --green-pale:#EAF4EE; --amber:#C47B1A; --amber-pale:#FDF3E3;
  --red-pale:#FDF0EE; --red:#B54B38;
  --shadow-sm:0 1px 4px rgba(0,0,0,0.06); --shadow:0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:0 12px 40px rgba(0,0,0,0.12);
  --radius:10px;
}
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family:'IBM Plex Sans',sans-serif;
  background:var(--paper);
  color:var(--ink);
  min-height:100vh;
  overflow-x:hidden;
  -webkit-text-size-adjust:100%;
}
h1,h2,h3 { font-family:'Libre Baskerville',serif; }

/* ── PAGES ── */
.page { display:none; min-height:100vh; flex-direction:column; }
.page.active { display:flex; }

/* ── NAV ── */
nav {
  background:var(--ink); color:var(--paper);
  padding:0 40px; height:60px;
  display:flex; align-items:center; justify-content:space-between;
  position:sticky; top:0; z-index:100;
}
.nav-logo { display:inline-flex; align-items:center; gap:10px; cursor:pointer; text-decoration:none; }
.nav-logo-mark { width:32px; height:32px; background:linear-gradient(135deg,#2A6041,#1A3D28); border-radius:8px; display:flex; align-items:center; justify-content:center; font-family:'Syne',sans-serif; font-size:16px; font-weight:800; color:#7DC49A; flex-shrink:0; box-shadow:0 2px 10px rgba(42,96,65,0.35); }
.nav-logo-text { font-family:'Syne',sans-serif; font-size:22px; font-weight:800; color:#FAF8F4; letter-spacing:-0.5px; line-height:1; }
.nav-logo-text em { font-style:normal; color:#7DC49A; }
.nav-links { display:flex; align-items:center; gap:6px; }
.nav-link { padding:7px 14px; border-radius:6px; font-size:13px; font-weight:500; cursor:pointer; border:none; background:none; color:#A09890; transition:all 0.15s; font-family:'IBM Plex Sans',sans-serif; }
.nav-link:hover { color:var(--paper); background:rgba(255,255,255,0.08); }
.nav-cta { background:var(--green); color:white; padding:8px 18px; border-radius:6px; font-size:13px; font-weight:600; cursor:pointer; border:none; font-family:'IBM Plex Sans',sans-serif; transition:all 0.15s; }
.nav-cta:hover { background:var(--green-light); }

/* ── HERO ── */
.hero {
  background:var(--ink2);
  padding:52px 60px 52px;
  position:relative; overflow:hidden;
}
.hero::after {
  content:'';
  position:absolute; bottom:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg, var(--green) 0%, #7DC49A 50%, var(--green) 100%);
}
.hero-inner {
  max-width:1160px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 400px;
  gap:56px;
  align-items:start;
}
.hero-label { font-size:11px; letter-spacing:3px; text-transform:uppercase; color:#7DC49A; margin-bottom:12px; font-weight:600; }
.hero-title { font-size:48px; font-weight:700; line-height:1.1; color:#FAF8F4; margin-bottom:16px; }
.hero-title em { color:#7DC49A; font-style:italic; }
.hero-body { font-size:16px; color:#E8E0D0; line-height:1.75; margin-bottom:28px; font-weight:400; max-width:480px; }
.hero-body strong { color:#C8BFB0; font-weight:500; }
.hero-actions { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.btn-hero { background:var(--green); color:white; padding:13px 26px; border-radius:8px; font-size:15px; font-weight:600; cursor:pointer; border:none; font-family:'IBM Plex Sans',sans-serif; transition:all 0.15s; }
.btn-hero:hover { background:var(--green-light); transform:translateY(-1px); }
.btn-ghost { background:transparent; color:#A09890; padding:13px 20px; border-radius:8px; font-size:14px; font-weight:400; cursor:pointer; border:1px solid #3A3830; font-family:'IBM Plex Sans',sans-serif; transition:all 0.15s; }
.btn-ghost:hover { border-color:#6A6358; color:#C8BFB0; }

/* ── PROOF STRIP ── */
.proof-strip { background:white; border-bottom:1px solid var(--rule); padding:18px 40px; display:flex; align-items:center; justify-content:center; gap:48px; flex-wrap:wrap; }
.proof-stat { text-align:center; }
.proof-stat strong { display:block; font-family:'Libre Baskerville',serif; font-size:22px; color:var(--ink); }
.proof-stat span { font-size:12px; color:var(--muted); }
.proof-pipe { width:1px; height:32px; background:var(--rule); }

/* ── SECTIONS ── */
.section { padding:56px 60px; }
.section-label { font-size:11px; letter-spacing:3px; text-transform:uppercase; color:var(--green); font-weight:600; margin-bottom:10px; }
.section-title { font-size:34px; font-weight:700; margin-bottom:12px; line-height:1.2; }
.section-sub { font-size:16px; color:var(--muted); line-height:1.7; font-weight:300; max-width:560px; }

/* ── HOW IT WORKS ── */
.how-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2px; margin-top:48px; background:var(--rule); border:1px solid var(--rule); border-radius:var(--radius); overflow:hidden; }
.how-step { background:white; padding:32px 28px; }
.how-num { width:36px; height:36px; background:var(--green-pale); border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:'Libre Baskerville',serif; font-weight:700; font-size:15px; color:var(--green); margin-bottom:20px; }
.how-title { font-size:16px; font-weight:600; margin-bottom:8px; }
.how-desc { font-size:14px; color:var(--muted); line-height:1.65; }
.how-example { margin-top:14px; background:var(--cream); border-radius:6px; padding:10px 14px; font-size:13px; color:var(--ink2); line-height:1.5; font-style:italic; border-left:3px solid var(--green); }

/* ── BEFORE/AFTER ── */
.ba-grid { display:grid; grid-template-columns:1fr 40px 1fr; gap:0; align-items:center; max-width:100%; margin-top:48px; }
.ba-card { border-radius:var(--radius); padding:28px; }
.ba-before { background:var(--red-pale); border:1px solid #F0C8C2; }
.ba-after  { background:var(--green-pale); border:1px solid #B8DCC8; }
.ba-label  { font-size:11px; letter-spacing:2px; text-transform:uppercase; font-weight:700; margin-bottom:16px; }
.ba-before .ba-label { color:var(--red); }
.ba-after .ba-label  { color:var(--green); }
.ba-item   { font-size:14px; line-height:1.6; color:#444; margin-bottom:10px; padding-left:20px; position:relative; }
.ba-item::before { position:absolute; left:0; }
.ba-before .ba-item::before { content:'—'; color:#C0937E; }
.ba-after  .ba-item::before { content:'✓'; color:var(--green); font-weight:700; }
.ba-arrow  { text-align:center; font-size:28px; color:var(--rule); }

/* ── SMS PREVIEW ── */
.sms-demo { background:var(--ink2); border-radius:16px; padding:48px 40px; margin-top:48px; position:relative; overflow:hidden; }
.sms-demo::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--green),#7DC49A); }
.sms-phones { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.sms-phone { background:#2A2820; border-radius:12px; padding:20px; }
.sms-biz { font-size:11px; letter-spacing:2px; text-transform:uppercase; color:#7DC49A; margin-bottom:12px; font-weight:600; }
.sms-bubble { background:#3A3830; border-radius:12px 12px 12px 2px; padding:12px 16px; font-size:13px; color:#E8E0D0; line-height:1.6; margin-bottom:8px; }
.sms-tag { display:inline-block; font-size:11px; background:rgba(42,96,65,0.3); color:#7DC49A; border-radius:20px; padding:3px 10px; font-weight:600; }
.sms-label { font-size:13px; color:#6A6358; text-align:center; margin-top:16px; }

/* ── DASHBOARD RECOMMENDATIONS ── */
.vybrr-recommendations-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:16px;
}
.vybrr-recommendation-card {
  background:white;
  border:1px solid var(--rule);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow-sm);
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height:190px;
}
.vybrr-rec-topline {
  display:flex;
  align-items:center;
  gap:8px;
}
.vybrr-rec-rank {
  font-size:11px;
  font-weight:800;
  color:var(--green);
  background:var(--green-pale);
  border-radius:999px;
  padding:3px 8px;
}
.vybrr-rec-confidence {
  font-size:10px;
  font-weight:800;
  border-radius:999px;
  padding:3px 8px;
  text-transform:uppercase;
  letter-spacing:.4px;
}
.vybrr-rec-confidence.high { color:var(--green); background:var(--green-pale); }
.vybrr-rec-confidence.medium { color:var(--amber); background:var(--amber-pale); }
.vybrr-rec-confidence.low { color:var(--muted); background:var(--cream); }
.vybrr-rec-title {
  font-size:16px;
  font-weight:800;
  color:var(--ink);
  line-height:1.25;
}
.vybrr-rec-action {
  font-size:13px;
  color:var(--muted);
  line-height:1.5;
  flex:1;
}
.vybrr-rec-impact {
  align-self:flex-start;
  border:1px solid var(--rule);
  background:var(--paper);
  color:var(--muted);
  border-radius:6px;
  padding:5px 8px;
  font-size:11px;
  font-weight:700;
}
.vybrr-rec-trust {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:center;
}
.vybrr-rec-trust span {
  max-width:100%;
  border:1px solid var(--rule);
  background:var(--cream);
  color:var(--muted);
  border-radius:999px;
  padding:4px 8px;
  font-size:10px;
  font-weight:700;
  line-height:1.2;
  overflow-wrap:anywhere;
}
.vybrr-rec-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-size:11px;
  color:var(--muted);
  border-top:1px solid var(--rule);
  padding-top:10px;
}
.vybrr-rec-actions {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.vybrr-rec-btn {
  border:1px solid var(--rule);
  background:white;
  color:var(--ink);
  border-radius:6px;
  padding:7px 10px;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  font-family:'IBM Plex Sans',sans-serif;
}
.vybrr-rec-btn:hover {
  border-color:var(--green);
  color:var(--green);
}
.vybrr-rec-btn.approve {
  background:var(--green);
  border-color:var(--green);
  color:white;
}
.vybrr-rec-btn.mini {
  padding:5px 7px;
  font-size:11px;
}
.vybrr-rec-btn.danger {
  color:var(--red);
}
.vybrr-rec-btn:disabled {
  opacity:.55;
  cursor:wait;
}
.vybrr-reasoning {
  margin-left:auto;
  position:relative;
}
.vybrr-reasoning summary {
  list-style:none;
  width:24px;
  height:24px;
  border-radius:50%;
  border:1px solid var(--rule);
  color:var(--green);
  background:white;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:12px;
  font-weight:800;
}
.vybrr-reasoning summary::-webkit-details-marker { display:none; }
.vybrr-reasoning-panel {
  position:absolute;
  right:0;
  top:30px;
  width:min(380px, 86vw);
  max-height:70vh;
  overflow:auto;
  z-index:30;
  background:white;
  border:1px solid var(--rule);
  border-radius:8px;
  padding:14px;
  box-shadow:var(--shadow-lg);
  color:var(--ink);
}
.reasoning-eyebrow {
  font-size:10px;
  font-weight:800;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.8px;
  margin-bottom:6px;
}
.reasoning-action {
  font-size:13px;
  line-height:1.45;
  color:var(--ink);
  font-weight:700;
  padding-bottom:8px;
  border-bottom:1px solid var(--rule);
}
.reasoning-section-title {
  font-size:10px;
  font-weight:800;
  color:var(--green);
  text-transform:uppercase;
  letter-spacing:.8px;
  margin:10px 0 5px;
}
.reasoning-section-title:first-child { margin-top:0; }
.reasoning-line {
  font-size:12px;
  color:var(--muted);
  line-height:1.45;
  margin-bottom:4px;
}
.reasoning-controls {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.vybrr-recommendation-empty {
  grid-column:1/-1;
  background:white;
  border:1px dashed var(--rule);
  border-radius:var(--radius);
  padding:24px;
  color:var(--muted);
  font-size:13px;
}

/* ── TESTIMONIALS ── */
.testi-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin-top:48px; max-width:800px; }
.testi-card { background:white; border:1px solid var(--rule); border-radius:var(--radius); padding:28px; }
.testi-stars { color:var(--amber); font-size:13px; letter-spacing:2px; margin-bottom:14px; }
.testi-quote { font-family:'Libre Baskerville',serif; font-size:15px; line-height:1.7; color:var(--ink); margin-bottom:18px; font-style:italic; }
.testi-author { display:flex; align-items:center; gap:12px; padding-top:16px; border-top:1px solid var(--rule); }
.testi-icon { width:40px; height:40px; border-radius:8px; background:var(--cream); display:flex; align-items:center; justify-content:center; font-size:18px; }
.testi-name { font-size:13px; font-weight:600; }
.testi-biz  { font-size:12px; color:var(--muted); }

/* ── AUTH ── */
.auth-container { flex:1; display:flex; align-items:center; justify-content:center; background:var(--cream); padding:40px; }
.auth-card { background:white; border:1px solid var(--rule); border-radius:14px; padding:44px; width:100%; max-width:420px; box-shadow:var(--shadow-lg); }
.auth-logo { display:inline-flex; align-items:center; justify-content:center; gap:10px; margin-bottom:6px; }
.auth-logo-mark { width:36px; height:36px; background:linear-gradient(135deg,#2A6041,#1A3D28); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:'Syne',sans-serif; font-size:18px; font-weight:800; color:#7DC49A; box-shadow:0 2px 12px rgba(42,96,65,0.4); }
.auth-logo-text { font-family:'Syne',sans-serif; font-size:28px; font-weight:800; color:#0F0E0C; letter-spacing:-0.5px; line-height:1; }
.auth-logo-text em { font-style:normal; color:#2A6041; }
.auth-sub { text-align:center; color:var(--muted); font-size:14px; margin-bottom:28px; line-height:1.5; }
.form-group { margin-bottom:18px; }
.form-label { display:block; font-size:12px; font-weight:600; color:var(--ink); margin-bottom:6px; text-transform:uppercase; letter-spacing:0.5px; }
.form-input { width:100%; padding:11px 14px; border:1.5px solid var(--rule); border-radius:8px; font-size:14px; font-family:'IBM Plex Sans',sans-serif; color:var(--ink); background:var(--paper); transition:all 0.15s; outline:none; }
.form-input:focus { border-color:var(--green); background:white; box-shadow:0 0 0 3px rgba(42,96,65,0.1); }
.form-select { width:100%; padding:11px 14px; border:1.5px solid var(--rule); border-radius:8px; font-size:14px; font-family:'IBM Plex Sans',sans-serif; color:var(--ink); background:var(--paper); outline:none; cursor:pointer; }
.btn-full { width:100%; background:var(--green); color:white; padding:13px; border-radius:8px; font-size:14px; font-weight:600; cursor:pointer; border:none; font-family:'IBM Plex Sans',sans-serif; transition:all 0.15s; margin-top:6px; }
.btn-full:hover { background:var(--green-light); }
.auth-switch { text-align:center; margin-top:18px; font-size:13px; color:var(--muted); }
.auth-switch a { color:var(--green); cursor:pointer; font-weight:600; text-decoration:none; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }

/* ── QUICK START ── */
.qs-container { flex:1; display:flex; align-items:center; justify-content:center; background:var(--cream); padding:40px; }
.qs-card { background:white; border:1px solid var(--rule); border-radius:14px; padding:48px; width:100%; max-width:540px; box-shadow:var(--shadow-lg); }
.qs-step { display:none; }
.qs-step.active { display:block; }
.qs-progress { display:flex; gap:5px; margin-bottom:32px; }
.qs-dot { height:3px; flex:1; border-radius:2px; background:var(--rule); transition:background 0.3s; }
.qs-dot.done { background:var(--green); }
.qs-eyebrow { font-size:11px; letter-spacing:3px; text-transform:uppercase; color:var(--green); margin-bottom:8px; font-weight:600; }
.qs-title { font-size:26px; font-weight:700; margin-bottom:8px; }
.qs-sub { font-size:14px; color:var(--muted); margin-bottom:28px; line-height:1.6; }
.biz-type-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-bottom:22px; }
.biz-type-btn { padding:14px 12px; border:1.5px solid var(--rule); border-radius:8px; text-align:left; cursor:pointer; font-size:13px; font-weight:500; transition:all 0.15s; background:white; font-family:'IBM Plex Sans',sans-serif; display:flex; align-items:center; gap:10px; }
.biz-type-btn:hover, .biz-type-btn.selected { border-color:var(--green); background:var(--green-pale); color:var(--green); }
.biz-type-btn .icon { font-size:20px; flex-shrink:0; }
.biz-type-btn.other-btn { grid-column:span 2; }

/* ── APP LAYOUT ── */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--paper);
  cursor: pointer;
  padding: 6px;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border-radius: 6px;
}
.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #7DC49A;
}
.sidebar-header-mobile {
  display: none;
}
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20, 18, 16, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.app-layout { display:flex; flex:1; }
.sidebar { width:240px; background:var(--ink); min-height:calc(100vh - 60px); padding:20px 0; flex-shrink:0; display:flex; flex-direction:column; position: sticky; top: 60px; height: calc(100vh - 60px); }
.sidebar-section { padding:6px 18px; font-size:10px; letter-spacing:3px; text-transform:uppercase; color:#4A4640; margin-top:16px; }
.sidebar-item { display:flex; align-items:center; gap:10px; padding:10px 18px; color:#7A7268; cursor:pointer; transition:all 0.15s; font-size:13px; border-left:3px solid transparent; }
.sidebar-item:hover { color:#C8C0B8; background:rgba(255,255,255,0.04); }
.sidebar-item.active { color:#FAF8F4; background:rgba(42,96,65,0.2); border-left-color:var(--green); }
.sidebar-badge { margin-left:auto; background:var(--green); color:white; font-size:10px; padding:2px 7px; border-radius:10px; font-weight:600; }
.main-content { flex:1; padding:36px 40px; overflow-y:auto; min-width: 0; }

/* ── PAGE HEADERS ── */
.page-header { margin-bottom:28px; }
.page-eyebrow { font-size:11px; letter-spacing:3px; text-transform:uppercase; color:var(--green); margin-bottom:5px; font-weight:600; }
.page-title { font-size:26px; font-weight:700; color:var(--ink); }
.page-sub { font-size:14px; color:var(--muted); margin-top:4px; line-height:1.5; }

/* ── DASHBOARD ── */
.stats-row { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:28px; }
.stat-card { background:white; border:1px solid var(--rule); border-radius:var(--radius); padding:20px 22px; }
.stat-label { font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:1px; margin-bottom:6px; }
.stat-value { font-size:28px; font-family:'Libre Baskerville',serif; font-weight:700; color:var(--ink); }
.stat-note  { font-size:12px; color:var(--green); margin-top:3px; }
.dash-grid { display:grid; grid-template-columns:3fr 2fr; gap:20px; }
.card { background:white; border:1px solid var(--rule); border-radius:var(--radius); padding:24px; }
.card-title { font-size:15px; font-weight:600; margin-bottom:18px; display:flex; align-items:center; justify-content:space-between; }
.stats-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; margin-bottom:28px; }
.hero-glass-banner { background:rgba(255,255,255,0.1); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border:1px solid rgba(255,255,255,0.2); border-radius:12px; padding:20px; display:flex; align-items:center; gap:16px; color:white; flex-wrap:wrap; }

/* ── SEASON BANNER ── */
.season-banner { background:var(--amber-pale); border:1px solid #E8C890; border-radius:var(--radius); padding:18px 22px; display:flex; align-items:center; gap:14px; margin-bottom:24px; }
.season-icon { font-size:28px; flex-shrink:0; }
.season-text strong { font-size:14px; color:var(--ink); display:block; margin-bottom:2px; }
.season-text span { font-size:13px; color:#7A5E20; }
.season-cta { margin-left:auto; background:var(--amber); color:white; padding:8px 16px; border-radius:6px; font-size:12px; font-weight:600; cursor:pointer; border:none; font-family:'IBM Plex Sans',sans-serif; flex-shrink:0; transition:all 0.15s; white-space:nowrap; }
.season-cta:hover { opacity:0.85; }

/* ── GENERATE ── */
.promo-form { background:white; border:1px solid var(--rule); border-radius:var(--radius); padding:28px; margin-bottom:24px; }
.gen-btn { width:100%; background:var(--ink); color:var(--paper); padding:15px; border-radius:8px; font-size:15px; font-weight:600; cursor:pointer; border:none; font-family:'IBM Plex Sans',sans-serif; transition:all 0.15s; display:flex; align-items:center; justify-content:center; gap:10px; }
.gen-btn:hover { background:var(--green); }
.gen-btn:disabled { opacity:0.5; cursor:not-allowed; }
.promos-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; align-items: stretch; }
.promo-card { background:white; border:1px solid var(--rule); border-radius:var(--radius); overflow:hidden; transition:all 0.2s; display:flex; flex-direction:column; }
.promo-card:hover { box-shadow:var(--shadow); transform:translateY(-2px); }
.promo-head { padding:16px 18px 12px; border-bottom:1px solid var(--rule); background:var(--paper); min-height:96px; display:flex; flex-direction:column; justify-content:flex-start; }
.promo-num  { font-size:10px; letter-spacing:2px; color:var(--green); text-transform:uppercase; margin-bottom:5px; font-weight:600; }
.promo-title  { font-size:15px; font-weight:700; line-height:1.3; }
.promo-target { font-size:12px; color:var(--muted); margin-top:3px; }
.promo-body { padding:18px; flex: 1; display: flex; flex-direction: column; }
.promo-mechanic { background:var(--green-pale); border:1px solid #B8DCC8; border-radius:6px; padding:9px 13px; font-size:13px; font-weight:600; color:var(--green); margin-bottom:14px; }
.msg-label { font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:1px; color:var(--muted); margin-bottom:5px; }
.msg-box { font-size:13px; color:var(--ink); line-height:1.6; padding:9px 12px; background:var(--paper); border-radius:6px; margin-bottom:12px; border:1px solid var(--rule); }
.promo-actions { display:flex; gap:7px; padding:14px 18px; border-top:1px solid var(--rule); }
.btn-act { flex:1; padding:8px 10px; border-radius:6px; font-size:12px; font-weight:600; cursor:pointer; border:1px solid var(--rule); background:white; color:var(--ink); font-family:'IBM Plex Sans',sans-serif; transition:all 0.15s; display:flex; align-items:center; justify-content:center; gap:5px; text-decoration:none; }
.btn-act:hover { background:var(--cream); }
.btn-act.sms-send { background:var(--green); color:white; border-color:var(--green); }
.btn-act.sms-send:hover { background:var(--green-light); }
.btn-act.download { background:var(--ink); color:var(--cream); border-color:var(--ink); }
.btn-act.download:hover { background:var(--ink2); }

/* ── PROMO IMAGE PANEL ── */
.promo-img-panel { border-top:1px solid var(--rule); padding:12px 18px 14px; background:var(--paper); }
.promo-img-wrap { position:relative; border-radius:8px; overflow:hidden; aspect-ratio:1; background:var(--ink2); display:flex; align-items:center; justify-content:center; margin-bottom:10px; }
.promo-img-wrap img { width:100%; height:100%; object-fit:cover; display:block; }
.promo-img-loading { display:flex; flex-direction:column; align-items:center; gap:8px; color:var(--muted); font-size:12px; padding:20px; }
.promo-img-overlay { position:absolute; inset:0; background:rgba(0,0,0,0.45); display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity 0.2s; }
.promo-img-wrap:hover .promo-img-overlay { opacity:1; }
.promo-img-actions { display:flex; gap:7px; }
.channel-bar { display:flex; gap:6px; flex-wrap:wrap; margin-top:8px; }
.channel-btn { display:flex; align-items:center; gap:5px; padding:6px 11px; border-radius:6px; font-size:11px; font-weight:600; cursor:pointer; border:1px solid var(--rule); background:white; color:var(--ink); font-family:'IBM Plex Sans',sans-serif; transition:all 0.15s; text-decoration:none; white-space:nowrap; }
.channel-btn:hover { background:var(--cream); }
.channel-btn.primary { background:var(--green); color:white; border-color:var(--green); }
.channel-btn.primary:hover { background:var(--green-light); }

/* ── MODALS ── */
.modal-overlay { position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(28,26,23,0.8); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); display:flex; align-items:center; justify-content:center; z-index:2000; padding:20px; transition:all 0.2s ease-out; }
.modal-content { background:white; border-radius:14px; box-shadow:var(--shadow-lg); width:100%; max-width:600px; position:relative; overflow:hidden; animation:modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes modalSlideUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.modal-close { position:absolute; top:18px; right:18px; background:var(--paper); border:none; width:30px; height:30px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:14px; color:var(--muted); transition:all 0.15s; z-index:10; }
.modal-close:hover { background:var(--rule); color:var(--ink); }

/* ── UTILS ── */
.skel { background:linear-gradient(90deg, #F2EDE4 25%, #FAF8F4 50%, #F2EDE4 75%); background-size:200% 100%; animation:skelLoading 1.5s infinite; }
@keyframes skelLoading { from { background-position:200% 0; } to { background-position:-200% 0; } }
.channel-btn.dl { background:var(--ink); color:var(--cream); border-color:var(--ink); }
.channel-btn.dl:hover { opacity:0.85; }

/* ── INVENTORY / TABLES ── */
.data-table { width:100%; border-collapse:collapse; font-size:13px; }
.data-table th { text-align:left; padding:10px 14px; background:var(--ink); color:var(--cream); font-size:10px; text-transform:uppercase; letter-spacing:1px; font-weight:600; }
.data-table td { padding:11px 14px; border-bottom:1px solid var(--rule); color:var(--ink); }
.data-table tr:hover td { background:var(--paper); }
.badge { padding:3px 9px; border-radius:20px; font-size:11px; font-weight:600; }
.badge-high { background:#E8F5E9; color:#2E7D32; }
.badge-med  { background:var(--amber-pale); color:#7A5E20; }
.badge-low  { background:var(--red-pale); color:var(--red); }
.tag { display:inline-block; padding:3px 10px; background:var(--paper); border:1px solid var(--rule); border-radius:20px; font-size:12px; color:var(--ink); margin:3px; }

/* ── PROFILE ── */
.profile-grid { display:grid; grid-template-columns:1fr 2fr; gap:20px; }
.profile-avatar { width:72px; height:72px; background:var(--green); border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:28px; color:white; margin-bottom:14px; background-size: cover; background-position: center; }

/* ── TOAST ── */
.toast { position:fixed; bottom:28px; right:28px; background:var(--ink); color:var(--cream); padding:12px 18px; border-radius:8px; font-size:13px; display:flex; align-items:center; gap:8px; box-shadow:var(--shadow-lg); z-index:1000; opacity:0; transform:translateY(16px); transition:all 0.25s; pointer-events:none; }
.toast.show { opacity:1; transform:translateY(0); }

/* ── ROADMAP ── */
.rm-item { display:flex; gap:16px; padding:20px; border:1px solid var(--rule); border-radius:var(--radius); margin-bottom:10px; background:white; }
.rm-phase { width:52px; height:52px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; }
.rm-badge { font-size:11px; padding:3px 9px; border-radius:20px; font-weight:600; float:right; }
.rm-now { background:var(--green-pale); color:var(--green); }
.rm-v2  { background:#E8F0FF; color:#2563EB; }
.rm-v3  { background:#FFF3CD; color:#7A5E20; }
.rm-v4  { background:var(--cream); color:var(--muted); }

/* ── UTILS ── */
.spinner { width:18px; height:18px; border:2px solid rgba(255,255,255,0.3); border-top-color:white; border-radius:50%; animation:spin 0.8s linear infinite; display:inline-block; }
@keyframes spin { to { transform:rotate(360deg); } }
@keyframes fadeUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation:fadeUp 0.35s ease forwards; }
.skel { background:var(--rule); border-radius:6px; animation:pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.45} }
.btn-primary { background:var(--green); color:white; padding:9px 18px; border-radius:7px; font-size:13px; font-weight:600; cursor:pointer; border:none; font-family:'IBM Plex Sans',sans-serif; transition:all 0.15s; }
.btn-primary:hover { background:var(--green-light); }
.btn-secondary { background:white; color:var(--ink); padding:9px 18px; border-radius:7px; font-size:13px; font-weight:500; cursor:pointer; border:1px solid var(--rule); font-family:'IBM Plex Sans',sans-serif; transition:all 0.15s; }
.btn-secondary:hover { background:var(--cream); }

/* ── BRAND INTELLIGENCE ── */
.intel-tabs { display:flex; gap:8px; margin-bottom:24px; border-bottom:1px solid var(--rule); padding-bottom:12px; overflow-x:auto; }
.intel-tab { padding:8px 20px; border-radius:30px; font-size:13px; font-weight:600; cursor:pointer; color:var(--muted); transition:all 0.15s; white-space:nowrap; border:1.5px solid transparent; background:var(--paper); }
.intel-tab:hover { background:var(--cream); color:var(--ink); }
.intel-tab.active { background:var(--green-pale); color:var(--green); border-color:var(--green); }

.intel-card { background:white; border:1px solid var(--rule); border-radius:14px; padding:24px; transition:all 0.2s; box-shadow:var(--shadow-sm); min-height:220px; display:flex; flex-direction:column; }
.intel-card:hover { box-shadow:var(--shadow); transform:translateY(-2px); }

.ig-profile-preview { display:flex; align-items:center; gap:16px; padding:16px; background:var(--paper); border:1px solid var(--rule); border-radius:12px; margin-top:12px; animation:fadeUp 0.3s ease; flex-wrap:wrap; }
.ig-profile-img { width:56px; height:56px; border-radius:50%; background:var(--rule); border:2.5px solid var(--green); object-fit:cover; }
.ig-profile-info h4 { font-size:14px; font-weight:700; margin-bottom:2px; color:var(--ink); }
.ig-profile-info p { font-size:12px; color:var(--muted); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

.kb-strength-container { background:var(--paper); padding:16px; border-radius:12px; margin-bottom:24px; border:1px solid var(--rule); }
.kb-strength-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.kb-strength-label { font-size:12px; font-weight:700; color:var(--ink); text-transform:uppercase; letter-spacing:1px; }
.kb-strength-value { font-size:12px; font-weight:700; color:var(--green); }
.kb-strength-meter { height:8px; background:var(--rule); border-radius:4px; overflow:hidden; }
.kb-strength-fill { height:100%; background:linear-gradient(90deg, var(--green), #7DC49A); width:0%; transition:width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1); }

.hero-mock {
  background:#161510;
  border:1px solid #2A2820;
  border-radius:14px;
  overflow:hidden;
  margin-top:4px;
}
.intelligence-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:16px; margin-top:40px; }

/* ── RESPONSIVE (iOS-first) ── */
@media (max-width: 1024px) {
  nav { padding:0 18px; }
  .hero { padding:36px 20px; }
  .hero-inner { grid-template-columns:1fr; gap:24px; }
  .hero-title { font-size:38px; }
  .section { padding:40px 20px; }
  .how-grid, .sms-phones, .promos-grid, .stats-row, .dash-grid, .testi-grid, .profile-grid, .intelligence-grid, .stats-grid { grid-template-columns:1fr; }
  .ba-grid { grid-template-columns:1fr; gap:12px; }
  .ba-arrow { display:none; }
  .form-row { grid-template-columns:1fr; gap:12px; }
  .biz-type-grid { grid-template-columns:1fr; }
  .biz-type-btn.other-btn { grid-column:span 1; }
  .mobile-menu-toggle { display: flex; }
  .sidebar-header-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 20px 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 16px;
  }
  .sidebar-close-mobile {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.2s;
  }
  .sidebar-close-mobile:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--paper);
  }
  .app-layout { flex-direction:column; }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    min-height: 100vh;
    z-index: 1500;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    background: var(--ink);
    overflow-y: auto;
    border-bottom: none;
    scrollbar-width: auto;
    -ms-overflow-style: auto;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .sidebar-section {
    display: block !important;
    padding: 6px 20px;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #4A4640;
    margin-top: 16px;
  }
  .sidebar-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 12px 20px !important;
    color: #7A7268 !important;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 13px;
    border-left: 3px solid transparent !important;
    border-radius: 0 !important;
    white-space: nowrap !important;
    flex-shrink: 0;
  }
  .sidebar-item:hover {
    color: #C8C0B8 !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }
  .sidebar-item.active {
    color: #FAF8F4 !important;
    background: rgba(42, 96, 65, 0.2) !important;
    border-left-color: var(--green) !important;
  }
  .main-content { padding:20px 14px; overflow-x:hidden; }
  .auth-container, .qs-container { padding:20px 14px; }
  .auth-card, .qs-card { padding:24px 18px; }
  .data-table { display:block; width:100%; overflow-x:auto; white-space:nowrap; }
}

@media (max-width: 768px) {
  nav {
    height:auto;
    min-height:60px;
    padding-top:10px;
    padding-bottom:10px;
    flex-wrap:wrap;
    gap:10px;
  }
  .nav-links { width:100%; overflow-x:auto; flex-wrap:nowrap; padding-bottom:2px; }
  .nav-logo-text { font-size:20px; }
  .hero-title { font-size:32px; }
  .hero-body, .section-sub { font-size:15px; }
  .section-title { font-size:28px; }
  .proof-strip { padding:14px 12px; gap:16px; }
  .proof-pipe { display:none; }
  .proof-stat { width:calc(50% - 8px); }
  .proof-stat strong { font-size:18px; }
  .hero-mock { margin-top:0; }
  #si-recommendations { grid-template-columns:1fr !important; }
  .season-banner { flex-wrap:wrap; }
  .season-cta { margin-left:0; width:100%; }
  .toast {
    left:12px;
    right:12px;
    bottom:max(12px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  .hero-title { font-size:28px; }
  .section-title { font-size:24px; }
  .page-title { font-size:22px; }
  .stat-value { font-size:22px; }
  .card, .promo-form, .stat-card { padding:16px; }
  .sms-demo { padding:24px 14px; }
  .rm-item { padding:14px; gap:10px; }
  .rm-phase { width:40px; height:40px; font-size:16px; }
  .form-input, .form-select, .btn-full, .gen-btn { font-size:16px; } /* Prevent iOS auto-zoom */
  .proof-stat { width:100%; }
}

/* iPhone 12 mini / SE widths */
@media (max-width: 390px) {
  nav { padding-left:12px; padding-right:12px; }
  .hero { padding:26px 14px; }
  .section { padding:30px 14px; }
  .main-content { padding:16px 10px; }
  .hero-title { font-size:26px; line-height:1.15; }
  .hero-body, .section-sub { font-size:14px; line-height:1.6; }
  .nav-link, .nav-cta { font-size:12px; padding:7px 10px; }
  .card, .promo-form, .stat-card, .testi-card, .how-step, .ba-card { padding:14px; }
  .channel-btn, .btn-primary, .btn-secondary { min-height:40px; }
}

/* iPhone Pro/Plus widths */
@media (min-width: 391px) and (max-width: 430px) {
  .hero { padding:30px 16px; }
  .section { padding:34px 16px; }
  .main-content { padding:18px 12px; }
  .hero-title { font-size:29px; }
  .section-title { font-size:25px; }
  .card, .promo-form, .stat-card { padding:15px; }
  .sidebar-item { min-height:40px; }
}
@keyframes sweep {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}
.radar-sweep {
  animation: sweep 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.pulse-dot {
  animation: pulse 2s infinite;
}

/* ── SEGMENTED TOGGLE (iOS Style) ── */
.toggle-pill-container {
  display: flex;
  background: rgba(0,0,0,0.05);
  padding: 4px;
  border-radius: 8px;
  position: relative;
}
.toggle-pill {
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'IBM Plex Sans', sans-serif;
}
.toggle-pill:hover {
  color: var(--ink);
}
.toggle-pill.active {
  background: white;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
