/* ==========================================
   ALOCX AI - PREMIUM B2B DESIGN SYSTEM
   ========================================== */

/* Importing Modern Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* HSL Color Palette */
  --bg-deep: 222 47% 5%;          /* #020617 (Deep cosmic dark) */
  --bg-card: 223 47% 10%;         /* #090e1f (Glass card bg) */
  --primary-hue: 221;
  --primary-sat: 83%;
  --primary-light: 53%;           /* #2563eb (Electric Blue) */
  --primary: hsl(var(--primary-hue) var(--primary-sat) var(--primary-light));
  --primary-glow: hsla(var(--primary-hue) var(--primary-sat) var(--primary-light) / 0.15);
  
  --cyan-hue: 188;
  --cyan-sat: 86%;
  --cyan-light: 53%;             /* #06b6d4 (Neon Cyan Accent) */
  --accent-cyan: hsl(var(--cyan-hue) var(--cyan-sat) var(--cyan-light));
  --cyan-glow: hsla(var(--cyan-hue) var(--cyan-sat) var(--cyan-light) / 0.2);

  --purple-hue: 263;
  --purple: hsl(var(--purple-hue) 70% 50%);
  --purple-glow: hsla(var(--purple-hue) 70% 50% / 0.15);

  --text-primary: 210 40% 98%;    /* Ice white */
  --text-secondary: 215 20% 75%;  /* Slate gray */
  --text-muted: 215 16% 47%;     /* Dimmest gray */

  --border: 215 25% 15% / 0.7;    /* Subtle dark border */
  --border-glow: 221 83% 53% / 0.25;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout Constants */
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* Reset & Base Elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: hsl(var(--bg-deep));
  color: hsl(var(--text-primary));
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: hsl(var(--bg-deep));
}
::-webkit-scrollbar-thumb {
  background: hsl(var(--border));
  border-radius: var(--radius-sm);
  border: 2px solid hsl(var(--bg-deep));
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Interactive Button Base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.95rem;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, hsl(var(--primary-hue) var(--primary-sat) 43%) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px hsla(var(--primary-hue) var(--primary-sat) var(--primary-light) / 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 1px solid hsl(var(--border));
  backdrop-filter: blur(10px);
}

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

/* Background Cyber Mesh Nodes */
.mesh-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.mesh-node {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  mix-blend-mode: screen;
  animation: float 20s infinite alternate ease-in-out;
}

.node-1 {
  top: 10%;
  right: 5%;
  width: 450px;
  height: 450px;
  background: var(--primary);
}

.node-2 {
  top: 40%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: var(--purple);
  animation-duration: 25s;
}

.node-3 {
  bottom: 10%;
  right: 15%;
  width: 400px;
  height: 400px;
  background: var(--accent-cyan);
  animation-duration: 18s;
}

/* Sticky Header & Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid hsl(var(--border));
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(2, 6, 23, 0.85);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  height: 70px;
}

.nav-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: hsl(var(--text-secondary));
}

.nav-links a:hover {
  color: #fff;
}

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

/* Language Toggler */
.lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid hsl(var(--border));
  padding: 4px;
  border-radius: 50px;
  gap: 2px;
}

.lang-btn {
  background: none;
  border: none;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--text-muted));
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Mobile Nav Toggler */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.mobile-nav-toggle span {
  width: 25px;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* Container Utility */
.section {
  position: relative;
  padding: 100px 0;
}

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

/* Section Header Typography */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header .tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-glow);
  color: var(--primary);
  border: 1px solid var(--border-glow);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

/* ==========================================
   SECTION 1 - HERO SECTION
   ========================================== */
.hero-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 48px;
  padding-top: calc(var(--nav-height) + 40px);
  min-height: 90vh;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-content h1 span.gradient {
  background: linear-gradient(135deg, var(--primary) 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-badges {
  display: flex;
  gap: 24px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: hsl(var(--text-secondary));
}

.badge-icon {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
}

/* Dashboard Interactive Visualizer Widget */
.hero-visualizer {
  position: relative;
  width: 100%;
}

.panel-glass {
  background: rgba(9, 14, 31, 0.45);
  backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
}

.panel-header {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid hsl(var(--border));
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-controls {
  display: flex;
  gap: 6px;
}

.dot-control {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

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

.panel-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: hsl(var(--text-muted));
}

.panel-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 8px;
  border-radius: 50px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulseGlow 1.5s infinite alternate;
}

.panel-body {
  padding: 20px;
}

/* Dashboard Metrics Grid */
.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.metric-widget {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

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

.metric-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}

.metric-value.cyan { color: var(--accent-cyan); }
.metric-value.blue { color: var(--primary); }
.metric-value.green { color: #10b981; }

/* Realtime Canvas Graph */
.dashboard-graph-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 20px;
}

#dashboardCanvas {
  width: 100%;
  height: 110px;
  display: block;
}

/* Chat Simulator Widget */
.simulator-box {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 0.85rem;
}

.sim-header {
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sim-messages {
  height: 120px;
  overflow-y: auto;
  margin-bottom: 12px;
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-msg {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 12px;
  line-height: 1.4;
}

.sim-msg.user {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.sim-msg.bot {
  background: var(--primary-glow);
  color: hsl(var(--text-primary));
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.sim-typing-loader {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.sim-typing-loader span {
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  animation: typing 1s infinite alternate;
}

.sim-typing-loader span:nth-child(2) { animation-delay: 0.2s; }
.sim-typing-loader span:nth-child(3) { animation-delay: 0.4s; }

.sim-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sim-opt-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  color: hsl(var(--text-secondary));
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.75rem;
}

.sim-opt-btn:hover {
  background: var(--primary-glow);
  color: #fff;
  border-color: var(--primary);
}

/* ==========================================
   SECTION 2 - PAIN POINTS (VẤN ĐỀ)
   ========================================== */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.problem-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ef4444, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(239, 68, 68, 0.3);
}

.problem-card:hover::before {
  opacity: 1;
}

.problem-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.problem-icon {
  width: 24px;
  height: 24px;
}

.problem-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

/* ==========================================
   SECTION 3 - SOLUTION (GIẢI PHÁP)
   ========================================== */
.solution-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.solution-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.solution-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan-glow);
  color: var(--accent-cyan);
  padding: 6px 14px;
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  width: fit-content;
  letter-spacing: 0.5px;
}

.solution-left h2 {
  font-size: 2.5rem;
}

.solution-cards-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.solution-item-card {
  display: flex;
  gap: 20px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.solution-item-card:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-glow);
}

.solution-item-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
  opacity: 0.5;
}

.solution-item-body h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

/* Solution Map Visualizer */
.solution-map-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.core-map-container {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(15px);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.core-node-center {
  margin: 0 auto 32px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 30px var(--primary-glow);
}

.core-node-center::after {
  content: '';
  position: absolute;
  width: 110px;
  height: 110px;
  border: 1px dashed var(--accent-cyan);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.core-node-center svg {
  width: 38px;
  height: 38px;
  color: #fff;
}

.core-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
}

.channel-node {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  transition: all 0.3s ease;
}

.channel-node:hover {
  background: var(--primary-glow);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.channel-icon {
  width: 24px;
  height: 24px;
  margin: 0 auto 8px;
  color: var(--text-secondary);
}

.channel-node:hover .channel-icon {
  color: #fff;
}

.channel-name {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: hsl(var(--text-muted));
}

.channel-node:hover .channel-name {
  color: #fff;
}

/* ==========================================
   SECTION 4 - CORE FEATURES (TÍNH NĂNG)
   ========================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.feature-card {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--primary-glow);
  filter: blur(30px);
  opacity: 0.5;
  transition: all 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.08);
}

.feature-card:hover::after {
  transform: scale(1.4);
  background: var(--cyan-glow);
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
  border: 1px solid var(--border-glow);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-box {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

/* ==========================================
   SECTION 5 - BENEFITS (LỢI ÍCH)
   ========================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-glow);
}

.benefit-stat {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  background: linear-gradient(135deg, #fff 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.benefit-card:hover .benefit-stat {
  background: linear-gradient(135deg, #fff 20%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.benefit-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 12px;
}

/* ==========================================
   SECTION 6 - IMPLEMENTATION PROCESS (QUY TRÌNH)
   ========================================== */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  padding-top: 40px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 76px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, hsl(var(--border)) 10%, hsl(var(--border)) 90%, transparent 95%);
  z-index: 1;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: hsl(var(--bg-card));
  border: 2px solid hsl(var(--border));
  color: hsl(var(--text-muted));
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all 0.3s ease;
}

.process-step:hover .process-num {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 20px var(--primary-glow);
}

.process-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.process-desc {
  font-size: 0.85rem;
  max-width: 240px;
  margin: 0 auto;
}

/* ==========================================
   SECTION 7 - SUITABLE INDUSTRIES (NGÀNH NGHỀ CHUYÊN BIỆT)
   ========================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.industry-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--cyan-glow);
  transform: scale(1.02);
}

.industry-icon-box {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.05);
  border-radius: var(--radius-sm);
}

.industry-card:hover .industry-icon-box {
  background: var(--accent-cyan);
  color: #000;
}

.industry-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

/* ==========================================
   SECTION 8 - WHY CHOOSE US (VÌ SAO CHỌN)
   ========================================== */
.whyus-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 60px;
}

.whyus-left h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.whyus-badge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.badge-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.02);
  padding: 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-card-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-cyan);
}

.badge-card-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: hsl(var(--text-secondary));
}

.whyus-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.whyus-item {
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  padding: 24px 32px;
  display: flex;
  gap: 24px;
  transition: all 0.3s ease;
}

.whyus-item:hover {
  background: rgba(15, 23, 42, 0.55);
  border-color: var(--border-glow);
}

.whyus-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.6;
}

.whyus-body h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

/* ==========================================
   SECTION: PRICING PLANS
   ========================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.pricing-card {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  padding: 48px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
}

.pricing-card.popular {
  background: rgba(15, 23, 42, 0.55);
  border: 2px solid var(--primary);
  box-shadow: 0 10px 30px var(--primary-glow);
}

.pricing-card.popular:hover {
  box-shadow: 0 20px 40px hsla(var(--primary-hue) var(--primary-sat) var(--primary-light) / 0.3);
}

.popular-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-tier {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 24px;
}

.pricing-val {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.pricing-mo {
  font-size: 0.9rem;
  color: hsl(var(--text-muted));
  margin-left: 4px;
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: hsl(var(--text-secondary));
  text-align: left;
}

.pricing-feature-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card.popular .pricing-feature-icon {
  color: var(--primary);
}

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

/* ==========================================
   SECTION 9 - CTA & FORM
   ========================================== */
.cta-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.cta-box {
  background: linear-gradient(135deg, rgba(9, 14, 31, 0.6) 0%, rgba(15, 23, 42, 0.4) 100%);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--primary-glow);
  filter: blur(80px);
  pointer-events: none;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--cyan-glow);
  filter: blur(80px);
  pointer-events: none;
}

.cta-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-header h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

/* Premium Form Elements */
.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
  z-index: 5;
}

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

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: hsl(var(--text-secondary));
}

.form-control {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  width: 100%;
}

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

select.form-control option {
  background-color: hsl(222, 47%, 10%);
  color: #fff;
}

.form-btn-box {
  grid-column: span 2;
  text-align: center;
  margin-top: 16px;
}

.form-btn-box .btn {
  width: 100%;
  max-width: 320px;
}

/* CTA Success Modal Overlay */
.success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 14, 31, 0.95);
  backdrop-filter: blur(10px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

.success-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.success-content {
  text-align: center;
  max-width: 450px;
  transform: scale(0.9);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-overlay.active .success-content {
  transform: scale(1);
}

.success-icon-box {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  margin: 0 auto 24px;
  position: relative;
}

.success-icon-box svg {
  width: 40px;
  height: 40px;
}

.success-content h3 {
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 12px;
}

/* ==========================================
   SECTION 10 - FOOTER
   ========================================== */
footer {
  background: rgba(2, 6, 23, 0.9);
  border-top: 1px solid hsl(var(--border));
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-tagline {
  font-size: 0.9rem;
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: hsl(var(--text-secondary));
}

.footer-col ul a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.85rem;
  color: hsl(var(--text-secondary));
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.8rem;
  color: hsl(var(--text-muted));
}

.footer-domain {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

/* ==========================================
   SCROLL REVEAL UTILITIES
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   DYNAMIC WEB KEYFRAMES
   ========================================== */
@keyframes float {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-15px) rotate(3deg) scale(1.05); }
  100% { transform: translateY(10px) rotate(-3deg) scale(0.95); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
  0% { opacity: 0.6; box-shadow: 0 0 5px rgba(16, 185, 129, 0.3); }
  100% { opacity: 1; box-shadow: 0 0 15px rgba(16, 185, 129, 0.8); }
}

@keyframes typing {
  0% { transform: translateY(0); opacity: 0.3; }
  100% { transform: translateY(-6px); opacity: 1; }
}

/* ==========================================
   RESPONSIVE LAYOUT MEDIA QUERIES
   ========================================== */

@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: calc(var(--nav-height) + 20px);
    text-align: center;
  }
  .hero-content p {
    margin: 0 auto 32px;
  }
  .hero-ctas, .hero-badges {
    justify-content: center;
  }
  
  .solution-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .solution-badge {
    margin: 0 auto;
  }
  .solution-left {
    text-align: center;
  }
  
  .process-timeline::before {
    display: none;
  }
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .whyus-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .whyus-left {
    text-align: center;
  }
  .whyus-badge-grid {
    justify-content: center;
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-header h2,
  .solution-left h2,
  .whyus-left h2,
  .cta-header h2 {
    font-size: 1.85rem;
  }
  
  /* Mobile Sticky Navigation */
  .mobile-nav-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: rgba(2, 6, 23, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: all 0.4s ease;
    z-index: 999;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-actions {
    margin-right: 40px;
  }
  
  .cta-form {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .form-btn-box {
    grid-column: span 1;
  }
  .cta-box {
    padding: 40px 24px;
  }
  
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .industries-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .dashboard-metrics {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
