/**
 * Trang chủ Lite — theo mock lite.html (tối ưu nhẹ hơn: blur vừa, tilt desktop).
 */
.lite-home {
  --lh-vps: #f97316;
  --lh-vps-bg: #fff7ed;
  --lh-vps-glow: rgba(249, 115, 22, 0.2);
  --lh-hosting: #a855f7;
  --lh-hosting-bg: #faf5ff;
  --lh-hosting-glow: rgba(168, 85, 247, 0.2);
  --lh-email: #3b82f6;
  --lh-email-bg: #eff6ff;
  --lh-email-glow: rgba(59, 130, 246, 0.2);
  --lh-proxy: #10b981;
  --lh-proxy-bg: #ecfdf5;
  --lh-proxy-glow: rgba(16, 185, 129, 0.2);

  position: relative;
  overflow: hidden;
  padding: 2.25rem 0 2.75rem;
  background: #f8fafc;
}

@media (min-width: 1024px) {
  .lite-home {
    padding: 3.25rem 0 3.5rem;
  }
}

.lite-home__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.lite-home__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.45;
  animation: lite-home-float 12s ease-in-out infinite alternate;
}

.lite-home__blob--1 {
  top: -8%;
  left: 8%;
  width: 22rem;
  height: 22rem;
  background: rgba(14, 165, 233, 0.16);
}

.lite-home__blob--2 {
  top: 18%;
  right: -4%;
  width: 18rem;
  height: 18rem;
  background: rgba(168, 85, 247, 0.14);
  animation-delay: -5s;
}

@keyframes lite-home-float {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(24px, 36px) scale(1.08); }
}

.lite-home__inner {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .lite-home__inner {
    padding: 0 1.5rem;
  }
}

.lite-home__badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1.25rem;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0284c7;
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 233, 0.22);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(59, 130, 246, 0.1));
  box-shadow: 0 0 14px rgba(14, 165, 233, 0.08);
}

.lite-home__title {
  margin: 0;
  max-width: 40rem;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #0f172a;
}

@media (min-width: 640px) {
  .lite-home__title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .lite-home__title {
    font-size: 2.75rem;
  }
}

.lite-home__title-hi {
  display: inline-block;
  background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lite-home__lead {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.55;
  color: #475569;
}

@media (min-width: 640px) {
  .lite-home__lead {
    font-size: 1.1rem;
    margin-top: 1rem;
  }
}

.lite-home__services {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.25rem;
  perspective: 1000px;
}

@media (min-width: 640px) {
  .lite-home__services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
    margin-top: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .lite-home__services {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 3.25rem;
  }
}

.lite-scard {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1.35rem 1.35rem 1.15rem;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border-radius: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.lite-scard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    700px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.55),
    transparent 42%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
}

.lite-scard:hover::before {
  opacity: 1;
}

.lite-scard:hover {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.95);
}

.lite-scard:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

.lite-scard__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.lite-scard__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.lite-scard__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  transition: transform 0.25s ease;
}

.lite-scard__icon .lite-ico {
  width: 1.35rem;
  height: 1.35rem;
}

.lite-scard--vps .lite-scard__icon { background: var(--lh-vps-bg); color: var(--lh-vps); }
.lite-scard--hosting .lite-scard__icon { background: var(--lh-hosting-bg); color: var(--lh-hosting); }
.lite-scard--email .lite-scard__icon { background: var(--lh-email-bg); color: var(--lh-email); }
.lite-scard--proxy .lite-scard__icon { background: var(--lh-proxy-bg); color: var(--lh-proxy); }

.lite-scard--vps:hover { box-shadow: 0 18px 36px -12px var(--lh-vps-glow), 0 1px 3px rgba(15, 23, 42, 0.06); border-color: rgba(249, 115, 22, 0.28); }
.lite-scard--hosting:hover { box-shadow: 0 18px 36px -12px var(--lh-hosting-glow), 0 1px 3px rgba(15, 23, 42, 0.06); border-color: rgba(168, 85, 247, 0.28); }
.lite-scard--email:hover { box-shadow: 0 18px 36px -12px var(--lh-email-glow), 0 1px 3px rgba(15, 23, 42, 0.06); border-color: rgba(59, 130, 246, 0.28); }
.lite-scard--proxy:hover { box-shadow: 0 18px 36px -12px var(--lh-proxy-glow), 0 1px 3px rgba(15, 23, 42, 0.06); border-color: rgba(16, 185, 129, 0.28); }

.lite-scard:hover .lite-scard__icon {
  transform: scale(1.08) rotate(-4deg);
}

.lite-scard__badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4e50, #f9d423);
  box-shadow: 0 2px 4px rgba(255, 78, 80, 0.28);
}

.lite-scard__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.lite-scard__desc {
  font-size: 0.85rem;
  line-height: 1.45;
  color: #475569;
  margin-bottom: 1.25rem;
  flex: 1;
}

.lite-scard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
}

.lite-scard__price {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0f172a;
}

.lite-scard__price span {
  font-weight: 400;
  font-size: 0.75rem;
  color: #94a3b8;
}

.lite-scard__go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lite-scard__go .lite-ico {
  width: 0.7rem;
  height: 0.7rem;
}

.lite-scard:hover .lite-scard__go {
  background: #0f172a;
  color: #fff;
  transform: translateX(3px);
}

.lite-home__divider {
  width: 100%;
  height: 1px;
  margin: 2rem 0 1.5rem;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(226, 232, 240, 0.95), transparent);
}

.lite-home__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  width: 100%;
}

@media (max-width: 639px) {
  .lite-home__trust {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
}

.lite-home__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.lite-home__trust-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0ea5e9;
  flex-shrink: 0;
}

.lite-home__trust-ico .lite-ico {
  width: 0.7rem;
  height: 0.7rem;
}

.lite-home-fade {
  opacity: 0;
  transform: translateY(16px);
  animation: lite-home-fade-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.lite-home-fade--1 { animation-delay: 0.08s; }
.lite-home-fade--2 { animation-delay: 0.16s; }
.lite-home-fade--3 { animation-delay: 0.24s; }
.lite-home-fade--4 { animation-delay: 0.32s; }

@keyframes lite-home-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .lite-home__blob,
  .lite-home-fade,
  .lite-scard,
  .lite-scard__icon,
  .lite-scard__go {
    animation: none !important;
    transition: none !important;
  }

  .lite-home-fade {
    opacity: 1;
    transform: none;
  }

  .lite-scard:hover .lite-scard__icon {
    transform: none;
  }
}
