/* ==========================================================================
   SVAPP HUB — LIGHT THEME (GIAO DIỆN SÁNG, NỀN TRẮNG, TUYỆT ĐỐI KHÔNG GRADIENT)
   Bố cục chuẩn theo ảnh mẫu: 3 Cột (Sidebar Trái, Trung Tâm, Sidebar Phải)
   ========================================================================== */

:root {
  /* Bảng màu phẳng (Solid Colors - Không Gradient) */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-hover: #f8fafc;
  
  --border-light: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-focus: #059669;
  
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  
  /* Màu chủ đạo: Solid Emerald Green phẳng sang trọng */
  --primary: #059669;
  --primary-hover: #047857;
  --primary-light: #ecfdf5;
  --primary-text: #065f46;
  
  /* Màu phụ trợ phẳng */
  --blue-tag: #eff6ff;
  --blue-text: #1d4ed8;
  --amber-tag: #fef3c7;
  --amber-text: #b45309;
  --purple-tag: #f3e8ff;
  --purple-text: #7e22ce;
  
  /* Bán kính bo góc & Đổ bóng nhẹ phẳng */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  
  --transition: all 0.2s ease-in-out;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* CONTAINER CHUẨN */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   1. TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-announcement-bar {
  background-color: #047857;
  color: #ffffff;
  font-size: 13px;
  padding: 7px 0;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.announcement-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.announcement-pill {
  background-color: #065f46;
  color: #a7f3d0;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.announcement-link {
  background: none;
  border: none;
  color: #a7f3d0;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.announcement-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   2. NAVBAR & HEADER (KHÔNG CẦN ĐĂNG NHẬP)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-heading);
  flex-shrink: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.brand-text h1 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-heading);
  letter-spacing: -0.3px;
}

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

/* SEARCH BOX */
.search-box {
  flex: 1;
  max-width: 540px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
}

.search-box input {
  width: 100%;
  padding: 10px 38px 10px 42px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 14px;
  color: var(--text-heading);
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  background-color: var(--bg-surface);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

/* NAV ACTIONS (KHÔNG ĐĂNG NHẬP) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
}

.stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
}

.btn-action-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-action-primary:hover {
  background-color: var(--primary-hover);
}

/* ==========================================================================
   3. MAIN LAYOUT 3 COLUMNS (GIỐNG ẢNH MẪU)
   ========================================================================== */
.main-layout {
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 40px;
  align-items: start;
}

/* ==========================================================================
   4. LEFT SIDEBAR: BỘ LỌC DANH MỤC & CÔNG NGHỆ
   ========================================================================== */
.sidebar-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filter-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.filter-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-item-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.filter-item-btn:hover {
  background-color: var(--bg-subtle);
  color: var(--text-heading);
}

.filter-item-btn.active {
  background-color: var(--primary-light);
  color: var(--primary-text);
  border-color: #a7f3d0;
  font-weight: 700;
}

.filter-item-count {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.filter-item-btn.active .filter-item-count {
  background-color: #a7f3d0;
  color: var(--primary-text);
}

/* TECH CLOUD */
.tech-filter-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-filter-btn {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
}

.tech-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tech-filter-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* PACKAGE DELIVERABLES CHECKLIST */
.package-deliverables-card {
  background-color: #fafbfd;
}

.deliverable-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.deliverable-checklist li {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.deliverable-checklist li span {
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
}

/* ==========================================================================
   5. CENTER COLUMN: TABS, SPOTLIGHT, 2-COLUMN GRID
   ========================================================================== */
.content-center {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* CATEGORY PILLS (THANH FILTER NGANG TRÊN CÙNG) */
.category-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.cat-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.cat-pill-btn:hover {
  background-color: var(--bg-subtle);
  border-color: var(--border-strong);
}

.cat-pill-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* SPOTLIGHT CARD (ĐỀ TÀI TIÊU BIỂU KHỔ LỚN) */
.spotlight-section {
  width: 100%;
}

.spotlight-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.spotlight-header-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.spotlight-badge {
  background-color: var(--primary-light);
  color: var(--primary-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

.spotlight-status {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.spotlight-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

/* SPOTLIGHT MOCKUP / BROWSER */
.spotlight-browser-frame {
  background-color: #1e293b;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #334155;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.spotlight-browser-top {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background-color: #0f172a;
  border-bottom: 1px solid #334155;
  gap: 10px;
}

.mockup-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dot-red, .dot-yellow, .dot-green {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.spotlight-url-display {
  flex: 1;
  background-color: #1e293b;
  color: #94a3b8;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotlight-open-tab {
  color: #94a3b8;
  display: flex;
  text-decoration: none;
  transition: var(--transition);
}

.spotlight-open-tab:hover {
  color: #ffffff;
}

.spotlight-iframe-holder {
  flex: 1;
  min-height: 250px;
  background-color: #ffffff;
  position: relative;
}

.spotlight-iframe-holder iframe {
  width: 100%;
  height: 100%;
  min-height: 250px;
  border: none;
  display: block;
}

/* SPOTLIGHT DETAILS (KHÔNG GIÁ TIỀN) */
.spotlight-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spotlight-meta-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.tag-cat {
  background-color: var(--blue-tag);
  color: var(--blue-text);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.tag-kw {
  background-color: var(--amber-tag);
  color: var(--amber-text);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.spotlight-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.35;
  margin-bottom: 8px;
}

.spotlight-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 14px;
}

/* VALUE HIGHLIGHTS THAY THẾ GIÁ */
.spotlight-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 14px;
}

.val-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-heading);
}

.val-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.spotlight-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.spotlight-tech-item {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.spotlight-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-spotlight-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-spotlight-primary:hover {
  background-color: var(--primary-hover);
}

.btn-spotlight-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-surface);
  color: var(--text-heading);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-spotlight-secondary:hover {
  background-color: var(--bg-subtle);
}

/* SECTION TITLE ROW */
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}

.section-heading {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-heading);
}

.section-subheading {
  font-size: 12px;
  color: var(--text-muted);
}

.badge-counter-active {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-text);
  background-color: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   6. PROJECT GRID 2 COLUMNS (GIỐNG HỆT ẢNH MẪU)
   ========================================================================== */
.project-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.card-item:hover {
  border-color: #94a3b8;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-item.active-item {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2);
}

/* CARD THUMBNAIL (MOCKUP INTERFACE CHUYÊN BIỆT THEO CÔNG NGHỆ) */
.card-thumbnail {
  background-color: #0f172a;
  height: 150px;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.thumb-browser-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background-color: #1e293b;
  border-bottom: 1px solid #334155;
}

.thumb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.thumb-screen {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* CÁC PHONG CÁCH MOCKUP THEO NHÓM ĐỀ TÀI */
/* 1. Mockup Dashboard */
.mock-dashboard {
  background-color: #0f172a;
  color: #94a3b8;
  font-size: 10px;
  height: 100%;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 6px;
}

.mock-sidebar {
  background-color: #1e293b;
  border-radius: 4px;
  padding: 4px;
}

.mock-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-stats-row {
  display: flex;
  gap: 4px;
}

.mock-stat-box {
  flex: 1;
  background-color: #1e293b;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 9px;
  color: #38bdf8;
  font-weight: 700;
}

.mock-chart {
  flex: 1;
  background-color: #1e293b;
  border-radius: 4px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 6px 8px;
}

.mock-bar {
  flex: 1;
  background-color: var(--primary);
  border-radius: 2px 2px 0 0;
}

/* 2. Mockup Code Editor */
.mock-code-screen {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  line-height: 1.4;
  color: #93c5fd;
  padding: 6px;
}

.code-fn { color: #f472b6; }
.code-kw { color: #c084fc; }
.code-str { color: #4ade80; }
.code-num { color: #fbbf24; }

/* 3. Mockup Mobile App */
.mock-mobile-screen {
  max-width: 130px;
  margin: 0 auto;
  height: 100%;
  background-color: #1e293b;
  border-radius: 6px;
  border: 1px solid #475569;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-mobile-header {
  height: 10px;
  background-color: #334155;
  border-radius: 2px;
}

.mock-mobile-card {
  height: 35px;
  background-color: #334155;
  border-radius: 4px;
}

/* 4. Mockup IoT & Hardware Sensor */
.mock-iot-screen {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  align-items: center;
}

.mock-gauge {
  background-color: #1e293b;
  border-radius: 4px;
  padding: 6px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: #34d399;
}

.thumb-preview-overlay-btn {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
}

.card-item:hover .thumb-preview-overlay-btn {
  opacity: 1;
}

/* CARD CONTENT */
.card-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-tags-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.card-tag-kw {
  font-size: 10px;
  font-weight: 700;
  color: var(--amber-text);
  background-color: var(--amber-tag);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.card-tag-cat {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
}

.card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 38px;
}

.card-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 34px;
}

.card-tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}

.card-tech-tag {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-body);
}

/* CARD FOOTER (KHÔNG CÓ GIÁ TIỀN) */
.card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-deliverables {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-text);
}

.card-deliverables svg {
  color: var(--primary);
  flex-shrink: 0;
}

.btn-card-action {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
  text-decoration: none;
}

.btn-card-action:hover {
  background-color: var(--primary-hover);
}

/* ==========================================================================
   7. RIGHT SIDEBAR: TRENDING & CAM KẾT
   ========================================================================== */
.sidebar-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

/* TRENDING LIST */
.trending-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trending-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px;
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.trending-item:hover {
  background-color: var(--primary-light);
  border-color: #a7f3d0;
}

.trending-rank {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  background-color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}

.trending-info {
  flex: 1;
  min-width: 0;
}

.trending-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.3;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trending-meta {
  font-size: 10px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* COMMITMENT LIST */
.commitment-card {
  background-color: #fbfdfe;
}

.commitment-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.commitment-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.com-icon {
  font-size: 18px;
  line-height: 1;
}

.commitment-list strong {
  font-size: 12px;
  color: var(--text-heading);
  display: block;
}

.commitment-list p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

/* ADVICE BANNER */
.advice-banner-card {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.advice-banner-card h4 {
  font-size: 13px;
  font-weight: 800;
  color: #166534;
  margin-bottom: 6px;
}

.advice-banner-card p {
  font-size: 12px;
  color: #15803d;
  line-height: 1.4;
  margin-bottom: 12px;
}

.btn-advice-cta {
  width: 100%;
  background-color: #16a34a;
  color: #ffffff;
  border: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-advice-cta:hover {
  background-color: #15803d;
}

/* ==========================================================================
   8. BOTTOM SECTIONS: 4 PILLARS, TESTIMONIALS, CTA BANNER
   ========================================================================== */
.value-pillars-section {
  padding: 30px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-surface);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pillar-card {
  padding: 16px;
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.pillar-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.pillar-card h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.pillar-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* TESTIMONIALS */
.testimonials-section {
  padding: 40px 0;
}

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

.sub-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 8px;
}

.section-title-center h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-heading);
}

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

.testimonial-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: 8px;
}

.review-text {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 14px;
}

.student-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.student-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #e2e8f0;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.student-info strong {
  font-size: 12px;
  display: block;
  color: var(--text-heading);
}

.student-info span {
  font-size: 11px;
  color: var(--text-muted);
}

/* CTA BANNER */
.cta-banner-section {
  padding: 10px 0 40px;
}

.cta-banner-box {
  background-color: #064e3b;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-text h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffffff;
}

.cta-text p {
  font-size: 13px;
  color: #a7f3d0;
  max-width: 700px;
  line-height: 1.5;
}

.btn-banner-action {
  background-color: #10b981;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-banner-action:hover {
  background-color: #059669;
}

/* ==========================================================================
   9. SITE FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding-top: 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
}

.footer-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 12px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-col a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-col li {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 16px 0;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   10. POPUP MODAL (LIGHT THEME)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease-in-out;
}

/* CHẾ ĐỘ PHÓNG TO TOÀN MÀN HÌNH (KHÔNG LỘ URL RA NGOÀI) */
.modal-box.modal-fullscreen {
  max-width: 100vw !important;
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  border-radius: 0 !important;
  margin: 0 !important;
  border: none !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 10001 !important;
  display: flex !important;
  flex-direction: column !important;
}

.modal-box.modal-fullscreen .modal-header {
  padding: 10px 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}

.modal-box.modal-fullscreen .modal-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px 20px;
  overflow-y: auto;
}

.modal-box.modal-fullscreen .modal-preview-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.modal-box.modal-fullscreen .modal-iframe-container {
  flex: 1;
  height: 100%;
  min-height: 60vh;
}

.modal-box.modal-fullscreen .modal-iframe-container iframe {
  height: 100%;
  min-height: 60vh;
}

/* KHUNG PREVIEW TRONG MODAL */
.modal-preview-box {
  background: #1e293b;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid #334155;
  display: flex;
  flex-direction: column;
}

.modal-preview-top-bar {
  background: #0f172a;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #334155;
}

.modal-preview-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-preview-title {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  margin-left: 8px;
  letter-spacing: 0.3px;
}

.btn-toggle-fullscreen {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.btn-toggle-fullscreen:hover {
  background: rgba(56, 189, 248, 0.2);
  color: #ffffff;
}

.modal-iframe-container {
  width: 100%;
  min-height: 380px;
  background: #ffffff;
}

.modal-iframe-container iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

.modal-footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.modal-box-sm {
  max-width: 480px;
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-titles h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-heading);
}

.modal-kw-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 4px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-heading);
}

.modal-content {
  padding: 20px;
}

/* CONTACT FORM */
.contact-intro {
  font-size: 13px;
  color: var(--text-body);
  margin-bottom: 14px;
  line-height: 1.4;
}

.contact-feature-list {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.c-feat {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-heading);
}

.c-feat span {
  color: var(--primary);
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 8px 12px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-heading);
  outline: none;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary);
}

.btn-submit-contact {
  width: 100%;
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  transition: var(--transition);
}

.btn-submit-contact:hover {
  background-color: var(--primary-hover);
}

/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
  .main-layout {
    grid-template-columns: 220px 1fr;
  }
  .sidebar-right {
    display: none;
  }
}

@media (max-width: 900px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-left {
    display: none;
  }
  .spotlight-body {
    grid-template-columns: 1fr;
  }
  .spotlight-iframe-holder {
    min-height: 200px;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  .cta-banner-box {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .top-announcement-bar {
    display: none;
  }
  .nav-actions .btn-action-primary span {
    display: none;
  }
  .project-grid-2col {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
