/* =========================================================
   CYBERSHIELD - DESIGN SYSTEM & STYLES (MOBILE-FIRST)
   ========================================================= */

/* CSS Variables */
:root {
  --bg-main: #060911;
  --bg-surface: #0b1120;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #00e5ff;
  --border-glow: rgba(0, 229, 255, 0.35);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-cyan: #00e5ff;
  --accent-cyan-dark: #00b4d8;
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.3);
  --accent-amber: #f59e0b;
  --accent-red: #f43f5e;
  --accent-red-bg: rgba(244, 63, 94, 0.12);

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 12px 32px -8px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(0, 229, 255, 0.18);
  --shadow-button: 0 4px 20px rgba(0, 229, 255, 0.4);

  --tap-target-min: 48px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px; /* Prevents auto-zoom in iOS Safari */
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  font-weight: 400;
}

strong, b {
  font-weight: 700;
  color: var(--text-primary);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input {
  font-family: inherit;
  font-size: 1rem;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
}

.text-center {
  text-align: center;
}

.desktop-only {
  display: none;
}

/* Glassmorphism Card Utility */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  border-color: rgba(0, 229, 255, 0.25);
  box-shadow: var(--shadow-card), 0 0 25px rgba(0, 229, 255, 0.08);
}

/* Section Header Shared */
.section-header {
  margin-bottom: 40px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

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

.section-subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 14px 24px;
  min-height: var(--tap-target-min);
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #00e5ff 0%, #00a3ff 100%);
  color: #050b14;
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 229, 255, 0.6);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
  min-height: 40px;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 1.05rem;
  min-height: 52px;
}

/* =========================================================
   1. NAVBAR
   ========================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 9, 17, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-shield {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(0, 163, 255, 0.1));
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.brand-tagline {
  font-size: 0.6875rem;
  color: var(--accent-cyan);
  font-weight: 600;
  letter-spacing: 0.04em;
}

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

.nav-contact-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-primary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.nav-contact-link:hover {
  color: var(--accent-cyan);
}

.nav-actions .btn {
  display: none;
}

/* =========================================================
   2. HERO SECTION
   ========================================================= */
.hero-section {
  position: relative;
  padding-top: 35px;
  padding-bottom: 60px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, rgba(16, 185, 129, 0.05) 50%, transparent 80%);
  pointer-events: none;
  filter: blur(50px);
  z-index: 0;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  width: fit-content;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.highlight-gradient {
  background: linear-gradient(135deg, #00e5ff 0%, #38bdf8 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-assurances {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.assurance-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.assurance-item strong {
  color: var(--accent-cyan);
}

/* =========================================================
   FORM CARD STYLING (HERO & FOOTER)
   ========================================================= */
.form-card {
  padding: 24px 20px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(11, 17, 32, 0.95) 100%);
}

.form-header {
  margin-bottom: 20px;
  position: relative;
}

.form-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #050b14;
  background: var(--accent-cyan);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}

.form-desc {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.scan-booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group .required {
  color: var(--accent-red);
}

.form-group input {
  width: 100%;
  min-height: 50px; /* Touch target >= 48px */
  padding: 12px 16px;
  background: rgba(6, 9, 17, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-group input:focus {
  outline: none;
  border-color: var(--border-focus);
  background: rgba(6, 9, 17, 0.95);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

.form-group input::placeholder {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.form-privacy-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78125rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* =========================================================
   3. PROBLEM SECTION (VẤN ĐỀ)
   ========================================================= */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.problem-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.warning-icon {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.alert-icon {
  background: rgba(0, 229, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.25);
}

.danger-icon {
  background: var(--accent-red-bg);
  color: var(--accent-red);
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.gear-icon {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.problem-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.problem-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* =========================================================
   4. WORKFLOW SECTION (SƠ ĐỒ 3 BƯỚC RESPONSIVE)
   ========================================================= */
.workflow-section {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
}

.steps-diagram-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.step-card {
  width: 100%;
  padding: 28px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(0, 229, 255, 0.15);
}

.step-badge-number {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
}

.step-header-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.step-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(0, 163, 255, 0.05));
  border: 1px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.step-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.step-info-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
}

.step-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.step-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: #a7f3d0;
  width: fit-content;
}

.step-meta-badge strong {
  color: var(--accent-emerald);
}

/* Connectors Mobile: Vertical Down Arrow */
.step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
}

.connector-line {
  display: none;
}

.connector-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  animation: bounce-arrow 1.8s infinite;
}

.desktop-arrow {
  display: none;
}

.mobile-arrow {
  display: block;
}

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

/* =========================================================
   5. BENEFITS SECTION (LỢI ÍCH CỤ THỂ)
   ========================================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.benefit-item {
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.benefit-text p {
  font-size: 0.9375rem;
}

/* =========================================================
   6. ROADMAP TIMELINE (GIAI ĐOẠN)
   ========================================================= */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  width: fit-content;
}

.timeline-content {
  padding: 20px;
}

.timeline-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.timeline-header h3 {
  font-size: 1.15rem;
}

.timeline-duration {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-emerald);
}

/* =========================================================
   7. EXPERT SECTION (CREDIBILITY)
   ========================================================= */
.expert-card {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.expert-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.expert-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.image-overlay-note {
  padding: 8px 12px;
  background: rgba(6, 9, 17, 0.9);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.image-overlay-note code {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.expert-badge-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 10px 18px;
  border-radius: var(--radius-full);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.expert-details {
  display: flex;
  flex-direction: column;
}

.expert-intro {
  font-size: 1rem;
  margin-top: 12px;
  margin-bottom: 20px;
}

.expert-commitments {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

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

.commitment-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.commitment-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.commitment-item p {
  font-size: 0.875rem;
}

.expert-contact-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.expert-link {
  color: var(--accent-cyan);
}

.divider {
  color: var(--text-muted);
}

/* =========================================================
   8. PROOF & VULNERABILITY SPOTLIGHT
   ========================================================= */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.proof-card {
  padding: 24px 20px;
}

.proof-card-header {
  margin-bottom: 16px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
}

.pulse-green {
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.report-image-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-bottom: 18px;
}

.report-highlights h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--accent-cyan);
}

.report-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.report-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 18px;
}

.report-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-size: 1.25rem;
  line-height: 1;
}

.report-list strong {
  color: var(--text-primary);
}

/* Vulnerability Spotlight Card */
.vuln-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-red);
  background: var(--accent-red-bg);
  border: 1px solid rgba(244, 63, 94, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.vuln-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.4;
}

.vuln-block {
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.danger-block {
  background: rgba(244, 63, 94, 0.06);
  border-left: 3px solid var(--accent-red);
}

.solution-block {
  background: rgba(16, 185, 129, 0.06);
  border-left: 3px solid var(--accent-emerald);
}

.vuln-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.danger-block .vuln-label {
  color: var(--accent-red);
}

.solution-block .vuln-label {
  color: var(--accent-emerald);
}

.vuln-block p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.vuln-block p:last-child {
  margin-bottom: 0;
}

.vuln-block code {
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent-cyan);
  font-size: 0.85em;
}

.vuln-fix-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 4px;
}

.vuln-fix-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 18px;
}

.vuln-fix-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
  font-weight: 600;
}

.vuln-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 18px;
}

.vuln-cta p {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* =========================================================
   9. FAQ SECTION & ACCORDION
   ========================================================= */
.faq-tabs-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.faq-tab-btn {
  width: 100%;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.9375rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  min-height: var(--tap-target-min);
}

.faq-tab-btn.active {
  background: rgba(0, 229, 255, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

.faq-tab-content {
  display: none;
}

.faq-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.accordion-item:has(.accordion-header[aria-expanded="true"]) {
  border-color: rgba(0, 229, 255, 0.3);
}

.accordion-header {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  min-height: var(--tap-target-min);
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent-cyan);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  line-height: 1;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  padding: 0 20px;
}

.accordion-body p {
  padding-bottom: 20px;
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* =========================================================
   10. FINAL CTA SECTION & FORM #2
   ========================================================= */
.final-cta-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
}

.cta-bg-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, rgba(16, 185, 129, 0.05) 50%, transparent 80%);
  filter: blur(60px);
  pointer-events: none;
}

.final-cta-wrapper {
  padding: 32px 20px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 10px;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 1rem;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}

.bottom-form-card {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.form-row-2 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.direct-contact-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.direct-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  min-height: 42px;
}

.direct-pill strong {
  color: var(--accent-cyan);
}

.direct-pill:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.08);
}

/* =========================================================
   11. FOOTER
   ========================================================= */
.footer {
  background: #04060c;
  border-top: 1px solid var(--border-subtle);
  padding-top: 40px;
  padding-bottom: 30px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.875rem;
  max-width: 400px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent-cyan);
}

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

.footer-col li, .footer-col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  font-size: 0.78125rem;
  color: var(--text-muted);
}

.footer-bottom-flex {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* =========================================================
   12. FLOATING QUICK CONTACT (HOTLINE & ZALO RIÊNG BIỆT)
   ========================================================= */
.floating-contact-widget {
  position: fixed;
  bottom: 22px;
  right: 18px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.floating-btn {
  display: flex;
  align-items: center;
  position: relative;
  text-decoration: none;
}

.floating-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.floating-btn:hover .floating-icon-wrap {
  transform: scale(1.1);
}

/* Nút Gọi Hotline: Xanh ngọc Emerald nổi bật */
.phone-icon-wrap {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

/* Nút Zalo: Xanh thương hiệu Zalo */
.zalo-icon-wrap {
  background: #0068ff;
  box-shadow: 0 6px 20px rgba(0, 104, 255, 0.45);
}

/* Vòng sóng Pulse Animation */
.pulse-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  animation: float-pulse 2.2s infinite cubic-bezier(0, 0.2, 0.8, 1);
}

.phone-pulse {
  background: rgba(16, 185, 129, 0.4);
}

.zalo-pulse {
  background: rgba(0, 104, 255, 0.4);
  animation-delay: 1.1s;
}

@keyframes float-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

.floating-tooltip {
  display: none;
}

@media (min-width: 768px) {
  .floating-tooltip {
    display: block;
    position: absolute;
    right: 64px;
    white-space: nowrap;
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-primary);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .floating-btn:hover .floating-tooltip {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================================================
   13. SUCCESS POPUP MODAL
   ========================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.show {
  display: flex;
  opacity: 1;
}

.modal-card {
  max-width: 480px;
  width: 100%;
  padding: 32px 24px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  text-align: center;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.show .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.modal-icon-success {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.modal-title {
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.modal-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.modal-desc strong {
  color: var(--accent-cyan);
}

.modal-cta-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.modal-subtext {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS (DESKTOP ENHANCEMENTS)
   ========================================================= */

/* Tablet & Up (>= 768px) */
@media (min-width: 768px) {
  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .nav-actions .btn {
    display: inline-flex;
  }

  .section-title {
    font-size: 2.25rem;
  }

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

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

  .benefits-grid .benefit-item:last-child {
    grid-column: span 2;
  }

  .timeline-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .form-row-2 {
    flex-direction: row;
  }

  .form-row-2 .form-group {
    flex: 1;
  }

  .faq-tabs-nav {
    flex-direction: row;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .direct-contact-bar {
    flex-direction: row;
    justify-content: center;
  }

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

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

  .zalo-tooltip {
    display: block;
    margin-right: 12px;
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 104, 255, 0.4);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    opacity: 0.95;
    transition: opacity 0.2s;
  }

  .zalo-tooltip strong {
    color: #38bdf8;
  }
}

/* Desktop & Up (>= 1024px) */
@media (min-width: 1024px) {
  .desktop-only {
    display: inline;
  }

  .hero-section {
    padding-top: 60px;
    padding-bottom: 100px;
  }

  .hero-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }

  .hero-content {
    flex: 1;
    max-width: 580px;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-form-wrapper {
    flex: 0 0 440px;
  }

  /* SƠ ĐỒ 3 BƯỚC: CHUYỂN THÀNH HÀNG NGANG VỚI MŨI TÊN NỐI NGANG TRÊN DESKTOP */
  .steps-diagram-container {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
  }

  .step-card {
    flex: 1;
  }

  .step-connector {
    flex-direction: row;
    align-items: center;
    padding: 0 8px;
    flex-shrink: 0;
  }

  .desktop-arrow {
    display: block;
  }

  .mobile-arrow {
    display: none;
  }

  @keyframes bounce-arrow-horizontal {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
  }

  .connector-arrow {
    animation: bounce-arrow-horizontal 1.8s infinite;
  }

  .expert-card {
    flex-direction: row;
    align-items: center;
    padding: 48px;
    gap: 48px;
  }

  .expert-visual {
    flex: 0 0 320px;
  }

  .expert-details {
    flex: 1;
  }

  .proof-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }

  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-info {
    max-width: 380px;
  }
}
