/* ==========================================================================
   DSBF BRAND DESIGN SYSTEM (Premium Cream Light Theme)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Color Palette (Luxury Cream Warm Paper System) */
  --bg-deep: #f5f2eb;         /* Warm elegant cream */
  --bg-main: #fbfaf8;         /* Premium off-white paper backdrop */
  --bg-card: rgba(255, 255, 255, 0.7); /* Sleek glass white card */
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  
  /* Core Brand Colors */
  --brand-orange: #F5780A;     /* DSBF signature amber-orange */
  --brand-orange-dark: #C84000;
  --brand-cyan: #00B4D8;       /* Clean Teal/Cyan for Light Theme contrast */
  --brand-purple: #4FACFE;     
  
  /* Text colors (Enhanced high contrast for light mode) */
  --text-pure: #0c0e14;        /* Deep ink black */
  --text-primary: #1e293b;     /* Slate 800 */
  --text-muted: #475569;       /* Slate 600 */
  --text-dim: #64748b;         /* Slate 500 */
  
  /* Glass and Borders */
  --border-glass: rgba(12, 14, 20, 0.06); /* Subtle dark border */
  --border-glass-bright: rgba(12, 14, 20, 0.12);
  --border-cyan: rgba(0, 180, 216, 0.25);
  --border-orange: rgba(245, 120, 10, 0.25);

  /* Gradients */
  --gradient-cyber: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
  --gradient-brand: linear-gradient(135deg, #C84000 0%, #F5780A 50%, #FFB800 100%);
  --gradient-space: linear-gradient(180deg, #fbfaf8 0%, #f5f2eb 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 242, 235, 0.9) 100%);
  --gradient-glow: linear-gradient(90deg, #F5780A, #00b4d8, #0077b6, #F5780A);
  
  /* Shadows & Glows (Softer shadows for light theme) */
  --shadow-sm: 0 4px 16px rgba(12, 14, 20, 0.03);
  --shadow-md: 0 12px 32px rgba(12, 14, 20, 0.05);
  --shadow-lg: 0 20px 48px rgba(12, 14, 20, 0.08);
  --glow-cyan: 0 0 20px rgba(0, 180, 216, 0.08);
  --glow-orange: 0 0 20px rgba(245, 120, 10, 0.08);
  --glow-cyan-intense: 0 0 35px rgba(0, 180, 216, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background: var(--gradient-space);
  min-height: 100vh;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
  border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-orange);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-pure);
  text-wrap: balance; /* Anti-runt: cân bằng độ dài các dòng heading, chống rớt chữ mồ côi */
}

p, li, blockquote, figcaption {
  line-height: 1.65;
  color: var(--text-muted);
  text-wrap: pretty; /* Anti-runt: tránh dòng cuối đoạn chỉ còn 1 chữ */
}

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

/* ==========================================================================
   GLOBAL UTILITIES & BUTTONS
   ========================================================================== */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 4vw;
}

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

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-orange);
  background: rgba(245, 120, 10, 0.05);
  border: 1px solid var(--border-orange);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.eyebrow.cyber {
  color: #0077b6;
  background: rgba(0, 180, 216, 0.05);
  border-color: var(--border-cyan);
}

/* Glassmorphism utility */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

/* Sleek Modern Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-brand {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(245, 120, 10, 0.2);
  border: none;
}

.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 120, 10, 0.4), var(--glow-orange);
}

.btn-cyan {
  background: var(--gradient-cyber);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 119, 182, 0.2);
  border: none;
  font-weight: 800;
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 119, 182, 0.4), var(--glow-cyan-intense);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-glass-bright);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: var(--text-pure);
  transform: translateY(-2px);
}

/* ==========================================================================
   1. ANNOUNCE TICKER
   ========================================================================== */
.announce-ticker {
  background: #0c0e14; /* Remains elegant dark to anchor the page top */
  height: 38px;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ticker-wrap {
  display: flex;
  white-space: nowrap;
  animation: ticker-roll 35s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  background: var(--brand-orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-orange);
  flex-shrink: 0;
}

.ticker-dot.cyan {
  background: #00F2FE;
  box-shadow: 0 0 10px #00F2FE;
}

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

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
header {
  position: sticky;
  top: 38px;
  z-index: 100;
  height: 80px;
  background: rgba(251, 250, 248, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.3s;
}

header.scrolled {
  height: 70px;
  background: rgba(251, 250, 248, 0.95);
  box-shadow: var(--shadow-sm);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 42px;
  width: auto;
  transition: var(--transition-fast);
}

header.scrolled .logo-img {
  height: 36px;
}

nav > .nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a,
.nav-dropdown-toggle {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-dropdown {
  position: relative;
}

/* Invisible bridge to connect toggle → submenu (prevents hover gap) */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 18px;
  display: none;
}
.nav-dropdown:hover::after,
.nav-dropdown.open::after {
  display: block;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-dropdown-toggle span {
  font-size: 13px;
  transition: transform var(--transition-fast);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: -18px;
  width: 230px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--border-glass-bright);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;
}

.nav-submenu a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-submenu a::after {
  display: none;
}

.nav-submenu a:hover {
  color: var(--brand-orange);
  background: var(--bg-deep);
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.open .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown:hover .nav-dropdown-toggle span,
.nav-dropdown:focus-within .nav-dropdown-toggle span,
.nav-dropdown.open .nav-dropdown-toggle span {
  transform: rotate(180deg);
}

nav a:hover,
nav a.active,
.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--text-pure);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: var(--transition-fast);
  border-radius: 4px;
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 100px;
  background: transparent;
  color: #0077b6;
  border: 1.5px solid #0077b6;
  box-shadow: var(--glow-cyan);
  transition: var(--transition-fast);
}

.nav-cta:hover {
  background: #0077b6;
  color: #ffffff;
  box-shadow: var(--glow-cyan-intense);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-pure);
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   3. HERO SECTION (BỆ PHÓNG THƯƠNG HIỆU)
   ========================================================================== */
.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
  min-height: calc(100vh - 118px);
  display: flex;
  align-items: center;
}

/* Soft ambient glows */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(245, 120, 10, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 55%;
  height: 65%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.hero h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  display: block;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* Stats dashboard */
.hero-stats {
  display: flex;
  gap: 48px;
  border-top: 1px solid var(--border-glass);
  padding-top: 36px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1;
}

.stat-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* Hero Right Side - Interactive Glass Card Visualizer */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glass-visual {
  width: 100%;
  max-width: 480px;
  padding: 36px;
  position: relative;
  border: 1px solid var(--border-glass-bright);
  box-shadow: var(--shadow-lg), inset 0 0 20px rgba(255,255,255,0.6);
  z-index: 2;
  overflow: hidden;
}

/* Decorative grid inside card */
.hero-glass-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0,0,0,0.015) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,0,0,0.015) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.pulse-node {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 180, 216, 0.05);
  border: 1px solid var(--border-cyan);
  color: #0077b6;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 12px;
  border-radius: 100px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #0077b6;
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 119, 182, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 119, 182, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 119, 182, 0); }
}

.card-title {
  font-size: 20px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.card-title em {
  font-style: normal;
  color: var(--brand-orange);
}

.card-flow-lines {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.flow-line {
  height: 48px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  transition: var(--transition-fast);
}

.flow-line:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 180, 216, 0.3);
  transform: translateX(5px);
}

.flow-line.active {
  border-color: var(--brand-orange);
  background: rgba(245, 120, 10, 0.03);
}

.flow-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

.flow-line.active .flow-label {
  color: var(--brand-orange);
}

.flow-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-pure);
}

/* Background glowing orb behind the card */
.visual-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.12) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
  filter: blur(20px);
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 480px;
  z-index: 2;
}

.carousel-track {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.carousel-slide {
  display: none;
  animation: carouselFadeIn 0.5s ease-out forwards;
}

.carousel-slide.active {
  display: block;
}

@keyframes carouselFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border-glass-bright);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  z-index: 10;
}

.carousel-btn:hover {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateY(-50%) scale(1.08);
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.carousel-prev {
  left: -20px;
}

.carousel-next {
  right: -20px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--border-glass-bright);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.carousel-dot.active {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  box-shadow: 0 0 8px rgba(245, 120, 10, 0.3);
}

.carousel-dot:hover {
  border-color: var(--brand-orange);
}

/* Orange pulse variant */
.pulse-node.orange-pulse {
  background: rgba(245, 120, 10, 0.05);
  border: 1px solid var(--border-orange);
  color: var(--brand-orange);
}

.pulse-dot.orange {
  background: var(--brand-orange);
  animation: pulse-ring-orange 2s infinite;
}

@keyframes pulse-ring-orange {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 120, 10, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(245, 120, 10, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 120, 10, 0); }
}

/* ==========================================================================
   3B. CEO / FOUNDER SECTION
   ========================================================================== */
section.ceo-intro {
  padding: 80px 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-glass);
  position: relative;
}

.ceo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.ceo-content h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-top: 10px;
  margin-bottom: 8px;
}

.ceo-role {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}

.ceo-achievements {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-primary);
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  transition: var(--transition-fast);
}

.achievement-item:hover {
  background: #ffffff;
  border-color: rgba(0,0,0,0.1);
  transform: translateX(4px);
}

.achievement-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.ceo-about-dsbf {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  padding-top: 20px;
  border-top: 1px solid var(--border-glass);
}

.ceo-photo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ceo-photo-frame {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border-glass-bright);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card);
}

.ceo-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ceo-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-dim);
  background: linear-gradient(145deg, #f5f2eb, #e8e4db);
}

.ceo-photo-placeholder span {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   4. CAPABILITIES / SERVICES SECTION
   ========================================================================== */
section.services {
  padding: 100px 0;
  position: relative;
  border-top: 1px solid var(--border-glass);
  background: #fbfaf8;
}

.section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-intro h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-top: 10px;
}

.section-intro h2 em {
  font-style: normal;
  color: var(--brand-orange);
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 16px;
}

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

.service-card {
  padding: 48px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

/* Top colored bar on cards when hover */
.service-card.c1:hover::before { background: var(--gradient-brand); }
.service-card.c2:hover::before { background: var(--gradient-cyber); }
.service-card.c3:hover::before { background: var(--gradient-cyber); }
.service-card.c4:hover::before { background: var(--gradient-brand); }

.card-banner {
  width: 100%;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(0,0,0,0.02), rgba(0,0,0,0.05));
  border: 1px solid var(--border-glass);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-banner .banner-placeholder-label {
  display: none;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.card-banner.no-img img {
  display: none;
}

.card-banner.no-img .banner-placeholder-label {
  display: block;
}

.service-card:hover .card-banner {
  border-color: var(--brand-orange);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  color: var(--brand-orange);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-fast);
}

.service-card-link:hover {
  transform: translateX(4px);
  color: var(--brand-orange-dark);
}


.service-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  font-weight: 700;
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Custom list items for cards */
.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-features li {
  font-size: 13.5px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-bullet {
  width: 6px;
  height: 6px;
  background: var(--brand-orange);
  border-radius: 50%;
}

.service-card.c2 .feature-bullet,
.service-card.c3 .feature-bullet {
  background: #0077b6;
}

/* ==========================================================================
   5. INTERACTIVE FLOWCHART SECTION
   ========================================================================== */
section.interactive-flow {
  padding: 100px 0;
  background: var(--bg-main);
  border-top: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
}

.flow-container-outer {
  max-width: 1000px;
  margin: 48px auto 0;
}

.flow-interactive-board {
  background: var(--bg-card);
  border: 1px solid var(--border-glass-bright);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.flow-tabs-header {
  display: flex;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.03);
  padding: 6px;
  border-radius: 100px;
  width: fit-content;
  margin: 0 auto 40px;
  border: 1px solid var(--border-glass);
}

.flow-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 22px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s;
}

.flow-tab-btn.active {
  background: #0077b6;
  color: #ffffff;
  box-shadow: var(--glow-cyan);
}

.flow-tab-btn.active.brand-theme {
  background: var(--brand-orange);
  color: #ffffff;
  box-shadow: var(--glow-orange);
}

/* Dynamic content area */
.flow-diagram-content {
  display: none;
  animation: tabFadeIn 0.5s ease-out forwards;
}

.flow-diagram-content.active {
  display: block;
}

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

/* Architecture flow visuals */
.flow-visual-architecture {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.architecture-stage {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  align-items: center;
  padding: 20px;
  background: rgba(0,0,0,0.005);
  border: 1px dashed var(--border-glass-bright);
  border-radius: 12px;
  transition: var(--transition-fast);
}

.architecture-stage:hover {
  background: rgba(255,255,255,0.6);
  border-color: rgba(0,0,0,0.15);
}

.stage-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stage-number {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-orange);
  width: 28px;
  height: 28px;
  background: rgba(245, 120, 10, 0.08);
  border: 1px solid var(--border-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-diagram-content:nth-child(2) .stage-number {
  color: #0077b6;
  background: rgba(0, 180, 216, 0.08);
  border-color: var(--border-cyan);
}

.stage-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-pure);
}

.stage-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.stage-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  max-width: 500px;
}

.stage-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  color: #0077b6;
  background: rgba(0, 180, 216, 0.05);
  border: 1px solid var(--border-cyan);
  padding: 4px 10px;
  border-radius: 4px;
}

.flow-diagram-content:nth-child(1) .stage-tag {
  color: var(--brand-orange);
  background: rgba(245, 120, 10, 0.05);
  border-color: var(--border-orange);
}

/* ==========================================================================
   6. CLIENTS / SHOWROOM SECTION
   ========================================================================== */
section.clients {
  padding: 80px 0;
  background: #fdfdfc;
  border-top: 1px solid var(--border-glass);
}

.clients-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.clients-title em {
  font-style: normal;
  color: var(--brand-orange);
}

.clients-subtitle {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 50px;
}

/* Flat uniform logo grid */
.clients-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  width: 100%;
}

@media (max-width: 768px) {
  .clients-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .clients-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.client-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  transition: var(--transition-fast);
}

.client-logo-box:hover {
  background: #ffffff;
  transform: scale(1.03);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.client-logo-box img {
  max-height: 50px;
  max-width: 130px;
  object-fit: contain;
  width: auto;
  height: auto;
  transition: var(--transition-fast);
}

.client-logo-box svg {
  max-height: 35px;
  max-width: 130px;
}

/* ==========================================================================
   7. PRICING SECTION
   ========================================================================== */
section.pricing {
  padding: 100px 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-glass);
}

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

.pricing-card {
  padding: 44px 36px;
  border: 1px solid var(--border-glass);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--bg-card);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--text-dim);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

/* Best Seller/Featured Pricing Card */
.pricing-card.featured {
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-sm), 0 0 30px rgba(245, 120, 10, 0.05);
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.pricing-card.featured::after {
  content: 'PHỔ BIẾN NHẤT';
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #ffffff;
  background: var(--brand-orange);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.tier-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 8px;
}

.tier-desc {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 30px;
  line-height: 1.5;
}

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

.price-amt {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1;
}

.price-period {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-top: 6px;
  display: block;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.pricing-features li {
  font-size: 13.5px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.pricing-features svg {
  color: var(--brand-orange);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-features strong {
  color: var(--text-pure);
}

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

/* ==========================================================================
   8. HIGH-CONVERTING CONTACT FORM
   ========================================================================== */
section.contact {
  padding: 100px 0;
  background: var(--bg-main);
  border-top: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(245, 120, 10, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.contact-info {
  max-width: 480px;
}

.contact-info h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-top: 10px;
  margin-bottom: 20px;
}

.contact-lead {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 40px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  transition: var(--transition-fast);
}

.channel-card:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
}

.channel-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange);
}

.channel-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.channel-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.channel-val {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-pure);
}

/* Contact Form UI */
.contact-form-panel {
  padding: 44px;
  border: 1px solid var(--border-glass-bright);
}

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

.form-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

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

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

.form-group.full-width {
  grid-column: span 2;
  margin-bottom: 20px;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group label span {
  color: var(--brand-orange);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid var(--border-glass);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-pure);
  outline: none;
  transition: var(--transition-fast);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(245, 120, 10, 0.08);
  background: #ffffff;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form-panel button[type="submit"] {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  font-size: 15px;
  padding: 16px 24px;
}

.form-privacy-note {
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 14px;
}

/* Success State Screen */
.form-success-state {
  display: none;
  text-align: center;
  padding: 40px 10px;
  animation: successZoom 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes successZoom {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.success-icon-container {
  width: 72px;
  height: 72px;
  background: var(--gradient-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #ffffff;
  box-shadow: var(--glow-orange);
}

.form-success-state h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.form-success-state p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}

/* ==========================================================================
   9. FOOTER SECTION (Remains dark-ink contrast style)
   ========================================================================== */
footer {
  background: #0c0e14;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}

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

.footer-logo {
  height: 38px;
  align-self: flex-start;
}

.footer-tagline {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 24px;
}

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

.footer-links a {
  font-size: 13.5px;
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--brand-orange);
  transform: translateX(3px);
}

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

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

.social-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 100px;
  transition: var(--transition-fast);
}

.social-button.zalo-oa {
  background: linear-gradient(135deg, #0068FF, #00A8FF);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 104, 255, 0.2);
}

.social-button.zalo-oa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 104, 255, 0.4);
}

.social-button.zalo-group {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(245, 120, 10, 0.2);
}

.social-button.zalo-group:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(245, 120, 10, 0.4);
}

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

.footer-copyright {
  font-size: 12px;
  color: #64748b;
}

.footer-meta-links {
  display: flex;
  gap: 24px;
}

.footer-meta-links a {
  font-size: 12px;
  color: #64748b;
}

.footer-meta-links a:hover {
  color: #94a3b8;
}

/* ==========================================================================
   10. SCROLL REVEAL EFFECT
   ========================================================================== */
.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.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-sub {
    text-align: center;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
    width: 100%;
  }
  .hero-glass-visual {
    margin: 0 auto;
  }
  .hero-carousel {
    margin: 0 auto;
  }
  .carousel-prev {
    left: -10px;
  }
  .carousel-next {
    right: -10px;
  }
  .ceo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .ceo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .ceo-achievements {
    width: 100%;
    max-width: 480px;
  }
  .ceo-photo-frame {
    max-width: 300px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 48px auto 0;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-info {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact-channels {
    width: 100%;
    max-width: 480px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-col-brand, .footer-col-social {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  header {
    height: 70px;
    background: rgba(251, 250, 248, 0.95);
  }
  nav {
    position: fixed;
    top: 118px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 118px);
    background: var(--bg-deep);
    z-index: 99;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 1px solid var(--border-glass);
  }
  nav.active {
    left: 0;
  }
  nav {
    overflow-y: auto;
  }
  nav > .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 32px 24px 48px;
    gap: 8px;
  }
  nav > .nav-list > li > a,
  .nav-dropdown-toggle {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    font-size: 18px;
  }
  .nav-submenu {
    position: static;
    display: none;
    width: 100%;
    margin-top: 4px;
    padding: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.6);
  }
  .nav-dropdown.open .nav-submenu {
    display: flex;
  }
  .nav-submenu a {
    padding: 11px 14px;
    text-align: center;
    font-size: 15px;
  }
  .mobile-menu-btn {
    display: block;
  }
  .header-cta-btn {
    display: none;
  }
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .contact-form-panel {
    padding: 24px;
  }
  .architecture-stage {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stage-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-col-brand, .footer-col-social {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Language Switcher Styling */
.lang-toggle {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-orange) !important;
  border: 1px solid var(--border-orange);
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(245, 120, 10, 0.04);
  transition: var(--transition-fast);
}

.lang-toggle:hover {
  background: var(--brand-orange);
  color: #ffffff !important;
  box-shadow: var(--glow-orange);
}
