/* =========================================================
   index-enhance.css — Refresh trung bình cho index.html
   Scope toàn bộ với body.index-page để không rò rỉ trang khác
   ========================================================= */

/* ---------- Font stack ưu tiên (hỗ trợ tiếng Việt đẹp) ---------- */
.index-page,
.index-page h1, .index-page h2, .index-page h3,
.index-page h4, .index-page h5, .index-page h6,
.index-page p, .index-page a, .index-page span, .index-page li,
.index-page button, .index-page input, .index-page label, .index-page code,
.index-page .navmenu a, .index-page .section-title h2 {
  font-family: system-ui, arial, tahoma, sans-serif !important;
}

/* ---------- Reset padding About vì đã có Hero ---------- */
.index-page .datapro-about {
  padding-top: 60px;
}

/* =========================================================
   PRODUCT CARDS — 4 màu accent riêng (theo mockup)
   DataPro xanh / SmartAPI lá / Crypto cam / Dobby AI tím
   ========================================================= */
.index-page .products-grid .product-card {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #eaf0f7;
  border-top: 4px solid transparent;
  padding: 30px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(55, 81, 126, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-top-color 0.35s ease;
  overflow: hidden;
}

.index-page .products-grid .product-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.04), transparent 70%);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.index-page .products-grid .product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 48px rgba(55, 81, 126, 0.16);
}

.index-page .products-grid .product-card:hover::after {
  transform: scale(1.4);
}

.index-page .products-grid .product-card .product-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 30px;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease;
}

.index-page .products-grid .product-card:hover .product-icon {
  transform: scale(1.06) rotate(-3deg);
}

.index-page .products-grid .product-card h3 {
  font-weight: 800;
  color: #1f2f56;
  font-size: 22px;
  margin-bottom: 10px;
}

.index-page .products-grid .product-card p {
  color: #6b7c93;
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.index-page .products-grid .product-card .product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex: 1;
}

.index-page .products-grid .product-card .product-features li {
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4a5a78;
  font-size: 14px;
}

.index-page .products-grid .product-card .product-features li i {
  font-size: 16px;
  flex-shrink: 0;
}

.index-page .products-grid .product-card .btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  color: #fff;
  align-self: flex-start;
  margin-top: auto;
  transition: transform 0.25s ease, box-shadow 0.25s ease, gap 0.25s ease;
  position: relative;
  overflow: hidden;
}

.index-page .products-grid .product-card .btn-explore i {
  transition: transform 0.25s ease;
}

.index-page .products-grid .product-card .btn-explore:hover {
  transform: translateY(-2px);
  gap: 12px;
}

.index-page .products-grid .product-card .btn-explore:hover i {
  transform: translateX(4px);
}

/* ---- DataPro: xanh dương ---- */
.index-page .products-grid .card-datapro h3 { color: #2c6dd6; }
.index-page .products-grid .card-datapro:hover { border-top-color: #4facfe; }
.index-page .products-grid .card-datapro .product-icon {
  background: linear-gradient(135deg, #4facfe, #2c6dd6);
}
.index-page .products-grid .card-datapro .product-features li i { color: #4facfe; }
.index-page .products-grid .card-datapro .btn-explore {
  background: linear-gradient(135deg, #4facfe, #2c6dd6);
  box-shadow: 0 8px 20px rgba(79, 172, 254, 0.35);
}
.index-page .products-grid .card-datapro .btn-explore:hover {
  box-shadow: 0 14px 28px rgba(79, 172, 254, 0.5);
}
/* DataPro — ảnh nền xanh dương nhạt */
.index-page .products-grid .card-datapro {
  background:
    linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,1)) center / cover no-repeat,
    radial-gradient(ellipse at 90% 10%, rgba(79, 172, 254, 0.18) 0%, transparent 55%) center / cover no-repeat,
    url('../img/DataPro/datapro back.png') right bottom / auto 80% no-repeat,
    #ffffff;
}
.index-page .products-grid .card-datapro::after {
  background: radial-gradient(closest-side, rgba(79, 172, 254, 0.15), transparent 70%);
}

/* ---- SmartAPI: tím ---- */
.index-page .products-grid .card-smartapi h3 { color: #7c3aed; }
.index-page .products-grid .card-smartapi:hover { border-top-color: #a78bfa; }
.index-page .products-grid .card-smartapi .product-icon {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
}
.index-page .products-grid .card-smartapi .product-features li i { color: #a78bfa; }
.index-page .products-grid .card-smartapi .btn-explore {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  box-shadow: 0 8px 20px rgba(167, 139, 250, 0.35);
}
.index-page .products-grid .card-smartapi .btn-explore:hover {
  box-shadow: 0 14px 28px rgba(167, 139, 250, 0.5);
}
/* SmartAPI — ảnh nền tím nhạt */
.index-page .products-grid .card-smartapi {
  background:
    linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,1)) center / cover no-repeat,
    radial-gradient(ellipse at 90% 10%, rgba(167, 139, 250, 0.18) 0%, transparent 55%) center / cover no-repeat,
    url('../img/DataPro/SmartAPI back.png') right bottom / auto 80% no-repeat,
    #ffffff;
}
.index-page .products-grid .card-smartapi::after {
  background: radial-gradient(closest-side, rgba(167, 139, 250, 0.15), transparent 70%);
}

/* ---- Crypto: cam ---- */
.index-page .products-grid .card-crypto h3 { color: #d97706; }
.index-page .products-grid .card-crypto:hover { border-top-color: #f59e0b; }
.index-page .products-grid .card-crypto .product-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.index-page .products-grid .card-crypto .product-features li i { color: #f59e0b; }
.index-page .products-grid .card-crypto .btn-explore {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}
.index-page .products-grid .card-crypto .btn-explore:hover {
  box-shadow: 0 14px 28px rgba(245, 158, 11, 0.5);
}
/* Crypto — ảnh nền cam nhạt */
.index-page .products-grid .card-crypto {
  background:
    linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,1)) center / cover no-repeat,
    radial-gradient(ellipse at 90% 10%, rgba(245, 158, 11, 0.18) 0%, transparent 55%) center / cover no-repeat,
    url('../img/DataPro/crypto back.png') right bottom / auto 80% no-repeat,
    #ffffff;
}
.index-page .products-grid .card-crypto::after {
  background: radial-gradient(closest-side, rgba(245, 158, 11, 0.15), transparent 70%);
}

/* ---- Dobby AI: xanh lá ---- */
.index-page .products-grid .card-dobbyai h3 { color: #15803d; }
.index-page .products-grid .card-dobbyai:hover { border-top-color: #16a34a; }
.index-page .products-grid .card-dobbyai .product-icon {
  background: linear-gradient(135deg, #22c55e, #15803d);
}
.index-page .products-grid .card-dobbyai .product-features li i { color: #16a34a; }
.index-page .products-grid .card-dobbyai .btn-explore {
  background: linear-gradient(135deg, #22c55e, #15803d);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35);
}
.index-page .products-grid .card-dobbyai .btn-explore:hover {
  box-shadow: 0 14px 28px rgba(34, 197, 94, 0.5);
}
/* Dobby AI — ảnh nền xanh lá nhạt */
.index-page .products-grid .card-dobbyai {
  background:
    linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,1)) center / cover no-repeat,
    radial-gradient(ellipse at 90% 10%, rgba(34, 197, 94, 0.18) 0%, transparent 55%) center / cover no-repeat,
    url('../img/DataPro/dobby AI back.png') right bottom / auto 80% no-repeat,
    #ffffff;
}
.index-page .products-grid .card-dobbyai::after {
  background: radial-gradient(closest-side, rgba(34, 197, 94, 0.15), transparent 70%);
}

/* =========================================================
   DISCOUNT — Khuyến mãi (Why Us section)
   ========================================================= */
.index-page #discount .content h3 {
  font-weight: 800;
  color: #1f2f56;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.index-page #discount .discount-badge,
.index-page #discount .discount-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  color: #fff;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.25);
  white-space: nowrap;
}

.index-page #discount .discount-tag {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.25);
}

.index-page #discount .content p {
  color: #4a5a78;
  font-size: 15.5px;
  line-height: 1.75;
}

.index-page #discount .faq-item {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #eaf0f7;
  padding: 18px 22px 18px 22px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(55, 81, 126, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.index-page #discount .faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(55, 81, 126, 0.12);
  border-color: #cfe2f5;
}

.index-page #discount .faq-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1f2f56;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.index-page #discount .faq-item h3 span {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, #4facfe, #2c6dd6);
  color: #fff;
  letter-spacing: 0.3px;
}

.index-page #discount .faq-item:nth-child(2) h3 span {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.index-page #discount .faq-item:nth-child(3) h3 span {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.index-page #discount .faq-item .faq-content {
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid #eef2f7;
}

.index-page #discount .faq-item .faq-content p {
  color: #4a5a78;
  font-size: 14.5px;
  line-height: 1.75;
  margin: 0;
}

.index-page #discount .faq-toggle {
  position: absolute;
  right: 22px;
  top: 22px;
  color: #94a3b8;
  font-size: 18px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.index-page #discount .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: #4facfe;
}

/* =========================================================
   PARTNERS / Đối tác — work-process steps cards
   ========================================================= */
.index-page #partners {
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}

.index-page #partners .steps-item {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eaf0f7;
  padding: 28px 24px;
  height: 100%;
  text-align: center;
  box-shadow: 0 6px 24px rgba(55, 81, 126, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.index-page #partners .steps-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(55, 81, 126, 0.14);
  border-color: #cfe2f5;
}

.index-page #partners .steps-image {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef6ff, #dcebff);
  border: 4px solid #fff;
  box-shadow: 0 6px 18px rgba(79, 172, 254, 0.15);
  overflow: hidden;
}

.index-page #partners .steps-image img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.index-page #partners .steps-content h3 {
  color: #1f2f56;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 14px;
}

.index-page #partners .steps-features .feature-item {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: #4a5a78;
  font-size: 14px;
  padding: 4px 0;
}

.index-page #partners .steps-features .feature-item i {
  color: #16a34a;
  font-size: 16px;
}

/* =========================================================
   1) HERO SECTION — gradient mesh + 2 CTA + trust badges
   ========================================================= */
.index-page .hero-new {
  position: relative;
  padding: 90px 0 14px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(79, 172, 254, 0.35), transparent 60%),
    radial-gradient(900px 500px at 90% 30%, rgba(0, 242, 254, 0.25), transparent 60%),
    radial-gradient(700px 400px at 50% 100%, rgba(120, 80, 255, 0.25), transparent 60%),
    linear-gradient(135deg, #1f2f56 0%, #37517e 55%, #2a3f6b 100%);
}

.index-page .hero-new::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/bg/candlestick-bg.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
}

.index-page .hero-new .container {
  position: relative;
  z-index: 2;
}

.index-page .hero-new .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #cfe6ff;
  backdrop-filter: blur(8px);
  margin-bottom: 10px;
}

.index-page .hero-new .hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00f2fe;
  box-shadow: 0 0 0 4px rgba(0, 242, 254, 0.18);
  animation: heroDotPulse 2s ease-in-out infinite;
}

@keyframes heroDotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0, 242, 254, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(0, 242, 254, 0.05); }
}

.index-page .hero-new h1 {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 6px;
  color: #fff;
}

.index-page .hero-new h1 .gradient-text {
  background: linear-gradient(120deg, #4facfe 0%, #00f2fe 60%, #b6f1ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.index-page .hero-new p.lead {
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 8px;
  max-width: 460px;
}

.index-page .hero-new .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.index-page .hero-new .btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  color: #0f2444;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 242, 254, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.index-page .hero-new .btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 242, 254, 0.45);
  color: #0f2444;
}

.index-page .hero-new .btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.index-page .hero-new .btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  color: #fff;
}

.index-page .hero-new .trust-badges {
  display: none;
}

.index-page .hero-new .trust-badges .tb {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11.5px;
  font-weight: 500;
}

.index-page .hero-new .trust-badges .tb i {
  font-size: 14px;
  color: #00f2fe;
}

/* Hero artwork */
.index-page .hero-new .hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.index-page .hero-new .hero-art .glow {
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 242, 254, 0.35), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.index-page .hero-new .hero-art img {
  position: relative;
  z-index: 1;
  max-width: 42%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* Header trên mobile — ép background đặc, không trong suốt */
@media (max-width: 991px) {
  .index-page .header,
  .index-page.scrolled .header {
    background-color: #37517e !important;
    background-image: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  }
}

/* ========== Hero responsive — tablet & mobile ========== */
@media (max-width: 991px) {
  .index-page .hero-new {
    padding: 130px 0 50px;
    text-align: center;
  }
  .index-page .hero-new h1 { font-size: clamp(1.6rem, 5.5vw, 2.4rem); }
  .index-page .hero-new p.lead { margin-left: auto; margin-right: auto; }
  .index-page .hero-new .hero-actions { justify-content: center; }
  .index-page .hero-new .trust-badges { justify-content: center; gap: 14px 22px; }
  .index-page .hero-new .trust-badges .tb { font-size: 13px; }
  .index-page .hero-new .hero-art { margin-top: 30px; }
  .index-page .hero-new .hero-art img {
    max-width: 80%;          /* tăng từ 42% lên 80% cho mobile dễ nhìn */
  }
}

@media (max-width: 576px) {
  .index-page .hero-new {
    padding: 120px 0 40px;
  }
  .index-page .hero-new .hero-eyebrow { font-size: 12px; }
  .index-page .hero-new .btn-hero-primary,
  .index-page .hero-new .btn-hero-ghost {
    padding: 11px 22px;
    font-size: 14px;
  }
  .index-page .hero-new .hero-art img { max-width: 90%; }
}

/* =========================================================
   2) STATS SECTION — số liệu nổi bật
   ========================================================= */
.index-page .stats-section {
  padding: 20px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  border-bottom: 1px solid #eef2f7;
}

.index-page .stats-section .stat-item {
  text-align: center;
  padding: 18px 10px;
}

.index-page .stats-section .stat-item .stat-num {
  display: inline-block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  background: linear-gradient(120deg, #37517e, #4facfe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}

.index-page .stats-section .stat-item .stat-label {
  font-size: 14px;
  color: #6b7c93;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* =========================================================
   3) SERVICE CARDS — đẹp hơn (gradient icon + hover mượt)
   ========================================================= */
.index-page .services .service-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 26px;
  border: 1px solid #eaf0f7;
  box-shadow: 0 6px 24px rgba(55, 81, 126, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.index-page .services .service-item::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(79, 172, 254, 0.12), transparent 70%);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.index-page .services .service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(55, 81, 126, 0.14);
  border-color: #cfe2f5;
}

.index-page .services .service-item:hover::after {
  transform: scale(1.25);
}

.index-page .services .service-item .icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef6ff, #dcebff);
  color: #2c6dd6;
  margin-bottom: 18px;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
  animation: none !important; /* tắt bounce/ping cũ cho gọn */
}

.index-page .services .service-item .icon i {
  font-size: 26px;
  color: inherit;
}

.index-page .services .service-item:hover .icon {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #ffffff;
  transform: scale(1.05) rotate(-3deg);
}

.index-page .services .service-item h4 a {
  color: #1f2f56;
  font-weight: 700;
  font-size: 17px;
  transition: color 0.3s ease;
}

.index-page .services .service-item:hover h4 a {
  color: #2c6dd6;
}

.index-page .services .service-item p {
  color: #6b7c93;
  font-size: 14.5px;
  line-height: 1.65;
  margin-top: 8px;
  margin-bottom: 0;
}

/* =========================================================
   4) PRICING — nâng cấp card và thêm Free Trial
   ========================================================= */
.index-page .pricing .pricing-item {
  border-radius: 18px;
  border: 1px solid #eaf0f7;
  border-top: 4px solid transparent;
  box-shadow: 0 6px 24px rgba(55, 81, 126, 0.06);
}

.index-page .pricing .pricing-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 22px 48px rgba(55, 81, 126, 0.16);
}

/* Free trial card */
.index-page .pricing .pricing-trial h2 {
  color: #16a34a;
}
.index-page .pricing .pricing-item:has(.pricing-trial-title):hover {
  border-top-color: #16a34a;
}
.index-page .pricing .pricing-item:has(.pricing-trial-title):hover .buy-btn {
  background-color: #16a34a;
  border-color: #16a34a;
  color: #fff;
}
.index-page .pricing .pricing-trial-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  padding: 5px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3);
  white-space: nowrap;
  z-index: 5;
}

/* =========================================================
   4b) BUY BUTTON — "Cài đặt ngay" Pricing — đẹp & nổi bật
   Vẫn giữ hover-color theo từng card đã định nghĩa
   ========================================================= */
.index-page .pricing .buy-btn {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 36px;
  min-width: 180px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  color: #ffffff !important;
  background: linear-gradient(135deg, #4facfe, #2c6dd6);
  box-shadow:
    0 8px 20px rgba(79, 172, 254, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease, letter-spacing 0.3s ease;
  margin-top: 20px;
}

.index-page .pricing .buy-btn::after {
  content: "\2192";
  display: inline-block;
  width: 0;
  opacity: 0;
  font-weight: 700;
  font-size: 18px;
  transform: translateX(-6px);
  transition: width 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.index-page .pricing .buy-btn:hover::after {
  width: 18px;
  opacity: 1;
  transform: translateX(0);
}

.index-page .pricing .buy-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,
              transparent 0%,
              rgba(255, 255, 255, 0.45) 50%,
              transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  z-index: -1;
}

.index-page .pricing .buy-btn:hover::before {
  left: 130%;
}

.index-page .pricing .buy-btn:hover {
  transform: translateY(-3px) scale(1.04);
  letter-spacing: 0.5px;
  color: #ffffff !important;
  box-shadow:
    0 14px 30px rgba(79, 172, 254, 0.5),
    0 4px 10px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.index-page .pricing .buy-btn:active {
  transform: translateY(-1px) scale(1.02);
}

.index-page .pricing .buy-btn i {
  font-size: 16px;
}

/* Free trial card — màu xanh lá phù hợp với badge */
.index-page .pricing .pricing-item:has(.pricing-trial-title) .buy-btn {
  background: linear-gradient(135deg, #22c55e, #15803d);
  box-shadow:
    0 8px 20px rgba(34, 197, 94, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.index-page .pricing .pricing-item:has(.pricing-trial-title) .buy-btn:hover {
  box-shadow:
    0 14px 30px rgba(34, 197, 94, 0.5),
    0 4px 10px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@media (max-width: 576px) {
  .index-page .pricing .buy-btn {
    padding: 12px 28px;
    font-size: 14px;
    min-width: 150px;
  }
}

/* =========================================================
   RESPONSIVE — tổng hợp cho mobile / tablet
   ========================================================= */

/* Tablet */
@media (max-width: 991px) {
  /* Stats — fit 2 cột mobile */
  .index-page .stats-section { padding: 40px 0; }
  .index-page .stats-section .stat-item { padding: 14px 6px; }
  .index-page .stats-section .stat-item .stat-num { font-size: 1.8rem; }
  .index-page .stats-section .stat-item .stat-label { font-size: 12.5px; }

  /* Section title */
  .index-page .section-title h2 { font-size: 1.6rem; }
  .index-page .section-title p { font-size: 14px; }

  /* Product cards */
  .index-page .products-grid .product-card { padding: 26px 22px; }
  .index-page .products-grid .product-card h3 { font-size: 20px; }

  /* Discount section heading */
  .index-page #discount .content h3 { font-size: 1.5rem; }
  .index-page #discount .content h3 .discount-badge { font-size: 11.5px; padding: 4px 10px; }
  .index-page #discount .faq-item h3 {
    font-size: 15.5px; gap: 8px; padding-right: 30px;
  }
  .index-page #discount .faq-item h3 span { font-size: 12px; padding: 3px 10px; }
  .index-page #discount .faq-toggle { right: 14px; top: 16px; font-size: 16px; }

  /* Partners */
  .index-page #partners .steps-image { width: 90px; height: 90px; }
  .index-page #partners .steps-content h3 { font-size: 16px; }
}

/* Mobile small */
@media (max-width: 576px) {
  /* Stats fit 2 cột mobile (col-6 đã set) */
  .index-page .stats-section .stat-item .stat-num { font-size: 1.6rem; }

  /* Product card icon nhỏ hơn */
  .index-page .products-grid .product-card .product-icon {
    width: 56px; height: 56px; font-size: 26px;
  }

  /* Discount FAQ — content nhỏ hơn */
  .index-page #discount .faq-item { padding: 14px 18px; }
  .index-page #discount .faq-item .faq-content p { font-size: 13.5px; }

  /* Partners single column */
  .index-page #partners .steps-image { width: 80px; height: 80px; }
}

/* =========================================================
   5) WHY-US image — bớt shake/pulse liên tục, giữ float nhẹ
   ========================================================= */
.index-page .why-us-img img,
.index-page .why-us-img img.animated {
  animation: gentleFloat 5s ease-in-out infinite !important;
  box-shadow: 0 20px 50px rgba(55, 81, 126, 0.18);
}

.index-page .why-us-img img:hover {
  animation: gentleFloat 5s ease-in-out infinite !important;
  transform: scale(1.03);
  box-shadow: 0 28px 60px rgba(55, 81, 126, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* =========================================================
   6) FOOTER 4 cột — gọn và sáng hơn
   ========================================================= */
.index-page .footer {
  background: linear-gradient(180deg, #2a3f6b 0%, #1f2f56 100%);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 60px;
}

.index-page .footer h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.index-page .footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, #4facfe, #00f2fe);
  border-radius: 2px;
}

.index-page .footer .footer-about .sitename {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.index-page .footer .footer-about .footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 12px 0 18px;
  line-height: 1.6;
}

.index-page .footer .footer-contact p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  margin-bottom: 8px;
}

.index-page .footer .footer-contact i {
  color: #4facfe;
  margin-right: 8px;
}

.index-page .footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.index-page .footer .footer-links ul li {
  padding: 6px 0;
  display: flex;
  align-items: center;
}

.index-page .footer .footer-links ul li i {
  color: #4facfe;
  margin-right: 8px;
  font-size: 12px;
}

.index-page .footer .footer-links ul li a,
.index-page .footer .footer-links ul li label {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.index-page .footer .footer-links ul li a:hover,
.index-page .footer .footer-links ul li label:hover {
  color: #00f2fe;
  padding-left: 4px;
}

.index-page .footer .social-links {
  margin-top: 14px;
}

.index-page .footer .social-links a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  margin-right: 8px;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  font-size: 16px;
}

.index-page .footer .social-links a:hover {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  border-color: transparent;
  transform: translateY(-3px);
  color: #0f2444;
}

.index-page .footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.index-page .footer .copyright .sitename { color: #fff; }

/* =========================================================
   7) Section title — cải thiện nhỏ
   ========================================================= */
.index-page .section-title h2 {
  font-weight: 800;
}

.index-page .section-title h2::after {
  background: linear-gradient(90deg, #4facfe, #00f2fe);
  height: 3px;
  border-radius: 2px;
}

/* =========================================================
   8) PRODUCTS GRID — 4 sản phẩm: DataPro / Dist / Crypto / AI
   ========================================================= */
.products-grid {
  padding: 30px 0 80px;
  background: linear-gradient(180deg, #f7faff 0%, #eef5ff 100%);
}

.products-grid .product-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 30px 26px 26px;
  height: 100%;
  border: 1px solid #e4ecf6;
  box-shadow: 0 12px 26px rgba(31, 47, 86, 0.06);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
}

.products-grid .product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--card-accent, linear-gradient(90deg, #4facfe, #00f2fe));
}

.products-grid .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(31, 47, 86, 0.12);
  border-color: transparent;
}

.products-grid .product-card .product-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  background: var(--card-accent, linear-gradient(135deg, #4facfe, #00f2fe));
  margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.products-grid .product-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #1f2f56;
}

.products-grid .product-card p {
  color: #4a5876;
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 18px;
  flex: 1 1 auto;
}

.products-grid .product-card .product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  font-size: 13.5px;
  color: #46557a;
}

.products-grid .product-card .product-features li {
  padding: 4px 0;
}

.products-grid .product-card .product-features i {
  color: #00b894;
  margin-right: 6px;
}

.products-grid .product-card .btn-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  background: var(--card-accent, linear-gradient(135deg, #4facfe, #00f2fe));
  transition: filter .25s ease, transform .25s ease;
}

.products-grid .product-card .btn-explore:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* color variants */
.products-grid .card-datapro  { --card-accent: linear-gradient(135deg, #4facfe, #2c6dd6); }
.products-grid .card-dobbyai  { --card-accent: linear-gradient(135deg, #22c55e, #15803d); }
.products-grid .card-crypto   { --card-accent: linear-gradient(135deg, #f59e0b, #d97706); }
.products-grid .card-smartapi { --card-accent: linear-gradient(135deg, #a78bfa, #7c3aed); }

/* =========================================================
   9) NAV DROPDOWN — multi-level menus shared across pages
   ========================================================= */
.navmenu .product-menu > a > i.toggle-dropdown {
  margin-left: 4px;
  font-size: 12px;
}
.product-menu ul li a {
  white-space: nowrap;
}

