/* ============================================
   Microsoft Licensing Simplifier
   Rose accent · clean comparison cards
   Tool-first design (compare → quiz → changelog)
   ============================================ */

.lic-page {
  --lic-accent: #F43F5E;
  --lic-accent-hover: #E11D48;
  --lic-accent-glow: rgba(244, 63, 94, 0.2);
  --lic-accent-border: rgba(244, 63, 94, 0.3);
  --lic-accent-subtle: rgba(244, 63, 94, 0.08);
  --tool-accent: #F43F5E;
  --tool-accent-dim: rgba(244, 63, 94, 0.15);
  --tool-accent-glow: rgba(244, 63, 94, 0.25);
}

.lic-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 2rem 2rem;
}

/* ── HERO ──────────────────────────────────── */

.lic-hero {
  text-align: center;
  padding: 3rem 0 1.5rem;
}
.lic-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
  letter-spacing: -0.5px;
}
.lic-hero h1 span {
  color: var(--lic-accent);
  text-shadow: 0 0 30px var(--lic-accent-glow);
}
.lic-hero-subtitle {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.lic-hero-meta {
  font-size: 0.85rem;
  color: #64748b;
}
.lic-hero-meta a { color: var(--lic-accent); text-decoration: none; }
.lic-hero-meta a:hover { text-decoration: underline; }

/* ── HERO INFO (stats + meta) ──────────────── */

.lic-hero-info {
  text-align: center;
  margin-top: -0.5rem;
  margin-bottom: 1.2rem;
}
.lic-hero-stats {
  font-size: 1rem;
  font-weight: 600;
  color: var(--lic-accent);
  margin-bottom: 0.2rem;
  letter-spacing: 0.3px;
}

/* ── SEARCH BAR ────────────────────────────── */

.lic-search-wrap {
  max-width: 600px;
  margin: 0 auto 1rem;
  position: relative;
}
.lic-search {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.5rem;
  border-radius: var(--glass-radius-card);
  border: var(--glass-border);
  background: rgba(30, 41, 59, 0.55);
  -webkit-backdrop-filter: blur(var(--glass-blur-subtle));
  backdrop-filter: blur(var(--glass-blur-subtle));
  color: #e2e8f0;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lic-search:focus {
  border-color: var(--lic-accent);
  box-shadow: 0 0 20px var(--lic-accent-glow);
}
.lic-search::placeholder { color: #475569; }
.lic-search-icon {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  pointer-events: none;
}
.lic-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1e293b;
  border: 1px solid var(--lic-accent-border);
  border-top: none;
  border-radius: 0 0 12px 12px;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  z-index: 50;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.lic-search-results.visible { display: block; }
.lic-search-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid rgba(51,65,85,0.5);
}
.lic-search-result:hover { background: var(--lic-accent-subtle); }
.lic-search-result-name { color: #e2e8f0; font-weight: 600; font-size: 0.9rem; }
.lic-search-result-cat { color: #64748b; font-size: 0.75rem; }
.lic-search-result-price { color: var(--lic-accent); font-weight: 700; font-size: 0.9rem; }

/* ── QUICK COMPARE PRESETS ─────────────────── */

.lic-presets {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0 auto 1.5rem;
  max-width: 900px;
  padding: 0.8rem 1rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid #1e293b;
  border-radius: 16px;
}
.lic-presets-label {
  color: var(--lic-accent);
  font-size: 0.85rem;
  font-weight: 700;
}
.lic-preset-btn {
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  border: 1px solid var(--lic-accent-border);
  background: var(--lic-accent-subtle);
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.lic-preset-btn:hover {
  border-color: var(--lic-accent);
  color: #fff;
  background: var(--lic-accent);
  transform: translateY(-1px);
}

/* ── COLLAPSIBLE CATEGORIES ────────────────── */

.lic-category-toggle {
  cursor: pointer;
  user-select: none;
}
.lic-category-toggle::after {
  content: ' ▾';
  font-size: 0.85rem;
  color: #475569;
  transition: transform 0.2s;
}
.lic-category.collapsed .lic-category-toggle::after {
  content: ' ▸';
}
.lic-category.collapsed .lic-cards {
  display: none;
}
.lic-category.collapsed .lic-category-desc {
  display: none;
}
.lic-category.collapsed .lic-category-link {
  display: none;
}

/* ── BUILD YOUR STACK CALCULATOR ───────────── */

.lic-calc { max-width: 800px; margin: 0 auto; }
.lic-calc-intro { text-align: center; margin-bottom: 2rem; }
.lic-calc-intro h2 { color: #f1f5f9; font-size: 1.5rem; margin-bottom: 0.5rem; }
.lic-calc-intro p { color: #94a3b8; font-size: 0.95rem; }
.lic-calc-intro strong { color: var(--lic-accent); }

.lic-calc-row {
  display: grid;
  grid-template-columns: 1fr 100px 120px 40px;
  gap: 0.8rem;
  align-items: center;
  padding: 0.8rem 1rem;
  margin-bottom: 0.5rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  transition: border-color 0.2s;
}
.lic-calc-row:hover { border-color: var(--lic-accent-border); }

.lic-calc-select {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 14px;
  color: #e2e8f0;
  padding: 0.5rem 0.8rem;
  font-size: 0.88rem;
  width: 100%;
  cursor: pointer;
}
.lic-calc-select:focus { border-color: var(--lic-accent); outline: none; }

.lic-calc-users {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 14px;
  color: #e2e8f0;
  padding: 0.5rem 0.6rem;
  font-size: 0.9rem;
  width: 100%;
  text-align: center;
}
.lic-calc-users:focus { border-color: var(--lic-accent); outline: none; }

.lic-calc-line-cost {
  color: var(--lic-accent);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: right;
  white-space: nowrap;
}

.lic-calc-remove {
  background: none;
  border: none;
  color: #475569;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.lic-calc-remove:hover { color: #ef4444; background: rgba(239, 68, 68, 0.1); }

#lic-calc-add {
  margin: 1rem 0 2rem;
  width: 100%;
  text-align: center;
  padding: 0.7rem;
  border-style: dashed;
  border-color: #334155;
  color: #64748b;
  font-size: 0.9rem;
}
#lic-calc-add:hover { border-color: var(--lic-accent); color: var(--lic-accent); }

/* Totals card */
.lic-calc-totals {
  background: #1e293b;
  border: 2px solid var(--lic-accent-border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.lic-calc-totals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  text-align: center;
  margin-bottom: 1rem;
}
.lic-calc-total-box h3 {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}
.lic-calc-total-box .lic-calc-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--lic-accent);
  font-family: var(--font-heading);
}
.lic-calc-total-box .lic-calc-amount.annual {
  color: #e2e8f0;
}
.lic-calc-total-box .lic-calc-amount.savings {
  color: #22c55e;
}

/* Price impact banner */
.lic-calc-impact {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid var(--lic-accent-border);
  border-radius: 14px;
  font-size: 0.88rem;
}
.lic-calc-impact-title {
  color: var(--lic-accent);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.lic-calc-impact-detail { color: #94a3b8; }

/* Line items summary */
.lic-calc-summary {
  margin-top: 1rem;
  border-top: 1px solid #334155;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
}
.lic-calc-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
}
.lic-calc-summary-row .lic-plan-name { color: #cbd5e1; }
.lic-calc-summary-row .lic-plan-cost { color: var(--lic-accent); font-weight: 600; }

.lic-calc-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
}
.lic-calc-empty {
  text-align: center;
  padding: 3rem;
  color: #475569;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .lic-calc-row { grid-template-columns: 1fr 80px 90px 36px; gap: 0.5rem; padding: 0.6rem; }
  .lic-calc-totals-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .lic-calc-total-box .lic-calc-amount { font-size: 1.4rem; }
}

/* ── QUIZ SCOPE NOTICE ─────────────────────── */

.lic-quiz-scope {
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  padding: 0.8rem 1rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid #334155;
  border-radius: 14px;
}
.lic-quiz-scope strong { color: var(--lic-accent); }

/* ── TABS ──────────────────────────────────── */

.lic-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin: 1.5rem 0 2rem;
  flex-wrap: wrap;
}
.lic-tab {
  padding: 0.5rem 0.9rem;
  border-radius: 14px;
  border: 1px solid transparent;
  background: none;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  text-align: center;
  white-space: nowrap;
}
.lic-tab:hover {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
}
.lic-tab.active {
  color: #fff;
  background: var(--lic-accent);
  border-color: var(--lic-accent);
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.3);
}

/* ── TAB PANELS ────────────────────────────── */

.lic-panel { display: none; }
.lic-panel.active { display: block; }

.lic-presets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}
.lic-presets-grid .lic-preset-btn {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  text-align: left;
}

/* ── CATEGORY SECTIONS ─────────────────────── */

.lic-category {
  margin-bottom: 2.5rem;
  border-left: 3px solid var(--cat-accent, var(--lic-accent));
  padding-left: 1.2rem;
  position: relative;
}
.lic-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--cat-accent, var(--lic-accent)) 8%, transparent), transparent 70%);
  border-radius: 0 12px 0 0;
  pointer-events: none;
}
.lic-category-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
  position: relative;
}
.lic-category-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cat-accent, #e2e8f0);
  margin: 0;
}
.lic-category-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.lic-category-link {
  font-size: 0.85rem;
  color: var(--lic-accent);
  text-decoration: none;
  margin-left: 0.5rem;
}
.lic-category-link:hover { text-decoration: underline; }

/* ── PLAN CARDS GRID ───────────────────────── */

.lic-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.2rem;
}

.lic-card {
  background: rgba(30, 41, 59, 0.55);
  -webkit-backdrop-filter: blur(var(--glass-blur-card));
  backdrop-filter: blur(var(--glass-blur-card));
  border: var(--glass-border);
  border-top: 2px solid var(--cat-accent, var(--lic-accent));
  border-radius: var(--glass-radius-card);
  padding: 1.4rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.lic-card:hover {
  border-color: color-mix(in srgb, var(--cat-accent, var(--lic-accent)) 30%, transparent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--cat-accent, var(--lic-accent)) 15%, transparent);
}
.lic-card.highlighted {
  border-color: var(--lic-accent);
  box-shadow: 0 0 30px var(--lic-accent-glow);
}

/* Badge (Most Popular, Best Value, etc.) */
.lic-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--lic-accent);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lic-badge.coming-soon {
  background: #f59e0b;
  color: #000;
}

/* Card header */
.lic-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.6rem;
}
.lic-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
}
.lic-card-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--lic-accent);
  white-space: nowrap;
}
.lic-card-price .lic-price-unit {
  font-size: 0.7rem;
  font-weight: 400;
  color: #94a3b8;
}
.lic-card-price .lic-price-note {
  font-size: 0.7rem;
  font-weight: 400;
  color: #f59e0b;
  display: block;
}

.lic-card-tagline {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}
.lic-card-who {
  color: #cbd5e1;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* Feature list inside card */
.lic-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem 0.8rem;
}
.lic-card-features li {
  font-size: 0.82rem;
  color: #94a3b8;
  padding: 0.15rem 0;
}
.lic-card-features li .lic-feat-yes { color: var(--lic-accent); }
.lic-card-features li .lic-feat-no { color: #475569; }
.lic-card-features li .lic-feat-addon { color: #f59e0b; }
.lic-feat-more {
  color: var(--lic-accent) !important;
  font-weight: 500;
  font-style: italic;
  font-size: 0.78rem;
}

/* Card actions */
.lic-card-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}
.lic-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.8rem;
  border-radius: 14px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid #334155;
  color: #94a3b8;
  background: transparent;
}
.lic-btn:hover {
  border-color: var(--lic-accent-border);
  color: #e2e8f0;
}
.lic-btn-primary {
  background: var(--lic-accent);
  border-color: var(--lic-accent);
  color: #000;
  font-weight: 600;
}
.lic-btn-primary:hover {
  background: var(--lic-accent-hover);
  border-color: var(--lic-accent-hover);
  color: #000;
}

/* ── COMPARE MODE ──────────────────────────── */

.lic-compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f172a;
  border-top: 2px solid var(--lic-accent);
  padding: 0.8rem 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}
.lic-compare-bar.visible { display: flex; }
.lic-compare-count {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Compare checkbox + label on cards */
.lic-compare-check {
  position: absolute;
  top: 12px;
  left: 12px;
}
.lic-compare-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
  transition: color 0.2s;
}
.lic-compare-label:hover { color: var(--lic-accent); }
.lic-compare-label input[type="checkbox"] {
  accent-color: var(--lic-accent);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

/* ── COMPARISON TABLE (side-by-side) ───────── */

.lic-compare-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}
.lic-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.lic-compare-table th {
  background: #1e293b;
  color: var(--lic-accent);
  padding: 0.8rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--lic-accent-border);
  position: sticky;
  top: 0;
}
.lic-compare-table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid #1e293b;
  color: #cbd5e1;
}
.lic-compare-table tr:nth-child(even) td {
  background: rgba(30, 41, 59, 0.5);
}
.lic-compare-table .lic-feat-cell-yes { color: var(--lic-accent); font-weight: 600; }
.lic-compare-table .lic-feat-cell-no { color: #475569; }
.lic-compare-table .lic-feat-cell-addon { color: #f59e0b; font-weight: 500; }

/* ── QUIZ ──────────────────────────────────── */

.lic-quiz { max-width: 700px; margin: 0 auto; }

.lic-quiz-question {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.lic-quiz-question h3 {
  color: #f1f5f9;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
}
.lic-quiz-help {
  color: #64748b;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.lic-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.lic-quiz-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border: 1px solid #334155;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
  color: #cbd5e1;
  font-size: 0.9rem;
}
.lic-quiz-option:hover {
  border-color: var(--lic-accent-border);
  background: var(--lic-accent-subtle);
}
.lic-quiz-option.selected {
  border-color: var(--lic-accent);
  background: var(--lic-accent-subtle);
  color: #f1f5f9;
}
.lic-quiz-option input[type="radio"] {
  accent-color: var(--lic-accent);
  width: 16px;
  height: 16px;
}

.lic-quiz-progress {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}
.lic-quiz-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}
.lic-quiz-dot.answered { background: var(--lic-accent); }

.lic-quiz-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

/* Quiz results */
.lic-quiz-results {
  margin-top: 2rem;
}
.lic-result-card {
  background: #1e293b;
  border: 2px solid var(--lic-accent-border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.lic-result-card:first-child {
  border-color: var(--lic-accent);
  box-shadow: 0 0 25px var(--lic-accent-glow);
}
.lic-result-rank {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--lic-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.lic-result-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.3rem;
}
.lic-result-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lic-accent);
  margin-bottom: 0.6rem;
}
.lic-result-why {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

/* ── CHANGELOG ─────────────────────────────── */

.lic-changelog { max-width: 800px; margin: 0 auto; }

.lic-change {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
}
.lic-change::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: -2rem;
  width: 2px;
  background: #334155;
}
.lic-change:last-child::before {
  bottom: 0;
}
.lic-change-dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--lic-accent);
  border: 3px solid #0f172a;
}
.lic-change-dot.major { background: #ef4444; }
.lic-change-dot.moderate { background: #f59e0b; }

.lic-change-date {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}
.lic-change-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.4rem;
}
.lic-change-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
}
.lic-change-affected {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.5rem;
}
.lic-change-tag {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
  background: var(--lic-accent-subtle);
  border: 1px solid var(--lic-accent-border);
  color: var(--lic-accent);
}

/* ── SINGLE PLAN PAGE ──────────────────────── */

.lic-single {
  max-width: 900px;
}
.lic-breadcrumb {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}
.lic-breadcrumb a {
  color: var(--lic-accent);
  text-decoration: none;
}
.lic-breadcrumb a:hover { text-decoration: underline; }
.lic-breadcrumb span { margin: 0 0.3rem; }

.lic-single-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #1e293b;
}
.lic-single-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--lic-accent);
  font-family: var(--font-heading);
}
.lic-single-price-unit {
  font-size: 0.9rem;
  color: #64748b;
  margin-left: 0.3rem;
}
.lic-single-price-note {
  display: block;
  font-size: 0.85rem;
  color: #f59e0b;
  margin-top: 0.2rem;
}
.lic-single-badges {
  display: flex;
  gap: 0.4rem;
}
.lic-single-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  border: 1px solid #334155;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
}
.lic-single-badge-highlight {
  border-color: var(--lic-accent);
  color: var(--lic-accent);
  background: var(--lic-accent-subtle);
}

.lic-single-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Rich content styling */
.lic-single-content {
  color: #cbd5e1;
  line-height: 1.8;
  font-size: 0.95rem;
}
.lic-single-content h2 {
  color: #f1f5f9;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--lic-accent-border);
}
.lic-single-content h3 {
  color: #e2e8f0;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.5rem 0 0.6rem;
}
.lic-single-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.lic-single-content li {
  margin-bottom: 0.4rem;
}
.lic-single-content strong {
  color: #f1f5f9;
}
/* FAQ styling — questions in rose, answers in white */
.lic-single-content p > strong:only-child {
  color: var(--lic-accent);
  font-size: 1.05rem;
  display: block;
  margin-top: 1.5rem;
}
.lic-single-content p > strong:only-child + p,
.lic-single-content p:has(> strong:only-child) + p {
  color: #f1f5f9;
}
.lic-single-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.88rem;
}
.lic-single-content th {
  background: #1e293b;
  color: var(--lic-accent);
  padding: 0.7rem 0.8rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--lic-accent-border);
}
.lic-single-content td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid #1e293b;
  color: #cbd5e1;
}
.lic-single-content tr:nth-child(even) td {
  background: rgba(30, 41, 59, 0.3);
}
.lic-single-content a {
  color: var(--lic-accent);
  text-decoration: none;
}
.lic-single-content a:hover { text-decoration: underline; }
.lic-single-content blockquote {
  border-left: 3px solid var(--lic-accent);
  margin: 1.5rem 0;
  padding: 0.8rem 1.2rem;
  background: var(--lic-accent-subtle);
  border-radius: 0 8px 8px 0;
  color: #94a3b8;
}
.lic-single-content blockquote strong {
  color: var(--lic-accent);
}
/* Mermaid diagrams in dark theme */
.lic-single-content pre.mermaid {
  background: transparent;
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 1rem;
  margin: 1.5rem 0;
  overflow-x: auto;
}

/* ── RELATED BLOG POSTS ────────────────────── */

.lic-related { margin-top: 2.5rem; }
.lic-related h2 {
  color: #f1f5f9;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #1e293b;
}
.lic-related-list { display: flex; flex-direction: column; gap: 0.4rem; }
.lic-related-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 0.2s;
}
.lic-related-link:hover { border-color: var(--lic-accent); }
.lic-related-title { color: #e2e8f0; font-size: 0.9rem; font-weight: 500; }
.lic-related-date { color: #64748b; font-size: 0.78rem; white-space: nowrap; }

/* ── DISCLAIMER ────────────────────────────── */

.lic-disclaimer {
  margin-top: 3rem;
  padding: 1.5rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid #334155;
  border-radius: 16px;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.6;
}
.lic-disclaimer a { color: var(--lic-accent); }
.lic-disclaimer strong { color: #94a3b8; }

/* ── ATTRIBUTION ───────────────────────────── */

.lic-attribution {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  color: #64748b;
  font-size: 0.8rem;
}
.lic-attribution a { color: var(--lic-accent); text-decoration: none; }
.lic-attribution a:hover { text-decoration: underline; }

/* ── MOBILE ────────────────────────────────── */

@media (max-width: 768px) {
  .lic-container { padding: 0.5rem 1rem 2rem; }
  .lic-hero h1 { font-size: 1.8rem; }
  .lic-cards { grid-template-columns: 1fr; }
  .lic-card-features { grid-template-columns: 1fr; }
  .lic-tabs { gap: 0.3rem; }
  .lic-tab { padding: 0.5rem 1rem; font-size: 0.85rem; }
  .lic-compare-bar { padding: 0.6rem 1rem; flex-wrap: wrap; }
  .lic-presets {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.6rem 0.8rem;
  }
  .lic-presets::-webkit-scrollbar { display: none; }
  .lic-search { font-size: 0.9rem; padding: 0.7rem 1rem 0.7rem 2.3rem; }
  .lic-hero-stats { font-size: 0.85rem; }
  .lic-single-header { flex-direction: column; align-items: flex-start; }
  .lic-single-price { font-size: 2rem; }
  .lic-single-content h2 { font-size: 1.25rem; }
  .lic-single-content table { font-size: 0.8rem; }
}
