/* ==========================================================================
   AUTOADS AI — MODERN EXECUTIVE MARKETING OS
   Design System: Clean Executive / White & Sky Blue (Trắng & Xanh Da Trời)
   ========================================================================== */

:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #f0f7ff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border-glass: #e2e8f0;
  --border-glow: rgba(2, 132, 199, 0.25);
  --border-cyan-glow: rgba(2, 132, 199, 0.3);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --accent-emerald: #059669;
  --accent-emerald-glow: rgba(5, 150, 105, 0.15);
  --accent-cyan: #0284c7;
  --accent-cyan-hover: #0369a1;
  --accent-cyan-light: #e0f2fe;
  --accent-cyan-glow: rgba(2, 132, 199, 0.18);
  --accent-indigo: #4f46e5;
  --accent-amber: #d97706;
  --accent-rose: #e11d48;

  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-glow: 0 4px 16px rgba(2, 132, 199, 0.15);
  --shadow-cyan-glow: 0 4px 16px rgba(2, 132, 199, 0.2);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 12% 15%, rgba(186, 230, 253, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 88% 25%, rgba(224, 242, 254, 0.45) 0%, transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(241, 245, 249, 0.6) 0%, transparent 55%);
  background-attachment: fixed;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* ================= TOP DROPDOWN NOTIFICATION ================= */
.welcome-notification-bar {
  position: fixed;
  top: -120px;
  left: 0;
  right: 0;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.welcome-notification-bar.show {
  transform: translateY(140px);
  pointer-events: auto;
}

.welcome-notification-card {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.35);
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 1.05rem;
}

.welcome-notification-card .badge-icon {
  font-size: 1.5rem;
}

.welcome-notification-card .dismiss-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.welcome-notification-card .dismiss-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* ================= QUICK ROLE SWITCHER HEADER ================= */
.role-testing-bar {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.role-switcher-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.role-pill-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-secondary);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.role-pill-btn:hover {
  background: #f0f9ff;
  border-color: #38bdf8;
  color: var(--accent-cyan);
}

.role-pill-btn.active {
  background: var(--accent-cyan);
  color: #ffffff;
  border-color: var(--accent-cyan);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

/* ================= NAVBAR ================= */
.main-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-cyan), #38bdf8);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.25);
}

.nav-brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.nav-brand-badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  background: #e0f2fe;
  color: var(--accent-cyan);
  border: 1px solid #bae6fd;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--accent-cyan);
}

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

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.22);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.32);
  background: var(--accent-cyan-hover);
}

.btn-cyan {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  font-weight: 600;
}

.btn-cyan:hover {
  background: var(--accent-cyan);
  color: #ffffff;
  border-color: var(--accent-cyan);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.btn-outline {
  background: #ffffff;
  color: #334155;
  border-color: #cbd5e1;
}

.btn-outline:hover {
  background: #f0f9ff;
  border-color: #38bdf8;
  color: var(--accent-cyan);
  transform: translateY(-1px);
}

.btn-glowing-neon {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.25);
}

.btn-glowing-neon:hover {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(2, 132, 199, 0.35);
}

.btn-emerald {
  background: #059669;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.2);
}

.btn-emerald:hover {
  background: #047857;
  transform: translateY(-1px);
}

/* ================= HERO SECTION (SPLIT 40% LEFT / 60% RIGHT) ================= */
.hero-split-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 32px 80px 32px;
  display: flex;
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 120px);
}

/* 40% Left Column */
.hero-left-col {
  flex: 0 0 40%;
  max-width: 40%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 60% Right Column */
.hero-right-col {
  flex: 0 0 60%;
  max-width: 60%;
  position: relative;
}

/* Left Hero Typography */
.ceo-target-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #0369a1;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  width: fit-content;
}

.ceo-target-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0284c7;
  box-shadow: 0 0 6px rgba(2, 132, 199, 0.4);
}

.hero-main-heading {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1px;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #0284c7, #0d9488);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-amber {
  background: linear-gradient(135deg, #d97706, #dc2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Comparison Mini Card */
.comparison-mini-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
}

.comparison-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.comparison-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.comparison-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.comparison-value {
  font-weight: 700;
  font-size: 0.95rem;
}

.comparison-value.bad {
  color: #f87171;
}

.comparison-value.good {
  color: var(--accent-emerald);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

/* ================= RIGHT 60% BANNER (SPECTACULAR SHOWCASE) ================= */
.grand-ads-banner-container {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -5px rgba(2, 132, 199, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
}

/* Cyber ambient light */
.banner-ambient-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(186, 230, 253, 0.4) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

/* Banner Top Header */
.banner-top-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.banner-badge-live {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: var(--accent-emerald);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.banner-badge-live .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.5);
  animation: blink 1s infinite alternate;
}

.banner-badge-unlimited {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #d97706;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Big Price & Guarantee Quote Display */
.banner-pricing-showcase {
  background: #f0f7ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.price-main-block {
  display: flex;
  flex-direction: column;
}

.price-sub-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  font-weight: 700;
}

.price-amount-wrapper {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0;
}

.price-big-number {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: #0f172a;
}

.price-unit {
  font-size: 1.15rem;
  color: var(--accent-cyan);
  font-weight: 700;
}

.price-guarantee-box {
  flex: 1;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--accent-cyan);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.price-guarantee-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.5;
  font-style: italic;
}

/* Simulated Live Ads Metrics Grid */
.banner-live-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.metric-card-glass {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 14px;
  transition: var(--transition);
}

.metric-card-glass:hover {
  background: #f0f7ff;
  border-color: #38bdf8;
  transform: translateY(-2px);
}

.metric-card-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 4px;
}

.metric-card-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
}

.metric-card-trend {
  font-size: 0.75rem;
  color: var(--accent-emerald);
  font-weight: 600;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Live Ad Campaign Simulation Carousel */
.banner-ad-simulation-feed {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px;
}

.feed-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

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

.feed-tab-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.feed-tab-btn.active {
  background: var(--accent-cyan);
  color: #ffffff;
  font-weight: 700;
  border-color: var(--accent-cyan);
}

.simulated-ad-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ad-card-meta-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.ad-platform-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.ad-platform-badge.meta { color: #3b82f6; }
.ad-platform-badge.tiktok { color: #ec4899; }
.ad-platform-badge.google { color: #eab308; }

.ad-copy-hook {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
}

.ad-live-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-secondary);
  border-top: 1px dashed #e2e8f0;
  padding-top: 8px;
}

.ad-optimization-badge {
  color: var(--accent-emerald);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ================= SECTION: CEOS VALUE & COMPARISON ================= */
.section-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 32px;
}

.section-header-center {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Comparison Table Card */
.pricing-matrix-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.matrix-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.matrix-card:hover {
  transform: translateY(-4px);
  border-color: #94a3b8;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.matrix-card.featured {
  background: #ffffff;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.12);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.matrix-header {
  margin-bottom: 24px;
}

.matrix-plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.matrix-price-tag {
  font-size: 2rem;
  font-weight: 900;
  color: #0f172a;
  margin: 12px 0 6px 0;
}

.matrix-price-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.matrix-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 auto 0;
}

.matrix-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.matrix-feature-item.checked {
  color: var(--text-primary);
}

.matrix-icon-check {
  color: var(--accent-emerald);
  font-weight: 800;
}

.matrix-icon-cross {
  color: var(--accent-rose);
  font-weight: 800;
}

/* ================= INTERACTIVE SAVINGS CALCULATOR ================= */
.calculator-box {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 40px;
  box-shadow: var(--shadow-card);
}

.calc-input-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: 12px;
}

.calc-range-slider {
  width: 100%;
  accent-color: var(--accent-cyan);
  height: 8px;
  border-radius: 4px;
  cursor: pointer;
}

.calc-budget-display {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-top: 8px;
}

.calc-result-column {
  background: #f0f7ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: 24px;
}

.calc-saving-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-cyan);
}

/* ================= CUSTOMER PORTAL (`KHACH HANG`) ================= */
.portal-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px;
}

.portal-top-banner {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0fdf4 100%);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.portal-welcome-meta h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #0f172a;
}

.portal-welcome-meta p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.portal-wallet-quickcard {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #ffffff;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.wallet-balance-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

/* Portal Tabs */
.portal-tab-nav {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 28px;
  padding-bottom: 12px;
}

.portal-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-tab-btn:hover {
  color: var(--accent-cyan);
  background: #f1f5f9;
}

.portal-tab-btn.active {
  color: #ffffff;
  background: var(--accent-cyan);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

/* Customer Tab 1: AI Performance */
.stats-summary-4grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.stat-box-large {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.stat-box-large:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.1);
}

.stat-box-large .stat-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.4rem;
  color: var(--accent-cyan);
  opacity: 0.8;
}

.stat-box-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.stat-box-value {
  font-size: 1.85rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
}

.stat-box-sub {
  font-size: 0.82rem;
  color: var(--accent-emerald);
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Campaign Table */
.dashboard-card-full {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.table-custom {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table-custom th {
  text-align: left;
  padding: 12px 16px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
}

.table-custom td {
  padding: 16px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-primary);
}

.table-custom tr:hover td {
  background: #f8fafc;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.status-badge.active {
  background: #ecfdf5;
  color: var(--accent-emerald);
  border: 1px solid #a7f3d0;
}

.status-badge.paused {
  background: #fffbeb;
  color: var(--accent-amber);
  border: 1px solid #fde68a;
}

/* AI Optimization Timeline */
.ai-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-timeline-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--accent-cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
}

.ai-timeline-item.warn {
  border-left-color: var(--accent-amber);
}

.ai-timeline-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.ai-timeline-title {
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.ai-timeline-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Deposit & Profile UI */
.deposit-view-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
}

.vietqr-card {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.vietqr-image-wrapper {
  background: white;
  padding: 16px;
  border-radius: var(--radius-md);
  display: inline-block;
  margin: 16px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.vietqr-image-wrapper img {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: contain;
}

.bank-info-table {
  text-align: left;
  margin-top: 16px;
  font-size: 0.88rem;
}

.bank-info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.quick-deposit-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.quick-amount-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: var(--text-primary);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.quick-amount-btn:hover {
  background: #f0f9ff;
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* ================= ADMIN PORTAL (`ADMIN` - HEAVY AI INTEGRATION) ================= */
.admin-hub-header {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
}

.admin-repo-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #bae6fd;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-top: 14px;
  font-weight: 600;
}

/* 6 AI Agents Grid */
.ai-agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.agent-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.agent-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.12);
}

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

.agent-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid #bae6fd;
  color: var(--accent-cyan);
}

.agent-name {
  font-size: 1.05rem;
  font-weight: 800;
}

.agent-role-title {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.agent-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.agent-skills-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.skill-tag {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Admin Interactive Workstations */
.workstation-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
}

.generator-form-box {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.generator-output-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 24px;
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #1e293b;
  overflow-y: auto;
  max-height: 520px;
  white-space: pre-wrap;
}

/* ================= MODAL / OVERLAY (LOGIN & REGISTER) ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.open .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: var(--text-primary);
}

.modal-tab-group {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 24px;
}

.modal-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

.modal-tab-btn.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

.demo-quick-switch-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 20px;
}

.demo-quick-switch-box p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 600;
}

.demo-btn-row {
  display: flex;
  gap: 8px;
}

/* ================= ANIMATIONS ================= */
@keyframes blink {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3); }
  50% { box-shadow: 0 12px 40px rgba(6, 182, 212, 0.5); }
  100% { box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes neon-pulse {
  0% { filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.5)); }
  100% { filter: drop-shadow(0 0 25px rgba(6, 182, 212, 0.8)); }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
  .hero-split-section {
    flex-direction: column;
  }
  .hero-left-col, .hero-right-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .pricing-matrix-container, .ai-agents-grid, .stats-summary-4grid {
    grid-template-columns: 1fr;
  }
  .workstation-container, .calculator-box, .deposit-view-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= UNACTIVATED SERVICE STATE ================= */
.unactivated-service-banner {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 28px;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.06);
}

.unactivated-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.unactivated-badge {
  background: #ffe4e6;
  border: 1px solid #fecdd3;
  color: #e11d48;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  letter-spacing: 0.5px;
}

/* ================= 4 BƯỚC TỰ ĐỘNG CHẠY ADS (CHO CEO) ================= */
.step-workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.step-workflow-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-card);
}

.step-workflow-card:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.1);
}

.step-workflow-card.active-step {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.15);
}

.step-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.step-number-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.step-number-badge {
  width: 28px;
  height: 28px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

.step-status-indicator {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: var(--text-muted);
}

.step-status-indicator.done {
  background: #ecfdf5;
  color: var(--accent-emerald);
  border: 1px solid #a7f3d0;
}

.step-status-indicator.running {
  background: #fffbeb;
  color: var(--accent-amber);
  border: 1px solid #fde68a;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

.step-result-display {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 18px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #1e293b;
  max-height: 200px;
  overflow-y: auto;
  white-space: pre-wrap;
}

/* Thanh Tiến Trình Xuất Bản Ads */
.deploy-progress-container {
  width: 100%;
  background: #e2e8f0;
  height: 8px;
  border-radius: var(--radius-full);
  margin: 12px 0 6px 0;
  overflow: hidden;
  display: none;
}

.deploy-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-cyan), #38bdf8);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.token-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #0369a1;
  padding: 2px 8px;
  border-radius: 4px;
}

/* ================= KẾT NỐI KÊNH & NHẬP NHU CẦU CHIẾN DỊCH ================= */
.intake-section-card {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
}

.ad-channel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 18px;
}

.channel-column-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 20px;
}

.channel-column-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.api-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: var(--accent-emerald);
}

.api-status-badge.pending {
  background: #fffbeb;
  border-color: #fde68a;
  color: var(--accent-amber);
}

.claude-studio-box {
  background: #fdf4ff;
  border: 1px solid #f0abfc;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 14px;
}

/* ================= BẢNG TỔNG HỢP ĐỀ XUẤT CỦA AI (AI PROPOSAL BOARD) ================= */
.proposal-board-card {
  background: #ffffff;
  border: 2px solid #38bdf8;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 28px;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.1);
  position: relative;
  overflow: hidden;
}

.proposal-board-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.proposal-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.proposal-kpi-box {
  background: #f0f7ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
}

.proposal-kpi-label {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.proposal-kpi-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.proposal-detail-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 16px;
}

.proposal-detail-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.proposal-review-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 900px) {
  .ad-channel-grid {
    grid-template-columns: 1fr;
  }
  .proposal-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proposal-review-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ================= THANH ĐIỀU HƯỚNG KHI KHÁCH HÀNG XEM TRANG LANDING ================= */
.customer-viewing-landing-bar {
  background: #e0f2fe;
  border-bottom: 1px solid #bae6fd;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #0369a1;
}

.badge-used-package {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* ================= SIMPLIFIED CEO INTAKE & BUDGET PILLS ================= */
.intake-friendly-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 22px;
}

.budget-pills-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.budget-pill-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.budget-pill-btn:hover {
  background: #f0f9ff;
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.budget-pill-btn.active {
  background: var(--accent-cyan);
  color: #ffffff;
  border-color: var(--accent-cyan);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.auto-connect-alert {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 14px;
  color: #065f46;
}

.advanced-tech-accordion summary {
  outline: none;
  font-weight: 600;
  transition: var(--transition);
}

.advanced-tech-accordion summary:hover {
  color: var(--accent-cyan);
}

/* ================= 9:16 INTERACTIVE AI VIDEO STUDIO ================= */
.ai-video-studio-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 860px) {
  .ai-video-studio-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

.smartphone-video-mockup {
  width: 320px;
  height: 570px;
  background: #0f172a;
  border: 4px solid #334155;
  border-radius: 36px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(6, 182, 212, 0.2);
  padding: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.phone-speaker-notch {
  width: 90px;
  height: 6px;
  background: #1e293b;
  border-radius: 4px;
  margin: 0 auto 10px auto;
}

.phone-screen-container {
  flex: 1;
  background: #000000;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* Bề mặt Video & Animation */
.video-visual-surface {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  overflow: hidden;
  background: #090d16;
}

.video-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.9) contrast(1.1);
}

/* Gradient background presets for 4 scenes */
.scene-bg-1 {
  background: radial-gradient(circle at 60% 30%, rgba(245, 158, 11, 0.45), transparent 70%),
              linear-gradient(180deg, #1e1b4b 0%, #0f172a 60%, #020617 100%);
  animation: camera-pan 8s infinite alternate ease-in-out;
}

.scene-bg-2 {
  background: radial-gradient(circle at 40% 40%, rgba(239, 68, 68, 0.35), transparent 60%),
              linear-gradient(180deg, #311313 0%, #1a0f0f 50%, #050505 100%);
  animation: camera-pan 8s infinite alternate ease-in-out;
}

.scene-bg-3 {
  background: radial-gradient(circle at 50% 40%, rgba(6, 182, 212, 0.4), transparent 65%),
              radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.35), transparent 60%),
              linear-gradient(180deg, #042f2e 0%, #0b1528 70%, #020617 100%);
  animation: camera-pan 8s infinite alternate ease-in-out;
}

.scene-bg-4 {
  background: radial-gradient(circle at 50% 25%, rgba(168, 85, 247, 0.45), transparent 70%),
              radial-gradient(circle at 50% 85%, rgba(245, 158, 11, 0.35), transparent 60%),
              linear-gradient(180deg, #2e1065 0%, #0f172a 80%, #000000 100%);
  animation: camera-pan 8s infinite alternate ease-in-out;
}

@keyframes camera-pan {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.08) translateY(-8px); }
}

.video-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

.video-top-meta {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-watermark-tag {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.video-resolution-tag {
  background: rgba(16, 185, 129, 0.3);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34d399;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.video-scene-badge {
  position: relative;
  z-index: 10;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.85), rgba(16, 185, 129, 0.85));
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
  align-self: flex-start;
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.video-center-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.video-center-overlay:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-big-play-btn {
  width: 58px;
  height: 58px;
  background: rgba(16, 185, 129, 0.85);
  border: 2px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  padding-left: 4px;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.6);
  backdrop-filter: blur(4px);
}

.video-subtitles-container {
  position: relative;
  z-index: 10;
  margin-bottom: 8px;
}

.video-subtitle-text {
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  backdrop-filter: blur(6px);
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  border-left: 3px solid var(--accent-emerald);
}

.video-audio-badge {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  color: var(--text-secondary);
  align-self: flex-end;
  cursor: pointer;
}

.video-audio-badge:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* Thanh điều khiển video */
.video-bottom-controls {
  background: #0b1120;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px;
}

.video-progress-wrapper {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.video-progress-filled {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-emerald));
  border-radius: 3px;
  transition: width 0.25s linear;
}

.video-time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 6px 0 8px 0;
}

.video-mini-play-btn {
  background: transparent;
  border: none;
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
}

.video-mini-play-btn:hover {
  color: #ffffff;
}

.scene-jump-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.scene-jump-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 5px 2px;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.scene-jump-btn:hover {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
}

.scene-jump-btn.active {
  background: var(--accent-cyan);
  color: #042f2e;
  border-color: var(--accent-cyan);
}

/* Cột Phải: Video Actions Console */
.video-actions-console {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.video-info-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 18px;
}

.video-action-buttons-group {
  display: flex;
  flex-direction: column;
}

/* ================= TOKEN LOG PAGINATION & CEO FILTER ================= */
.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid var(--border-glass);
  background: #ffffff;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  flex-wrap: wrap;
  gap: 12px;
}

.pagination-showing-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.pagination-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pagination-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  min-width: 32px;
  text-align: center;
}

.pagination-btn:hover:not(:disabled) {
  background: #f0f9ff;
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.pagination-btn.active {
  background: var(--accent-cyan);
  color: #ffffff;
  border-color: var(--accent-cyan);
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.pagination-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #94a3b8;
}
