/*
Theme Name: CloudTech Services
Theme URI: https://cloudtech.vn
Author: CloudTech
Description: Theme trang chủ dịch vụ - giao diện sáng, block quảng bá, bảng giá Hosting/VPS (thẻ hiện đại), đối tác, thống kê.
Version: 1.5
License: GNU General Public License v2 or later
Text Domain: cloudtech-services
*/

/* ===== Variables - Giao diện sáng ===== */
:root {
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --accent: #0ea5e9;
  --accent-soft: #e0f2fe;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  /* Header */
  --header-bg: #ffffff;
  --header-border: #e2e8f0;
  --header-text: #0f172a;
  --header-text-muted: #64748b;
  --header-accent: #0ea5e9;
  --header-accent-hover: #0284c7;
  --btn-primary-bg: #0ea5e9;
  --btn-primary-hover: #0284c7;
  --badge-new: #ef4444;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-page);
  color: var(--text);
  line-height: 1.6;
}

/* ===== Header ===== */
.top-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--header-text);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.header-logo:hover { color: var(--header-accent); }
.header-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--header-accent) 0%, var(--btn-primary-hover) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}
.header-logo-img { display: flex; align-items: center; }
.header-logo-img img { max-height: 36px; width: auto; display: block; }
.header-logo-text { display: inline-block; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
  min-width: 0;
}
.header-nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.header-nav a,
.header-nav .nav-link-with-arrow {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.65rem;
  color: var(--header-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.header-nav a:hover,
.header-nav .nav-link-with-arrow:hover {
  color: var(--header-accent);
  background: var(--accent-soft);
}
.nav-item-wrap { position: relative; display: flex; }
.nav-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--badge-new);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  line-height: 1.2;
}
.nav-arrow {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  transition: transform 0.2s;
}
.nav-link-with-arrow:hover .nav-arrow { transform: rotate(180deg); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.btn-uu-dai {
  padding: 0.5rem 1rem;
  background: var(--btn-primary-bg);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-uu-dai:hover { background: var(--btn-primary-hover); color: #fff; }
.btn-tai-khoan {
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--header-accent);
  border: 1px solid var(--header-accent);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-tai-khoan:hover {
  background: var(--accent-soft);
  border-color: var(--header-accent-hover);
  color: var(--header-accent-hover);
}
.header-actions {
  gap: 1rem;
}
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .header-actions .btn-tai-khoan { display: none; }
}

/* ===== Hero / Banner ===== */
.hero-section {
  position: relative;
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(14, 165, 233, 0.08) 0%, transparent 55%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.hero-section h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 0.5rem 0;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 1.25rem 0;
}
.hero-cta {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.hero-cta:hover {
  background: var(--btn-primary-hover);
  color: #fff;
  transform: translateY(-1px);
}
.hero-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
}

/* ===== Block quảng bá (2 cột, kiểu Linux Hosting) ===== */
.promo-block {
  background: #e8f4f6;
  padding: 3rem 1.5rem;
}
.promo-block-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .promo-block-inner { grid-template-columns: 1fr; gap: 2rem; }
  .promo-block-media { order: -1; }
}
.promo-block-content {
  max-width: 480px;
}
.promo-block-h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.35rem 0;
  line-height: 1.3;
}
.promo-block-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0c4a6e;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}
.promo-block-subtitle {
  font-size: 1rem;
  color: #0369a1;
  margin: 0 0 1.25rem 0;
  line-height: 1.5;
}
.promo-block-list {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
}
.promo-block-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}
.promo-block-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 18px;
  height: 18px;
  background: #22c55e;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.promo-block-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #14b8a6;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(20, 184, 166, 0.35);
  transition: background 0.2s, transform 0.2s;
}
.promo-block-btn:hover {
  background: #0d9488;
  color: #fff;
  transform: translateY(-1px);
}
.promo-block-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}
.promo-block-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.promo-block-placeholder {
  width: 100%;
  min-height: 220px;
  background: rgba(255, 255, 255, 0.7);
  border: 2px dashed var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.promo-block-placeholder-icon {
  font-size: 2.5rem;
}

/* ===== Thanh số liệu (dưới đối tác, có hiệu ứng) ===== */
.stats-bar {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
  color: #fff;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.12) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 45%);
  pointer-events: none;
}
.stats-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
@media (max-width: 640px) {
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
.stats-bar-item {
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  animation: stats-fade-in 0.6s ease backwards;
}
.stats-bar-item:nth-child(1) { animation-delay: 0.1s; }
.stats-bar-item:nth-child(2) { animation-delay: 0.2s; }
.stats-bar-item:nth-child(3) { animation-delay: 0.3s; }
.stats-bar-item:nth-child(4) { animation-delay: 0.4s; }
.stats-bar-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}
@keyframes stats-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.stats-bar-number {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.stats-bar-label {
  font-size: 0.9rem;
  opacity: 0.95;
  font-weight: 500;
  line-height: 1.3;
}

/* ===== Index Services (ngay dưới banner) ===== */
.index-services-section {
  padding: 3.5rem 1.5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.index-services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  max-width: 100vw;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, transparent 30%, transparent 70%, rgba(248, 250, 252, 0.9) 100%);
  pointer-events: none;
  z-index: 0;
}
.index-services-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.index-services-header {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.index-services-subtitle {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: var(--accent-soft);
  border-radius: 100px;
}
.index-services-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--text);
}
.index-services-desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.index-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1024px) {
  .index-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .index-services-grid { grid-template-columns: 1fr; }
}
.index-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.index-service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
}
.index-service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.index-service-card:hover::before {
  opacity: 1;
}
.index-service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
  transition: transform 0.2s;
}
.index-service-card:hover .index-service-icon {
  transform: scale(1.05);
}
.index-service-icon svg {
  display: block;
}
.index-service-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: var(--text);
}
.index-service-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 1rem 0;
  flex: 1;
}
.index-service-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s;
}
.index-service-card:hover .index-service-link {
  color: var(--header-accent-hover);
}

/* ===== Tại sao chọn chúng tôi (dưới dịch vụ) ===== */
.why-us-section {
  padding: 4rem 1.5rem;
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
  position: relative;
}
.why-us-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .why-us-inner { grid-template-columns: 1fr; gap: 2rem; }
  .why-us-visual { order: -1; min-height: 200px; }
  .why-us-content { max-width: none; }
}
.why-us-content {
  max-width: 420px;
}
.why-us-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.6rem 0;
  line-height: 1.25;
}
.why-us-title-accent {
  color: var(--accent);
  display: inline;
}
.why-us-intro {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 1.25rem 0;
  max-width: 100%;
}
.why-us-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.why-us-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  border-left: 3px solid var(--accent);
  box-shadow: 0 2px 10px rgba(0, 105, 233, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-us-item:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0, 105, 233, 0.1);
}
.why-us-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-us-icon svg { display: block; }
.why-us-item-text { min-width: 0; }
.why-us-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.2rem 0;
}
.why-us-item-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.why-us-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 380px;
}
.why-us-hub {
  position: relative;
  width: 360px;
  height: 360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 4 vòng tròn nét đứt riêng, mỗi vòng 1 icon trên đường đó; vạch đứt mờ để icon đè lên rõ */
.why-us-hub-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 2px dashed rgba(14, 165, 233, 0.22);
  border-radius: 50%;
  background: transparent;
  z-index: 0;
}
.why-us-hub-ring-1 { width: 120px; height: 120px; margin: -60px 0 0 -60px; border-color: rgba(14, 165, 233, 0.2); }
.why-us-hub-ring-2 { width: 180px; height: 180px; margin: -90px 0 0 -90px; border-color: rgba(14, 165, 233, 0.17); }
.why-us-hub-ring-3 { width: 240px; height: 240px; margin: -120px 0 0 -120px; border-color: rgba(14, 165, 233, 0.14); }
.why-us-hub-ring-4 { width: 300px; height: 300px; margin: -150px 0 0 -150px; border-color: rgba(14, 165, 233, 0.12); }
.why-us-hub-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  margin: -45px 0 0 -45px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent) 0%, var(--btn-primary-hover) 100%);
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.25);
  z-index: 2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: why-us-core-blink 2.5s ease-in-out infinite;
}
@keyframes why-us-core-blink {
  0%, 100% { opacity: 1; box-shadow: 0 4px 20px rgba(14, 165, 233, 0.25); }
  50% { opacity: 0.92; box-shadow: 0 4px 28px rgba(14, 165, 233, 0.4); }
}
.why-us-hub-core--img {
  background: var(--bg-card);
  padding: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  animation-name: why-us-core-blink-img;
}
@keyframes why-us-core-blink-img {
  0%, 100% { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); }
  50% { box-shadow: 0 6px 22px rgba(14, 165, 233, 0.2); }
}
.why-us-hub-core-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Mỗi icon quay đúng quỹ đạo vòng tròn đứt của nó (wrapper xoay, icon counter-rotate giữ thẳng) */
.why-us-hub-orbit {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  animation: why-us-orbit-cw 22s linear infinite;
  pointer-events: none;
}
.why-us-hub-orbit-2 { animation-duration: 26s; animation-direction: reverse; }
.why-us-hub-orbit-3 { animation-duration: 24s; }
.why-us-hub-orbit-4 { animation-duration: 28s; animation-direction: reverse; }
@keyframes why-us-orbit-cw {
  to { transform: rotate(360deg); }
}
.why-us-hub-dot {
  position: absolute;
  width: 44px;
  height: 44px;
  left: 50%;
  top: 50%;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(14, 165, 233, 0.35);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  z-index: 3;
  pointer-events: auto;
  animation: why-us-icon-blink 2.2s ease-in-out infinite;
}
.why-us-hub-dot svg { display: block; }
/* Tâm icon trùng đường vòng đứt: dot đã căn giữa bằng margin, chỉ dịch theo bán kính */
.why-us-hub-dot-1 { transform: translate(0, -60px); animation: why-us-dot-1-orbit 22s linear infinite, why-us-icon-blink 2.2s ease-in-out infinite; }
.why-us-hub-dot-2 { transform: translate(90px, 0); animation: why-us-dot-2-orbit 26s linear infinite, why-us-icon-blink 2.2s ease-in-out infinite; }
.why-us-hub-dot-3 { transform: translate(0, 120px); animation: why-us-dot-3-orbit 24s linear infinite, why-us-icon-blink 2.2s ease-in-out infinite; }
.why-us-hub-dot-4 { transform: translate(-150px, 0); animation: why-us-dot-4-orbit 28s linear infinite, why-us-icon-blink 2.2s ease-in-out infinite; }
@keyframes why-us-dot-1-orbit { to { transform: translate(0, -60px) rotate(-360deg); } }
@keyframes why-us-dot-2-orbit { to { transform: translate(90px, 0) rotate(360deg); } }
@keyframes why-us-dot-3-orbit { to { transform: translate(0, 120px) rotate(-360deg); } }
@keyframes why-us-dot-4-orbit { to { transform: translate(-150px, 0) rotate(360deg); } }
@keyframes why-us-icon-blink {
  0%, 100% { opacity: 1; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); }
  50% { opacity: 0.8; box-shadow: 0 4px 16px rgba(14, 165, 233, 0.25); }
}

/* ===== Bảng giá Hosting / VPS (thẻ hiện đại, màu theme) ===== */
.pricing-section {
  padding: 3rem 1.5rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-table-wrap {
  margin-bottom: 3rem;
}
.pricing-table-wrap:last-child {
  margin-bottom: 0;
}
.pricing-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 2rem 0;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
@media (max-width: 900px) {
  .pricing-cards { grid-template-columns: 1fr; }
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}
.pricing-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(14, 165, 233, 0.12);
}
.pricing-card--highlight {
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(14, 165, 233, 0.15);
}
.pricing-card--highlight::before {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
}
.pricing-card--highlight:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(14, 165, 233, 0.18);
}
.pricing-card--highlight {
  padding-top: 2.25rem;
}
.pricing-badge {
  position: absolute;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.pricing-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pricing-card-icon svg { display: block; }
.pricing-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}
.pricing-card-from {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 0.25rem 0;
}
.pricing-card-price {
  margin: 0 0 1.25rem 0;
}
.pricing-card-price-num {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.pricing-card-price-unit {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}
.pricing-card-features {
  list-style: none;
  margin: 0 0 1.25rem 0;
  padding: 0;
  flex: 1;
}
.pricing-card-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.4;
}
.pricing-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.pricing-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s, transform 0.05s;
}
.pricing-card-btn:hover {
  background: var(--btn-primary-hover);
  color: #fff;
  transform: translateY(-1px);
}
.pricing-card-btn:active { transform: scale(0.98); }

/* ===== Dải đối tác / logo (marquee) ===== */
.partners-section {
  padding: 2rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.partners-marquee-wrap {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.partners-marquee {
  display: flex;
  gap: 3rem;
  animation: partners-scroll 30s linear infinite;
  width: max-content;
}
.partners-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
}
.partners-item .partners-logo {
  display: block;
  max-height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(0.4);
  opacity: 0.85;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.partners-item:hover .partners-logo {
  filter: grayscale(0);
  opacity: 1;
}
@keyframes partners-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Hỗ trợ & FAQ (cuối trang chủ) ===== */
.support-faq-section {
  padding: 3.5rem 1.5rem 4rem;
  background: linear-gradient(180deg, var(--bg-page) 0%, var(--accent-soft) 35%, var(--accent-soft) 65%, var(--bg-page) 100%);
  border-top: 1px solid var(--border);
}
.support-faq-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.support-faq-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}
.support-faq-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}
.support-faq-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.support-faq-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.support-faq-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.support-faq-card-icon {
  color: var(--accent);
  flex-shrink: 0;
}
.support-faq-card-icon svg {
  display: block;
}
.support-faq-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}
.support-faq-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
.support-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.support-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.support-faq-item[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.support-faq-question {
  padding: 1rem 1.25rem 1rem 3rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: background 0.2s;
}
.support-faq-question::-webkit-details-marker { display: none; }
.support-faq-question::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-muted);
  transition: transform 0.2s, border-top-color 0.2s;
}
.support-faq-item[open] .support-faq-question::before {
  transform: translateY(-50%) rotate(180deg);
  border-top-color: var(--accent);
}
.support-faq-question:hover {
  background: rgba(14, 165, 233, 0.04);
}
.support-faq-answer {
  padding: 0 1.25rem 1.25rem 3rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.support-faq-answer p:first-child { margin-top: 0; }
.support-faq-answer p:last-child { margin-bottom: 0; }
.support-faq-empty {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}
@media (max-width: 768px) {
  .support-faq-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .support-faq-question { padding-left: 2.75rem; }
  .support-faq-answer { padding-left: 2.75rem; }
}

/* ===== Services Section - 3 cột ===== */
.services-section {
  padding: 2.5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.section-subtitle {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.section-header h2 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem 0;
  color: var(--text);
}
.section-header p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.services-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: var(--text);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-column {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}
.service-column:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.service-column .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 1.25rem;
}
.service-column h3 {
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.1rem;
  color: var(--text);
}
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-list li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.service-list li a:hover { color: var(--accent); }
.service-list .item-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.service-list .item-icon svg { display: block; }

/* ===== Footer ===== */
.site-footer {
  margin-top: 0;
  background: var(--footer-bg, #0f172a);
  color: var(--footer-text, #94a3b8);
  font-size: 0.9375rem;
}
.site-footer a {
  color: var(--footer-link, #e2e8f0);
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer a:hover {
  color: var(--footer-link-hover, #38bdf8);
}

.footer-top {
  padding: 3rem 1.5rem 2.5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2rem 2.5rem;
  align-items: start;
}

.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 0.75rem;
}
.footer-logo-img {
  display: block;
  max-height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-logo-text {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.footer-tagline {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--footer-text, #94a3b8);
  max-width: 260px;
}

.footer-title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #e2e8f0;
  margin: 0 0 1rem 0;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-menu li {
  margin-bottom: 0.5rem;
}
.footer-menu li a {
  display: inline-block;
  padding: 0.15rem 0;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-contact-item {
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.footer-contact-item a:hover {
  color: var(--footer-link-hover, #38bdf8);
}
.footer-address {
  color: var(--footer-text, #94a3b8);
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding: 1rem 1.5rem;
}
.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.footer-copyright {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--footer-text, #94a3b8);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 600px) {
  .footer-top {
    padding: 2rem 1rem 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-tagline {
    max-width: none;
  }
}

/* ===== Landing Dịch vụ (Hosting) – Giao diện hiện đại ===== */
.landing-page .landing-hero {
  position: relative;
  padding: 4rem 1.5rem 4.5rem;
  text-align: center;
  overflow: hidden;
}
.landing-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #f0f9ff 0%, #e0f2fe 40%, #bae6fd 100%);
  opacity: 0.95;
}
.landing-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(14, 165, 233, 0.15) 0%, transparent 55%);
  pointer-events: none;
}
.landing-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.landing-hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(14, 165, 233, 0.15);
}
.landing-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 1rem 0;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.landing-hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 1.75rem 0;
}
.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.landing-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.landing-hero-cta-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}
.landing-hero-cta-primary:hover {
  background: var(--btn-primary-hover);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}
.landing-hero-cta-secondary {
  background: #fff;
  color: var(--accent);
  border: 2px solid rgba(14, 165, 233, 0.4);
}
.landing-hero-cta-secondary:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--btn-primary-hover);
  transform: translateY(-2px);
}

.landing-section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.landing-features {
  padding: 4rem 1.5rem 4.5rem;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--bg-page);
}
.landing-features-inner {
  text-align: center;
}
.landing-features-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 2.5rem 0;
  line-height: 1.3;
}
.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: left;
}
.landing-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.landing-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.25);
}
.landing-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--accent) 0%, var(--btn-primary-hover) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}
.landing-feature-icon svg {
  display: block;
}
.landing-feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem 0;
}
.landing-feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.landing-pricing-wrap {
  padding: 3rem 1.5rem 2rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f0f9ff 100%);
  border-top: 1px solid var(--border);
}
.landing-pricing-section {
  text-align: center;
  margin-bottom: 1.5rem;
}
.landing-pricing-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.landing-page .landing-pricing {
  padding-top: 0;
  padding-bottom: 4rem;
}
.landing-page .landing-pricing .pricing-title {
  display: none;
}

.landing-cta {
  position: relative;
  padding: 4rem 1.5rem;
  text-align: center;
  overflow: hidden;
}
.landing-cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--btn-primary-hover) 55%, #0369a1 100%);
  opacity: 0.97;
}
.landing-cta-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
  pointer-events: none;
}
.landing-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}
.landing-cta-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.landing-cta-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.75rem 0;
  line-height: 1.5;
}
.landing-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.landing-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.landing-cta-btn-primary {
  background: #fff;
  color: var(--accent);
  border: 2px solid #fff;
}
.landing-cta-btn-primary:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.landing-cta-btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
}
.landing-cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.landing-content {
  padding: 3rem 1.5rem 4rem;
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-card);
}
.landing-content-inner {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
}
.landing-content-inner h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem 0;
  color: var(--text);
}
.landing-content-inner h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem 0;
  color: var(--text);
}
.landing-content-inner p {
  margin: 0 0 1rem 0;
}

@media (max-width: 640px) {
  .landing-features-grid {
    grid-template-columns: 1fr;
  }
  .landing-hero-title {
    font-size: 1.85rem;
  }
  .landing-hero {
    padding: 3rem 1rem 3.5rem;
  }
  .landing-cta-title {
    font-size: 1.5rem;
  }
}

/* ===== Utility ===== */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
