/* ===================================================================
   TRẦN HỮU LUÂN - WEB ARCHITECT & AGENCY DESIGN SYSTEM
   Phong cách: Clean Luxury, Modern Light Tech (Hoàn toàn KHÔNG MÀU TỐI)
   =================================================================== */

@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&display=swap');

:root {
  /* Bảng màu chính - Light Corporate Luxury */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  /* Màu thương hiệu & Điểm nhấn */
  --primary: #2563EB;        /* Royal Blue */
  --primary-hover: #1D4ED8;
  --primary-light: #EFF6FF;
  --primary-border: #BFDBFE;
  
  --accent-cyan: #06B6D4;    /* Tech Cyan */
  --accent-cyan-light: #ECFEFF;
  
  --accent-purple: #7C3AED;  /* Game & Esports Purple */
  --accent-purple-light: #F5F3FF;
  
  --accent-emerald: #059669; /* E-commerce Growth Green */
  --accent-emerald-light: #ECFDF5;
  
  --accent-gold: #D97706;    /* VIP Gold */
  --accent-gold-light: #FEF3C7;
  
  /* Màu chữ - Đạt chuẩn tương phản cao (High Contrast WCAG AAA) */
  --text-main: #0F172A;      /* Slate 900 - Đen chữ sắc nét trên nền sáng */
  --text-body: #334155;      /* Slate 700 - Dễ đọc bài viết */
  --text-muted: #64748B;     /* Slate 500 - Phụ đề, chú thích */
  --text-light: #94A3B8;     /* Slate 400 */
  
  /* Đường viền & Đổ bóng tinh tế trên nền sáng */
  --border-light: #E2E8F0;
  --border-focus: #3B82F6;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
  --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.04), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  
  /* Bo góc */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  /* Phông chữ */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Transition */
  --trans-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background: var(--bg-secondary);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Cấu trúc Layout */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 90px 0;
  position: relative;
}

.section-light {
  background-color: var(--bg-primary);
}

.section-tint {
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
}

/* Tiêu đề & Section Header */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.badge-tag.tag-game {
  background: var(--accent-purple-light);
  color: var(--accent-purple);
  border-color: #DDD6FE;
}

.badge-tag.tag-ecom {
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  border-color: #A7F3D0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Typography chung */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--trans-smooth);
}

a:hover {
  color: var(--primary-hover);
}

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

/* ===================================================================
   HEADER & NAVIGATION BAR (Glassmorphism sáng sang trọng)
   =================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--trans-smooth);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo img {
  height: 52px;
  width: auto;
}

/* Menu Điều Hướng */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-body);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--trans-smooth);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 270px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--trans-smooth);
  list-style: none;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
}

.dropdown-item a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.dropdown-item .icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: var(--bg-tertiary);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-contact-quick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--text-main);
  border: 1.5px solid var(--border-light);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--trans-smooth);
}

.btn-contact-quick:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, #1D4ED8 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: var(--trans-smooth);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--primary-border);
  cursor: pointer;
  transition: var(--trans-smooth);
}

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

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-main);
  cursor: pointer;
}

/* ===================================================================
   HERO SECTION (Sang trọng, ánh sáng rực rỡ, clean tech)
   =================================================================== */
.hero-section {
  padding-top: 150px;
  padding-bottom: 90px;
  background: radial-gradient(circle at 50% 20%, #EFF6FF 0%, #F8FAFC 60%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-content {
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid var(--primary-border);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-pill .dot {
  width: 10px;
  height: 10px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulseGreen 2s infinite;
}

.hero-pill span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #2563EB 0%, #4F46E5 50%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--border-light);
  padding-top: 28px;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.trust-label {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 600;
}

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

.hero-visual img {
  width: 100%;
  animation: floatSubtle 6s ease-in-out infinite;
}

/* ===================================================================
   SERVICE CARDS (3 Dịch Vụ Cốt Lõi: Doanh Nghiệp, Game, Bán Hàng)
   =================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: var(--trans-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-border);
}

.service-card-image {
  margin: -32px -32px 24px -32px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-tertiary);
}

.service-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-image img {
  transform: scale(1.04);
}

.service-card-badge {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.service-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  font-size: 0.9rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.service-features li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #ECFDF5;
  color: #059669;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-price {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.service-price strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

/* ===================================================================
   STANDARDS & ENTERPRISE ADVANTAGES (Chuẩn Doanh Nghiệp Lớn)
   =================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: var(--trans-smooth);
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-wrapper img {
  width: 32px;
  height: 32px;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================================
   FOUNDER BIO & PROFILE SECTION (Trần Hữu Luân)
   =================================================================== */
.founder-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 56px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}

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

.founder-avatar-wrap {
  width: 220px;
  height: 220px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  box-shadow: var(--shadow-hover);
}

.founder-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #FFFFFF;
  object-fit: cover;
}

.founder-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.founder-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}

.founder-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  max-width: 280px;
  margin: 0 auto;
}

.founder-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-body);
}

.founder-bio-text {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 24px;
}

.founder-quote {
  padding: 18px 24px;
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 30px;
  font-weight: 500;
}

.founder-signature img {
  height: 60px;
}

/* ===================================================================
   FOOTER (Sạch sẽ, thanh lịch, chuẩn thông tin doanh nghiệp)
   =================================================================== */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 80px 0 30px;
}

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

.footer-brand img {
  height: 52px;
  margin-bottom: 18px;
}

.footer-brand-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
}

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

.footer-links a {
  color: var(--text-body);
  font-size: 0.925rem;
  font-weight: 500;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.925rem;
  color: var(--text-body);
}

.footer-contact-item .icon {
  font-size: 16px;
  margin-top: 3px;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===================================================================
   ANIMATIONS & KEYFRAMES
   =================================================================== */
@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

/* ===================================================================
   RESPONSIVE DESIGN
   =================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .founder-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-actions .btn-contact-quick {
    display: none;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
