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

/* --- Cấu hình biến CSS toàn hệ thống (Light Theme) --- */
:root {
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Bảng màu chính (Premium Light Mode) */
  --bg-main: #f8fafc; /* Xám Slate cực nhạt */
  --bg-section-alt: #f1f5f9; /* Xám Slate nhạt hơn để chia khối */
  --bg-surface: rgba(255, 255, 255, 0.75);
  --bg-surface-hover: rgba(255, 255, 255, 0.95);
  --border-color: rgba(15, 23, 42, 0.06);
  --border-color-active: rgba(79, 70, 229, 0.3);

  --text-primary: #0f172a; /* Xám đen Slate đậm */
  --text-secondary: #475569; /* Xám Slate vừa */
  --text-muted: #94a3b8; /* Xám nhạt */

  --color-primary: #4f46e5; /* Indigo */
  --color-secondary: #0ea5e9; /* Sky Blue */
  --color-accent: #0d9488; /* Teal */

  --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
  --gradient-secondary: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  --gradient-light-bg: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.03), 0 1px 3px rgba(15, 23, 42, 0.02);
  --shadow-glow: 0 15px 35px rgba(79, 70, 229, 0.08);
  --shadow-window: 0 30px 60px rgba(15, 23, 42, 0.12), 0 5px 15px rgba(15, 23, 42, 0.04);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Khởi tạo và thiết lập cơ bản --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-main);
  background-image: var(--gradient-light-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

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

/* --- Container chung --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Hiệu ứng chữ chuyển màu --- */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Typography hệ thống --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(79, 70, 229, 0.06);
  border: 1px solid rgba(79, 70, 229, 0.1);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* --- Thiết kế Nút (Buttons) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  font-family: var(--font-primary);
  gap: 8px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.35);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.btn-secondary:hover {
  background: var(--bg-section-alt);
  border-color: rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* --- Navigation Bar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-primary);
}

.logo i {
  color: var(--color-primary);
  font-size: 1.6rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

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

.nav-cta {
  display: flex;
  align-items: center;
}

/* Nút mobile menu hamburger */
.menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  align-items: center;
  gap: 50px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(14, 165, 230, 0.08);
  border: 1px solid rgba(14, 165, 230, 0.15);
  color: var(--color-secondary);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-badge i {
  font-size: 0.8rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 520px;
}

.hero-list-features {
  list-style: none;
  margin-bottom: 40px;
}

.hero-list-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 12px;
  font-size: 1rem;
}

.hero-list-features li i {
  color: var(--color-accent);
  font-size: 1.1rem;
}

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

/* --- KHỐI CẦU PHÁT SÁNG NỀN (Ambient Pastel Orbs) --- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.orb-1 {
  top: 10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(79, 70, 229, 0.06);
  animation: drift 15s ease-in-out infinite alternate;
}

.orb-2 {
  top: 30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(14, 165, 230, 0.05);
  animation: drift 20s ease-in-out infinite alternate-reverse;
}

.orb-3 {
  bottom: 10%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: rgba(16, 185, 129, 0.04);
}

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 50px) scale(1.1); }
}


/* ========================================================
   BỘ GIẢ LẬP TƯƠNG TÁC HERO SIMULATOR (LIGHT THEME)
   ======================================================== */
.simulator-wrapper {
  perspective: 1000px;
  width: 100%;
}

.simulator-window {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
  transform: rotateY(-3deg) rotateX(1deg);
  transition: transform 0.5s ease;
}

.simulator-window:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

/* Sim Header */
.sim-header {
  background: #f1f5f9;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.sim-dots {
  display: flex;
  gap: 6px;
}

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

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

.sim-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: var(--font-primary);
}

.sim-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse-green 1.5s infinite;
}

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

/* Sim Content Body */
.sim-body {
  display: flex;
  flex: 1;
  overflow: hidden;
  background: #f8fafc;
}

/* Sim Sidebar */
.sim-sidebar {
  width: 170px;
  background: #ffffff;
  border-right: 1px solid rgba(15, 23, 42, 0.05);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-sidebar-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  padding-left: 8px;
}

.sim-action-btn {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-fast);
}

.sim-action-btn i {
  font-size: 0.85rem;
  width: 16px;
  text-align: center;
}

.sim-action-btn:hover {
  background: #f1f5f9;
  color: var(--text-primary);
}

.sim-action-btn.active {
  background: rgba(79, 70, 229, 0.06);
  border-color: rgba(79, 70, 229, 0.15);
  color: var(--color-primary);
}

.sim-hud-stats {
  margin-top: auto;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hud-stat-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 500;
}

.hud-stat-item .label { color: var(--text-muted); }
.hud-stat-item .val { font-weight: 600; }
.hud-stat-item .text-green { color: var(--color-accent); }
.hud-stat-item .text-blue { color: var(--color-secondary); }

/* Sim Screenshot Only (Full dashboard screenshot inside simulator window) */
.sim-screenshot-only {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
}

/* Phone Card */
.sim-phone-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
  overflow: hidden;
}

.phone-info-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.phone-info-bar .phone-ip {
  color: var(--text-muted);
}

.phone-screen-container {
  flex: 1;
  background: #000000;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

/* Phone notch camera */
.phone-notch {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 6px;
  background: #000;
  border-radius: 10px;
  z-index: 10;
}

/* Phone App Mockup */
.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  color: #000;
  font-size: 0.6rem;
  transition: transform 0.5s ease;
}

/* APP: Facebook */
.app-facebook {
  background: #f0f2f5;
}
.app-facebook .app-header {
  background: #ffffff;
  padding: 4px 6px;
  border-bottom: 1px solid #e4e6eb;
  color: #1877f2;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.app-facebook .app-body {
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}
.app-facebook .post-card {
  background: #ffffff;
  border-radius: 4px;
  padding: 4px;
  display: flex;
  gap: 4px;
}
.app-facebook .avatar {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
}
.app-facebook .post-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.app-facebook .line {
  height: 3px;
  background: #e4e6eb;
  border-radius: 2px;
}
.app-facebook .line.short { width: 40%; }
.app-facebook .line.long { width: 90%; }
.app-facebook .app-footer {
  margin-top: auto;
  background: #ffffff;
  border-top: 1px solid #e4e6eb;
  display: flex;
  justify-content: space-around;
  padding: 3px 0;
}

/* APP: TikTok */
.app-tiktok {
  background: #000000;
  color: #ffffff;
}
.app-tiktok .app-header {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 4px 0;
  font-weight: 600;
}
.app-tiktok .app-header span.active {
  border-bottom: 1.5px solid #fff;
}
.app-tiktok .tiktok-video {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-tiktok .tiktok-logo {
  font-size: 2.2rem;
  color: #25f4ee;
  text-shadow: 2px 0 #fe2c55;
  opacity: 0.35;
}
.app-tiktok .tiktok-actions {
  position: absolute;
  right: 4px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.app-tiktok .action-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.45rem;
}
.app-tiktok .action-circle.text-red {
  color: #fe2c55;
}
.app-tiktok .tiktok-desc {
  position: absolute;
  left: 6px;
  bottom: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-tiktok .user { font-weight: 600; color: #fff; }
.app-tiktok .desc-line { color: rgba(255,255,255,0.8); }

/* APP: Shopee */
.app-shopee {
  background: #f5f5f5;
}
.app-shopee .bg-orange {
  background: #ee4d2d;
}
.app-shopee .app-header {
  padding: 4px 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.app-shopee .app-body {
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.app-shopee .shopee-search {
  height: 8px;
  background: #ffffff;
  border-radius: 2px;
  border: 1px solid #ee4d2d;
}
.app-shopee .shopee-products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.app-shopee .shopee-item {
  height: 40px;
  background: #ffffff;
  border-radius: 2px;
}
.app-shopee .app-footer {
  margin-top: auto;
  background: #ffffff;
  display: flex;
  justify-content: space-around;
  padding: 3px 0;
  border-top: 1px solid #e8e8e8;
}

/* APP: Chrome Browser */
.app-chrome .bg-light {
  background: #f1f3f4;
}
.app-chrome .app-header {
  padding: 4px;
  border-bottom: 1px solid #dadce0;
}
.app-chrome .chrome-search-bar {
  background: #ffffff;
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 0.5rem;
  border: 1px solid #dadce0;
  color: #3c4043;
}
.app-chrome .app-body {
  padding: 6px;
}
.app-chrome .chrome-web-page {
  background: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 4px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 100px;
}
.app-chrome .web-banner {
  height: 20px;
  background: #e8eaed;
  border-radius: 2px;
}
.app-chrome .web-line {
  height: 3px;
  background: #f1f3f4;
  border-radius: 2px;
}

/* INTERACTIVE OVERLAYS IN PHONES */

/* Overlay: Click ripple */
.click-ripple {
  position: absolute;
  width: 16px;
  height: 16px;
  background: rgba(79, 70, 229, 0.4);
  border: 1.5px solid #4f46e5;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

.click-ripple.animate {
  animation: ripple-out 0.6s cubic-bezier(0.1, 0.8, 0.3, 1);
}

@keyframes ripple-out {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

/* Overlay: File Transfer */
.file-transfer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  z-index: 6;
  font-size: 0.68rem;
  color: var(--color-primary);
  font-weight: 600;
  padding: 0 12px;
  transition: opacity 0.3s ease;
}

.file-transfer-overlay.active {
  opacity: 1;
}

.file-transfer-overlay .progress-bar {
  width: 100%;
  height: 5px;
  background: #e2e8f0;
  border-radius: 100px;
  overflow: hidden;
}

.file-transfer-overlay .progress-fill {
  width: 0%;
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.1s linear;
}

/* Overlay: APK Installation */
.apk-progress-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  z-index: 6;
  font-size: 0.68rem;
  color: var(--text-primary);
  font-weight: 600;
  padding: 0 12px;
  transition: opacity 0.3s ease;
}

.apk-progress-overlay.active {
  opacity: 1;
}

.apk-progress-overlay .progress-bar {
  width: 100%;
  height: 5px;
  background: #e2e8f0;
  border-radius: 100px;
  overflow: hidden;
}

.apk-progress-overlay .progress-fill {
  width: 0%;
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.1s linear;
}

/* Overlay: Rebooting */
.reboot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  z-index: 7;
  font-size: 0.65rem;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.reboot-overlay.active {
  opacity: 1;
}

.reboot-overlay i {
  font-size: 1.4rem;
  animation: pulse-white 1.2s infinite alternate;
}

@keyframes pulse-white {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.1); opacity: 1; }
}


/* --- Workflow Section (Setup Steps) --- */
.workflow {
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  position: relative;
}

/* Đường nối đứt đoạn giữa các bước trên Desktop */
@media (min-width: 769px) {
  .workflow-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.15) 30%, rgba(79, 70, 229, 0.15) 70%, transparent);
    z-index: 1;
  }
}

.workflow-step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
  position: relative;
  z-index: 2;
}

.workflow-step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 70, 229, 0.2);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.04);
}

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.8;
}

.step-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.05);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.05);
}

.workflow-step-card:hover .step-icon-box {
  background: var(--gradient-primary);
  color: #ffffff;
  transform: rotate(360deg);
  transition: transform 0.6s ease, background 0.3s ease;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Responsive cho Workflow */
@media (max-width: 768px) {
  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* --- Features Section (Interactive Showcase) --- */
.features {
  padding: 60px 0;
  background: var(--bg-section-alt);
}

.features-interactive {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 50px;
  margin-top: 50px;
}

.features-tabs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-tab {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: left;
  display: flex;
  gap: 20px;
  box-shadow: var(--shadow-card);
}

.feature-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 70, 229, 0.15);
}

.feature-tab-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.feature-tab-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-tab-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.feature-tab-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Tab trạng thái Active */
.feature-tab.active {
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.05);
}

.feature-tab.active .feature-tab-icon {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

/* Showcase Content */
.feature-showcase-panel {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column; /* Trở lại chiều dọc chuyên nghiệp */
  justify-content: flex-start;
  gap: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  min-height: 520px;
}

.feature-showcase-text {
  width: 100%;
}

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

.feature-showcase-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

.feature-showcase-img-box {
  width: 100%;
  background: transparent; /* Loại bỏ nền xám */
  border: none; /* Loại bỏ viền hộp */
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-showcase-img {
  width: 100%;
  max-width: 580px; /* Giới hạn độ rộng hợp lý */
  height: auto; /* Chiều cao thích ứng tỷ lệ thực tế */
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05); /* Đổ bóng trực tiếp cực sang */
  transition: opacity 0.4s ease;
}

/* --- Gallery Section --- */
.gallery {
  padding: 60px 0;
  background: #ffffff;
}

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

.gallery-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.gallery-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 70, 229, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.gallery-img-container {
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-info {
  padding: 24px;
}

.gallery-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.gallery-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- Pricing Section --- */
.pricing {
  padding: 60px 0;
  background: var(--bg-section-alt);
}

/* Pricing Switch / Toggle */
.pricing-toggle-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
  background: #ffffff;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.toggle-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: var(--transition-fast);
}

.toggle-label.active {
  color: var(--color-primary);
}

.discount-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: #d1fae5;
  color: #065f46;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 4px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  border-radius: 100px;
  transition: 0.3s;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--color-primary);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  align-items: stretch;
}

.price-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-card);
}

/* Thẻ phổ biến nhất có viền phát sáng nhẹ */
.price-card.popular {
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
}

.price-card:hover {
  transform: translateY(-10px);
}

.price-card.popular:hover {
  transform: scale(1.03) translateY(-10px);
}

.card-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
}

.price-name {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.price-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 30px;
  min-height: 42px;
}

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

.price-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.price-term {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-left: 6px;
}

.price-devices {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

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

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.price-features li i {
  color: var(--color-accent);
  margin-top: 4px;
  font-size: 0.95rem;
}

.price-btn {
  width: 100%;
}

/* --- FAQ Section --- */
.faqs {
  padding: 60px 0;
  background: #ffffff;
}

.faqs-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.faq-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  padding-right: 20px;
}

.faq-toggle {
  font-size: 1rem;
  color: var(--text-secondary);
  transition: transform var(--transition-normal);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer {
  padding: 0 24px 24px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Trạng thái Accordion active */
.faq-item.active {
  border-color: rgba(79, 70, 229, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
  color: var(--color-primary);
}

/* --- Footer Section --- */
.footer {
  background: #ffffff;
  padding: 80px 0 30px 0;
  border-top: 1px solid var(--border-color);
}

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

.footer-about .logo {
  margin-bottom: 20px;
}

.footer-about-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--text-primary);
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

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

.contact-item {
  display: flex;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-item i {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- Mobile Menu overlay --- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.open {
  left: 0;
}

.mobile-nav .nav-link {
  font-size: 1.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
}

.mobile-nav-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
}

/* --- Scroll Fade-in Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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


/* --- Responsive (CSS Media Queries) --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .simulator-window {
    transform: none;
    max-width: 600px;
    margin: 0 auto;
  }
  .simulator-window:hover {
    transform: none;
  }
  .features-interactive {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .feature-tab {
    flex: 1 1 calc(50% - 8px);
  }
  .feature-showcase-panel {
    padding: 24px;
    gap: 20px;
    min-height: auto;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .price-card.popular {
    transform: scale(1);
  }
  .price-card.popular:hover {
    transform: translateY(-10px);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  .footer-about {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 16px 0;
  }
  .nav-links, .nav-cta {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .hero {
    padding-top: 120px;
    padding-bottom: 50px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-list-features {
    display: inline-block;
    text-align: left;
    margin-bottom: 30px;
  }
  .hero-ctas {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .stat-value {
    font-size: 2.4rem;
  }
  .feature-tab {
    flex: 1 1 100%;
  }
  .feature-showcase-panel {
    padding: 20px;
    gap: 16px;
    min-height: auto;
  }
  .feature-showcase-title {
    font-size: 1.5rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-about {
    grid-column: span 1;
  }
  
  /* Simulator adjustments for mobile */
  .sim-sidebar {
    width: 55px; /* Collapse sidebar on mobile, icons only */
    padding: 10px 4px;
  }
  .sim-sidebar-title, .sim-action-btn span, .sim-hud-stats {
    display: none;
  }
  .sim-action-btn {
    justify-content: center;
    padding: 10px 0;
  }
  .phone-info-bar .phone-ip {
    display: none;
  }
}

/* ========================================================
   TRANG TÀI LIỆU HƯỚNG DẪN (DOCS.HTML) - LIGHT THEME
   ======================================================== */
.docs-layout {
  padding-top: 100px;
  padding-bottom: 80px;
  min-height: calc(100vh - 300px);
}

.docs-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* Sidebar Styling */
.docs-sidebar {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding-right: 16px;
  border-right: 1px solid var(--border-color);
}

.docs-sidebar::-webkit-scrollbar {
  width: 4px;
}
.docs-sidebar::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 4px;
}

.docs-menu-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.docs-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.docs-menu-item a {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-left: 2px solid transparent;
  transition: all var(--transition-fast);
}

.docs-menu-item a:hover {
  color: var(--color-primary);
  padding-left: 16px;
}

.docs-menu-item.active a {
  color: var(--color-primary);
  font-weight: 600;
  border-left-color: var(--color-primary);
  background: rgba(79, 70, 229, 0.04);
  border-top-right-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
}

/* Docs Content Area */
.docs-content {
  max-width: 800px;
}

.docs-section {
  margin-bottom: 60px;
  scroll-margin-top: 120px; /* Offset for sticky header when jumping links */
}

.docs-section:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 40px;
}

.docs-section-title {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.docs-section-subtitle {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-top: 30px;
  margin-bottom: 15px;
}

.docs-text {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.docs-list {
  list-style-type: none;
  margin-left: 8px;
  margin-bottom: 20px;
}

.docs-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.docs-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--color-accent);
  font-size: 0.85rem;
}

/* Callout Styles */
.docs-callout {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  display: flex;
  gap: 16px;
  border-left: 4px solid;
}

.docs-callout-icon {
  font-size: 1.25rem;
  margin-top: 2px;
}

.docs-callout-content {
  flex: 1;
}

.docs-callout-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.docs-callout-desc {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Callout variations */
.docs-callout.tip {
  background: rgba(13, 148, 136, 0.05);
  border-left-color: var(--color-accent);
  color: #0f766e;
}
.docs-callout.tip .docs-callout-icon {
  color: var(--color-accent);
}

.docs-callout.warning {
  background: rgba(245, 158, 11, 0.05);
  border-left-color: #f59e0b;
  color: #b45309;
}
.docs-callout.warning .docs-callout-icon {
  color: #f59e0b;
}

.docs-callout.info {
  background: rgba(14, 165, 230, 0.05);
  border-left-color: var(--color-secondary);
  color: #0369a1;
}
.docs-callout.info .docs-callout-icon {
  color: var(--color-secondary);
}

/* Code block styles */
.docs-code-container {
  position: relative;
  margin: 20px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.docs-code-header {
  background: #1e293b;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.docs-code-lang {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  font-family: var(--font-primary);
}

.docs-copy-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 4px;
  color: #e2e8f0;
  font-size: 0.75rem;
  padding: 4px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.docs-copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.docs-code-pre {
  background: #0f172a;
  padding: 16px 20px;
  margin: 0;
  overflow-x: auto;
}

.docs-code-pre code {
  color: #f8fafc;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  display: block;
}

/* Steps list */
.docs-steps {
  margin: 24px 0;
  counter-reset: step-counter;
}

.docs-step {
  position: relative;
  padding-left: 48px;
  margin-bottom: 24px;
}

.docs-step::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

.docs-step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

/* Mobile responsive styles for docs */
@media (max-width: 900px) {
  .docs-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .docs-sidebar {
    position: static;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 20px;
  }
  .docs-menu-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .docs-menu-item {
    flex: 1 1 auto;
  }
  .docs-menu-item a {
    border-left: none;
    border-bottom: 2px solid transparent;
    text-align: center;
    padding: 8px 12px;
  }
  .docs-menu-item.active a {
    border-left-color: transparent;
    border-bottom-color: var(--color-primary);
  }
}


/* ========================================================
   LANGUAGE SELECTOR STYLES (PREMIUM MULTI-LANG)
   ======================================================== */
.lang-selector {
  position: relative;
  margin-right: 15px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-btn:hover {
  background: var(--bg-section-alt);
  color: var(--text-primary);
}

.lang-btn i {
  font-size: 0.85rem;
}

.lang-btn i.fa-globe {
  color: var(--color-primary);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  min-width: 190px;
  padding: 6px 0;
  display: none;
  z-index: 1100;
  animation: slideDown 0.2s ease;
}

.lang-dropdown.show {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  cursor: pointer;
}

.lang-option:hover {
  background: rgba(79, 70, 229, 0.05);
  color: var(--color-primary);
}

.lang-option.active {
  background: rgba(79, 70, 229, 0.08);
  color: var(--color-primary);
  font-weight: 600;
}

.flag-icon {
  font-size: 1.1rem;
}

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

/* Mobile Language Selector styling */
.mobile-lang-selector {
  margin-top: 20px;
  width: 80%;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.mobile-lang-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-lang-opt {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-lang-opt:hover {
  background: rgba(15, 23, 42, 0.06);
}

.mobile-lang-opt.active {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.2);
  color: var(--color-primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .lang-selector {
    display: none; /* Hide desktop selector on mobile */
  }
}

/* --- Lightbox Modal --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85); /* Slate 900 background with transparency */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
  z-index: 10000;
  line-height: 1;
  padding-bottom: 4px; /* Align &times; */
}

.lightbox-close:hover {
  background: #ffffff;
  color: var(--text-primary);
  transform: rotate(90deg);
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bounce transition */
}

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

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: zoom-out;
}

.lightbox-caption {
  color: #ffffff;
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Add cursor pointer to zoomable images */
.gallery-card {
  cursor: pointer;
}

.feature-showcase-img {
  cursor: pointer;
}


