/* 
  SAFEONCLOUD ACADEMY - Vintar Modern E-Learning Aesthetic Design System
  Copyright (c) 2026 SAFEONCLOUD SOLUTIONS LTD. All Rights Reserved.
*/

@font-face {
  font-family: 'Satoshi';
  src: url('https://framerusercontent.com/third-party-assets/fontshare/wf/LAFFD4SDUCDVQEXFPDC7C53EQ4ZELWQI/PXCT3G6LO6ICM5I3NTYENYPWJAECAWDD/GHM6WVH6MILNYOOCXHXB5GTSGNTMGXZR.woff2') format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800;900&family=Inter+Tight:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Coursera-style Blue & White Design System */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-dark: rgba(0, 86, 210, 0.03);

  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-light: #ffffff;

  --color-brand: #0056d2;       /* Coursera Blue */
  --color-brand-light: #0073e6; /* Hover Blue */
  --color-accent: #003a9b;      /* Deep Blue */
  --color-accent-hover: #002d7a;
  --color-gold: #0056d2;
  --color-gold-hover: #0049ba;

  --color-success: #10b981;
  --color-danger: #ef4444;
  --color-warning: #f59e0b;

  --border-light: 1px solid #e5e7eb;
  --border-gold: 1px solid rgba(0, 86, 210, 0.15);
  --border-radius-lg: 12px;
  --border-radius-md: 8px;

  --shadow-premium: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-card-hover: 0 8px 24px rgba(0, 86, 210, 0.10);
  --shadow-button: 0 4px 14px rgba(0, 86, 210, 0.28);

  --font-title: 'Inter', 'Bricolage Grotesque', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-smooth: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  --transition-fast: all 0.15s ease-in-out;
}

/* 全局重置与排版 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 52px;
  letter-spacing: -0.04em;
}

h2 {
  font-size: 36px;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 26px;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button, select, textarea, input {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-smooth);
}

/* ==================== SPA 视图控制系统 ==================== */
.spa-view {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* 后台/控制面板容器大布局 */
.container-view {
  min-height: 100vh;
  background-color: var(--bg-primary);
}
.container-view.active {
  display: flex;
}

/* ==================== Sidebar 侧边栏 ==================== */
.sidebar {
  width: 250px;
  background-color: #ffffff;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  z-index: 100;
  border-right: 1px solid #e5e7eb;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  color: var(--color-brand);
  margin-bottom: 40px;
}

.sidebar-brand span {
  color: var(--color-brand);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--color-brand);
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.sidebar-menu li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: var(--border-radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.sidebar-menu li i {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.sidebar-menu li:hover {
  background-color: rgba(0, 86, 210, 0.06);
  color: var(--color-brand);
  transform: translateX(4px);
}

.sidebar-menu li.active {
  background-color: rgba(0, 86, 210, 0.1);
  color: var(--color-brand);
  box-shadow: none;
}

/* ==================== Dashboard 控制台内容区 ==================== */
.dashboard-content {
  flex-grow: 1;
  margin-left: 250px;
  padding: 40px;
  min-height: 100vh;
  overflow-y: auto;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: var(--border-light);
}

.dash-user-badge {
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
  color: var(--text-light);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--color-accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-user-badge i {
  color: var(--color-accent);
}

/* 看板数据三神格 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.stat-card {
  background-color: var(--bg-secondary);
  border: var(--border-light);
  box-shadow: var(--shadow-premium);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.stat-card h4 {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.stat-num {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 4px;
}

/* tab 面板切换控制 */
.tab-panel {
  display: none;
  opacity: 0;
  transition: var(--transition-smooth);
}

.tab-panel.active {
  display: block;
  opacity: 1;
}

/* ==================== 播放器双分栏专有样式 ==================== */
.player-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 30px;
}

.player-main {
  display: flex;
  flex-direction: column;
}

.player-video-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #000;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.player-sidebar {
  background-color: var(--bg-secondary);
  border: var(--border-light);
  box-shadow: var(--shadow-premium);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.task-tree {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tree-domain {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  padding: 14px 8px 6px 8px;
  border-bottom: 1px dashed rgba(196,154,86,0.2);
  text-transform: uppercase;
}

.tree-task {
  padding: 10px 14px;
  border-radius: var(--border-radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tree-task:hover {
  background-color: rgba(0, 86, 210, 0.03);
  color: var(--color-brand);
}

.tree-task.active {
  background-color: rgba(0, 86, 210, 0.07);
  color: var(--color-accent-hover);
  border-left: 3px solid var(--color-accent);
}

.tree-task .tag {
  margin-left: auto;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.05);
}

.tree-task .tag-success {
  background-color: rgba(47, 133, 90, 0.1);
  color: var(--color-success);
}

/* ==================== 账单与表格样式 ==================== */
.orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 13px;
}

.orders-table th {
  background-color: rgba(0, 86, 210, 0.03);
  color: var(--text-primary);
  text-align: left;
  padding: 14px 16px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.orders-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text-secondary);
}

.orders-table tr:hover td {
  background-color: rgba(0, 86, 210, 0.03);
}

/* 打卡日历微交互 */
.streak-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.streak-day {
  aspect-ratio: 1;
  border-radius: var(--border-radius-md);
  background-color: rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid transparent;
}

.streak-day.done {
  background: rgba(47, 133, 90, 0.1);
  color: var(--color-success);
  border-color: rgba(47,133,90,0.2);
}

.streak-day.active {
  background: var(--color-accent);
  color: var(--text-light);
  box-shadow: 0 4px 10px rgba(196,154,86,0.3);
}

/* ==================== 通用样式与组件扩展 ==================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header 导航栏 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: var(--border-light);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.header.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-premium);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.highlight-word {
  color: var(--color-brand);
  position: relative;
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 800;
}

.highlight-word::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(0, 86, 210, 0.25);
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-1deg);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 22px;
  color: var(--color-brand);
}

.logo span {
  color: var(--color-accent);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-brand), var(--color-accent));
  border-radius: 6px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid var(--bg-secondary);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--color-brand);
}

.nav-links a:hover::after {
  width: 100%;
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 语言下拉菜单 */
.lang-dd { position: relative; display: inline-block; margin-left: 8px; }
.lang-dd-trigger { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--text-secondary); background: none; border: none; cursor: pointer; padding: 6px 4px; transition: color 0.15s; white-space: nowrap; }
.lang-dd-trigger:hover { color: var(--text-primary); }
.lang-dd-caret { transition: transform 0.15s; flex: none; color: currentColor; }
.lang-dd-caret.open { transform: rotate(180deg); }
.lang-dd-menu { position: absolute; top: calc(100% + 8px); right: 0; width: 140px; background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 1px 4px rgba(0,0,0,0.06); list-style: none; padding: 6px; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 0.17s ease, transform 0.17s ease; z-index: 200; visibility: hidden; }
.lang-dd-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; visibility: visible; }
.lang-dd-item { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 7px; font-size: 14px; color: #1a1a1a; cursor: pointer; transition: background 0.12s; }
.lang-dd-item:hover { background: rgba(0,0,0,0.05); }
.lang-dd-check { width: 16px; font-size: 13px; color: var(--color-brand); flex: none; }

/* 按钮样式体系 */
.btn {
  padding: 10px 24px;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.btn-link {
  color: var(--color-brand);
  font-weight: 600;
}

.btn-link:hover {
  color: var(--color-accent);
}

.btn-primary {
  background-color: var(--color-brand);
  color: var(--text-light);
  border: 1px solid var(--color-brand);
}

.btn-primary:hover {
  background-color: var(--color-brand-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 86, 210, 0.15);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--text-light);
  border: 1px solid var(--color-accent);
  box-shadow: var(--shadow-button);
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 86, 210, 0.25);
}

.btn-gold {
  background-color: var(--color-gold);
  color: var(--text-light);
  border: 1px solid var(--color-gold);
  box-shadow: 0 4px 14px rgba(0, 86, 210, 0.2);
}

.btn-gold:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 86, 210, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-brand);
  border: 1px solid var(--color-brand);
}

.btn-secondary:hover {
  background-color: rgba(0, 86, 210, 0.05);
  transform: translateY(-2px);
}

/* Hero 头部版块 */
.hero {
  padding: 200px 0 120px 0;
  background: radial-gradient(circle at top right, rgba(0, 86, 210, 0.05), transparent 45%),
              radial-gradient(circle at bottom left, rgba(0, 86, 210, 0.02), transparent 50%);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 62px;
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -1.5px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--color-brand) 30%, var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 19px;
  color: var(--text-secondary);
  margin-bottom: 44px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-badge-container {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-badge-container i {
  color: var(--color-accent);
  font-size: 16px;
}

.hero-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.illustration-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: var(--border-light);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.06);
  padding: 30px;
  position: relative;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.illustration-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-brand), var(--color-accent));
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* Feature 特色版块 */
.features {
  padding: 110px 0;
  background-color: var(--bg-secondary);
}

.section-title {
  text-align: center;
  margin-bottom: 64px;
}

.section-title h2 {
  font-size: 40px;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  letter-spacing: -0.5px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
}

.section-title p {
  font-size: 16px;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* 尊贵卡片设计 (Premium Card)对标 CourseSite/Luma */
.premium-card {
  background: var(--bg-secondary);
  border: var(--border-light);
  box-shadow: var(--shadow-premium);
  border-radius: var(--border-radius-lg);
  padding: 36px;
  position: relative;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.premium-card:hover {
  transform: translateY(-6px) scale(1.005) rotate(0.1deg);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-card-hover);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(0, 86, 210, 0.07); /* 极浅电光青底 */
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.premium-card:hover .feature-icon {
  background: var(--color-accent);
  color: var(--text-light);
}

.premium-card h3 {
  font-family: var(--font-title);
  font-size: 20px;
  margin-bottom: 14px;
}

.premium-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Course Grid 课程选择 */
.courses {
  padding: 110px 0;
  background-color: var(--bg-primary);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.course-card {
  display: flex;
  flex-direction: column;
}

.course-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--color-brand);
  color: var(--text-light);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.course-card .course-title-block {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.course-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.course-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

/* 进度条 */
.progress-container {
  margin-bottom: 24px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background-color: rgba(0, 86, 210, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--color-brand), var(--color-accent));
  border-radius: 4px;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.price {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
}

.price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

/* 商标免责小字 */
.course-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
  font-style: italic;
  line-height: 1.4;
}

.testimonials {
  padding: 110px 0;
  background-color: var(--bg-secondary);
  background-image: radial-gradient(circle at bottom right, rgba(0, 86, 210, 0.04), transparent 40%);
}

.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 50px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: var(--border-light);
  box-shadow: var(--shadow-premium);
  border-radius: var(--border-radius-lg);
}

.quote-icon {
  font-size: 40px;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 700;
  font-size: 18px;
  border: 2px solid var(--bg-secondary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.author-info h4 {
  font-size: 16px;
  margin-bottom: 2px;
}

.author-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Global Footer 页脚 */
.footer {
  background-color: #1f2937;
  color: rgba(255, 255, 255, 0.8);
  padding: 110px 0 60px 0;
  font-size: 14px;
  border-top: 3px solid var(--color-brand);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about .logo {
  color: var(--text-light);
  margin-bottom: 20px;
}

.footer-about p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-title {
  color: var(--text-light);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #60a5fa;
  padding-left: 4px;
}

.footer-disclaimer-box {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--color-accent);
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 40px;
}

.footer-disclaimer-box h5 {
  color: var(--text-light);
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-disclaimer-box p {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* Modal 模态框体系 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 24, 40, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--bg-primary);
  width: 95%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: var(--border-radius-lg);
  border: var(--border-light);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-primary);
  z-index: 10;
}

.modal-close:hover {
  background-color: var(--color-danger);
  color: var(--text-light);
}

/* 模拟模考引擎布局 */
.exam-header {
  background-color: var(--color-brand);
  color: var(--text-light);
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.exam-header h3 {
  color: var(--text-light);
  font-size: 20px;
}

.exam-timer {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  font-family: monospace;
}

/* Coming Soon 课程定价：Professional 卡片去掉"最受欢迎"高亮，与左右卡片视觉一致 */
.pricing-grid.coming-soon-pricing .pricing-badge-popular {
  display: none !important;
}
.pricing-grid.coming-soon-pricing .pricing-card-popular {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04) !important;
  transform: none !important;
  padding: 36px 30px !important;
}
.pricing-grid.coming-soon-pricing .pricing-card-popular,
.pricing-grid.coming-soon-pricing .pricing-card-popular * {
  color: var(--text-secondary) !important;
}
.pricing-grid.coming-soon-pricing .pricing-card-popular hr {
  border-top-color: rgba(0,0,0,0.07) !important;
}
.pricing-grid.coming-soon-pricing .pricing-card-popular .price-coming-soon span {
  color: var(--text-muted) !important;
}
.pricing-grid.coming-soon-pricing .pricing-card-popular i.fa-solid.fa-circle-check {
  color: var(--color-success) !important;
}

.exam-body {
  padding: 36px;
}

.question-meta {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.question-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.option-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background-color: var(--bg-secondary);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--border-radius-md);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.option-item:hover {
  border-color: var(--color-brand);
  background-color: rgba(0, 86, 210, 0.02);
}

.option-prefix {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(0, 86, 210, 0.06);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  margin-right: 16px;
  transition: var(--transition-fast);
}

.option-item.selected {
  border-color: var(--color-brand);
  background-color: rgba(0, 86, 210, 0.05);
}

.option-item.selected .option-prefix {
  background-color: var(--color-brand);
  color: var(--text-light);
}

/* 模考对错判定交互类 */
.option-item.correct {
  border-color: var(--color-success) !important;
  background-color: rgba(47, 133, 90, 0.08) !important;
  color: var(--color-success) !important;
}

.option-item.correct .option-prefix {
  background-color: var(--color-success) !important;
  color: var(--text-light) !important;
}

.option-item.wrong {
  border-color: var(--color-danger) !important;
  background-color: rgba(197, 48, 48, 0.08) !important;
  color: var(--color-danger) !important;
}

.option-item.wrong .option-prefix {
  background-color: var(--color-danger) !important;
  color: var(--text-light) !important;
}

/* 教练解析面板 */
.coach-panel {
  background: var(--bg-secondary);
  border: var(--border-gold);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--border-radius-md);
  padding: 24px;
  margin-top: 24px;
  opacity: 0;
  transform: translateY(10px);
  display: none;
  transition: var(--transition-smooth);
}

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

.coach-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.coach-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand), var(--color-accent));
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.coach-header h4 {
  font-size: 15px;
  color: var(--text-primary);
}

.coach-content {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.coach-gold-rule {
  background-color: rgba(0, 86, 210, 0.06);
  border-radius: 4px;
  padding: 12px 16px;
  margin-top: 16px;
  font-weight: 600;
  font-size: 13px;
  color: var(--color-gold-hover);
  border-left: 2px solid var(--color-gold);
}

.exam-footer {
  display: flex;
  justify-content: space-between;
  padding: 20px 36px;
  background-color: rgba(0, 0, 0, 0.02);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* 播放器带水印模态框 */
.player-container {
  padding: 30px;
}

.player-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #000;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.player-mock-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.watermark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-light);
  z-index: 10;
}

.play-bar {
  flex-grow: 1;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.play-bar-progress {
  width: 35%;
  height: 100%;
  background-color: var(--color-accent);
  border-radius: 2px;
}

/* 移动端响应式断点 */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-badge-container {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .course-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  /* 侧栏在移动端折叠 */
  .sidebar {
    width: 60px;
    padding: 20px 10px;
  }
  .sidebar-brand span {
    display: none;
  }
  .sidebar-menu li span {
    display: none;
  }
  .dashboard-content {
    margin-left: 60px;
    padding: 20px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .player-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header {
    height: 70px;
  }
  
  .hero-content h1 {
    font-size: 32px !important;
    letter-spacing: -1px !important;
    white-space: normal !important;
  }

  .nav-links {
    display: none; /* 移动端折叠 */
  }

  .auth-buttons {
    display: flex;
    gap: 6px;
  }

  /* 手机端只显示 Login，隐藏 Sign Up 按钮 */
  #btn-register {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .exam-footer {
    flex-direction: column;
    gap: 12px;
  }
}

/* ==================== View Transitions & Custom High-End Interactions ==================== */

/* Custom Scrollbar for modern premium browsers */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(129, 79, 255, 0.15);
  border-radius: 10px;
  border: 2px solid var(--bg-primary);
  transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(129, 79, 255, 0.3);
}

/* Enhancing Hover Aesthetics of Cards */
.premium-card {
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
.premium-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  border-color: var(--color-accent) !important;
  box-shadow: 0 20px 45px -10px rgba(129, 79, 255, 0.18), 0 0 15px rgba(225, 115, 255, 0.1) !important;
}
.premium-card img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.premium-card:hover img {
  transform: scale(1.04);
}

/* CTA Button Bouncy Hover States */
.btn-accent, .btn-primary, .btn-gold {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
.btn-accent:hover {
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 10px 25px -5px rgba(129, 79, 255, 0.4) !important;
  background-color: var(--color-accent-hover) !important;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 10px 25px -5px rgba(129, 79, 255, 0.3) !important;
}
.btn-secondary:hover {
  transform: translateY(-2px) !important;
}

/* Slide and Fade transitions keyframes */
@keyframes slide-to-left {
  to { transform: translateX(-30%); }
}

@keyframes slide-from-right {
  from { transform: translateX(30%); }
}

@keyframes slide-to-right {
  to { transform: translateX(30%); }
}

@keyframes slide-from-left {
  from { transform: translateX(-30%); }
}

@keyframes fade-out {
  to { opacity: 0; }
}

@keyframes fade-in {
  from { opacity: 0; }
}

/* Set up shared animation settings */
::view-transition-group(root) {
  animation: 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Apply forward animations when the 'forward' type is active */
html:active-view-transition-type(forward)::view-transition-old(root) {
  animation-name: slide-to-left, fade-out;
}
html:active-view-transition-type(forward)::view-transition-new(root) {
  animation-name: slide-from-right, fade-in;
}

/* Apply backward animations when the 'backward' type is active */
html:active-view-transition-type(backward)::view-transition-old(root) {
  animation-name: slide-to-right, fade-out;
}
html:active-view-transition-type(backward)::view-transition-new(root) {
  animation-name: slide-from-left, fade-in;
}

/* Accessibility: Respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(root),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
  .premium-card:hover {
    transform: none !important;
  }
  .btn-accent:hover, .btn-primary:hover, .btn-gold:hover {
    transform: none !important;
  }
}

/* ==================== Landing Page Builder — Admin Course Editor ==================== */

.lp-section {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.lp-section:last-child {
  border-bottom: none;
}

.lp-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 18px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-primary);
  background: #fafbfc;
  transition: background 0.2s ease;
  user-select: none;
}
.lp-section-header:hover {
  background: rgba(200, 169, 107, 0.05);
}

.lp-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.lp-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  font-family: inherit;
  font-size: 12.5px;
  outline: none;
  background: white;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.lp-input:focus {
  border-color: var(--color-gold);
}

.lp-add-btn {
  font-size: 10.5px;
  padding: 3px 10px;
  border: 1px solid rgba(200, 169, 107, 0.5);
  background: rgba(200, 169, 107, 0.08);
  color: var(--color-gold);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s;
  font-family: inherit;
}
.lp-add-btn:hover {
  background: rgba(200, 169, 107, 0.18);
}

.lp-remove-btn {
  background: transparent;
  border: none;
  color: var(--color-danger);
  cursor: pointer;
  padding: 2px 4px;
  font-size: 14px;
  opacity: 0.55;
  transition: opacity 0.2s;
  flex-shrink: 0;
  font-family: inherit;
}
.lp-remove-btn:hover {
  opacity: 1;
}

.lp-card-editor {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px;
  background: #f8fafc;
}
.lp-card-editor-num {
  font-size: 10px;
  font-weight: 800;
  color: var(--color-gold);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lp-faq-editor {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px;
  background: #f8fafc;
  position: relative;
}

/* ── Dashboard Redesign 2026-07-20 ──────────────────────────── */

/* Sidebar user block */
.sidebar-user-block {
  padding: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.sidebar-user-avatar-fallback {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sidebar-user-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
.sidebar-user-role-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 3px;
  background: rgba(0,0,0,0.06);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sidebar-user-role-pill.admin {
  background: rgba(196,154,86,0.15);
  color: var(--color-accent);
}

/* Sidebar section labels */
.sidebar-section-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 16px 4px;
}

/* Sidebar back-to-site link */
.sidebar-back-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 4px;
}
.sidebar-back-link:hover { color: var(--color-brand); }

/* Sidebar logout at the bottom */
.sidebar-logout {
  margin-top: auto;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s;
}
.sidebar-logout:hover { color: var(--color-danger); }

/* Active sidebar item — left blue bar */
.sidebar-menu li.active {
  border-left: 3px solid var(--color-brand);
  background: rgba(0,86,210,0.06);
  color: var(--color-brand);
  font-weight: 700;
  padding-left: 13px; /* compensate for 3px border */
}

/* ── Course Cards (new Coursera style) ────────────────────────── */
.course-card-new {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.course-card-new:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.course-card-banner {
  height: 96px;
  background: linear-gradient(135deg, #0056D2 0%, #1a3c8f 100%);
  display: flex;
  align-items: center;
  padding: 0 24px;
  position: relative;
  overflow: hidden;
}
.course-card-banner::after {
  content: attr(data-code);
  position: absolute;
  right: 16px;
  font-size: 52px;
  font-weight: 900;
  color: rgba(255,255,255,0.12);
  font-family: var(--font-title);
  letter-spacing: -2px;
  line-height: 1;
}
.course-card-banner-label {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.course-card-banner-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
}
.course-card-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.course-card-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 6px 0 14px;
}
.course-progress-bar-track {
  height: 6px;
  background: rgba(0,0,0,0.07);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}
.course-progress-bar-fill {
  height: 100%;
  background: var(--color-brand);
  border-radius: 3px;
  transition: width 0.4s ease;
}
.course-progress-label {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.course-last-studied {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 16px;
  margin-top: 2px;
}
.course-card-btn {
  margin-top: auto;
  width: 100%;
  padding: 11px;
  font-size: 13.5px;
  font-weight: 700;
  background: var(--color-brand);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-title);
  transition: background 0.15s;
}
.course-card-btn:hover { background: #004ab8; }
.course-card-btn.secondary {
  background: transparent;
  color: var(--color-brand);
  border: 1.5px solid var(--color-brand);
}
.course-card-btn.secondary:hover {
  background: rgba(0,86,210,0.06);
}

/* ── Empty State (no courses) ──────────────────────────────────── */
.courses-empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  background: #fff;
  border: 1.5px dashed rgba(0,86,210,0.2);
  border-radius: 16px;
  text-align: center;
}
.courses-empty-state .empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0,86,210,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.courses-empty-state h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.courses-empty-state p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.empty-activate-row {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  margin-bottom: 16px;
}
.empty-activate-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid rgba(0,86,210,0.25);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.empty-activate-input:focus { border-color: var(--color-brand); }
.empty-activate-btn {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  background: var(--color-brand);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-title);
  white-space: nowrap;
}
.empty-activate-btn:hover { background: #004ab8; }
.empty-activate-status {
  font-size: 12.5px;
  min-height: 18px;
  margin-bottom: 12px;
}
.empty-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 16px;
}
.empty-divider::before,
.empty-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.1);
}

/* ── Dashboard Learning Home ───────────────────────────────────── */
.dash-continue-card {
  background: linear-gradient(135deg, #0056D2 0%, #1a3c8f 100%);
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
}
.dash-continue-card .continue-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}
.dash-continue-card .continue-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}
.dash-continue-card .continue-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}
.dash-continue-btn {
  padding: 12px 28px;
  background: #fff;
  color: var(--color-brand);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-title);
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.dash-continue-btn:hover { opacity: 0.9; }
.dash-progress-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  cursor: pointer;
  transition: background 0.15s;
  border-radius: 6px;
  padding-left: 6px;
}
.dash-progress-row:last-child { border-bottom: none; }
.dash-progress-row:hover { background: rgba(0,86,210,0.04); }
.dash-progress-row .row-code {
  font-size: 11px;
  font-weight: 800;
  color: var(--color-brand);
  width: 44px;
  flex-shrink: 0;
}
.dash-progress-row .row-bar-wrap { flex: 1; }
.dash-progress-row .row-count {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.dash-activity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 12.5px;
  color: var(--text-secondary);
}
.dash-activity-item:last-child { border-bottom: none; }
.dash-activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  flex-shrink: 0;
}
