/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #0b1220;
  --bg-soft: #0f172a;
  --card: #111a2e;
  --muted: #93a4c1;
  --text: #e6eefb;
  --primary: #16a34a;
  --primary-600: #12a150;
  --primary-700: #0e8d47;
  --accent: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --link: #60a5fa;
  --border: #1e293b;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Thai", "Krub", "Prompt", "Sarabun", "Tahoma", sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, #0a1328 100%);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 19, 40, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  height: 64px;
}
.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand {
  font-weight: 800;
  color: #e2e8f0;
  letter-spacing: .2px;
}
.brand:hover {
  color: #ffffff;
  text-decoration: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav a {
  color: #cbd5e1;
  padding: 8px 10px;
  border-radius: 8px;
}
.nav a:hover {
  color: #ffffff;
  background: rgba(255,255,255,.04);
  text-decoration: none;
}
.mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}
.mobile-toggle .bar,
.mobile-toggle .bar::before,
.mobile-toggle .bar::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: #cbd5e1;
  border-radius: 2px;
  position: relative;
}
.mobile-toggle .bar::before {
  position: absolute;
  top: -6px;
}
.mobile-toggle .bar::after {
  position: absolute;
  top: 6px;
}

.btn,
.btn-primary {
  appearance: none;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-700) 100%);
  color: white;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: 0 8px 20px rgba(34,197,94,.25), inset 0 1px 0 rgba(255,255,255,.15);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(34,197,94,.35), inset 0 1px 0 rgba(255,255,255,.2);
  text-decoration: none;
}
.btn-primary:active {
  transform: translateY(0);
  filter: brightness(.98);
}

/* ============== Hero Section Enhanced ============== */
.hero-main {
  padding: 80px 0 60px;
  background:
    radial-gradient(1200px 600px at 100% -100px, rgba(34,197,94,.12), transparent 70%),
    radial-gradient(800px 400px at -20% 20%, rgba(96,165,250,.08), transparent 60%),
    radial-gradient(600px 300px at 50% 100%, rgba(34,197,94,.06), transparent 50%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(34,197,94,.15), rgba(16,185,129,.12));
  border: 2px solid rgba(34,197,94,.3);
  border-radius: 20px;
  color: var(--accent);
}

.hero-main h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, #ffffff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-main .lead {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin: 40px 0;
  padding: 24px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
}

.stat-item svg {
  color: var(--accent);
}

.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  color: white;
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(34,197,94,.3), inset 0 1px 0 rgba(255,255,255,.2);
  transition: all .2s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(34,197,94,.4), inset 0 1px 0 rgba(255,255,255,.25);
  text-decoration: none;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all .2s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(34,197,94,.4);
  text-decoration: none;
}

/* ============== Introduction Section ============== */
.intro-content {
  max-width: 1000px;
  margin: 0 auto;
}

.intro-text {
  text-align: center;
  margin-bottom: 40px;
}

.intro-text h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  margin-bottom: 24px;
  color: #f8fafc;
}

.intro-text p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}

.intro-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.highlight-card {
  padding: 28px 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
}

.highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(34,197,94,.12), rgba(16,185,129,.1));
  border-radius: 14px;
  color: var(--accent);
}

.highlight-card h4 {
  font-size: 18px;
  margin: 0 0 8px;
  color: #f8fafc;
}

.highlight-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ============== Learning Path Section ============== */
.learning-path {
  max-width: 900px;
  margin: 0 auto;
}

.path-step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  padding: 32px 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
}

.path-step:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background: linear-gradient(180deg, var(--accent), transparent);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(34,197,94,.25);
}

.step-content h4 {
  font-size: 20px;
  margin: 0 0 12px;
  color: #f8fafc;
}

.step-content p {
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.6;
}

.step-topics {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-topics li {
  padding: 8px 0;
  color: var(--text);
  position: relative;
  padding-left: 20px;
}

.step-topics li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* ============== Why Choose Section ============== */
.why-choose {
  background: linear-gradient(135deg, rgba(34,197,94,.06), rgba(16,185,129,.04));
  border: 1px solid rgba(34,197,94,.15);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
}

.why-content h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 16px;
  color: #f8fafc;
}

.why-content > p {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.why-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.why-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(34,197,94,.15), rgba(16,185,129,.12));
  border-radius: 12px;
  color: var(--accent);
  flex-shrink: 0;
}

.why-point h4 {
  font-size: 16px;
  margin: 0 0 8px;
  color: #f8fafc;
}

.why-point p {
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
  font-size: 14px;
}

/* ============== Section Headers ============== */
.section {
  padding: 60px 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  justify-content: center;
  text-align: center;
}

.section-header svg {
  color: var(--accent);
}

.section-header h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0;
  color: #f8fafc;
}

/* ============== Quick Cards ============== */
.quick-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.quick-card {
  padding: 32px 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.quick-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity .3s ease;
}

.quick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34,197,94,.4);
  background: linear-gradient(135deg, rgba(34,197,94,.06), rgba(34,197,94,.03));
}

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

.quick-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(34,197,94,.15), rgba(16,185,129,.12));
  border-radius: 16px;
  color: var(--accent);
}

.quick-card h3 {
  font-size: 20px;
  margin: 0 0 12px;
  color: #f8fafc;
}

.quick-card p {
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.6;
}

.quick-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}

.quick-link:hover {
  color: #ffffff;
}

/* ============== Featured Grid ============== */
.featured-grid {
  display: grid;
  gap: 20px;
}

.featured-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all .3s ease;
}

.featured-card:hover {
  transform: translateX(8px);
  border-color: rgba(34,197,94,.4);
  background: rgba(34,197,94,.04);
}

.featured-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(34,197,94,.12), rgba(16,185,129,.1));
  border-radius: 12px;
  color: var(--accent);
  flex-shrink: 0;
}

.featured-content h3 {
  font-size: 18px;
  margin: 0 0 8px;
  color: #f8fafc;
}

.featured-content p {
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.5;
}

.featured-content a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.featured-content a:hover {
  color: #ffffff;
}

/* ============== CTA Section ============== */
.cta-section {
  padding: 80px 40px;
  background: 
    linear-gradient(135deg, rgba(34,197,94,.08), rgba(16,185,129,.06)),
    radial-gradient(600px 300px at 50% 50%, rgba(34,197,94,.1), transparent);
  border: 1px solid rgba(34,197,94,.2);
  border-radius: 24px;
  text-align: center;
  margin: 40px 0;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(34,197,94,.2), rgba(16,185,129,.15));
  border-radius: 20px;
  color: var(--accent);
}

.cta-section h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  margin: 0 0 16px;
  color: #f8fafc;
}

.cta-section p {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-cta-primary,
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all .2s ease;
}

.btn-cta-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  color: white;
  box-shadow: 0 12px 32px rgba(34,197,94,.3);
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(34,197,94,.4);
  text-decoration: none;
}

.btn-cta-secondary {
  background: rgba(255,255,255,.08);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-cta-secondary:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(34,197,94,.4);
  text-decoration: none;
}

/* ============== Topics Grid ============== */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.topic-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: all .3s ease;
  text-align: center;
}

.topic-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34,197,94,.4);
  background: rgba(34,197,94,.04);
  text-decoration: none;
}

.topic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(34,197,94,.15), rgba(16,185,129,.12));
  border-radius: 12px;
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
}

.topic-title {
  color: #f8fafc;
  font-weight: 600;
  font-size: 14px;
}

/* ============== Responsive Design ============== */
@media (max-width: 900px) {
  .mobile-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 19, 40, 0.95);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    flex-direction: column;
    gap: 8px;
  }
  .nav.open { display: flex; }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  .featured-card {
    flex-direction: column;
    text-align: center;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .path-step {
    flex-direction: column;
    text-align: center;
  }
  .step-number {
    align-self: center;
  }
  .why-choose {
    padding: 40px 24px;
  }
}

@media (max-width: 640px) {
  .hero-cta {
    flex-direction: column;
  }
  .intro-highlights {
    grid-template-columns: 1fr;
  }
  .why-points {
    grid-template-columns: 1fr;
  }
}

/* ============== Regular Styles Continue ============== */
.hero {
  padding: 56px 0 28px;
  background:
    radial-gradient(1000px 400px at 100% -50px, rgba(34,197,94,.09), transparent 60%),
    radial-gradient(800px 300px at -20% -20%, rgba(96,165,250,.09), transparent 60%);
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.15;
  margin: 0 0 10px;
  letter-spacing: .2px;
}
.hero p.lead {
  color: var(--muted);
  font-size: 18px;
  margin: 8px 0 0;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.card.pad { padding: 20px; }

.grid { display: grid; gap: 16px; }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid.cols-3,
  .grid.cols-2 { grid-template-columns: 1fr; }
}

h1, h2, h3 { color: #f8fafc; }
h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin: 26px 0 12px;
}
h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  margin: 20px 0 10px;
}

.lead { color: var(--muted); }

article { padding: 18px 0 42px; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 18px;
}

blockquote {
  margin: 16px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  background: rgba(34,197,94,.06);
  border-radius: 10px;
}

ul, ol { padding-left: 20px; }

hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
thead th { background: rgba(34,197,94,.08); }

.kbd,
kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  background: #0c1a32;
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 6px;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  background: rgba(10, 19, 40, 0.5);
  backdrop-filter: blur(6px);
}
.footer .cols {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.footer a { color: #cbd5e1; }
.footer a:hover { color: #ffffff; text-decoration: underline; }
@media (max-width: 900px) { .footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer .cols { grid-template-columns: 1fr; } }

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #d1fae5;
  background: linear-gradient(180deg, rgba(16,185,129,.28), rgba(5,150,105,.25));
  border: 1px solid rgba(16,185,129,.35);
}

.prose img {
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.hero-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
}
.note { font-size: 14px; color: var(--muted); }

.list-links { display: grid; gap: 10px; }
.list-links a {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
}

.toc {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255,255,255,.02);
}
.toc h3 { margin: 6px 0 8px; }
.toc ul { margin: 0; }

/* ============== Breadcrumbs ============== */
.breadcrumbs {
  margin: 14px 0 6px;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumbs li + li::before {
  content: "/";
  color: #6b7280;
}
.breadcrumbs a {
  color: #cbd5e1;
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ============== Tag Badges ============== */
.tag-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.tag-badge {
  display: inline-block;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #c7d2fe;
  background: linear-gradient(180deg, rgba(99,102,241,.18), rgba(79,70,229,.18));
  border: 1px solid rgba(99,102,241,.35);
  text-decoration: none;
}
.tag-badge:hover {
  filter: brightness(1.12);
  text-decoration: none;
}

/* ============== Taxonomy Pages ============== */
.taxo-list {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 800px) {
  .taxo-list { grid-template-columns: 1fr; }
}
.taxo-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,.02);
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
  text-decoration: none;
}
.taxo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34,197,94,.45);
  background: rgba(34,197,94,.04);
  text-decoration: none;
}
.taxo-card-title {
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 6px;
}
.taxo-card-meta {
  font-size: 13px;
  color: var(--muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-block;
  padding: 6px 10px;
  font-size: 13px;
  border: 1px solid var(--border);
  color: #cbd5e1;
  border-radius: 999px;
  background: rgba(255,255,255,.02);
  text-decoration: none;
}
.chip:hover {
  color: #ffffff;
  border-color: rgba(34,197,94,.45);
  background: rgba(34,197,94,.04);
}
.chip.active {
  border-color: rgba(34,197,94,.6);
  background: rgba(34,197,94,.08);
  color: #e2fbea;
}