/**
 * Components CSS — Giao diện & Hiệu ứng đặc thù
 * Thương hiệu: Khánh Linh
 * Vị trí: assets/css/components.css
 */

/* -------------------------------------------------------------
 * 1. Buttons & Badges
 * ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #120e06;
  box-shadow: 0 4px 20px rgba(245, 197, 66, 0.3);
}

.btn-primary:hover {
  background: var(--gold-gradient-hover);
  box-shadow: 0 6px 28px rgba(245, 197, 66, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--surface-glass);
  color: var(--text-1);
  border: 1px solid var(--surface-border);
  backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  border-color: var(--surface-border-hover);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-telegram {
  background: linear-gradient(135deg, #2aabee, #229ed9);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(34, 158, 217, 0.35);
}

.btn-telegram:hover {
  box-shadow: 0 6px 28px rgba(34, 158, 217, 0.55);
  transform: translateY(-2px);
}

.btn-zalo {
  background: linear-gradient(135deg, #0078ff, #0055d4);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 104, 255, 0.35);
}

.btn-zalo:hover {
  box-shadow: 0 6px 28px rgba(0, 104, 255, 0.55);
  transform: translateY(-2px);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* -------------------------------------------------------------
 * 2. Sticky Header & Navigation
 * ----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(12, 10, 9, 0.82);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(245, 197, 66, 0.12);
  transition: background var(--transition-base), padding var(--transition-base);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--gold-200);
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

/* -------------------------------------------------------------
 * 3. Hero Section & 3D Stage
 * ----------------------------------------------------------- */
.hero-section {
  padding-top: var(--space-12);
  padding-bottom: var(--space-16);
  min-height: 82vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-12);
  }
}

.hero-content {
  text-align: left;
}

.hero-headline {
  margin-bottom: var(--space-4);
  font-family: var(--font-display);
}

.hero-subtext {
  font-size: 1.12rem;
  color: var(--text-2);
  margin-bottom: var(--space-8);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-meta svg {
  color: var(--gold-400);
}

/* 3D Visual Stage Container */
.hero-visual-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-3d-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: var(--radius-xl);
  outline: none;
}

/* Fallback Card 2.5D CSS */
.fallback-card-wrapper {
  width: 90%;
  max-width: 380px;
  aspect-ratio: 1.586 / 1;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: var(--gold-gradient);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), var(--gold-glow);
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: none; /* Hiển thị qua JS nếu không có WebGL */
}

.fallback-card-wrapper.active {
  display: block;
}

.fallback-card-inner {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, #25201a 0%, #100e0c 100%);
  border-radius: calc(var(--radius-lg) - 2px);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-1);
  position: relative;
  overflow: hidden;
}

.fallback-card-inner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(245, 197, 66, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.fc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fc-chip {
  width: 42px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, #d4af37 0%, #aa820a 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.fc-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-300);
}

.fc-body {
  margin: auto 0;
}

.fc-level {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-1);
  margin-bottom: var(--space-1);
}

.fc-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.fc-price {
  font-size: 1.45rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* -------------------------------------------------------------
 * 4. Highlights Grid (Khối 3)
 * ----------------------------------------------------------- */
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .highlights-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  backdrop-filter: var(--glass-blur);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--surface-border-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 197, 66, 0.12);
}

.highlight-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(245, 197, 66, 0.1);
  border: 1px solid rgba(245, 197, 66, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  margin-bottom: var(--space-4);
}

.highlight-title {
  font-size: 1.15rem;
  margin-bottom: var(--space-2);
}

.highlight-desc {
  font-size: 0.92rem;
  color: var(--text-2);
}

/* -------------------------------------------------------------
 * 5. Bảng Giá 18 Cấp VIP (Khối 4)
 * ----------------------------------------------------------- */
.price-table-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .price-table-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .price-table-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-4);
  }
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  text-align: center;
  backdrop-filter: var(--glass-blur);
  position: relative;
  transition: all var(--transition-base);
  cursor: pointer;
}

.price-card:hover {
  border-color: var(--surface-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.price-card.is-featured {
  border-color: var(--gold-400);
  background: radial-gradient(circle at 50% 0%, rgba(245, 197, 66, 0.14) 0%, rgba(22, 19, 16, 0.9) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(245, 197, 66, 0.25);
}

.price-card.is-active {
  outline: 2px solid var(--gold-300);
  outline-offset: 2px;
}

.card-vip-badge {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: var(--space-2);
}

.card-tier-tag {
  display: inline-block;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
  font-weight: 600;
}

.card-price-max {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-200);
  margin-bottom: var(--space-1);
}

.card-price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* -------------------------------------------------------------
 * 6. Công Cụ Định Giá Nhanh (Khối 5)
 * ----------------------------------------------------------- */
.calculator-box {
  background: radial-gradient(circle at 50% 0%, rgba(245, 197, 66, 0.08) 0%, rgba(20, 17, 14, 0.95) 100%);
  border: 1px solid var(--surface-border-hover);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--glass-shadow), var(--gold-glow);
  max-width: 820px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .calc-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-10);
    align-items: center;
  }
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: var(--space-2);
}

.custom-select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(10, 8, 7, 0.85);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  color: var(--text-1);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.custom-select:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 16px rgba(245, 197, 66, 0.25);
}

/* Slider Controls */
.slider-container {
  margin-top: var(--space-3);
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-3);
}

.slider-level-display {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-300);
}

.custom-range {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #2a2520;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-gradient);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(245, 197, 66, 0.6);
  border: 2px solid #ffffff;
  transition: transform 0.1s ease;
}

.custom-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-2);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Result Card */
.calc-result-card {
  background: rgba(12, 10, 8, 0.85);
  border: 1px solid rgba(245, 197, 66, 0.28);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}

.calc-price-lead {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}

.calc-price-big {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  font-family: var(--font-display);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-2);
}

.calc-tier-badge {
  margin-bottom: var(--space-4);
}

.calc-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.4;
}

.calc-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Hàng 2 nút hành động Định danh & Hướng dẫn xác minh */
.calc-bottom-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--surface-border);
}

@media (min-width: 768px) {
  .calc-bottom-actions {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-10);
    align-items: flex-start;
  }
}

.calc-action-col {
  display: flex;
  flex-direction: column;
}

.calc-action-note {
  font-size: 0.82rem;
  color: var(--gold-300);
  background: rgba(245, 197, 66, 0.08);
  border: 1px solid rgba(245, 197, 66, 0.25);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  margin-top: var(--space-3);
  line-height: 1.45;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.calc-action-subtext {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: var(--space-3);
  line-height: 1.45;
  text-align: center;
}

/* Modal Popup Định Danh */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

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

.modal-card {
  background: radial-gradient(circle at 50% 0%, rgba(245, 197, 66, 0.12) 0%, rgba(20, 17, 14, 0.98) 100%);
  border: 1px solid var(--surface-border-hover);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), var(--gold-glow);
  transform: translateY(20px) scale(0.96);
  transition: all var(--transition-base);
}

.modal-overlay.is-active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: #fff;
  border-color: var(--gold-400);
}


/* -------------------------------------------------------------
 * 7. Hướng Dẫn Xác Minh 3 Bước (Khối 6)
 * ----------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.05) 0%, rgba(20, 20, 24, 0.75) 100%);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-400);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.2);
}

.step-card.step-card-highlight {
  border-color: rgba(245, 197, 66, 0.5);
  background: radial-gradient(circle at top right, rgba(245, 197, 66, 0.12) 0%, rgba(20, 20, 24, 0.85) 100%);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(245, 197, 66, 0.15);
}

.step-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
}

.step-badge {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-300);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.step-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(170, 130, 10, 0.1) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin-bottom: var(--space-3);
}

.step-highlight-box {
  background: rgba(0, 0, 0, 0.45);
  border-left: 3px solid var(--gold-400);
  padding: var(--space-3) var(--space-4);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: var(--space-4);
  font-size: 0.94rem;
  color: var(--gold-200);
  line-height: 1.5;
  font-weight: 500;
}

.step-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.45;
}

.step-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.step-checklist svg {
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Security & Trust Guarantee Bar */
.step-guarantee-bar {
  background: linear-gradient(135deg, rgba(28, 28, 35, 0.8) 0%, rgba(18, 18, 22, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
  .step-guarantee-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guarantee-col {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.guarantee-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  flex-shrink: 0;
}

.guarantee-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 2px;
}

.guarantee-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* -------------------------------------------------------------
 * 8. Yếu Tố Ảnh Hưởng & Nền Tảng (Khối 7 & 8)
 * ----------------------------------------------------------- */
.factors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .factors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.factor-card {
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-4);
}

.factor-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(245, 197, 66, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
}

.platforms-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.platform-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--transition-fast);
}

.platform-tag:hover {
  border-color: var(--gold-400);
  color: var(--gold-200);
  background: rgba(245, 197, 66, 0.08);
  transform: translateY(-2px);
}

/* -------------------------------------------------------------
 * 9. FAQ Accordion (Khối 10)
 * ----------------------------------------------------------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--surface-border-hover);
}

.faq-question {
  padding: var(--space-5) var(--space-6);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-1);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--gold-400);
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* -------------------------------------------------------------
 * 10. Chân Trang & Thanh CTA Nổi Mobile (Khối 11)
 * ----------------------------------------------------------- */
.site-footer {
  background: #080605;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-16) 0 var(--space-20);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

.footer-disclaimer {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* Floating Bottom CTA Bar for Mobile */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: rgba(12, 10, 8, 0.95);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--surface-border-hover);
  display: flex;
  gap: var(--space-3);
  z-index: 99;
}

@media (min-width: 768px) {
  .mobile-cta-bar {
    display: none;
  }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 84px;
  right: var(--space-4);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  pointer-events: none;
}

.toast {
  background: rgba(22, 19, 16, 0.95);
  color: var(--text-1);
  border: 1px solid var(--gold-400);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-5);
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Khối 7: Bằng Chứng Giao Dịch Thực Tế (Proof of Payment & Social Proof Feed)
   ========================================================================== */
.proof-section {
  position: relative;
  overflow: hidden;
}

/* Live Payout Ticker */
.live-ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: rgba(245, 197, 66, 0.05);
  border-top: 1px solid rgba(245, 197, 66, 0.2);
  border-bottom: 1px solid rgba(245, 197, 66, 0.2);
  padding: 10px 0;
  margin-bottom: var(--space-8);
  white-space: nowrap;
  position: relative;
}

.live-ticker-track {
  display: inline-flex;
  gap: var(--space-8);
  animation: tickerSlide 40s linear infinite;
}

.live-ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-1);
}

.ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.ticker-time {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.ticker-user {
  font-weight: 600;
  color: var(--gold-300);
}

.ticker-amount {
  font-weight: 700;
  color: #10b981;
}

/* Proof Grid */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

@media (min-width: 992px) {
  .proof-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-8);
    align-items: stretch;
  }
}

.proof-card {
  background: radial-gradient(circle at 50% 0%, rgba(245, 197, 66, 0.08) 0%, rgba(18, 15, 12, 0.95) 100%);
  border: 1px solid var(--surface-border-hover);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
}

.proof-card:hover {
  border-color: var(--gold-400);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 197, 66, 0.15);
  transform: translateY(-3px);
}

.proof-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.proof-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-2);
}

.proof-card-desc {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

/* Proof Image Thumbnail with Zoom trigger */
.proof-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245, 197, 66, 0.3);
  cursor: pointer;
  background: #000;
  max-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  transition: all var(--transition-base);
}

.proof-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.proof-img-box:hover img {
  transform: scale(1.03);
}

.proof-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.proof-img-box:hover .proof-zoom-overlay {
  opacity: 1;
}

.proof-zoom-btn {
  background: rgba(245, 197, 66, 0.9);
  color: #000;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transform: translateY(8px);
  transition: transform var(--transition-base);
}

.proof-img-box:hover .proof-zoom-btn {
  transform: translateY(0);
}

.proof-img-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--gold-300);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 197, 66, 0.3);
  pointer-events: none;
}

/* Proof Meta Table */
.proof-meta-table {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
}

.proof-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
}

.proof-meta-row:last-child {
  border-bottom: none;
}

.proof-meta-label {
  color: var(--text-muted);
}

.proof-meta-val {
  color: #fff;
  font-weight: 600;
  text-align: right;
}

.proof-meta-val.text-green {
  color: #10b981;
  font-weight: 700;
}

.proof-meta-val.text-gold {
  color: var(--gold-400);
  font-weight: 700;
}

/* Proof Quote Box (Objection Buster) */
.proof-quote-box {
  background: rgba(245, 197, 66, 0.06);
  border-left: 3px solid var(--gold-400);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-4);
  margin-bottom: var(--space-4);
}

.proof-quote-text {
  font-size: 0.95rem;
  font-style: italic;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 8px;
}

.proof-quote-author {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-400);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Proof Commitments */
.proof-commitments {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-commitments li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-2);
}

.proof-commitments li svg {
  color: #10b981;
  flex-shrink: 0;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.lightbox-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.is-open .lightbox-container {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border-hover);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(245, 197, 66, 0.2);
}

.lightbox-caption {
  margin-top: var(--space-3);
  color: var(--text-2);
  font-size: 0.88rem;
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--gold-400);
  color: #000;
  transform: scale(1.1);
}
