/* ═══════════════════════════════════════════════════════════
   SPECISOFT Business Growth Suite — Design Tokens & Global CSS
   Extracted from the original bundled HTML template
   ═══════════════════════════════════════════════════════════ */

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --primary: #12408f;
  --accent: #1c56d4;
  --accent-hover: #2f6ae8;
  --success: #1a7f52;
  --success-light: #5fd39a;
  --success-bg: rgba(95,211,154,.14);
  --success-border: rgba(95,211,154,.35);
  --dark-panel: #0f1d33;
  --body-bg: #eef2f8;
  --card-bg: #fff;
  --border: #e2e8f2;
  --border-hover: #9db6e8;
  --text-primary: #16233d;
  --text-secondary: #5a6b85;
  --text-muted: #8494ad;
  --text-light: #8fa6c9;
  --pill-bg: #eaf1ff;
  --pill-border: #c9dbff;
  --pill-green-bg: #e4f0e8;
  --pill-green-border: #bfe0cb;
  --shadow-card: 0 1px 3px rgba(22,35,61,.05);
  --shadow-panel: 0 20px 50px -20px rgba(15,29,51,.5);
  --radius-sm: 9px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 18px;
  --radius-pill: 100px;
  --max-width: 1240px;
  --font-serif: 'Newsreader', serif;
  --font-sans: 'Public Sans', system-ui, sans-serif;
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--body-bg);
  font-family: var(--font-sans);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
::selection { background: #c7d9ff; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
button { font-family: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* ── Layout ────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.page-wrapper { min-height: 100vh; background: linear-gradient(180deg, #f7f9fc 0%, var(--body-bg) 100%); }

/* ── Header ────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(247,249,252,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  height: 64px;
  display: flex; align-items: center; gap: 28px;
}
.header-logo {
  display: flex; align-items: center; gap: 10px; margin-right: 8px;
  text-decoration: none; color: inherit;
}
.header-logo-icon {
  width: 30px; height: 30px; border-radius: 7px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 16px;
  font-family: var(--font-serif);
}
.header-logo-text { font-weight: 800; font-size: 17px; letter-spacing: -.2px; }
.header-version {
  font-size: 10px; font-weight: 600; color: var(--text-muted);
  margin-left: 6px; letter-spacing: .3px;
  align-self: flex-end; padding-bottom: 1px;
}
.header-nav { display: flex; gap: 22px; font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.header-nav a { color: inherit; text-decoration: none; }
.header-nav a:hover, .header-nav a.active { color: var(--primary); font-weight: 700; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.header-actions a { text-decoration: none; }

/* Language toggle */
.lang-toggle {
  padding: 5px 10px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--card-bg);
  font-size: 12px; font-weight: 700; cursor: pointer;
  color: var(--primary);
}
.lang-toggle:hover { border-color: var(--accent); }

/* Cart badge */
.cart-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 15px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 13.5px;
  font-weight: 600; background: var(--card-bg);
  cursor: pointer; color: var(--text-primary);
  text-decoration: none;
}
.cart-btn:hover { border-color: var(--accent); text-decoration: none; }
.cart-badge {
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: var(--primary);
  color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Auth link */
.auth-link { font-size: 14px; font-weight: 600; color: var(--text-primary); cursor: pointer; }
.auth-link:hover { color: var(--accent); }

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: #f7f9fc;
}
.site-footer .container {
  padding-top: 28px; padding-bottom: 28px;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo-icon {
  width: 26px; height: 26px; border-radius: 6px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 14px;
  font-family: var(--font-serif);
}
.footer-logo-text { font-weight: 800; font-size: 15px; }
.footer-text { font-size: 12.5px; color: var(--text-muted); text-align: right; line-height: 1.5; }

/* ── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-card);
}
.card-sm {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px 8px;
}

/* ── Module icon ───────────────────────────────────────── */
.module-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--pill-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 600; font-size: 20px;
  flex: none;
}
.module-icon-sm {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--pill-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 600; font-size: 16px;
  flex: none;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border: none; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: background .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline {
  background: var(--card-bg); color: var(--primary);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); }
.btn-sm { padding: 9px 15px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-dark {
  background: var(--dark-panel); color: #fff;
  border: 1px solid rgba(255,255,255,.15);
}
.btn-success { background: var(--success); color: #fff; }

/* Toggle button (in-package / add) */
.btn-toggle-on {
  flex: none; padding: 9px 15px; border-radius: 10px;
  border: 1.5px solid var(--accent); background: var(--accent);
  color: #fff; font-size: 13px; font-weight: 700;
  font-family: inherit; cursor: pointer; white-space: nowrap;
}
.btn-toggle-off {
  flex: none; padding: 9px 15px; border-radius: 10px;
  border: 1.5px solid var(--border); background: var(--card-bg);
  color: var(--primary); font-size: 13px; font-weight: 700;
  font-family: inherit; cursor: pointer; white-space: nowrap;
}
.btn-toggle-off:hover { border-color: var(--accent); }

/* ── Pill selectors ────────────────────────────────────── */
.pill {
  padding: 9px 15px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 700; font-family: inherit;
  cursor: pointer; border: 1.5px solid var(--border);
  background: var(--card-bg); color: var(--text-secondary);
  transition: border-color .15s, background .15s;
}
.pill:hover { border-color: var(--accent); }
.pill.active {
  border-color: var(--accent); background: var(--accent); color: #fff;
}

/* ── Edition cards ─────────────────────────────────────── */
.edition-card {
  position: relative; text-align: left;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px 15px;
  cursor: pointer; font-family: inherit; color: inherit;
  transition: border-color .15s;
}
.edition-card:hover { border-color: var(--border-hover); }
.edition-card.selected { border: 2px solid var(--accent); background: rgba(28,86,212,.04); }
.edition-radio {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.edition-radio-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); display: none;
}
.edition-card.selected .edition-radio { border-color: var(--accent); }
.edition-card.selected .edition-radio-dot { display: block; }
.edition-name {
  font-size: 14px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .4px;
}
.edition-price {
  font-family: var(--font-serif); font-size: 24px; margin-bottom: 10px;
}
.edition-price-suffix {
  font-size: 12px; color: var(--text-muted); font-family: var(--font-sans);
}
/* Companies selector inside edition cards */
.edition-companies-selector {
  margin: 6px 0 10px; display: flex; align-items: center; gap: 8px;
}
.companies-pills {
  display: flex; gap: 4px;
}
.co-pill {
  padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700;
  border: 1px solid var(--border); background: var(--card-bg); color: var(--text-secondary);
  cursor: pointer; transition: all .15s;
}
.co-pill:hover { border-color: var(--accent); }
.co-pill.active { border-color: var(--accent); background: var(--accent); color: #fff; }
.companies-label { font-size: 11px; color: var(--text-muted); }

/* Company pills inside summary (dark panel) */
.summary-companies-row {
  display: flex; align-items: center; gap: 4px; margin-top: 5px;
}
.co-pill-summary {
  padding: 2px 8px; border-radius: 5px; font-size: 10px; font-weight: 700;
  border: 1px solid rgba(255,255,255,.2); color: #8fa6c9;
  cursor: pointer; transition: all .15s;
}
.co-pill-summary:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.co-pill-summary.active { border-color: var(--accent); background: var(--accent); color: #fff; }
.edition-companies-note {
  font-size: 11.5px; color: var(--text-muted); font-style: italic;
  margin-top: 12px; padding-left: 4px;
}
.edition-features {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; line-height: 1.35; color: var(--text-secondary);
}

/* ── Step indicator ────────────────────────────────────── */
.step-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.step-title {
  margin: 0; font-family: var(--font-serif);
  font-weight: 500; font-size: 24px;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero { padding: 52px 0 8px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: var(--radius-pill);
  background: var(--card-bg); border: 1px solid var(--border);
  margin-bottom: 22px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .3px; color: var(--primary);
}
.hero h1 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(34px, 4.6vw, 54px); line-height: 1.05;
  letter-spacing: -.5px; margin: 0 auto; max-width: 20ch;
  text-wrap: balance;
}
.hero p {
  max-width: 64ch; margin: 20px auto 0;
  font-size: 16.5px; line-height: 1.55;
  color: var(--text-secondary); text-wrap: pretty;
}
.hero-pills {
  display: inline-flex; flex-wrap: wrap;
  justify-content: center; gap: 10px; margin-top: 22px;
}
.hero-pill {
  padding: 8px 15px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700;
}
.hero-pill-blue { background: var(--pill-bg); border: 1px solid var(--pill-border); color: var(--primary); }
.hero-pill-green { background: var(--pill-green-bg); border: 1px solid var(--pill-green-border); color: var(--success); }
.hero-pill-neutral { background: var(--card-bg); border: 1px solid var(--border); color: var(--text-secondary); }

/* ── Dark summary panel ────────────────────────────────── */
.summary-panel {
  background: var(--dark-panel); border-radius: var(--radius-xl);
  overflow: hidden; color: #fff; box-shadow: var(--shadow-panel);
}
.summary-header {
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.summary-header-label {
  font-size: 12px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase; color: #7fa8f0;
}
.summary-header-title {
  font-family: var(--font-serif); font-size: 20px; margin-top: 4px;
}
.summary-body { padding: 18px 24px; }
.summary-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.summary-item-check { color: var(--success-light); font-weight: 700; }
.summary-item-name { font-size: 13.5px; font-weight: 700; line-height: 1.2; }
.summary-item-edition { font-size: 11.5px; color: var(--text-light); }
.summary-item-price { font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.summary-row {
  display: flex; justify-content: space-between;
  font-size: 13px; color: #c7d4e8; margin-bottom: 9px;
}
.summary-row b { color: #fff; }
.summary-row .muted { color: var(--text-light); font-weight: 500; }
.summary-divider { height: 1px; background: rgba(255,255,255,.14); margin: 18px 0; }
.summary-discount {
  display: flex; justify-content: space-between;
  font-size: 13.5px; color: var(--success-light); font-weight: 700; margin-bottom: 9px;
}
.summary-total-row {
  display: flex; align-items: flex-end; justify-content: space-between; margin-top: 14px;
}
.summary-total-label { font-size: 11.5px; color: var(--text-light); text-transform: uppercase; letter-spacing: .6px; font-weight: 700; }
.summary-total-vat { font-size: 11px; color: var(--text-light); margin-top: 1px; }
.summary-total-amount {
  font-family: var(--font-serif); font-size: 40px;
  font-weight: 500; line-height: .95; font-variant-numeric: tabular-nums;
}
.summary-savings {
  margin-top: 14px; background: var(--success-bg);
  border: 1px solid var(--success-border); border-radius: 10px;
  padding: 10px 14px; display: flex; justify-content: space-between; align-items: center;
}
.summary-savings-label { font-size: 13px; font-weight: 700; color: #8ee7b8; }
.summary-savings-amount { font-size: 15px; font-weight: 800; color: #8ee7b8; font-variant-numeric: tabular-nums; }
.summary-footer { text-align: center; margin-top: 12px; font-size: 11.5px; color: var(--text-light); line-height: 1.5; }
.summary-footer a { color: #7fa8f0; font-weight: 700; }

/* ── Configurator layout ───────────────────────────────── */
.config-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 384px;
  gap: 28px; align-items: start;
}
.config-left { display: flex; flex-direction: column; gap: 34px; }
.config-right { position: sticky; top: 84px; }

/* ── Credit consumption grid ───────────────────────────── */
.credit-ref-title {
  font-size: 12.5px; font-weight: 800;
  letter-spacing: .6px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px;
}
.credit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.credit-card-title { font-size: 13px; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.credit-row {
  display: flex; justify-content: space-between;
  padding: 7px 0; border-top: 1px solid var(--body-bg); font-size: 13px;
}

/* ── Forms ─────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--text-primary); }
.form-input {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px; font-family: inherit;
  color: var(--text-primary); background: var(--card-bg);
  transition: border-color .15s;
}
.form-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(28,86,212,.1); }
textarea.form-input { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ── Tables ────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  text-align: left; padding: 10px 12px;
  border-bottom: 2px solid var(--border);
  font-weight: 700; font-size: 12px; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-muted);
}
.data-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.data-table tr:hover td { background: rgba(18,64,143,.02); }

/* ── Status badges ─────────────────────────────────────── */
.badge {
  display: inline-flex; padding: 4px 10px;
  border-radius: var(--radius-pill); font-size: 11px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .3px;
}
.badge-pending { background: #fff3cd; color: #856404; }
.badge-confirmed { background: #d4edda; color: #155724; }
.badge-cancelled { background: #f8d7da; color: #721c24; }

/* ── Tab bar ───────────────────────────────────────────── */
.tab-bar { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.tab-btn {
  padding: 10px 20px; border: none; background: none;
  font-size: 14px; font-weight: 600; color: var(--text-secondary);
  cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: color .15s;
}
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 700; }

/* ── Alert ─────────────────────────────────────────────── */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info { background: var(--pill-bg); color: var(--primary); border: 1px solid var(--pill-border); }

/* ── Section spacing ───────────────────────────────────── */
.section { padding: 34px 0 60px; }
.section-sm { padding: 24px 0; }
.page-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 32px; margin: 0 0 24px;
}

/* ── Module cards (landing) ────────────────────────────── */
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.module-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 16px;
  transition: box-shadow .2s;
}
.module-card:hover { box-shadow: 0 4px 12px rgba(22,35,61,.1); }
.module-card-name { font-size: 20px; font-weight: 800; letter-spacing: -.2px; }
.module-card-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.5; flex: 1; }
.module-card-price { font-family: var(--font-serif); font-size: 22px; }
.module-card-actions { display: flex; gap: 10px; margin-top: auto; }

/* ── FAQ accordion ─────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; padding: 16px 0; border: none; background: none;
  font-size: 15px; font-weight: 700; text-align: left;
  cursor: pointer; color: var(--text-primary);
  display: flex; justify-content: space-between; align-items: center;
}
.faq-question::after { content: '+'; font-size: 20px; color: var(--text-muted); transition: transform .2s; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  font-size: 14px; color: var(--text-secondary); line-height: 1.6;
}
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 16px; }

/* ── Utility ───────────────────────────────────────────── */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 13px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.gap-10 { gap: 10px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1; min-width: 0; }
.hidden { display: none !important; }

/* ── Registration Wizard ──────────────────────────────── */
.wizard-progress {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 32px; padding: 0 20px;
}
.wizard-step-indicator {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  position: relative; z-index: 1;
}
.wizard-dot {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--card-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: var(--text-muted);
  transition: all .2s;
}
.wizard-dot.active {
  border-color: var(--accent); background: var(--accent); color: #fff;
}
.wizard-dot.completed {
  border-color: var(--success); background: var(--success); color: #fff;
}
.wizard-label {
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  white-space: nowrap; text-align: center; max-width: 90px;
}
.wizard-label.active { color: var(--accent); font-weight: 700; }
.wizard-line {
  flex: 1; height: 2px; background: var(--border);
  min-width: 30px; margin: 0 -4px; margin-bottom: 20px;
}
.wizard-line.completed { background: var(--success); }

/* wizard-step visibility controlled by .hidden utility class */

.wizard-step-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 22px; margin: 0 0 20px; text-align: center;
}

.wizard-nav {
  display: flex; justify-content: space-between;
  gap: 12px; margin-top: 24px;
}

/* Role selection cards */
.role-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.role-card {
  background: var(--card-bg); border: 2px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 20px;
  text-align: center; cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.role-card:hover { border-color: var(--accent); box-shadow: 0 4px 12px rgba(28,86,212,.1); }
.role-card.selected { border-color: var(--accent); background: rgba(28,86,212,.04); box-shadow: 0 4px 12px rgba(28,86,212,.12); }
.role-card-icon { margin-bottom: 12px; }
.role-card-icon svg { width: 48px; height: 48px; color: var(--accent); }
.role-card-title { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.role-card-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* Verification code input */
.verify-code-input {
  font-size: 28px; text-align: center; letter-spacing: 12px;
  font-weight: 700; max-width: 200px; margin: 0 auto;
  display: block;
}

/* Success / pending states */
.wizard-success { text-align: center; padding: 30px 0; }
.wizard-success-icon { margin-bottom: 16px; }
.wizard-success-icon svg { width: 64px; height: 64px; color: var(--success); }
.wizard-success h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 500; margin: 0 0 12px; }
.wizard-success p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; max-width: 400px; margin: 0 auto 20px; }

/* ── Product Detail Page ─────────────────────────────── */
.product-back-link {
  font-size: 14px; color: var(--text-secondary);
  text-decoration: none; display: inline-block;
  margin-bottom: 20px;
}
.product-back-link:hover { color: var(--accent); text-decoration: none; }

.product-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 32px; flex-wrap: wrap;
}
.product-header-icon { width: 56px; height: 56px; font-size: 24px; border-radius: 14px; }
.product-header-info { flex: 1; min-width: 200px; }
.product-header-desc { margin: 6px 0 0; color: var(--text-secondary); font-size: 15px; }

.product-section-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 24px; margin: 40px 0 20px;
}

.product-editions-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.product-edition-card { display: flex; flex-direction: column; }
.product-edition-card--accent { border-color: var(--accent); }
.product-all-prev { font-size: 12px; color: var(--text-muted); margin: 0 0 8px; }

/* Detailed feature blocks */
.product-detail-block {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  margin-bottom: 20px; box-shadow: var(--shadow-card);
}
.product-detail-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.product-detail-accent { color: var(--accent) !important; }
.product-detail-subtitle {
  font-size: 14px; color: var(--text-secondary);
  font-style: italic;
}
.product-detail-description {
  font-size: 15px; line-height: 1.7; color: var(--text-secondary);
  margin: 0 0 20px;
}
.product-detail-features-title {
  font-size: 13px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-muted);
  margin: 0 0 14px;
}
.product-detail-feature-list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}
.product-detail-feature-list li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13.5px; line-height: 1.45; color: var(--text-primary);
}
.product-check-icon {
  width: 18px; height: 18px; flex: none;
  color: var(--success); margin-top: 1px;
}

/* Video button — dark amber with dark text for readability */
.btn-video-dark {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 10px;
  background: #fbbf24; color: #78350f;
  font-size: 12px; font-weight: 800;
  text-decoration: none; transition: background .15s;
  white-space: nowrap; flex: none;
}
.btn-video-dark:hover { background: #f59e0b; text-decoration: none; }
.btn-video-dark svg { flex: none; color: #78350f; }

/* Product card top row (level name + video) */
.product-card-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.product-card-subtitle {
  font-size: 13px; color: var(--text-secondary); font-style: italic;
  margin-bottom: 10px;
}
.product-card-description {
  font-size: 13.5px; line-height: 1.6; color: var(--text-secondary);
  margin: 0 0 16px;
}
.product-card-features-section { margin-bottom: 16px; }
.product-card-feature-list {
  display: flex; flex-direction: column; gap: 7px;
}
.product-card-feature-list li {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 12.5px; line-height: 1.4; color: var(--text-primary);
}
.product-buy-btn { margin-top: auto; }

/* ── Guru Chatbox ──────────────────────────────────────── */
.guru-chatbox {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--card-bg); overflow: hidden;
}
.guru-chatbox-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: var(--primary); color: #fff;
  font-size: 14px;
}
.guru-chatbox-messages {
  height: 220px; overflow-y: auto; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
  background: #f7f9fc;
}
.guru-msg {
  max-width: 85%; padding: 10px 14px; border-radius: 14px;
  font-size: 13px; line-height: 1.5;
}
.guru-msg-bot {
  align-self: flex-start;
  background: #e8edf5; color: var(--text-primary);
  border-bottom-left-radius: 4px;
}
.guru-msg-user {
  align-self: flex-end;
  background: var(--accent); color: #fff;
  border-bottom-right-radius: 4px;
}
.guru-chatbox-input {
  display: flex; gap: 8px; padding: 10px 12px;
  border-top: 1px solid var(--border);
}
.guru-chatbox-input .form-input {
  flex: 1; margin: 0; font-size: 13px;
}
.mt-24 { margin-top: 24px; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .config-layout { grid-template-columns: 1fr; }
  .config-right { position: static; }
  .module-grid { grid-template-columns: 1fr; }
  .credit-grid { grid-template-columns: 1fr; }
  .header-nav { display: none; }
  .product-editions-grid { grid-template-columns: 1fr; }
  .product-detail-feature-list { grid-template-columns: 1fr; }
  .product-video-cta-inner { flex-direction: column; text-align: center; }
  .product-video-cta-inner .btn { margin-left: 0; }
  .role-cards { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .edition-card { padding: 12px; }
  .hero h1 { font-size: 28px; }
  .container { padding: 0 16px; }
  .product-header { flex-direction: column; align-items: flex-start; }
  .wizard-label { font-size: 10px; max-width: 60px; }
  .wizard-dot { width: 26px; height: 26px; font-size: 11px; }
}
