:root {
  --primary: #06d6a0;
  --primary-light: #34e8b8;
  --primary-dark: #04b686;
  --accent: #ffd166;
  --accent-light: #ffe08a;
  --warning: #ffd166;
  --error: #ff6b6b;
  --success: #06d6a0;
  --text: #1a1d26;
  --text-primary: #1a1d26;
  --text-secondary: #5a6178;
  --text-muted: #8b92a8;
  --bg: #f8f9fc;
  --bg-soft: #ffffff;
  --bg-muted: #f0f2f7;
  --bg-dark: #e8ebf0;
  --border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .04);
  --shadow: 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .08);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, .1);
  --shadow-xl: 0 8px 24px rgba(0, 0, 0, .12);
  --gradient: linear-gradient(135deg, #06d6a0, #38bdf8);
  --gradient-accent: linear-gradient(135deg, #ffd166, #ff6b6b);
  --gradient-soft: #f8f9fc;
}

/* ===== DARK MODE VARIABLE OVERRIDES ===== */
html.dark-mode,
body.dark-mode {
  --primary: #06d6a0;
  --primary-light: #34e8b8;
  --primary-dark: #04b686;
  --accent: #ffd166;
  --accent-light: #ffe08a;
  --warning: #ffd166;
  --error: #ff6b6b;
  --success: #06d6a0;
  --text: #f0f4f8;
  --text-primary: #f0f4f8;
  --text-secondary: #8892a4;
  --text-light: #a0a8b8;
  --text-muted: #5a6478;
  --bg: #0a0e1a;
  --bg-soft: #111827;
  --bg-muted: #1a2035;
  --bg-dark: #060912;
  --border: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .2);
  --shadow: 0 2px 8px rgba(0, 0, 0, .3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .25);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, .4);
  --shadow-xl: 0 8px 24px rgba(0, 0, 0, .5);
  --gradient: linear-gradient(135deg, #06d6a0, #38bdf8);
  --gradient-accent: linear-gradient(135deg, #ffd166, #ff6b6b);
  --gradient-soft: #111827;
}

html.dark-mode body,
body.dark-mode {
  background: #0a0e1a;
  color: #f0f4f8;
}

/* Dark mode form inputs */
html.dark-mode .form-input,
body.dark-mode .form-input {
  background: #111827;
  border-color: rgba(255,255,255,0.08);
  color: #f0f4f8;
}

html.dark-mode .form-input:focus,
body.dark-mode .form-input:focus {
  background: #111827;
  border-color: #06d6a0;
}

/* Dark mode warning box */
html.dark-mode .warning-box,
body.dark-mode .warning-box {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
}

html.dark-mode .warning-box p,
body.dark-mode .warning-box p {
  color: #fbbf24;
}

/* Dark mode option labels */
html.dark-mode .option-label,
body.dark-mode .option-label {
  background: #111827;
  border-color: rgba(255,255,255,0.08);
}

/* Dark mode feature cards */
html.dark-mode .feature-card,
body.dark-mode .feature-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}

/* Dark mode product cards */
html.dark-mode .product-card,
body.dark-mode .product-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
}

/* Dark mode section labels */
html.dark-mode .section-label,
body.dark-mode .section-label {
  background: #1a2035;
}

/* Dark mode account box */
html.dark-mode .account-box,
body.dark-mode .account-box {
  background: #111827;
  border-color: rgba(255,255,255,0.08);
}

/* Dark mode page-hero and content-card */
html.dark-mode .page-hero,
body.dark-mode .page-hero {
  background: #111827;
}

html.dark-mode .page-hero h1,
body.dark-mode .page-hero h1 {
  color: #f0f4f8;
}

html.dark-mode .content-card,
body.dark-mode .content-card {
  background: #0a0e1a;
  border-color: rgba(255,255,255,0.08);
}

html.dark-mode .content-card h2,
body.dark-mode .content-card h2 {
  color: #f0f4f8;
  border-bottom-color: rgba(255,255,255,0.08);
}

html.dark-mode .content-card h3,
body.dark-mode .content-card h3 {
  color: #60a5fa;
}

html.dark-mode .content-card p,
html.dark-mode .content-card li,
body.dark-mode .content-card p,
body.dark-mode .content-card li {
  color: #94a3b8;
}

/* Dark mode support card */
html.dark-mode .support-card,
body.dark-mode .support-card {
  background: #2563eb;
}

/* Dark mode form card */
html.dark-mode .form-card,
body.dark-mode .form-card {
  background: #1e293b;
  border-color: #334155;
}

/* Dark mode FAQ */
html.dark-mode .faq-item,
body.dark-mode .faq-item {
  background: #1e293b;
  border-color: #334155;
}

html.dark-mode .faq-question,
body.dark-mode .faq-question {
  color: #e2e8f0;
}

html.dark-mode .faq-question:hover,
body.dark-mode .faq-question:hover {
  background: #334155;
}

/* Dark mode dynamic content */
html.dark-mode .dynamic-content h3,
body.dark-mode .dynamic-content h3 {
  color: #f1f5f9;
}

html.dark-mode .dynamic-content h4,
body.dark-mode .dynamic-content h4 {
  color: #e2e8f0;
}

html.dark-mode .dynamic-content p,
html.dark-mode .dynamic-content li,
body.dark-mode .dynamic-content p,
body.dark-mode .dynamic-content li {
  color: #94a3b8;
}

html.dark-mode .dynamic-content strong,
body.dark-mode .dynamic-content strong {
  color: #f1f5f9;
}

/* Dark mode policy highlight/warning */
html.dark-mode .policy-highlight,
body.dark-mode .policy-highlight {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.08) 100%);
  border-color: rgba(34, 197, 94, 0.4);
}

html.dark-mode .policy-warning,
body.dark-mode .policy-warning {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.08) 100%);
  border-color: rgba(239, 68, 68, 0.4);
}

/* Dark mode selection */
html.dark-mode ::selection {
  background: #3b82f6;
  color: #fff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Be Vietnam Pro', 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
/* Old header CSS - Commented out to prevent conflicts with new header in header.php */
/*
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
  color: var(--text);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav ul {
  display: flex;
  gap: 8px;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

nav a:hover {
  color: var(--primary);
  background: var(--bg-muted);
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
*/

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary) !important;
  color: #fff;
  box-shadow: 0 1px 3px rgba(37, 99, 235, .2);
}

.btn-primary:hover {
  background: var(--primary-dark) !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, .25);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* stat-item uses clean solid bg via later rules */

/* ===== HERO ===== */
.hero {
  padding: 140px 0 64px;
  background: var(--bg-soft);
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-badge svg {
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* Steps */
.steps {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.step-content p {
  font-size: 13px;
  color: var(--text-secondary);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== ACTIVATION FORM CARD ===== */
.form-card {
  background: var(--bg);
  border-radius: var(--ds-radius-xl, 20px);
  padding: var(--ds-space-8, 32px);
  box-shadow: var(--ds-shadow-lg);
  border: 1px solid var(--border);
  position: relative;
}

.form-header {
  text-align: center;
  margin-bottom: 28px;
}

.form-header-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
}

.form-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

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

.form-group {
  margin-bottom: var(--ds-space-4, 16px);
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-label .required {
  color: var(--error);
}

.form-input {
  width: 100%;
  padding: var(--ds-space-3, 12px) var(--ds-space-4, 16px);
  border-radius: var(--ds-radius-base, 8px);
  border: 1px solid var(--border);
  font-size: var(--ds-text-base, 14px);
  font-family: inherit;
  transition: all var(--ds-transition-fast, 150ms ease);
  background: var(--bg);
}

.form-input:focus {
  outline: none;
  border-color: var(--ds-info, #3b82f6);
  background: var(--bg);
  box-shadow: var(--ds-focus-ring, 0 0 0 3px rgba(59, 130, 246, 0.15));
}

.form-input::placeholder {
  color: #94a3b8;
}

.form-input.code-input {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Radio Options */
.option-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-item {
  position: relative;
}

.option-item input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.option-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--bg-soft);
}

.option-item input:checked+.option-label {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
}

.option-radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.option-item input:checked+.option-label .option-radio {
  border-color: var(--primary);
  background: var(--primary);
}

.option-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.option-item input:checked+.option-label .option-radio::after {
  opacity: 1;
}

.option-text {
  flex: 1;
}

.option-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

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

.password-field {
  display: none;
  margin-top: 14px;
  animation: slideDown 0.3s ease;
}

.password-field.show {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* reCAPTCHA placeholder */
.captcha-wrapper {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  padding: 16px;
  background: var(--bg-soft);
  border-radius: 12px;
  border: 1px dashed var(--border);
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

/* ===== RESULT SCREENS ===== */
.result-screen {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.result-screen.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.result-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.result-icon.success {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #fff;
}

.result-icon.error {
  background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
  color: #fff;
}

.result-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.result-title.success {
  color: var(--accent);
}

.result-title.error {
  color: var(--error);
}

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

/* Account Info Box */
.account-box {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  text-align: left;
}

.account-box-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.account-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.account-item:last-child {
  border-bottom: none;
}

.account-item label {
  font-size: 13px;
  color: var(--text-secondary);
}

.account-item .value {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.copy-btn {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: var(--bg-muted);
}

.warning-box {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  text-align: left;
}

.warning-box svg {
  flex-shrink: 0;
  color: var(--warning);
}

.warning-box p {
  font-size: 13px;
  color: #92400e;
}

/* ===== FEATURES SECTION ===== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-label {
  display: inline-block;
  background: var(--bg-muted);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--bg);
  border-radius: 8px;
  padding: 24px;
  border: 1px solid var(--border);
  transition: box-shadow .2s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== PRODUCTS SECTION ===== */
.section-muted {
  background: var(--bg-soft);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.product-card {
  background: var(--bg);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.product-image {
  height: 180px;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}

.product-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-content p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
  margin-top: auto;
}

.product-price .current {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.product-price .original {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: line-through;
}

.product-features {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.product-features li:last-child {
  margin-bottom: 0;
}

.product-features li svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.product-card .btn {
  width: 100%;
}

/* ===== SUPPORT SECTION ===== */
.support-card {
  background: var(--primary);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  color: #fff;
}

.support-card h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.support-card p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
  position: relative;
}

.support-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

.btn-support {
  background: #fff;
  color: var(--primary);
  padding: 14px 28px;
  font-weight: 600;
}

.btn-support:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-support.zalo {
  background: #0068ff;
  color: #fff;
}

.btn-support.messenger {
  background: linear-gradient(135deg, #00c6ff 0%, #0078ff 100%);
  color: #fff;
}

/* ===== FOOTER ===== */
footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
  border-top: 2px solid rgba(255, 255, 255, 0.4) !important;
}

/* Dark mode - Footer top divider more visible */
body.dark-mode footer {
  border-top: 2px solid rgba(255, 255, 255, 0.5) !important;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: none !important;
  margin-bottom: 24px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand .logo span {
  background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  margin-top: auto;
}

.product-price .current {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.product-price .original {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: line-through;
}

.product-features {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.product-features li:last-child {
  margin-bottom: 0;
}

.product-features li svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.product-card .btn {
  width: 100%;
}

/* ===== SUPPORT SECTION ===== */
.support-card {
  background: var(--primary);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.support-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.support-card h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.support-card p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
  position: relative;
}

.support-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

.btn-support {
  background: #fff;
  color: var(--primary);
  padding: 14px 28px;
  font-weight: 600;
}

.btn-support:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-support.zalo {
  background: #0068ff;
  color: #fff;
}

.btn-support.messenger {
  background: linear-gradient(135deg, #00c6ff 0%, #0078ff 100%);
  color: #fff;
}

/* Footer */
footer {
  background: #111827;
  color: rgba(255, 255, 255, .65);
  padding: 48px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

/* Dark mode - Footer */
body.dark-mode footer {
  background: linear-gradient(180deg, #0a0e1a 0%, #060912 100%);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.footer-brand {
  padding-right: 20px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand .logo .logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.footer-brand .logo span {
  background: linear-gradient(135deg, #06d6a0 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
  color: #8892a4;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .5);
  transition: all .2s ease;
}

.footer-social a:hover {
  background: rgba(6, 214, 160, 0.1);
  border-color: rgba(6, 214, 160, 0.3);
  color: #06d6a0;
}

.footer-col h4 {
  color: #f0f4f8;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #8892a4;
  text-decoration: none;
  font-size: 14px;
  transition: color .2s ease;
}

.footer-col a:hover {
  color: #06d6a0;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
  font-size: 14px;
  color: #64748b;
  position: relative;
  z-index: 1;
}

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

/* Dark mode - Footer divider removed */
body.dark-mode .footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== RESPONSIVE ===== */

/* Tablet landscape and small desktop (992px and below) */
@media (max-width: 992px) {
  .container {
    padding: 0 24px;
    gap: 12px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    font-size: 32px;
  }

  .hero-title {
    font-size: 40px;
  }

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

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

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* Tablet portrait (768px and below) */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  /* Old header style removed - using new header from header.php */

  .hero {
    padding: 140px 0 60px;
    /* Adjusted for new header height on tablet */
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.2;
  }

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

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .section-desc {
    font-size: 15px;
  }

  .header-inner nav {
    display: none;
  }

  .steps {
    flex-direction: column;
    gap: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

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

  .support-card {
    padding: 32px 20px;
  }

  .support-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .modal-content {
    margin: 20px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 120px 0 40px;
    /* Adjusted for new header on mobile */
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .section-label {
    font-size: 11px;
  }

  .form-card {
    padding: 24px;
  }

  .form-header-icon {
    width: 48px;
    height: 48px;
  }

  .form-title {
    font-size: 20px;
  }

  .btn {
    padding: 14px 24px;
    font-size: 15px;
  }

  .product-card {
    padding: 0;
  }

  .product-content {
    padding: 20px;
  }

  .product-content h3 {
    font-size: 16px;
  }

  .product-price .current {
    font-size: 22px;
  }

  .support-card {
    padding: 24px 16px;
  }

  .support-card h2 {
    font-size: 24px;
  }

  .footer-brand p {
    font-size: 14px;
  }

  .modal-content {
    margin: 12px;
    max-width: 100%;
  }

  .modal-header {
    padding: 20px;
  }

  .modal-body {
    padding: 20px;
  }

  .contact-item {
    padding: 12px;
    gap: 12px;
  }
}

/* ===== SUPPORT MODAL ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal[style*="display: flex"],
.modal[style*="display:flex"] {
  display: flex !important;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: var(--bg);
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--bg-muted);
  color: var(--text);
}

.modal-body {
  padding: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--bg-soft);
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.contact-item:hover {
  background: var(--bg-muted);
  transform: translateX(4px);
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

.contact-item div {
  flex: 1;
}

.contact-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ===== TRUST BADGES ===== */
.trust-badges {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.5);
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.trust-badge svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.trust-badge.gold svg {
  color: #f59e0b;
}

/* ===== STATS SECTION ===== */
.stats-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  background: var(--bg);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border);
}

.stat-item:hover {
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1.2;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

@media (max-width: 768px) {
  .trust-badges {
    justify-content: center;
  }

  .stats-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .stats-section {
    grid-template-columns: 1fr;
  }
}