:root {
  --color-bg: #05080f;
  --color-surface: #07101d;
  --color-surface-2: #0d1726;
  --color-text: #f9fafb;
  --color-text-secondary: #999999;
  --color-primary: #888888;
  --color-secondary: #aaaaaa;
  --color-border: #222222;
  --button-outline: #ffffff1a;
  --elevate-1: #ffffff0a;
  --elevate-2: #ffffff17;
  --shadow-glow: rgba(139, 92, 246, 0.34) 0 0 22px 3px;
  --path-gold: #f5c84c;
  --path-gold-soft: rgba(245, 200, 76, 0.16);
  --path-gold-glow: rgba(245, 200, 76, 0.42) 0 0 24px;
  --shadow-high: rgba(0, 0, 0, 0.2) 0 4px 16px 0;
  --shadow-soft: rgba(255, 255, 255, 0.05) 0 1px 0 inset, rgba(0, 0, 0, 0.38) 0 18px 60px -30px;
  --radius-button: 12px;
  --radius-card: 16px;
  --space: 6px;
  --font-sans: "Inter", sans-serif;
  --font-mono: Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 8%, rgba(170, 170, 170, 0.16), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(139, 92, 246, 0.12), transparent 28%),
    linear-gradient(180deg, #05080f 0%, #070b13 48%, #05080f 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 68%);
}

button,
input,
.btn {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 312px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  padding: 18px;
  background: rgba(5, 8, 15, 0.86);
  border-right: 1px solid var(--color-border);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 18px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--button-outline);
  border-radius: 14px;
  background: linear-gradient(145deg, var(--elevate-2), rgba(255, 255, 255, 0.03));
  color: var(--color-text);
  font-weight: 900;
  box-shadow: var(--shadow-glow);
}

.brand-logo {
  overflow: hidden;
  background: #50d0d3;
  border-color: rgba(80, 208, 211, 0.92);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28) inset,
    0 0 16px rgba(80, 208, 211, 0.72),
    0 0 34px rgba(245, 200, 76, 0.28),
    0 0 48px rgba(139, 92, 246, 0.28);
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brand-logo:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.38) inset,
    0 0 20px rgba(80, 208, 211, 0.92),
    0 0 42px rgba(245, 200, 76, 0.42),
    0 0 58px rgba(139, 92, 246, 0.36);
}

.brand strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.brand span:last-child {
  display: block;
  margin-top: 2px;
  color: var(--color-text-secondary);
  font-size: 12px;
  font-family: var(--font-mono);
}

.search-box {
  display: block;
  margin: 6px 0 18px;
}

.search-box span,
.eyebrow {
  display: block;
  color: var(--color-secondary);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.search-box input {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  background: rgba(7, 16, 29, 0.78);
  color: var(--color-text);
  outline: none;
  box-shadow: rgba(255, 255, 255, 0.03) 0 1px 0 inset;
}

.search-box input:focus {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.search-box small {
  display: block;
  min-height: 18px;
  margin-top: 8px;
  color: var(--color-text-secondary);
  font-size: 12px;
  line-height: 1.4;
}

.progress-card {
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%),
    var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.progress-card > div:first-child {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.progress-card strong {
  font-size: 24px;
  font-weight: 900;
}

.progress-track {
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--elevate-2);
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), #f9fafb);
  transition: width 180ms ease;
  box-shadow: rgba(249, 250, 251, 0.42) 0 0 18px;
}

.module-nav {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.level-steps {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.level-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.level-step:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.level-step.active {
  background: rgba(0, 245, 255, 0.06);
  border-color: var(--color-secondary);
  box-shadow: rgba(0, 245, 255, 0.15) 0 0 10px;
}

.level-step.completed {
  background: rgba(0, 255, 102, 0.06);
  border-color: #00ff66;
  box-shadow: rgba(0, 255, 102, 0.1) 0 0 10px;
}

.level-step.selected {
  background: rgba(0, 245, 255, 0.12) !important;
  border-color: #00f5ff !important;
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.3) !important;
}

.step-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  font-weight: bold;
  font-size: 13px;
  transition: all 0.3s ease;
}

.level-step.active .step-icon {
  background: var(--color-secondary);
  color: #000;
  box-shadow: 0 0 8px var(--color-secondary);
}

.level-step.completed .step-icon {
  background: #00ff66;
  color: #000;
}

.level-prompt-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-secondary);
  margin-left: auto;
  transition: all 0.2s ease;
}

.level-step.selected .level-prompt-badge {
  background: rgba(0, 245, 255, 0.2);
  color: #00f5ff;
}

.level-step.completed.selected .level-prompt-badge {
  background: rgba(0, 255, 102, 0.2);
  color: #00ff66;
}

.step-info {
  display: flex;
  flex-direction: column;
}

.step-info strong {
  font-size: 14px;
  color: var(--color-text);
}

.step-info span {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-top: 2px;
}

.level-bar-container {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.module-link {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  background: rgba(255, 255, 255, 0.02);
  color: var(--color-text);
  text-align: left;
  box-shadow: rgba(255, 255, 255, 0.025) 0 1px 0 inset;
}

.module-link:hover,
.module-link.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  border-color: var(--button-outline);
  transform: translateY(-1px);
}

.module-link span {
  color: var(--color-text-secondary);
  font-size: 12px;
  font-family: var(--font-mono);
}

.main {
  min-width: 0;
  padding: 30px;
  overflow: hidden;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding: 18px 4px 2px;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
}

.site-footer span:first-child {
  color: var(--path-gold);
  font-weight: 800;
}

.blank-content {
  min-height: calc(100vh - 96px);
  padding: 42px;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    rgba(7, 16, 29, 0.88);
  box-shadow: var(--shadow-soft);
}

.blank-content h1 {
  max-width: 760px;
  margin: 12px 0 14px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.04;
}

.blank-content p {
  max-width: 720px;
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 1.65;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.64fr);
  grid-template-areas:
    "copy visual"
    "copy stats";
  align-items: stretch;
  gap: 18px;
  padding: 42px;
  border-bottom: 1px solid var(--color-border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 70% 16%, rgba(245, 200, 76, 0.12), transparent 24%),
    linear-gradient(115deg, rgba(5, 8, 15, 0.98) 0%, rgba(10, 14, 24, 0.94) 56%, rgba(5, 8, 15, 0.98) 100%);
  box-shadow: var(--shadow-soft);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 30%, rgba(249, 250, 251, 0.13), transparent 26%),
    radial-gradient(circle at 8% 90%, rgba(139, 92, 246, 0.14), transparent 28%);
  pointer-events: none;
}

.hero > * {
  position: relative;
}

.hero-copy {
  grid-area: copy;
  align-self: center;
  max-width: 760px;
  padding-right: 12px;
}

.hero h1 {
  max-width: 740px;
  margin: 12px 0 18px;
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 1.04;
  font-weight: 900;
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 38%, #a8adb8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-wrap: balance;
}

.hero p {
  max-width: 690px;
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 1.625;
}

.source-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.source-status span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--button-outline);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  box-shadow: rgba(255, 255, 255, 0.03) 0 1px 0 inset;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius-button);
  padding: 10px 14px;
  color: var(--color-text);
  border: none;
  background: transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(180deg, #f9fafb, var(--color-primary));
  color: #05080f;
  font-weight: 800;
  box-shadow: rgba(249, 250, 251, 0.2) 0 0 0 1px inset, rgba(139, 92, 246, 0.28) 0 0 22px;
}

.btn-outline {
  border: 1px solid var(--button-outline);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost {
  border: 1px solid transparent;
  background: var(--elevate-1);
}

.btn:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-glow);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
}

.hero-visual {
  grid-area: visual;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: #05080f;
  box-shadow: rgba(245, 200, 76, 0.2) 0 0 28px, rgba(255, 255, 255, 0.04) 0 1px 0 inset;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-panel {
  grid-area: stats;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-self: stretch;
}

.metric {
  position: relative;
  overflow: hidden;
  min-height: 104px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
    rgba(7, 16, 29, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.metric::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.metric strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--color-text-secondary);
  font-size: 14px;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  padding-top: 30px;
}

.path-panel {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 180px),
    rgba(7, 16, 29, 0.88);
  box-shadow: var(--shadow-soft);
}

.path-summary {
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
}

.path-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.path-tab {
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    rgba(5, 8, 15, 0.68);
  color: var(--color-text);
  text-align: left;
  box-shadow: rgba(255, 255, 255, 0.025) 0 1px 0 inset;
}

.path-tab strong,
.path-tab span {
  display: block;
}

.path-tab strong {
  font-size: 15px;
  line-height: 1.35;
}

.path-tab span {
  margin-top: 8px;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
}

.path-tab:hover,
.path-tab.active {
  border-color: var(--button-outline);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.028)),
    rgba(5, 8, 15, 0.78);
  box-shadow: rgba(139, 92, 246, 0.22) 0 0 20px;
}

.path-tab.active {
  border-color: rgba(245, 200, 76, 0.72);
  background:
    linear-gradient(145deg, rgba(245, 200, 76, 0.18), rgba(255, 255, 255, 0.035)),
    rgba(5, 8, 15, 0.8);
  box-shadow: var(--path-gold-glow), rgba(255, 255, 255, 0.04) 0 1px 0 inset;
}

.path-tab.active span {
  color: var(--path-gold);
}

.agent-panel {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(245, 200, 76, 0.07), transparent 180px),
    rgba(7, 16, 29, 0.88);
  box-shadow: var(--shadow-soft);
}

.agent-toolkit {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.agent-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
  min-height: 260px;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(5, 8, 15, 0.72);
  box-shadow: rgba(245, 200, 76, 0.08) 0 0 18px;
}

.agent-card span {
  display: block;
  color: var(--path-gold);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.agent-card strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.35;
}

.agent-card .copy-btn {
  justify-self: start;
}

.agent-card pre {
  min-height: 130px;
  max-height: 220px;
  overflow: auto;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  background: #05080f;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.pro-panel {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(245, 200, 76, 0.26);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(245, 200, 76, 0.1), rgba(255, 255, 255, 0.018) 42%),
    rgba(7, 16, 29, 0.9);
  box-shadow: var(--shadow-soft), rgba(245, 200, 76, 0.08) 0 0 34px;
}

.pro-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.pro-tab {
  min-height: 118px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(5, 8, 15, 0.72);
  color: var(--color-text);
  text-align: left;
  box-shadow: rgba(255, 255, 255, 0.025) 0 1px 0 inset;
}

.pro-tab span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f7b267, #c8521d);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 900;
}

.pro-tab strong,
.pro-tab small {
  display: block;
}

.pro-tab strong {
  font-size: 14px;
  line-height: 1.25;
}

.pro-tab small {
  margin-top: 6px;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.35;
}

.pro-tab:hover,
.pro-tab.active {
  border-color: rgba(245, 200, 76, 0.72);
  background:
    linear-gradient(145deg, rgba(245, 200, 76, 0.16), rgba(255, 255, 255, 0.028)),
    rgba(5, 8, 15, 0.82);
  box-shadow: var(--path-gold-glow), rgba(255, 255, 255, 0.04) 0 1px 0 inset;
}

.pro-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  margin-top: 14px;
}

.pro-detail,
.pro-summary {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), transparent 70%),
    rgba(5, 8, 15, 0.68);
}

.pro-detail {
  padding: 16px;
}

.pro-hero {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.pro-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(245, 200, 76, 0.45);
  border-radius: 18px;
  background: rgba(245, 200, 76, 0.08);
  color: var(--path-gold);
  font-size: 34px;
  font-weight: 900;
  box-shadow: rgba(245, 200, 76, 0.18) 0 0 20px;
}

.pro-hero h3 {
  margin: 6px 0 8px;
  font-size: 26px;
  line-height: 1.12;
}

.pro-hero h3 em {
  color: var(--path-gold);
  font-style: normal;
}

.pro-hero p,
.pro-grid p,
.pro-summary p,
.pro-warning span {
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.pro-hero p,
.pro-summary p {
  margin: 0;
}

.github-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 12px;
  padding: 0 12px;
  border: 1px solid rgba(245, 200, 76, 0.48);
  border-radius: var(--radius-button);
  background: rgba(245, 200, 76, 0.08);
  color: var(--path-gold);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.github-link:hover {
  color: var(--color-text);
  box-shadow: var(--path-gold-glow);
}

.pro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.pro-grid section {
  min-height: 150px;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.03);
}

.pro-grid h4 {
  margin: 0 0 10px;
  color: var(--path-gold);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.pro-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.pro-grid li + li {
  margin-top: 6px;
}

.pro-grid code {
  display: block;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  background: #05080f;
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.pro-warning {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(245, 200, 76, 0.32);
  border-radius: var(--radius-button);
  background: rgba(245, 200, 76, 0.07);
}

.pro-warning strong {
  color: var(--path-gold);
}

.pro-summary {
  display: grid;
  align-content: center;
  padding: 18px;
}

.pro-summary strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.milestone-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.milestone-card {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.035);
}

.milestone-card span {
  color: var(--color-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
}

.milestone-card strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.35;
}

.milestone-card p {
  margin: 7px 0 0;
  color: var(--color-text-secondary);
  font-size: 12px;
}

.milestone-ring {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #05080f 0 57%, transparent 58%),
    conic-gradient(var(--color-secondary) var(--value), rgba(255, 255, 255, 0.12) 0);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 12px;
}

.map-panel,
.lesson-panel {
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 180px),
    rgba(7, 16, 29, 0.9);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.map-panel {
  padding: 18px;
}

.section-head,
.lesson-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-head h2,
.lesson-header h2 {
  margin: 6px 0 0;
  font-size: 24px;
  line-height: 32px;
}

.lesson-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.lesson-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.lesson-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid var(--button-outline);
  border-radius: 999px;
  color: var(--color-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
}

.legend {
  display: flex;
  gap: 12px;
  color: var(--color-text-secondary);
  font-size: 12px;
}

.legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--color-text-secondary);
}

.dot.done {
  background: var(--color-secondary);
}

.dot.active {
  background: var(--color-text);
}

.tree-map {
  display: grid;
  gap: 18px;
  max-height: 760px;
  overflow: auto;
  padding-right: 6px;
}

.tree-module {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.tree-module-label {
  position: sticky;
  top: 0;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  color: var(--color-secondary);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)), #05080f;
  font-size: 12px;
  font-family: var(--font-mono);
  box-shadow: rgba(0, 0, 0, 0.2) 0 8px 24px;
}

.tree-module-label small {
  display: block;
  margin-top: 8px;
  color: var(--color-text-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.35;
  text-transform: none;
}

.lesson-nodes {
  display: grid;
  gap: 8px;
  padding-left: 14px;
  border-left: 1px solid var(--color-border);
}

.lesson-node {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 70%),
    rgba(5, 8, 15, 0.5);
  color: var(--color-text);
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.lesson-node::before {
  content: "";
  position: absolute;
  left: -15px;
  width: 14px;
  border-top: 1px solid var(--color-border);
}

.lesson-node:hover {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(5, 8, 15, 0.7);
  border-color: var(--button-outline);
  transform: translateX(3px);
  box-shadow: rgba(139, 92, 246, 0.2) 0 0 18px;
}

.lesson-node.active {
  border-color: var(--path-gold);
  background:
    linear-gradient(90deg, rgba(245, 200, 76, 0.2), rgba(255, 255, 255, 0.035) 78%),
    rgba(5, 8, 15, 0.78);
  box-shadow: var(--path-gold-glow);
  transform: translateX(3px);
}

.lesson-node.active .node-index {
  background: var(--path-gold);
  color: #05080f;
  border-color: var(--path-gold);
  box-shadow: var(--path-gold-glow);
}

.lesson-node.path-lesson {
  border-color: rgba(245, 200, 76, 0.34);
  background:
    linear-gradient(90deg, rgba(245, 200, 76, 0.09), rgba(255, 255, 255, 0.018) 72%),
    rgba(5, 8, 15, 0.58);
  box-shadow: rgba(245, 200, 76, 0.1) 0 0 14px;
}

.lesson-node.path-lesson .node-index {
  border-color: rgba(245, 200, 76, 0.45);
  color: var(--path-gold);
}

.lesson-node.next-up:not(.active) {
  border-color: rgba(245, 200, 76, 0.5);
  background:
    linear-gradient(90deg, rgba(245, 200, 76, 0.06), rgba(255, 255, 255, 0.01) 78%),
    rgba(5, 8, 15, 0.6);
}

.lesson-node.next-up::after {
  content: "Học tiếp";
  justify-self: end;
  grid-column: 3;
  grid-row: 2;
  color: var(--path-gold);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.lesson-node.next-up:not(.active) .node-index {
  background: rgba(245, 200, 76, 0.05);
  color: var(--path-gold);
  border-color: rgba(245, 200, 76, 0.6);
}

.lesson-node.path-lesson.done {
  border-color: rgba(170, 170, 170, 0.34);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 72%),
    rgba(5, 8, 15, 0.52);
  box-shadow: none;
}

.lesson-node.done .node-index {
  background: var(--color-secondary);
  color: #05080f;
}

.node-index {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  color: var(--color-secondary);
  font-size: 12px;
  font-family: var(--font-mono);
  border: 1px solid var(--button-outline);
}

.node-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}

.node-type {
  color: var(--color-text-secondary);
  font-size: 12px;
  font-family: var(--font-mono);
}

.lesson-panel {
  padding: 18px;
}

.lesson-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.lesson-content {
  min-width: 0;
}

.lesson-content h3 {
  margin: 24px 0 10px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 800;
}

.lesson-content h3:first-child {
  margin-top: 0;
}

.lesson-content ul,
.lesson-content ol {
  margin: 0;
  padding-left: 20px;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.lesson-content li + li {
  margin-top: 8px;
}

.flow-list li::marker {
  color: var(--color-secondary);
  font-family: var(--font-mono);
}

.deliverables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  padding-left: 0 !important;
}

.deliverables li {
  list-style: none;
  min-height: 112px;
  margin-top: 0 !important;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 70%),
    rgba(5, 8, 15, 0.6);
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.5;
}

.deliverables li::before {
  content: "Output";
  display: block;
  margin-bottom: 8px;
  color: var(--color-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.ipo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 12px;
}

.ipo-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(245, 200, 76, 0.07), transparent 70%),
    rgba(5, 8, 15, 0.62);
}

.ipo-card span,
.tool-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--path-gold);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ipo-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.ipo-card li + li {
  margin-top: 6px;
}

.practice-box {
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 55%),
    #05080f;
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  box-shadow: rgba(255, 255, 255, 0.03) 0 1px 0 inset;
}

.video-pack,
.tutor-box {
  display: grid;
  gap: 10px;
}

.tool-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    rgba(5, 8, 15, 0.7);
  box-shadow: rgba(245, 200, 76, 0.1) 0 0 18px;
}

.tool-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
}

.tool-card p {
  margin: 8px 0 0;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.tool-card pre {
  grid-column: 1 / -1;
  max-height: 260px;
  overflow: auto;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  background: #05080f;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.copy-btn {
  align-self: start;
  white-space: nowrap;
}

.source-text {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 55%),
    #05080f;
}

.source-note {
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
}

.source-text pre {
  max-height: 280px;
  overflow: auto;
  margin: 0;
  padding: 14px;
  white-space: pre-wrap;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
}

.clean-source {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.clean-source section {
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.035);
}

.clean-source h4,
.clean-source h5,
.clean-source p {
  margin: 0;
}

.clean-source h4 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
}

.clean-source h5 {
  margin-bottom: 8px;
  color: var(--color-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.clean-source p,
.clean-source li {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.clean-source ul {
  margin: 0;
  padding-left: 18px;
}

.raw-ocr {
  border-top: 1px solid var(--color-border);
}

.raw-ocr summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: var(--color-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
}

.case-grid,
.workflow-grid {
  display: grid;
  gap: 12px;
}

.case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card,
.workflow-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 70%),
    rgba(5, 8, 15, 0.62);
  box-shadow: rgba(255, 255, 255, 0.025) 0 1px 0 inset;
}

button.workflow-card {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

button.workflow-card:hover,
button.workflow-card:focus-visible,
.workflow-card.active {
  border-color: rgba(245, 200, 76, 0.55);
  background:
    linear-gradient(180deg, rgba(245, 200, 76, 0.1), transparent 70%),
    rgba(5, 8, 15, 0.72);
  box-shadow: rgba(245, 200, 76, 0.16) 0 0 22px;
}

button.workflow-card:focus-visible {
  outline: 2px solid rgba(97, 218, 251, 0.55);
  outline-offset: 3px;
}

.case-card span,
.workflow-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--color-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.case-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
}

.case-card p,
.case-card em {
  display: block;
  margin: 8px 0 0;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.5;
  font-style: normal;
}

.case-card em {
  color: var(--color-text);
}

.workflow-card ol {
  margin: 0;
  padding-left: 18px;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.workflow-card li + li {
  margin-top: 6px;
}

.prompt-card {
  grid-column: 1 / -1;
}

.sme-card {
  border-color: rgba(245, 200, 76, 0.34);
  background:
    linear-gradient(180deg, rgba(245, 200, 76, 0.08), transparent 70%),
    rgba(5, 8, 15, 0.62);
  box-shadow: rgba(245, 200, 76, 0.12) 0 0 18px;
}

.prompt-card pre {
  overflow: auto;
  margin: 0;
  white-space: pre-wrap;
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
}

.quiz-box,
.assignment-box {
  display: grid;
  gap: 10px;
}

.quiz-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.quiz-item summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 12px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.quiz-item p {
  margin: 0;
  padding: 0 12px 12px;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.assignment-brief {
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 70%),
    rgba(5, 8, 15, 0.64);
}

.assignment-brief strong {
  display: block;
  font-size: 15px;
}

.assignment-brief p {
  margin: 8px 0 0;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.rubric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.rubric-item {
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.035);
}

.rubric-item span {
  color: var(--color-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.rubric-item p {
  margin: 7px 0 0;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.quality-gate {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quality-item {
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.035);
}

.quality-item span {
  display: block;
  color: var(--color-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.quality-item p {
  margin: 7px 0 0;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.checklist li {
  list-style: square;
}

.source-panel {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  justify-items: stretch;
  align-items: start;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(5, 8, 15, 0.58);
}

.source-media {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.source-frame {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: #05080f;
  box-shadow: rgba(139, 92, 246, 0.22) 0 0 22px;
  aspect-ratio: 2 / 3;
  display: grid;
  place-items: center;
}

.source-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 0;
  padding: 0 14px;
  border: 1px solid var(--button-outline);
  border-radius: var(--radius-button);
  background: rgba(255, 255, 255, 0.035);
  color: var(--color-secondary);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.source-link:hover {
  color: var(--color-text);
}

.page-summary {
  min-width: 0;
}

.summary-slide {
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(97, 218, 251, 0.18);
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(97, 218, 251, 0.08), rgba(245, 200, 76, 0.05) 42%, transparent 72%),
    rgba(3, 7, 14, 0.68);
  box-shadow:
    rgba(97, 218, 251, 0.08) 0 0 28px,
    rgba(255, 255, 255, 0.035) 0 1px 0 inset;
}

.summary-kicker,
.summary-slide span {
  color: var(--color-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.summary-slide h3 {
  margin: 8px 0 8px;
  color: var(--color-text);
  font-size: 24px;
  line-height: 1.12;
  font-weight: 900;
}

.summary-slide p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.summary-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.summary-columns section,
.summary-output {
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.028);
}

.summary-slide ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.summary-slide li + li {
  margin-top: 6px;
}

.summary-band {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(245, 200, 76, 0.22);
  border-radius: var(--radius-card);
  background: rgba(245, 200, 76, 0.055);
}

.summary-output {
  margin-top: 12px;
}

.summary-warning {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  background: rgba(255, 122, 69, 0.08);
  color: var(--color-text);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .module-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace,
  .hero {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-areas:
      "copy"
      "visual"
      "stats";
    padding: 30px;
  }

  .hero-copy {
    max-width: 100%;
    padding-right: 0;
  }

  .hero h1,
  .hero p {
    max-width: 840px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .path-tabs,
  .agent-toolkit,
  .pro-tabs,
  .milestone-board,
  .rubric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pro-content {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .main {
    padding: 18px;
  }

  .hero {
    min-height: auto;
    padding: 18px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.15;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 300px;
  }

    .module-nav,
    .path-tabs,
    .agent-toolkit,
    .pro-tabs,
    .milestone-board,
    .hero-panel,
    .lesson-grid,
  .tree-module,
  .case-grid,
  .workflow-grid,
  .deliverables,
  .ipo-grid,
  .quality-gate,
    .rubric-grid {
    grid-template-columns: 1fr;
  }

  .pro-hero,
  .pro-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    grid-template-columns: 1fr;
  }

  .source-panel {
    grid-template-columns: 1fr;
  }

  .summary-columns {
    grid-template-columns: 1fr;
  }

  .source-link {
    min-height: 44px;
  }

  .path-summary {
    text-align: left;
  }

  .tree-module-label {
    position: static;
  }

  .lesson-nodes {
    padding-left: 0;
    border-left: none;
  }

  .lesson-node::before {
    display: none;
  }
}

/* ==========================================================================
   Redesigned Tabbed Layout for Pro Learning Journey
   ========================================================================== */
.lesson-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.lesson-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.lesson-tab:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.03);
}

.lesson-tab.active {
  color: var(--path-gold);
  background: rgba(245, 200, 76, 0.09);
  border-color: rgba(245, 200, 76, 0.38);
  box-shadow: 
    rgba(245, 200, 76, 0.06) 0 4px 12px,
    rgba(245, 200, 76, 0.18) 0 0 20px;
}

.lesson-tab .tab-icon {
  font-size: 16px;
}

/* Tab Panels */
.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Premium Lesson Brief styling (Left Panel Summary Slide) */
.summary-desc {
  margin: 12px 0 16px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: var(--color-text-secondary);
}

.summary-context-card,
.summary-output-card {
  padding: 14px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 12px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.summary-context-card:hover,
.summary-output-card:hover {
  border-color: rgba(97, 218, 251, 0.3) !important;
  box-shadow: rgba(97, 218, 251, 0.04) 0 4px 12px;
}

.context-detail,
.output-detail {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.context-detail strong,
.output-detail strong {
  color: var(--color-text);
  font-weight: 700;
}

.output-text-highlight {
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--path-gold);
  color: var(--path-gold);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.45;
}

.summary-app-paths {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.015);
}

.summary-app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.summary-app-item {
  padding: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.summary-app-item:hover {
  background: rgba(245, 200, 76, 0.04);
  border-color: rgba(245, 200, 76, 0.15);
  transform: translateY(-1px);
}

.summary-app-item strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--path-gold);
  margin-bottom: 4px;
}

.summary-app-item p {
  margin: 0 !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  color: var(--color-text-secondary);
}

.summary-warning {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 4px solid #ff5a5f !important;
  border-radius: 4px 14px 14px 4px !important;
  background: rgba(255, 90, 95, 0.06) !important;
  color: var(--color-text-secondary) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.summary-warning strong {
  color: #ff5a5f !important;
  font-weight: 800 !important;
}

@media (max-width: 720px) {
  .summary-app-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Super-Pro Study Notes Vault & Certificate Styling
   ========================================================================== */
.notes-vault-container {
  margin: 18px 0 24px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: 
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 55%),
    rgba(7, 16, 29, 0.58);
}

.notes-vault-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.notes-vault-header h3 {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: var(--color-text);
}

.note-save-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-secondary);
}

.note-save-status i.dot-blink {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
}

.note-save-status.typing {
  color: var(--path-gold);
}

.note-save-status.typing i.dot-blink {
  background: var(--path-gold);
  box-shadow: 0 0 8px var(--path-gold);
  animation: notes-blink 0.8s infinite alternate;
}

@keyframes notes-blink {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

.notes-textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  background: #05080f;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  box-shadow: rgba(255, 255, 255, 0.02) 0 1px 0 inset;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.notes-textarea:focus {
  border-color: var(--path-gold);
  box-shadow: rgba(245, 200, 76, 0.12) 0 0 16px;
}

/* Interactive Quiz styling */
.quiz-card-interactive {
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.025);
  margin-bottom: 12px;
  transition: all 0.22s ease;
}

.quiz-card-interactive.answered-correct {
  border-color: rgba(16, 185, 129, 0.38);
  background: rgba(16, 185, 129, 0.04);
}

.quiz-card-interactive.answered-incorrect {
  border-color: rgba(239, 68, 68, 0.38);
  background: rgba(239, 68, 68, 0.04);
}

.quiz-question {
  margin: 0 0 14px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  color: var(--color-text);
}

.quiz-options {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.quiz-option-label {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  background: rgba(255, 255, 255, 0.015);
  cursor: pointer;
  transition: all 0.16s ease;
}

.quiz-option-label:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--button-outline);
}

.quiz-option-label input[type="radio"] {
  margin-top: 4px;
  accent-color: var(--path-gold);
}

.quiz-option-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.quiz-option-label input[type="radio"]:checked + .quiz-option-text {
  color: var(--color-text);
}

.quiz-feedback-box {
  margin-bottom: 14px;
  padding: 12px;
  border-radius: var(--radius-button);
  font-size: 13px;
  line-height: 1.5;
}

.quiz-feedback-box.correct {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.quiz-feedback-box.incorrect {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.feedback-badge {
  display: block;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.feedback-explain {
  margin: 0;
  color: var(--color-text-secondary) !important;
}

/* Celebration banner */
.celebration-banner {
  margin-bottom: 24px;
  width: 100%;
}

.celebration-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 2px solid rgba(245, 200, 76, 0.42);
  border-radius: 24px;
  background: 
    radial-gradient(circle at 50% 0%, rgba(245, 200, 76, 0.16), transparent 60%),
    rgba(7, 16, 29, 0.94);
  box-shadow: 
    var(--path-gold-glow),
    rgba(255, 255, 255, 0.03) 0 1px 0 inset;
  text-align: center;
}

.celebration-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(245, 200, 76, 0.04), transparent 70%);
  animation: celebrate-pulse 4s infinite alternate;
}

@keyframes celebrate-pulse {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

.celebration-badge {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(245, 200, 76, 0.38);
  border-radius: 999px;
  background: rgba(245, 200, 76, 0.09);
  color: var(--path-gold);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.celebration-card h3 {
  margin: 0 0 10px !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #fff;
}

.celebration-card p {
  max-width: 680px;
  margin: 0 auto 18px !important;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.celebration-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.cert-input {
  flex: 1;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  background: #05080f;
  color: var(--color-text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.cert-input:focus {
  border-color: var(--path-gold);
}

.cert-preview-container {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.cert-preview-container img {
  display: block;
  max-width: 100%;
  width: 480px;
  margin: 0 auto 12px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.cert-preview-container small {
  display: block;
  color: var(--color-text-secondary);
  font-size: 11px;
}

/* NotebookLM Vault styling */
.notebooklm-vault {
  margin-top: 12px;
  padding: 16px;
  border: 1px dashed rgba(245, 200, 76, 0.35);
  border-radius: var(--radius-card);
  background: rgba(245, 200, 76, 0.03);
  display: grid;
  gap: 12px;
  transition: all 0.2s ease;
}

.notebooklm-vault.active {
  border-style: solid;
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.04);
  box-shadow: rgba(16, 185, 129, 0.08) 0 0 20px;
}

.vault-badge {
  display: inline-block;
  justify-self: start;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.vault-badge.info {
  background: rgba(245, 200, 76, 0.12);
  color: var(--path-gold);
}

.vault-meta {
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.vault-meta strong {
  color: #fff;
  font-size: 14px;
}

.vault-input-group {
  display: flex;
  gap: 10px;
  width: 100%;
}

.notebooklm-input {
  flex: 1;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  background: #05080f;
  color: var(--color-text);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease;
}

.notebooklm-input:focus {
  border-color: var(--path-gold);
}

.vault-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.listen-cert-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  background: #10b981;
  color: #05080f !important;
  font-weight: 700;
  border-radius: var(--radius-button);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
  transition: all 0.2s ease;
}

.listen-cert-btn:hover {
  background: #34d399;
  transform: translateY(-1px);
}

/* Brief Accordion styling */
.video-brief-accordion {
  margin-top: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.brief-toggle-btn {
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  color: var(--color-text-secondary);
  border: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.brief-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
}

.brief-toggle-btn[aria-expanded="true"] {
  border-bottom: 1px solid var(--color-border);
}

.brief-content {
  padding: 12px;
  background: rgba(5, 8, 15, 0.3);
}

.toggle-icon {
  font-size: 10px;
  color: var(--color-text-secondary);
  transition: transform 0.2s ease;
}




/* ==========================================================================
   Competency Framework (Ajay Upadhyay Style) - Premium Upgrade
   ========================================================================== */
.competency-framework {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.005)), 
    rgba(5, 8, 15, 0.65);
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.competency-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Progress Wrapper */
.level-progress-wrapper {
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.level-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 12px;
}

.level-header h4 {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #00f5ff, #00b3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ajay-quote {
  font-style: italic;
  color: var(--color-text-secondary);
  font-size: 13px;
  opacity: 0.85;
}

/* Steps Layout */
.level-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.level-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Glow highlight line for hover */
.level-step::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: background-color 0.25s ease;
}

.level-step:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Trạng thái level người dùng */
.level-step.active {
  border-color: rgba(0, 245, 255, 0.3);
  background: rgba(0, 245, 255, 0.02);
}
.level-step.active::after {
  background: rgba(0, 245, 255, 0.4);
}

.level-step.completed {
  border-color: rgba(0, 255, 102, 0.2);
  background: rgba(0, 255, 102, 0.01);
}
.level-step.completed::after {
  background: rgba(0, 255, 102, 0.3);
}

/* TRẠNG THÁI SELECTED: TIÊU ĐIỂM THỊ GIÁC CỰC ĐẸP */
.level-step.selected {
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.12), rgba(0, 179, 255, 0.03)) !important;
  border-color: #00f5ff !important;
  box-shadow: 
    0 0 25px rgba(0, 245, 255, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-3px);
}
.level-step.selected::after {
  background: #00f5ff !important;
  height: 3px;
}

/* Trạng thái selected nếu đã completed */
.level-step.completed.selected {
  background: linear-gradient(135deg, rgba(0, 255, 102, 0.12), rgba(0, 255, 102, 0.03)) !important;
  border-color: #00ff66 !important;
  box-shadow: 
    0 0 25px rgba(0, 255, 102, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
}
.level-step.completed.selected::after {
  background: #00ff66 !important;
}

/* Icon thiết kế bóng bẩy */
.step-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.28s ease;
}

.level-step.active .step-icon {
  background: rgba(0, 245, 255, 0.2);
  color: #00f5ff;
  border-color: #00f5ff;
  box-shadow: 0 0 8px rgba(0, 245, 255, 0.3);
}

.level-step.completed .step-icon {
  background: rgba(0, 255, 102, 0.2);
  color: #00ff66;
  border-color: #00ff66;
}

.level-step.selected .step-icon {
  transform: scale(1.08);
  background: #00f5ff !important;
  color: #000 !important;
  border-color: #00f5ff !important;
  box-shadow: 0 0 12px #00f5ff;
}

.level-step.completed.selected .step-icon {
  background: #00ff66 !important;
  color: #000 !important;
  border-color: #00ff66 !important;
  box-shadow: 0 0 12px #00ff66;
}

/* Info text */
.step-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-info strong {
  font-size: 14px;
  color: #fff;
  font-weight: 700;
  transition: color 0.2s ease;
}

.level-step:hover .step-info strong,
.level-step.selected .step-info strong {
  color: #fff;
}

.step-info span {
  font-size: 11.5px;
  color: var(--color-text-secondary);
  line-height: 1.3;
}

/* Pill badge số lượng prompt */
.level-prompt-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  margin-left: auto;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.level-step:hover .level-prompt-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.level-step.selected .level-prompt-badge {
  background: rgba(0, 245, 255, 0.2) !important;
  color: #00f5ff !important;
  border-color: rgba(0, 245, 255, 0.3) !important;
}

.level-step.completed.selected .level-prompt-badge {
  background: rgba(0, 255, 102, 0.2) !important;
  color: #00ff66 !important;
  border-color: rgba(0, 255, 102, 0.3) !important;
}

/* Progress bar container */
.level-bar-container {
  height: 10px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
  margin-bottom: 6px;
}

.level-bar-target {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-image: linear-gradient(
    45deg,
    rgba(0, 245, 255, 0.15) 25%,
    transparent 25%,
    transparent 50%,
    rgba(0, 245, 255, 0.15) 50%,
    rgba(0, 245, 255, 0.15) 75%,
    transparent 75%,
    transparent
  );
  background-size: 15px 15px;
  animation: bar-stripes-move 1s linear infinite;
  border-right: 2px dashed rgba(0, 245, 255, 0.6);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

@keyframes bar-stripes-move {
  0% { background-position: 0 0; }
  100% { background-position: 15px 0; }
}

.level-bar {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, #00f5ff 0%, #00b3ff 50%, #00ff66 100%);
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(0, 245, 255, 0.6);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

/* Markers below the progress bar */
.level-bar-markers {
  position: relative;
  height: 22px;
  width: 100%;
  margin-bottom: 6px;
}

.bar-marker {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}

.marker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.5);
  margin-bottom: 2px;
  transition: all 0.3s ease;
}

.marker-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--color-text-secondary);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.bar-marker.reached .marker-dot {
  background: #00ff66;
  box-shadow: 0 0 6px #00ff66;
}

.bar-marker.reached .marker-label {
  color: #00ff66;
}

.bar-marker.viewing .marker-dot {
  background: #00f5ff;
  box-shadow: 0 0 6px #00f5ff;
  transform: scale(1.3);
}

.bar-marker.viewing .marker-label {
  color: #00f5ff;
}

/* Bản đồ kỹ năng chi tiết dạng Thẻ tương tác */
.framework-table-wrapper {
  margin-top: 8px;
}

.framework-table-wrapper h4 {
  margin: 0 0 10px 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
}

.competency-card-view {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 18px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.005));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.05),
    0 4px 15px rgba(0,0,0,0.15);
}

.comp-card-column {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.comp-card-column h5 {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #00f5ff;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.comp-card-column p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 600px) {
  .competency-card-view {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Prompt Tủ Section */
.prompt-vault-section {
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.prompt-vault-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 10px;
}

.prompt-vault-header h4 {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prompt-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.prompt-tab-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
  color: rgba(255, 255, 255, 0.65);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.prompt-tab-btn:hover {
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}

.prompt-tab-btn.active {
  background: linear-gradient(135deg, #00f5ff, #00b3ff);
  color: #05080f;
  border-color: #00f5ff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 245, 255, 0.35);
}

/* Prompt Content Box */
.prompt-content-box {
  background: #040711;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 16px 20px;
  position: relative;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.8);
}

.prompt-content-box pre {
  margin: 0;
  font-family: 'Fira Code', 'SFMono-Regular', Consolas, 'Courier New', monospace;
  font-size: 13px;
  color: #e1e7f0;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
}

.prompt-copy-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.prompt-copy-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.02);
}

@media (max-width: 900px) {
  .level-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ==========================================================================
   Advanced Skills Panel (Violet Neon Theme)
   ========================================================================== */
.skills-panel {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(139, 92, 246, 0.08), rgba(255, 255, 255, 0.015) 42%),
    rgba(7, 16, 29, 0.9);
  box-shadow: var(--shadow-soft), rgba(139, 92, 246, 0.08) 0 0 34px;
}

.skills-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.skills-tab {
  min-height: 118px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: rgba(5, 8, 15, 0.72);
  color: var(--color-text);
  text-align: left;
  box-shadow: rgba(255, 255, 255, 0.025) 0 1px 0 inset;
  transition: all 0.25s ease;
}

.skills-tab span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: linear-gradient(180deg, #a78bfa, #7c3aed);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 900;
  box-shadow: rgba(124, 58, 237, 0.3) 0 0 8px;
}

.skills-tab strong,
.skills-tab small {
  display: block;
}

.skills-tab strong {
  font-size: 14px;
  line-height: 1.25;
}

.skills-tab small {
  margin-top: 6px;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.35;
}

.skills-tab:hover,
.skills-tab.active {
  border-color: rgba(139, 92, 246, 0.72);
  background:
    linear-gradient(145deg, rgba(139, 92, 246, 0.16), rgba(255, 255, 255, 0.028)),
    rgba(5, 8, 15, 0.82);
  box-shadow: rgba(139, 92, 246, 0.3) 0 0 20px, rgba(255, 255, 255, 0.04) 0 1px 0 inset;
}

.skills-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  margin-top: 14px;
}

.skills-detail,
.skills-summary {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), transparent 70%),
    rgba(5, 8, 15, 0.68);
  padding: 20px;
}

.skills-hero {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.skills-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-radius: 18px;
  background: rgba(139, 92, 246, 0.08);
  color: #a78bfa;
  font-size: 34px;
  font-weight: 900;
  box-shadow: rgba(139, 92, 246, 0.18) 0 0 20px;
}

.skills-hero h3 {
  margin: 6px 0 8px;
  font-size: 24px;
  line-height: 1.15;
}

.skills-hero h3 em {
  color: #a78bfa;
  font-style: normal;
}

.skills-hero p {
  margin: 0;
  color: var(--color-text-secondary);
}

.skills-body {
  display: grid;
  gap: 20px;
}

.skills-body h4 {
  font-size: 16px;
  margin: 0 0 8px 0;
  color: var(--color-text);
  font-weight: 700;
}

.skills-body ul, .skills-body ol {
  margin: 0;
  padding-left: 20px;
  color: var(--color-text-secondary);
}

.skills-body li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.skills-body code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #a78bfa;
}

.skills-body pre {
  margin: 8px 0;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  background: #05080f;
  color: #a78bfa;
  font-family: var(--font-mono);
  font-size: 12px;
  overflow: auto;
  position: relative;
}

.skills-body pre .copy-code-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 8px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.skills-body pre .copy-code-btn:hover {
  background: #7c3aed;
  border-color: #a78bfa;
}

.skills-body .info-card {
  padding: 14px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.06);
  border-left: 4px solid #7c3aed;
}

.skills-body .info-card strong {
  display: block;
  margin-bottom: 4px;
  color: #a78bfa;
}

.skills-body .info-card p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.skills-summary {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-start;
}

.skills-summary h4 {
  font-size: 14px;
  margin: 0;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: #a78bfa;
}

.skills-summary-item {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
}

.skills-summary-item:last-child {
  border: none;
  padding: 0;
}

.skills-summary-item strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.skills-summary-item p {
  margin: 0;
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .skills-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .skills-content {
    grid-template-columns: 1fr;
  }
}

/* --- PREMIUM LOCKS & PROMO --- */
.lesson-node {
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lesson-node.locked {
  opacity: 0.55;
  filter: grayscale(60%) contrast(90%);
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(5, 8, 15, 0.35) !important;
}

.lesson-node.locked:hover {
  opacity: 0.85;
  filter: grayscale(20%) contrast(100%);
  border-color: rgba(245, 200, 76, 0.35);
  box-shadow: rgba(245, 200, 76, 0.1) 0 0 12px;
}

.node-lock {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 13px;
  color: var(--path-gold);
  filter: drop-shadow(0 0 4px rgba(245, 200, 76, 0.5));
}

.premium-activation-card {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(245, 200, 76, 0.22);
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(245, 200, 76, 0.12) 0%, rgba(7, 16, 29, 0.85) 100%);
  box-shadow: rgba(245, 200, 76, 0.04) 0 8px 24px;
  position: relative;
  overflow: hidden;
  animation: pulseGoldBorder 4s infinite alternate;
}

@keyframes pulseGoldBorder {
  0% { border-color: rgba(245, 200, 76, 0.2); }
  100% { border-color: rgba(245, 200, 76, 0.45); }
}

.premium-activation-card .promo-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--path-gold);
  color: #05080f;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.premium-activation-card h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: #f9fafb;
}

.premium-activation-card p {
  margin: 0 0 14px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--color-text-secondary);
}

.btn-glowing-gold {
  width: 100%;
  min-height: 38px;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(180deg, #f5c84c 0%, #c99c27 100%);
  color: #05080f !important;
  box-shadow: rgba(245, 200, 76, 0.3) 0 4px 16px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-glowing-gold:hover {
  transform: translateY(-1px);
  box-shadow: rgba(245, 200, 76, 0.45) 0 6px 20px;
  filter: brightness(1.05);
}

.premium-active-badge {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(0, 255, 102, 0.2);
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(0, 255, 102, 0.08) 0%, rgba(5, 8, 15, 0.8) 100%);
  color: #00ff66;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: rgba(0, 255, 102, 0.05) 0 4px 12px;
}

.premium-active-badge .badge-icon {
  animation: spinCrown 4s infinite linear;
}

@keyframes spinCrown {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(15deg); }
  20% { transform: rotate(-15deg); }
  30% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

/* --- PAYMENT MODAL SYSTEM --- */
.payment-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(3, 5, 10, 0.76);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeInOverlay 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.payment-modal-card {
  width: 100%;
  max-width: 820px;
  background: linear-gradient(145deg, rgba(13, 23, 38, 0.95), rgba(7, 16, 29, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow:
    0 24px 64px -12px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(139, 92, 246, 0.08),
    rgba(255, 255, 255, 0.02) 0 1px 0 inset;
  overflow: hidden;
  position: relative;
  animation: slideInCard 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInCard {
  from { transform: translateY(24px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.payment-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payment-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(90deg, #ffffff, var(--path-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.payment-close-btn {
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  font-size: 24px;
  line-height: 1;
  padding: 4px;
  cursor: pointer;
  transition: color 0.2s;
}

.payment-close-btn:hover {
  color: #ffffff;
}

.payment-modal-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 480px;
}

@media (max-width: 768px) {
  .payment-modal-body {
    grid-template-columns: 1fr;
  }
}

.payment-modal-left {
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.payment-modal-right {
  padding: 24px;
  background: rgba(5, 8, 15, 0.4);
  display: flex;
  flex-direction: column;
}

/* Benefits section */
.premium-benefits {
  margin-bottom: 20px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.benefit-icon {
  color: var(--path-gold);
  font-size: 15px;
  margin-top: 1px;
}

.benefit-text strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
}

.benefit-text span {
  font-size: 11.5px;
  color: var(--color-text-secondary);
  line-height: 1.4;
  display: block;
}

/* Tabs styling */
.payment-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(5, 8, 15, 0.6);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 20px;
}

.payment-tab-btn {
  background: transparent;
  border: none;
  padding: 8px 12px;
  border-radius: 7px;
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  transition: all 0.2s ease;
}

.payment-tab-btn.active {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.2) 0 2px 8px;
}

/* Payment panels */
.payment-tab-panel {
  display: none;
  flex-direction: column;
  flex-grow: 1;
}

.payment-tab-panel.active {
  display: flex;
}

/* User Form */
.payment-form {
  display: grid;
  gap: 12px;
}

.payment-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.payment-form-group label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
}

.payment-input {
  background: rgba(5, 8, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 12px;
  color: #ffffff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.payment-input:focus {
  border-color: var(--path-gold);
  box-shadow: rgba(245, 200, 76, 0.12) 0 0 10px;
}

/* VietQR Section */
.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  text-align: center;
}

.qr-box {
  width: 240px;
  height: 240px;
  background: #ffffff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: rgba(0, 0, 0, 0.4) 0 10px 30px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}

.qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-placeholder-text {
  color: #05080f;
  font-size: 11px;
  font-weight: 600;
  padding: 10px;
}

.bank-details {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
  text-align: left;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  margin-bottom: 6px;
  align-items: center;
}

.bank-row:last-child {
  margin-bottom: 0;
}

.bank-row span:first-child {
  color: var(--color-text-secondary);
}

.bank-row span:last-child {
  color: #ffffff;
  font-weight: 700;
}

.bank-row .copy-icon-btn {
  background: none;
  border: none;
  color: var(--path-gold);
  cursor: pointer;
  padding: 0 4px;
  font-size: 10px;
  margin-left: 4px;
}

.timer-box {
  margin-top: auto;
  text-align: center;
  font-size: 11.5px;
  color: var(--color-text-secondary);
  width: 100%;
}

.timer-count {
  color: #ff5252;
  font-family: var(--font-mono);
  font-weight: 700;
}

.timer-progress-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  margin-top: 6px;
  border-radius: 99px;
  overflow: hidden;
}

.timer-progress-fill {
  height: 100%;
  background: #ff5252;
  width: 100%;
  transition: width 1s linear;
}

/* Promo code section */
.promo-code-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.promo-code-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
}

.promo-hint {
  font-size: 11px;
  color: var(--color-text-secondary);
  line-height: 1.45;
  margin-top: 10px;
}

.promo-hint code {
  color: var(--path-gold);
  background: rgba(245, 200, 76, 0.1);
  padding: 1px 4px;
  border-radius: 3px;
  font-family: var(--font-mono);
}

.promo-error-msg {
  color: #ff5252;
  font-size: 11.5px;
  margin-top: 8px;
  display: none;
}

/* Mock Checking State */
.checking-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 16, 29, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  text-align: center;
  padding: 30px;
}

.payment-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.05);
  border-top-color: var(--path-gold);
  border-radius: 50%;
  animation: spin 1s infinite linear;
  margin-bottom: 20px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.checking-overlay h4 {
  font-size: 18px;
  margin: 0 0 10px;
  color: #ffffff;
}

.checking-overlay p {
  color: var(--color-text-secondary);
  font-size: 13px;
  margin: 0;
}

/* Success State overlay */
.success-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 8, 15, 0.98), rgba(7, 10, 20, 0.98));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
  text-align: center;
  padding: 30px;
}

.success-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 255, 102, 0.1);
  border: 2px solid #00ff66;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #00ff66;
  margin-bottom: 24px;
  animation: scaleInCheck 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleInCheck {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-overlay h4 {
  font-size: 24px;
  margin: 0 0 12px;
  color: #ffffff;
  font-weight: 800;
}

.success-overlay p {
  color: var(--color-text-secondary);
  font-size: 14px;
  max-width: 320px;
  line-height: 1.5;
  margin: 0 0 24px;
}

/* Bonus Agent Styles */
.bonus-agent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.bonus-agent-card {
  background: rgba(13, 23, 38, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 14px;
  padding: 20px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.bonus-agent-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.15);
  transform: translateY(-2px);
}

.bonus-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.15);
  padding: 4px 8px;
  border-radius: 99px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bonus-agent-card h4 {
  font-size: 16px;
  margin: 0 0 8px 0;
  color: #fff;
  font-weight: 700;
}

.bonus-agent-card p {
  font-size: 13.5px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0 0 14px 0;
}

.bonus-agent-card pre {
  margin: 12px 0 0 0;
  padding: 14px;
  background: #040711;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #e1e7f0;
  overflow: auto;
  max-height: 200px;
  position: relative;
  white-space: pre;
}

.bonus-agent-card .prompt-copy-btn {
  top: 24px;
  right: 14px;
}

@media (max-width: 768px) {
  .bonus-agent-grid {
    grid-template-columns: 1fr;
  }
}

/* Chặn bôi đen sao chép văn bản (Disable text selection) */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Vẫn cho phép chọn văn bản trong các ô nhập liệu và code để người dùng sao chép prompt */
input, textarea, code, pre, .copy-btn, .prompt-copy-btn, .listen-cert-btn {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* ==========================================================================
   STUDENT ACCOUNT DASHBOARD & PROFILE SIDEBAR WIDGET
   ========================================================================== */

/* 1. Sidebar User Profile Widget */
.auth-card.logged-in {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-card);
  padding: 14px;
  margin: 12px 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: rgba(0, 0, 0, 0.15) 0 4px 12px;
}

.auth-card.logged-in:hover {
  border-color: rgba(245, 200, 76, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: rgba(245, 200, 76, 0.05) 0 4px 20px;
}

.user-avatar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e65c00, #f5c84c);
  color: #05080f;
  font-weight: 800;
  font-size: 16px;
  display: grid;
  place-items: center;
  box-shadow: 0 0 10px rgba(245, 200, 76, 0.3);
  text-shadow: 0 0.5px 1px rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  font-family: var(--font-sans);
  overflow: hidden;
}

.user-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.user-info-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.user-display-name {
  font-weight: 700;
  color: var(--color-text);
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role-badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
  margin-top: 3px;
  width: fit-content;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.user-role-badge.premium {
  background: rgba(245, 200, 76, 0.16);
  color: #f5c84c;
  border: 1px solid rgba(245, 200, 76, 0.25);
}

.user-role-badge.free {
  background: rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-action-hint {
  font-size: 10px;
  color: var(--color-text-secondary);
  text-align: right;
  margin-top: 8px;
  opacity: 0.6;
  font-family: var(--font-mono);
  transition: all 0.2s ease;
}

.auth-card.logged-in:hover .sidebar-action-hint {
  color: var(--path-gold);
  opacity: 1;
  transform: translateX(3px);
}

/* 2. Main Dashboard Section Layout */
.account-dashboard-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: dashboardFadeIn 0.35s ease;
  margin-bottom: 30px;
}

@keyframes dashboardFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dashboard Header Card */
.dashboard-header-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent), var(--color-surface);
  box-shadow: var(--shadow-soft);
  gap: 20px;
}

.dashboard-header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dashboard-avatar-large {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e65c00, #f5c84c);
  color: #05080f;
  font-weight: 900;
  font-size: 26px;
  display: grid;
  place-items: center;
  box-shadow: 0 0 16px rgba(245, 200, 76, 0.45);
  flex-shrink: 0;
  overflow: hidden;
}

.dashboard-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dashboard-user-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-user-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.dashboard-user-joined {
  font-size: 13.5px;
  color: var(--color-text-secondary);
}

.dashboard-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.dashboard-back-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.dashboard-signout-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.dashboard-signout-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
}

/* Tabs Navigation */
.dashboard-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2px;
  margin-top: 10px;
}

.dashboard-tab-trigger {
  background: none;
  border: none;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  border-radius: 8px 8px 0 0;
  position: relative;
  transition: all 0.2s ease;
  cursor: pointer;
}

.dashboard-tab-trigger:hover {
  color: #fff;
}

.dashboard-tab-trigger.active {
  color: var(--path-gold);
}

.dashboard-tab-trigger.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--path-gold);
  border-radius: 99px;
  box-shadow: 0 0 10px var(--path-gold);
}

.dashboard-tab-panel {
  display: none;
  padding: 10px 0;
  animation: dashboardFadeIn 0.3s ease;
}

.dashboard-tab-panel.active {
  display: block;
}

/* Card General */
.dashboard-panel-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.dashboard-panel-title {
  font-size: 18px;
  font-weight: 750;
  margin: 0 0 20px 0;
  color: #fff;
  border-left: 3px solid var(--path-gold);
  padding-left: 10px;
}

/* Profile Form Styles */
.dashboard-form-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 540px;
}

.dashboard-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dashboard-form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

.dashboard-form-group input {
  width: 100%;
  min-height: 42px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: #fff;
  padding: 0 14px;
  font-size: 14px;
  transition: all 0.2s;
}

.dashboard-form-group input:focus {
  border-color: var(--path-gold);
  outline: none;
  box-shadow: 0 0 8px rgba(245, 200, 76, 0.2);
}

.dashboard-form-group input:disabled {
  background: rgba(255, 255, 255, 0.02);
  color: var(--color-text-secondary);
  border-color: rgba(255, 255, 255, 0.05);
  cursor: not-allowed;
}

.dashboard-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.2);
  color: #00ff66;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  width: fit-content;
}

.dashboard-save-btn {
  background: linear-gradient(180deg, #f9fafb, var(--path-gold));
  color: #05080f;
  font-weight: 800;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s;
  width: fit-content;
  margin-top: 8px;
}

.dashboard-save-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(245, 200, 76, 0.3);
}

.dashboard-save-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 3. Course Dashboard Tab Layout */
.dashboard-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.dashboard-course-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 20px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;
}

.dashboard-course-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.12);
}

.dashboard-course-card.active {
  border-color: rgba(245, 200, 76, 0.35);
  box-shadow: rgba(245, 200, 76, 0.05) 0 10px 30px;
}

.course-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 9px;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.course-card-badge.active {
  background: rgba(0, 245, 255, 0.12);
  color: #00f5ff;
  border: 1px solid rgba(0, 245, 255, 0.2);
}

.course-card-badge.future {
  background: rgba(245, 200, 76, 0.12);
  color: #f5c84c;
  border: 1px solid rgba(245, 200, 76, 0.2);
}

.dashboard-course-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px 0;
  padding-right: 70px;
  line-height: 1.4;
}

.dashboard-course-card p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0 0 18px 0;
  flex-grow: 1;
}

.course-progress-container {
  margin-bottom: 16px;
}

.course-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
  font-family: var(--font-mono);
}

.course-progress-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  overflow: hidden;
}

.course-progress-fill-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--path-gold), #fff);
  box-shadow: 0 0 8px var(--path-gold);
  transition: width 0.3s;
}

.course-action-trigger {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.dashboard-course-card.active .course-action-trigger {
  background: var(--path-gold);
  color: #05080f;
  border: none;
  font-weight: 750;
}

.dashboard-course-card.active .course-action-trigger:hover {
  box-shadow: 0 4px 12px rgba(245, 200, 76, 0.35);
}

/* 4. Resources Dashboard Tab Layout */
.resources-vault-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.resource-download-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  transition: all 0.2s;
  gap: 16px;
}

.resource-download-row:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.08);
}

.resource-row-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.resource-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(245, 200, 76, 0.08);
  color: var(--path-gold);
  font-size: 20px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(245, 200, 76, 0.12);
}

.resource-meta-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.resource-title-name {
  font-size: 15px;
  font-weight: 650;
  color: #fff;
}

.resource-file-info {
  font-size: 12px;
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
}

.resource-download-button {
  background: var(--elevate-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.resource-download-button:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* Resources Lock Blur State overlay */
.dashboard-panel-card.resources-locked {
  overflow: hidden;
}

.resources-lock-glass-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  padding: 24px;
}

.resources-lock-box {
  background: rgba(7, 16, 29, 0.95);
  border: 1px solid rgba(245, 200, 76, 0.35);
  border-radius: 20px;
  padding: 32px 24px;
  max-width: 460px;
  box-shadow: rgba(245, 200, 76, 0.15) 0 0 35px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lock-shield-gold {
  font-size: 46px;
  filter: drop-shadow(0 0 10px rgba(245, 200, 76, 0.5));
  margin-bottom: 4px;
}

.resources-lock-box h4 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.resources-lock-box p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0 0 10px 0;
}

.lock-upgrade-action-btn {
  background: linear-gradient(180deg, #f9fafb, var(--path-gold));
  color: #05080f;
  font-weight: 850;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-button);
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(245, 200, 76, 0.3);
}

.lock-upgrade-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 200, 76, 0.45);
}

/* 5. Settings Dashboard Tab Layout */
.settings-forms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.settings-sub-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 18px;
}

.settings-sub-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

/* ==========================================================================
   Diagnostic Survey Modal Styling
   ========================================================================== */
.survey-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(5, 8, 15, 0.75);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease forwards;
}

.survey-modal-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  width: 100%;
  max-width: 680px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.03);
  overflow: hidden;
  padding: 40px;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.survey-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-size: 28px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.survey-close-btn:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
}

.survey-slide {
  display: none;
  flex-direction: column;
  flex-grow: 1;
  animation: fadeSlideIn 0.3s ease forwards;
}

.survey-slide.active {
  display: flex;
}

.survey-header {
  margin-bottom: 28px;
}

.survey-step-num {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  background: var(--color-surface-2);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.survey-header h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 12px 0 6px;
  color: var(--color-text);
}

.survey-header p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0;
}

.survey-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

/* Adjust grid for Question 3 since it has 3 options */
.survey-slide[data-step="3"] .survey-options {
  grid-template-columns: 1fr;
}

.survey-option-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.survey-option-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
}

.survey-option-card.selected {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-text);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.option-icon {
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.option-info strong {
  font-size: 15px;
  color: var(--color-text);
}

.option-info span {
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

/* Result Screen Styling */
.survey-result-box {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-badge-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.result-icon {
  font-size: 32px;
}

.survey-result-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--color-text);
}

.result-reason {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.result-outcomes-box h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  margin: 12px 0 8px;
}

.result-outcomes-box ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.result-outcomes-box li {
  font-size: 13.5px;
  color: var(--color-text);
  line-height: 1.4;
}

.survey-action-box {
  margin-top: auto;
}

.btn-block {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
}

/* Survey Footer */
.survey-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.survey-progress-dots {
  display: flex;
  gap: 8px;
}

.survey-progress-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  transition: all 0.3s ease;
}

.survey-progress-dots .dot.active {
  background: var(--color-text);
  transform: scale(1.2);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .survey-options {
    grid-template-columns: 1fr;
  }
  
  .survey-modal-card {
    padding: 24px;
    min-height: auto;
  }
}



