/* Nexwin Help Documentation - Shared Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --primary: #38bfa1;
  --primary-dark: #2da88c;
  --accent: #22d3ee;
  --purple: #7064f5;
  --gradient: linear-gradient(135deg, #38bfa1 0%, #7064f5 100%);
  --gradient-text: linear-gradient(135deg, #38bfa1 0%, #22d3ee 60%, #7064f5 100%);
  --bg: #060e1a;
  --bg-card: #0c1a2e;
  --bg-section: #0e2040;
  --bg-elevated: #112244;
  --text: #f0f4f8;
  --text-muted: rgba(240, 244, 248, 0.6);
  --text-faint: rgba(240, 244, 248, 0.35);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);
  --teal-glow: rgba(56, 191, 161, 0.15);
  --teal-glow-strong: rgba(56, 191, 161, 0.25);
  --cyan-glow: rgba(34, 211, 238, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --font-display: 'Plus Jakarta Sans', 'IBM Plex Sans', sans-serif;
  --font-body: 'DM Sans', 'IBM Plex Sans', sans-serif;
  --shadow-card: 0 1px 4px rgba(0,0,0,0.3), 0 4px 16px rgba(0,0,0,0.2);
  --shadow-elevated: 0 8px 32px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.2);
}

/* ── LIGHT MODE ── */
[data-theme="light"] {
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-section: #f1f5f9;
  --bg-elevated: #e9f0f8;
  --text: #0f172a;
  --text-muted: #475569;
  --text-faint: #94a3b8;
  --border: rgba(0, 0, 0, 0.07);
  --border-strong: rgba(0, 0, 0, 0.13);
  --teal-glow: rgba(56, 191, 161, 0.10);
  --teal-glow-strong: rgba(56, 191, 161, 0.18);
  --cyan-glow: rgba(34, 211, 238, 0.08);
  --shadow-card: 0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-elevated: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
}

[data-theme="light"] body {
  background-color: var(--bg);
  color: var(--text);
}

[data-theme="light"] body::before {
  background: radial-gradient(ellipse, rgba(56, 191, 161, 0.08) 0%, transparent 70%);
}

[data-theme="light"] body::after {
  background: radial-gradient(ellipse, rgba(112, 100, 245, 0.07) 0%, transparent 70%);
}

[data-theme="light"] .help-nav {
  background: rgba(248, 250, 252, 0.9);
  border-bottom-color: rgba(0,0,0,0.08);
}

[data-theme="light"] .toc-list a:hover {
  background: rgba(0,0,0,0.04);
}

[data-theme="light"] .toc-list a.active {
  background: rgba(56,191,161,0.1);
}

[data-theme="light"] .doc-card {
  box-shadow: var(--shadow-card);
}

[data-theme="light"] .expandable-item summary:hover {
  background: rgba(0,0,0,0.03);
}

[data-theme="light"] .code-block {
  background: #f1f5f9;
  border-color: rgba(0,0,0,0.1);
  color: #0e7490;
}

[data-theme="light"] .feature-table tr:hover td {
  background: rgba(0,0,0,0.02);
}

[data-theme="light"] .help-footer {
  background: #ffffff;
  border-top-color: rgba(0,0,0,0.08);
}

/* ── THEME TOGGLE BUTTON ── */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  padding: 0;
}

.theme-toggle:hover {
  background: rgba(56, 191, 161, 0.1);
  border-color: rgba(56, 191, 161, 0.35);
  color: var(--primary);
}

[data-theme="light"] .theme-toggle {
  background: rgba(0,0,0,0.04);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(56, 191, 161, 0.1);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background radial glow */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(56, 191, 161, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(112, 100, 245, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
.help-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 14, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.help-nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,191,161,0.4), rgba(34,211,238,0.3), transparent);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-brand-text span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--primary); background: rgba(56,191,161,0.1); }

.nav-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  background: var(--gradient);
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.nav-app-btn:hover { opacity: 0.88; }

/* ── PAGE WRAPPER ── */
.help-page {
  position: relative;
  z-index: 1;
}

/* ── HERO ── */
.help-hero {
  padding: 72px 24px 56px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.hero-breadcrumb a:hover { color: var(--primary); }
.hero-breadcrumb .sep { opacity: 0.4; }
.hero-breadcrumb .current { color: var(--primary); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(56, 191, 161, 0.1);
  border: 1px solid rgba(56, 191, 161, 0.25);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 18px;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
}

.hero-title .gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-meta-item svg {
  width: 15px; height: 15px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ── MAIN CONTENT ── */
.help-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

/* ── SIDEBAR TOC ── */
.help-toc {
  position: sticky;
  top: 84px;
}

.toc-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 12px;
  padding-left: 12px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-list a {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: all 0.15s;
  line-height: 1.4;
}

.toc-list a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border-left-color: var(--primary);
}

.toc-list a.active {
  color: var(--primary);
  background: rgba(56,191,161,0.08);
  border-left-color: var(--primary);
}

/* ── ARTICLE ── */
.help-article {
  min-width: 0;
}

/* ── SECTION ── */
.doc-section {
  margin-bottom: 56px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-label::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--gradient);
  border-radius: 1px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 680px;
}

/* ── STEPS ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
}

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.step:last-child { border-bottom: none; }

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(56, 191, 161, 0.1);
  border: 1.5px solid rgba(56, 191, 161, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.step-body {}

.step-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.step-desc code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 12.5px;
  background: rgba(56,191,161,0.1);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ── CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.doc-card:hover {
  border-color: rgba(56, 191, 161, 0.3);
  box-shadow: 0 4px 24px rgba(56, 191, 161, 0.08);
  transform: translateY(-2px);
}

.card-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: rgba(56, 191, 161, 0.1);
  border: 1px solid rgba(56, 191, 161, 0.2);
}

.card-icon svg { width: 20px; height: 20px; color: var(--primary); }

.card-title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── INFO BOX ── */
.info-box {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.info-box.tip {
  background: rgba(56, 191, 161, 0.06);
  border: 1px solid rgba(56, 191, 161, 0.2);
}

.info-box.warning {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.info-box.danger {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.info-box.note {
  background: rgba(34, 211, 238, 0.05);
  border: 1px solid rgba(34, 211, 238, 0.18);
}

.info-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.info-box.tip .info-icon { color: var(--primary); }
.info-box.warning .info-icon { color: #f59e0b; }
.info-box.danger .info-icon { color: #ef4444; }
.info-box.note .info-icon { color: var(--accent); }

.info-body {}
.info-body strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}
.info-body p, .info-body { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

/* ── CHECKLIST ── */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.check-icon {
  width: 18px; height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── FEATURE TABLE ── */
.feature-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  font-size: 14px;
}

.feature-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-strong);
}

.feature-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
  line-height: 1.55;
}

.feature-table tr:last-child td { border-bottom: none; }
.feature-table tr:hover td { background: rgba(255,255,255,0.02); }

.feature-table td:first-child {
  font-weight: 600;
  color: var(--text);
  width: 220px;
}

/* ── ACCORDION-STYLE SECTION ── */
.expandable-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.expandable-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.expandable-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  transition: background 0.15s;
}

.expandable-item summary:hover { background: rgba(255,255,255,0.03); }

.expandable-item summary::after {
  content: '↓';
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.expandable-item[open] summary::after { transform: rotate(180deg); }

.expandable-body {
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── CODE BLOCK ── */
.code-block {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 13px;
  color: var(--accent);
  line-height: 1.6;
  overflow-x: auto;
  margin-bottom: 20px;
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

/* ── GRADIENT DIVIDER ── */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,191,161,0.3), rgba(34,211,238,0.2), transparent);
  margin: 48px 0;
}

/* ── INDEX PAGE HUB ── */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 28px 22px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.hub-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.2s;
}

.hub-card:hover {
  border-color: rgba(56, 191, 161, 0.35);
  box-shadow: 0 8px 32px rgba(56, 191, 161, 0.1);
  transform: translateY(-3px);
}

.hub-card:hover::before { opacity: 1; }

.hub-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient);
  flex-shrink: 0;
}
.hub-icon svg { width: 24px; height: 24px; color: #fff; }

.hub-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.hub-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.hub-arrow {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 4px;
}
.hub-arrow svg { width: 14px; height: 14px; transition: transform 0.15s; }
.hub-card:hover .hub-arrow svg { transform: translateX(3px); }

/* ── FOOTER ── */
.help-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  margin-top: 80px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo { width: 28px; height: 28px; border-radius: 7px; }

.footer-name {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-faint);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--primary); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .help-content {
    grid-template-columns: 1fr;
  }
  .help-toc { display: none; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .hub-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .help-hero { padding: 48px 20px 36px; }
  .hero-title { font-size: 1.75rem; }
  .feature-table { font-size: 13px; }
  .feature-table td:first-child { width: 140px; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.help-hero, .help-content {
  animation: fadeUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.help-content { animation-delay: 0.1s; }

/* ── ZOOM PAGE SPECIFIC ── */
.zoom-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 20px;
}

.zoom-flow::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--purple));
  border-radius: 1px;
}

.zoom-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  padding: 16px 0;
  position: relative;
}

.zoom-step-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.zoom-step-content { padding-top: 6px; }
.zoom-step-content strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.zoom-step-content p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

/* ── BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 100px;
}

.badge-required {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge-optional {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.badge-new {
  background: rgba(56, 191, 161, 0.1);
  color: var(--primary);
  border: 1px solid rgba(56, 191, 161, 0.25);
}

/* ── SHARED NAV COMPONENT ── */
.page-link-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.page-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid rgba(56,191,161,0.3);
  border-radius: var(--radius-sm);
  transition: background 0.15s, border-color 0.15s;
}
.page-link:hover { background: rgba(56,191,161,0.08); border-color: rgba(56,191,161,0.5); }

.page-link-primary {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
}
.page-link-primary:hover { opacity: 0.88; background: var(--gradient); border-color: transparent; }
