/* ===================================================
   DIGITAL TRANSFORMATION - Premium Dark Theme
   Glassmorphism + Liquid Glass + Minimal Luxury
   =================================================== */

/* ---- Google Fonts (closest to SF Pro) ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS Custom Properties / Design Tokens ---- */
:root {
  /* Primary Palette */
  --color-bg-primary: #0A0A0A;
  --color-bg-secondary: #1A1A1A;
  --color-bg-tertiary: #111111;
  --color-bg-card: #141414;

  /* Accent */
  --color-accent: #FF6B35;
  --color-accent-light: #FFD166;
  --color-accent-dark: #EE4D2D;

  /* Text */
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #B0B0B0;
  --color-text-muted: #666666;
  --color-text-accent: #FFD166;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-hover: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-hover: rgba(255, 255, 255, 0.22);
  --glass-shadow: rgba(0, 0, 0, 0.4);
  --glass-blur: 20px;
  --glass-radius: 16px;
  --glass-radius-sm: 8px;
  --glass-radius-lg: 24px;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fs-hero: clamp(2.5rem, 5.5vw, 4.5rem);
  --fs-h1: clamp(2rem, 4vw, 3.2rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.4rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.6rem);
  --fs-body: 1rem;
  --fs-body-lg: 1.125rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing */
  --section-py: clamp(80px, 10vw, 140px);
  --container-max: 1200px;
  --container-px: clamp(20px, 4vw, 40px);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Light Theme Variables ---- */
body.light-theme {
  /* Primary Palette */
  --color-bg-primary: #F8F9FA;
  --color-bg-secondary: #FFFFFF;
  --color-bg-tertiary: #F1F3F5;
  --color-bg-card: #FFFFFF;

  /* Accent */
  --color-accent: #FF6B35;
  --color-accent-light: #FFD166;
  --color-accent-dark: #E05220;

  /* Text - Make primary text darker for light mode */
  --color-text-primary: #111111;
  --color-text-secondary: #4A4A4A;
  --color-text-muted: #868E96;
  --color-text-accent: #FF6B35;

  /* Glass - Lightened for light background */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-bg-hover: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(0, 0, 0, 0.1);
  --glass-border-hover: rgba(0, 0, 0, 0.18);
  --glass-shadow: rgba(0, 0, 0, 0.05);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- Utility Classes ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}

.section-title {
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 60%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---- Glass Card ---- */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: all var(--transition-base);
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -15px var(--glass-shadow);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: var(--fs-body);
  font-weight: 500;
  border-radius: 60px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-bg-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px -8px rgba(212, 185, 150, 0.4);
}

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

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

.btn-secondary:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ---- Scroll Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ======================
   HEADER / NAVIGATION
   ====================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  padding: 10px 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.light-theme .header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  z-index: 1001;
}

.logo-img {
  height: 40px;
  width: auto;
  border-radius: 8px;
}

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

.nav-link {
  font-size: var(--fs-small);
  font-weight: 400;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--color-text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}


.btn-zalo-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.btn-zalo-header:hover {
  transform: translateY(-2px);
  background: var(--glass-bg-hover);
  border-color: #0068ff;
  box-shadow: 0 4px 12px rgba(0, 104, 255, 0.2);
}

.btn-zalo-header img {
  border-radius: 50%;
}

.lang-toggle {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  padding: 6px 14px;
  border: 1px solid var(--glass-border);
  border-radius: 60px;
  transition: all var(--transition-fast);
  cursor: pointer;
  background: transparent;
}

.lang-toggle:hover {
  color: var(--color-text-primary);
  border-color: var(--glass-border-hover);
}

.header-cta {
  padding: 10px 24px;
  font-size: var(--fs-small);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 8px;
}

.mobile-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--color-text-primary);
  transition: all var(--transition-base);
  display: block;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* ======================
   HERO SECTION
   ====================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 185, 150, 0.4) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 240, 230, 0.2) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
  animation-delay: -7s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 185, 150, 0.15) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(15px, 30px) scale(1.02); }
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.5;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}

.hero-video-col {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--glass-radius);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: var(--glass-bg);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--glass-radius) - 1px);
}

.video-thumbnail {
  position: absolute;
  inset: 0;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-primary);
  border-radius: calc(var(--glass-radius) - 1px);
  overflow: hidden;
  transition: opacity 0.5s ease;
}

.video-thumbnail::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease;
}

.video-thumbnail:hover::after {
  background: rgba(0, 0, 0, 0.2);
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-thumbnail:hover .video-thumb-img {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  z-index: 11;
  width: 64px;
  height: 64px;
  background: rgba(255, 107, 53, 0.9);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulsePlay 2s infinite;
}

.play-button svg {
  width: 28px;
  height: 28px;
  margin-left: 4px; /* Center the triangle visually */
}

.video-thumbnail:hover .play-button {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(255, 107, 53, 0.6);
  animation: none;
}

@keyframes pulsePlay {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(255, 107, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 60px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--color-accent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  margin-left: 0;
  margin-right: auto;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-subtitle {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-stats {
  display: flex;
  gap: 48px;
  animation: fadeInUp 0.8s ease-out 1s both;
}

.hero-stat {
  position: relative;
}

.hero-stat::after {
  content: '';
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stat:last-child::after { display: none; }

.hero-stat-value {
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

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

/* ======================
   PROBLEM STATEMENT
   ====================== */
.problems { background: var(--color-bg-secondary); }

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.problem-card {
  padding: 36px;
  display: flex;
  gap: 20px;
}

.problem-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212, 185, 150, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

.problem-card h3 {
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: 8px;
}

.problem-card p {
  color: var(--color-text-secondary);
  font-size: var(--fs-small);
  line-height: 1.7;
}

.problem-stat {
  display: inline-block;
  margin-top: 12px;
  font-size: var(--fs-h3);
  font-weight: 600;
  color: #ff6b6b;
}

/* ======================
   SOLUTION OVERVIEW
   ====================== */
.solution-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

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

.solution-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--glass-radius);
  transition: all var(--transition-base);
  cursor: default;
}

.solution-feature:hover {
  background: var(--glass-bg);
}

.solution-feature-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212, 185, 150, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-accent);
}

.solution-feature h4 {
  font-size: var(--fs-body);
  font-weight: 500;
  margin-bottom: 4px;
}

.solution-feature p {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.solution-visual {
  position: relative;
}

.solution-dashboard {
  width: 100%;
  border-radius: var(--glass-radius-lg);
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 24px;
  aspect-ratio: 4/3;
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

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

.dashboard-dot--red { background: #ff5f56; }
.dashboard-dot--yellow { background: #ffbd2e; }
.dashboard-dot--green { background: #27c93f; }

.dashboard-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  height: calc(100% - 40px);
}

.dashboard-widget {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-widget-title {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.dashboard-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.dashboard-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--color-accent) 0%, rgba(212, 185, 150, 0.3) 100%);
  border-radius: 4px 4px 0 0;
  animation: barGrow 1.5s ease-out forwards;
  transform-origin: bottom;
}

@keyframes barGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.dashboard-line {
  height: 60px;
  position: relative;
  overflow: hidden;
}

.dashboard-line-svg {
  width: 100%;
  height: 100%;
}

.dashboard-map-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding-top: 8px;
}

.map-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.4;
  animation: mapPulse 3s ease-in-out infinite;
}

.map-dot:nth-child(odd) {
  animation-delay: 0.5s;
  opacity: 0.7;
}

.map-dot:nth-child(3n) {
  animation-delay: 1s;
  background: var(--color-accent-light);
}

@keyframes mapPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* Solution visual glow */
.solution-visual::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 185, 150, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  filter: blur(40px);
}

/* ======================
   KEY FEATURES
   ====================== */
.features { background: var(--color-bg-secondary); }

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

.feature-card {
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.feature-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(212, 185, 150, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon-wrap {
  background: rgba(212, 185, 150, 0.15);
  transform: scale(1.05);
}

.feature-icon-wrap svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
}

.feature-card h3 {
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ======================
   BENEFITS & ROI
   ====================== */
.benefits-header {
  text-align: center;
  margin-bottom: 64px;
}

.benefits-header .section-subtitle {
  margin: 0 auto;
}

.benefits-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.benefit-stat-card {
  padding: 40px 24px;
  text-align: center;
  position: relative;
}

.benefit-stat-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.benefit-stat-label {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.benefits-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  padding: 28px;
  border-radius: var(--glass-radius);
  transition: all var(--transition-base);
}

.benefit-item:hover {
  background: var(--glass-bg);
}

.benefit-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(212, 185, 150, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-check svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
}

.benefit-item h4 {
  font-size: var(--fs-body);
  font-weight: 500;
  margin-bottom: 4px;
}

.benefit-item p {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ======================
   TECH STACK
   ====================== */
.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
}

.tech-card {
  padding: 32px;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.tech-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.tech-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
}

.tech-card h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  margin-bottom: 6px;
}

.tech-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  background: rgba(255, 107, 53, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.tech-card p:last-child {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .tech-stack-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .tech-stack-grid { grid-template-columns: 1fr; }
}

/* ======================
   DEMO VIDEOS
   ====================== */
.demo-videos { background: var(--color-bg-secondary); }

.demo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.demo-card {
  padding: 0;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.demo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.demo-video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.demo-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.demo-info {
  padding: 16px 20px 20px;
}

.demo-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--color-text-primary);
}

.demo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.demo-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(255, 107, 53, 0.1);
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

@media (max-width: 1200px) {
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .demo-grid { grid-template-columns: 1fr; }
}

/* ======================
   MATURITY INDEX
   ====================== */
.maturity-index { background: var(--color-bg-secondary); }

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

.maturity-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.maturity-header {
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
}

.maturity-stage {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  background: rgba(255, 107, 53, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
}

.maturity-header h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--color-text-primary);
}

.maturity-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mat-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.mat-item p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .maturity-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
  .maturity-content { grid-template-columns: 1fr; }
}


/* ======================
   TESTIMONIALS
   ====================== */
.testimonials-slider {
  margin-top: 48px;
  overflow: hidden;
  position: relative;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: calc(50% - 12px);
  padding: 40px;
  flex-shrink: 0;
}

.testimonial-quote {
  font-size: var(--fs-body-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--color-accent);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--color-bg-primary);
}

.testimonial-name {
  font-weight: 500;
  font-size: var(--fs-body);
}

.testimonial-role {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.testimonial-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(212, 185, 150, 0.1);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.testimonial-dot.active {
  background: var(--color-accent);
  width: 24px;
  border-radius: 4px;
}

/* ======================
   PRICING
   ====================== */
.pricing { background: var(--color-bg-secondary); }

.pricing-header {
  text-align: center;
  margin-bottom: 64px;
}

.pricing-header .section-subtitle {
  margin: 0 auto;
}

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

.pricing-card {
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}

.pricing-card.popular {
  border-color: rgba(212, 185, 150, 0.3);
  background: rgba(212, 185, 150, 0.06);
}

.pricing-card.popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.pricing-popular-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 60px;
  background: rgba(212, 185, 150, 0.15);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.pricing-plan-name {
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: 8px;
}

.pricing-plan-desc {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing-price {
  margin-bottom: 32px;
}

.pricing-amount {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pricing-period {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.pricing-features {
  margin-bottom: 32px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
}

.pricing-feature svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}

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

/* ======================
   FAQ
   ====================== */
.faq-list {
  max-width: 800px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--glass-border-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--color-text-primary);
  text-align: left;
  transition: all var(--transition-fast);
  background: transparent;
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.faq-icon svg {
  width: 12px;
  height: 12px;
  color: var(--color-text-secondary);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
  background: rgba(212, 185, 150, 0.1);
  border-color: var(--color-accent);
}

.faq-item.active .faq-icon svg {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* ======================
   FINAL CTA
   ====================== */
.final-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.final-cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.final-cta-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 185, 150, 0.2) 0%, transparent 70%);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
}

.final-cta-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 240, 230, 0.08) 0%, transparent 70%);
  bottom: -100px;
  right: -50px;
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta-box {
  padding: 80px 40px;
  border-radius: var(--glass-radius-lg);
  max-width: 900px;
  margin: 0 auto;
}

.cta-content {
  text-align: center;
  margin-bottom: 40px;
}

.final-cta h2 {
  font-size: var(--fs-h1);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-align: center;
}

.final-cta p {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: center;
}

.cta-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

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

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

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

.form-control {
  width: 100%;
  padding: 16px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--color-text-primary);
  font-family: inherit;
  font-size: var(--fs-body);
  transition: all var(--transition-normal);
}

body.light-theme .form-control {
  background: var(--color-bg-primary);
  border: 1px solid var(--glass-border);
}

.form-control::placeholder {
  color: var(--color-text-muted);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--glass-bg-hover);
  box-shadow: 0 0 0 4px rgba(184, 155, 111, 0.1);
}

.btn-submit {
  width: 100%;
  margin-top: 16px;
  justify-content: center;
}

/* ======================
   FOOTER
   ====================== */
.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 32px;
}

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

.footer-brand p {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-heading {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-link {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

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

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(212, 185, 150, 0.08);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

/* ======================
   MOBILE RESPONSIVE
   ====================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .steps-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .steps-timeline::before {
    display: none;
  }

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

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

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 1000;
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav-link {
    font-size: var(--fs-h3);
  }

  .mobile-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero-stat::after {
    display: none;
  }

  .solution-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .solution-visual {
    order: -1;
  }

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

  .benefits-stats {
    grid-template-columns: 1fr 1fr;
  }

  .benefits-list {
    grid-template-columns: 1fr;
  }

  .steps-timeline {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .testimonial-card {
    min-width: 100%;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card:last-child {
    max-width: none;
  }

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

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

  .final-cta-box {
    padding: 48px 24px;
  }

  .problems-grid {
    grid-template-columns: 1fr;
  }

  .lang-toggle {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .benefits-stats {
    grid-template-columns: 1fr;
  }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(128, 128, 128, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(128, 128, 128, 0.5);
}

/* ---- Selection ---- */
::selection {
  background: rgba(212, 185, 150, 0.3);
  color: var(--color-text-primary);
}

/* ======================
   THEME TOGGLE SIDEBAR
   ====================== */
.theme-sidebar {
  position: fixed;
  left: 20px;
  bottom: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.theme-toggle-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-primary);
  box-shadow: 0 4px 12px var(--glass-shadow);
  cursor: pointer;
  transition: all var(--transition-base);
}

.theme-toggle-btn:hover {
  transform: translateY(-3px);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

.theme-toggle-btn svg {
  width: 22px;
  height: 22px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-theme .theme-toggle-btn svg {
  transform: rotate(180deg);
}

.icon-sun {
  display: none;
}

.icon-moon {
  display: block;
}

body.light-theme .icon-sun {
  display: block;
}

body.light-theme .icon-moon {
  display: none;
}

@media (max-width: 768px) {
  .theme-sidebar {
    bottom: 20px;
    left: 15px;
  }
  .theme-toggle-btn {
    width: 42px;
    height: 42px;
  }
}

/* --- Hero Responsive Fixes --- */
@media (max-width: 992px) {
  .hero-content-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions, .hero-stats {
    justify-content: center !important;
  }
}

/* ======================
   PARTNERS — Apple Liquid Glass / Glassmorphism
   ====================== */
.partners {
  background: var(--color-bg-primary);
  overflow: hidden;
}

.partners-marquee {
  position: relative;
  width: 100%;
  margin-top: 56px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.partners-marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: partnerScroll 25s linear infinite;
}

.partners-marquee:hover .partners-marquee-track {
  animation-play-state: paused;
}

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

/* Liquid Glass Card — Apple Style */
.partner-glass-card {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 100px;
  padding: 16px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

[data-theme="light"] .partner-glass-card,
.light-theme .partner-glass-card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);
}

.partner-glass-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.partner-glass-card img {
  max-height: 52px;
  max-width: 130px;
  object-fit: contain;
  filter: none;
  transition: transform 0.3s ease;
}

.partner-glass-card:hover img {
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .partner-glass-card { width: 140px; height: 80px; padding: 12px 16px; }
  .partner-glass-card img { max-height: 40px; max-width: 100px; }
  .partners-marquee-track { gap: 16px; }
}

/* ======================
   ZALO FLOATING BUTTON
   ====================== */
.zalo-float-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0068ff;
  box-shadow: 0 4px 16px rgba(0, 104, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.zalo-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 104, 255, 0.5);
}

.zalo-float-btn img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.zalo-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #0068ff;
  animation: zaloPulse 2s infinite;
  pointer-events: none;
}

@keyframes zaloPulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ======================
   CHATBOT SIDEBAR (RIGHT)
   ====================== */
.chatbot-sidebar {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chatbot-toggle-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #FF6B35, #FFD166);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(255, 107, 53, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chatbot-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.5);
}

.chatbot-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e53e3e;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badgeBounce 2s infinite;
}

@keyframes badgeBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Chatbot Window */
.chatbot-window {
  width: 380px;
  max-height: 520px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  animation: chatbotSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes chatbotSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(135deg, #FF6B35, #FFD166);
  color: #fff;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  object-fit: cover;
}

.chatbot-header-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.chatbot-header-status {
  font-size: 0.75rem;
  opacity: 0.85;
}

.chatbot-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.chatbot-close-btn:hover { opacity: 1; }

/* Messages */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
  max-height: 340px;
}

.chatbot-msg { display: flex; }

.chatbot-msg-bot { justify-content: flex-start; }
.chatbot-msg-user { justify-content: flex-end; }

.chatbot-msg-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.chatbot-msg-bot .chatbot-msg-bubble {
  background: var(--color-bg-tertiary);
  color: var(--color-text-primary);
  border-bottom-left-radius: 4px;
}

.chatbot-msg-user .chatbot-msg-bubble {
  background: linear-gradient(135deg, #FF6B35, #FFD166);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chatbot-msg-bubble a {
  color: #0068ff;
  text-decoration: underline;
  font-weight: 600;
}

/* Input */
.chatbot-input-area {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-primary);
}

.chatbot-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 24px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}

.chatbot-input:focus {
  border-color: var(--color-accent);
}

.chatbot-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #FF6B35, #FFD166);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.chatbot-send-btn:hover { transform: scale(1.1); }

/* Responsive */
@media (max-width: 576px) {
  .chatbot-window { width: calc(100vw - 40px); max-height: 70vh; }
  .chatbot-sidebar { right: 12px; bottom: 16px; }
  .theme-sidebar { left: 12px; bottom: 16px; }
}

/* ===================================================
   COMPREHENSIVE RESPONSIVE OVERRIDES
   Tất cả breakpoint tập trung ở đây dễ bảo trì
   =================================================== */

/* ---- TABLET: 1024px ---- */
@media (max-width: 1024px) {
  .header .container { padding: 0 16px; }
  .nav-link { font-size: 0.82rem; padding: 6px 10px; }
  .hero-content-wrapper { gap: 32px; }
  .hero-video-wrapper { max-width: 420px; }
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-stack-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ---- MOBILE: 768px ---- */
@media (max-width: 768px) {
  /* Header */
  .nav { display: none; }
  .mobile-toggle { display: flex; }
  .header-actions .btn-zalo-header { width: 34px; height: 34px; }
  .header-cta { padding: 8px 16px; font-size: 0.8rem; }
  .lang-toggle { font-size: 0.75rem; padding: 4px 8px; }

  /* Hero */
  .hero { padding-top: 100px; min-height: auto; }
  .hero-content-wrapper { flex-direction: column; text-align: center; }
  .hero-text { max-width: 100%; }
  .hero-video-wrapper { max-width: 100%; margin: 0 auto; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-stats { justify-content: center; }

  /* Sections */
  .section { padding: 60px 0; }
  .section-title { font-size: clamp(1.4rem, 4vw, 2rem); }
  .section-subtitle { font-size: 0.9rem; }

  /* Problems — 1 cột trên mobile */
  .problems-grid { grid-template-columns: 1fr; gap: 16px; }
  .problem-card { padding: 24px; flex-direction: column; text-align: center; }
  .problem-icon { margin: 0 auto 12px; }

  /* Tech Stack — 1 cột */
  .tech-stack-grid { grid-template-columns: 1fr; }

  /* Maturity Index */
  .maturity-phases { flex-direction: column; gap: 16px; }
  .phase-card { min-width: auto; }

  /* Pricing — 1 cột */
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Demo Grid */
  .demo-grid { grid-template-columns: 1fr; }

  /* CTA */
  .final-cta-box { flex-direction: column; padding: 32px 20px; }
  .cta-content { text-align: center; }
  .consultation-form { padding: 0; }

  /* FAQ */
  .faq-item { padding: 16px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-social { justify-content: center; }

  /* Partners Marquee */
  .partners-marquee { margin-top: 32px; }
  .partner-glass-card { width: 130px; height: 72px; padding: 10px 14px; }
  .partner-glass-card img { max-height: 36px; max-width: 90px; }
  .partners-marquee-track { gap: 14px; animation-duration: 18s; }
}

/* ---- SMALL PHONE: 480px ---- */
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .section-title { font-size: 1.3rem; }
  .hero h1 { font-size: 1.6rem; }
  .hero-subtitle { font-size: 0.85rem; }
  .btn { padding: 10px 20px; font-size: 0.85rem; }
  .hero-actions { gap: 8px; }
  .problem-card { padding: 20px; }
  .problem-card h3 { font-size: 1rem; }
  .glass-card { padding: 20px; }
  .pricing-card { padding: 24px 16px; }
  .pricing-price { font-size: 2rem; }
  .testimonial-card { padding: 20px; }
  .faq-question { font-size: 0.9rem; padding: 14px; }
  .footer { padding: 40px 0 20px; }
  .partner-glass-card { width: 110px; height: 64px; }
  .partner-glass-card img { max-height: 30px; max-width: 80px; }

  /* Chatbot & Zalo float sizing */
  .zalo-float-btn { width: 44px; height: 44px; }
  .chatbot-toggle { width: 48px; height: 48px; }
}
