/* ==================== GLOBAL ==================== */
body {
  margin: 0;
  font-family: "Inter", system-ui;
  color: #e3e7ee;
  overflow-x: hidden;
  background: url('https://images.unsplash.com/photo-1535223289827-42f1e9919769?q=80&w=1920&auto=format&fit=crop') center/cover fixed no-repeat;
  position: relative;
}

/* Overlay mờ để chữ dễ đọc */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.85));
  z-index: -1;
}

:root {
  --rgb1: #00eaff;
  --rgb2: #00ff88;
  --rgb3: #6f00ff;
}

/* ==================== LOADING ==================== */
#loading-screen {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #000;
  z-index: 9999;
  transition: 0.5s;
}
.loader-ring {
  width: 80px;
  height: 80px;
  border: 4px solid rgba(0,234,255,0.2);
  border-top-color: var(--rgb1);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); }}
.loading-text { margin-top: 15px; opacity: 0.7; }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  z-index: 2;
}

/* AVATAR */
.hero-avatar {
  width: 260px;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--rgb1);
  box-shadow: 0 0 25px rgba(0,234,255,0.4);
  animation: rgbBorder 4s linear infinite;
}
@keyframes rgbBorder {
  0% { border-color: var(--rgb1);} 
  33%{ border-color: var(--rgb2);} 
  66%{ border-color: var(--rgb3);} 
  100%{ border-color: var(--rgb1);} 
}
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HERO TEXT */
.hero-content { max-width: 550px; }
.title {
  font-size: 48px;
  font-weight: 800;
  color: var(--rgb1);
  text-shadow: 0 0 12px rgba(0,234,255,0.8);
}
.subtitle {
  opacity: 0.8;
  margin-bottom: 20px;
}
.hero-stats {
  display: flex;
  gap: 25px;
  margin: 20px 0;
}
.stat-item span { color: var(--rgb2); font-size: 26px; font-weight: bold; }

.cta {
  padding: 14px 36px;
  border-radius: 40px;
  border: none;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, var(--rgb1), var(--rgb2), var(--rgb3));
  background-size: 200%;
  animation: rgbButton 3s linear infinite;
}
@keyframes rgbButton { 0%{background-position:0%} 100%{background-position:200%} }

/* ==================== CARD ==================== */
.container { max-width: 1200px; margin: 60px auto; padding: 0 20px; }
.card {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}

/* ==================== PARTNER SLIDER ==================== */
.partner-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.partner-track {
  display: flex;
  gap: 20px;
  animation: slideLeft 16s linear infinite;
}
@keyframes slideLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.badge-item {
  padding: 14px 22px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  border: 1px solid rgba(0,234,255,0.3);
  color: var(--rgb1);
  white-space: nowrap;
  font-weight: 600;
}

/* ==================== GRIDS ==================== */
.info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.info-box {
  background: rgba(255,255,255,0.08);
  padding: 20px;
  border-radius: 12px;
}
.strength-list { display: grid; gap: 12px; }
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.price-item {
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  border: 1px solid rgba(0,234,255,0.4);
}
.case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.case-item {
  background: rgba(255,255,255,0.06);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(0,234,255,0.2);
}
.highlight-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
highlight-item {
  background: rgba(111,0,255,0.2);
  padding: 16px;
  border-radius: 12px;
  text-align: center;
}
.workflow { padding-left: 20px; line-height: 1.8; }
.why-list { padding-left: 20px; line-height: 1.8; }

/* ==================== ANIMATION ==================== */
.fade-in { opacity: 0; transform: translateY(20px); transition: 0.7s; }
.fade-in.show { opacity: 1; transform: translateY(0); }
.center {
  text-align: center
}