/* =========================================================
   page-enhance.css — Refresh cho datapro.html & crypto.html
   - GIỮ NGUYÊN màu thương hiệu (chỉ dùng var(--accent-color))
   - Không đụng hero slider, navbar, pricing colors
   ========================================================= */

/* ---------- 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;
}

/* =========================================================
   SERVICE CARDS — đẹp hơn, vẫn dùng accent của brand
   ========================================================= */
.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,
              color-mix(in srgb, var(--accent-color) 18%, transparent),
              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: color-mix(in srgb, var(--accent-color) 35%, #eaf0f7);
}

.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: color-mix(in srgb, var(--accent-color) 12%, #ffffff);
  color: var(--heading-color);
  margin-bottom: 18px;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
  animation: none !important;  /* tắt bounce/ping liên tục cho gọn mắt */
}

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

.index-page .services .service-item:hover .icon {
  background: var(--accent-color);
  color: #ffffff;
  transform: scale(1.05) rotate(-3deg);
}

.index-page .services .service-item h4 a {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 17px;
  transition: color 0.3s ease;
}

.index-page .services .service-item:hover h4 a {
  color: var(--accent-color);
}

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

/* =========================================================
   SECTION TITLE — gạch chân theo accent brand
   ========================================================= */
.index-page .section-title h2 {
  font-weight: 800;
}

.index-page .section-title h2::after {
  background: var(--accent-color);
  height: 3px;
  border-radius: 2px;
}

/* =========================================================
   WHY-US image — bớt shake/pulse, giữ float nhẹ
   ========================================================= */
.index-page .why-us-img img,
.index-page .why-us-img img.animated {
  animation: gentleFloatPage 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: gentleFloatPage 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 gentleFloatPage {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* =========================================================
   FOOTER 4 cột — GIỮ NGUYÊN màu navy brand
   ========================================================= */
.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: var(--accent-color);
  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: var(--accent-color);
  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: var(--accent-color);
  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: var(--accent-color);
  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: var(--accent-color);
  border-color: transparent;
  transform: translateY(-3px);
  color: #fff;
}

.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; }

/* =========================================================
   HERO MỚI cho smartAPI / dobbyAI (dùng class hero-new)
   ========================================================= */
.index-page .hero-new {
  position: relative;
  padding: 200px 0 90px;
  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.dobby-hero {
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(34, 197, 94, 0.30), transparent 60%),
    radial-gradient(900px 500px at 90% 30%, rgba(79, 172, 254, 0.25), transparent 60%),
    radial-gradient(700px 400px at 50% 100%, rgba(22, 163, 74, 0.18), transparent 60%),
    linear-gradient(135deg, #1f2f56 0%, #2a3f6b 55%, #1f4d36 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: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #cfe6ff;
  backdrop-filter: blur(8px);
  margin-bottom: 18px;
}

.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: heroDotPulsePg 2s ease-in-out infinite;
}

@keyframes heroDotPulsePg {
  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(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  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: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
  max-width: 560px;
}

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

.index-page .hero-new .btn-hero-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px;
  color: #0f2444;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.35);
  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: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  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: flex; flex-wrap: wrap; gap: 22px 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

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

.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: 100%; height: auto;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  animation: heroFloatPg 5s ease-in-out infinite;
}

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

/* =========================================================
   CANDLESTICK BACKGROUND cho hero-slider (datapro / crypto)
   ========================================================= */
.hero-slider.datapro-background {
  position: relative;
  overflow: hidden;
}

.hero-slider.datapro-background::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 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;
}

.hero-slider.datapro-background .slider-wrapper,
.hero-slider.datapro-background .slider-container,
.hero-slider.datapro-background .slide .container {
  position: relative;
  z-index: 1;
}

/* Header trên mobile — ép background đặc, không trong suốt
   (fix vấn đề content xuyên qua header khi scroll trên mobile) */
@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);
  }
}

/* ========== Mobile compact — thu gọn hero + section ========== */
@media (max-width: 991px) {
  /* Hero slider section gốc */
  .index-page .hero-slider {
    padding-top: 80px !important;     /* chừa header */
    padding-bottom: 0 !important;
    margin-top: 0 !important;
  }
  .index-page .hero-slider .slide {
    padding: 20px 0 !important;
    min-height: auto !important;
  }
  .index-page .hero-slider .slide .container {
    padding: 0 16px;
  }
  .index-page .hero-slider .slide .row {
    margin: 0 !important;
    --bs-gutter-y: 16px;
  }
  .index-page .hero-slider .slide img.img-fluid {
    max-width: 60% !important;
    height: auto !important;
    margin: 0 auto;
    display: block;
  }
  .index-page .hero-slider .slide h1 {
    font-size: clamp(1.4rem, 5vw, 2rem) !important;
    margin-bottom: 8px !important;
    color: #fff !important;
  }
  .index-page .hero-slider .slide p {
    font-size: 14px !important;
    margin-bottom: 14px !important;
    color: rgba(255,255,255,0.85) !important;
  }
  .index-page .hero-slider .slide .btn-primary {
    padding: 8px 18px !important;
    font-size: 13.5px !important;
  }

  /* Slider arrows + dots compact */
  .index-page .hero-slider .slider-arrows { display: none !important; }
  .index-page .hero-slider .slider-controls { bottom: 8px !important; }
  .index-page .hero-slider .slider-dot { width: 8px !important; height: 8px !important; }
  .index-page .hero-slider .slider-dot.active { width: 22px !important; }

  /* Các section sau — bớt padding mặc định 60px */
  .index-page .section {
    padding: 30px 0 !important;
  }
}

@media (max-width: 576px) {
  .index-page .hero-slider {
    padding-top: 70px !important;
  }
  .index-page .hero-slider .slide {
    padding: 14px 0 !important;
  }
  .index-page .hero-slider .slide img.img-fluid {
    max-width: 70% !important;
  }
  .index-page .section {
    padding: 24px 0 !important;
  }
}

@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%; }
}

@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%; }

  /* Service cards mobile */
  .index-page .services .service-item { padding: 26px 20px; }
  .index-page .services .service-item .icon { width: 52px; height: 52px; }
  .index-page .services .service-item .icon i { font-size: 22px; }

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

  /* Dobby feature card mobile */
  .dobby-feature-card { padding: 28px 22px; }
  .dobby-feature-card h3 { font-size: 22px; }
  .dobby-big-icon { font-size: 100px !important; }
}

/* =========================================================
   BẢNG GIÁ CHI TIẾT — SmartAPI
   ========================================================= */
.smartapi-table-wrap {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #eaf0f7;
  box-shadow: 0 12px 40px rgba(55, 81, 126, 0.08);
  overflow: hidden;
}

.smartapi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.smartapi-table thead {
  background: linear-gradient(135deg, #37517e, #2a3f6b);
  color: #fff;
}

.smartapi-table thead th {
  padding: 16px 18px;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.6px;
  font-size: 15px;
  /*text-transform: uppercase;*/
}

.smartapi-table thead th.col-price {
  text-align: right;
}

.smartapi-table thead th small {
  display: block;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11.5px;
  opacity: 0.75;
  margin-top: 2px;
}

.smartapi-table tbody tr {
  border-top: 1px solid #eef2f7;
  transition: background 0.25s ease;
}

.smartapi-table tbody tr:hover {
  background: #f8fbff;
}

.smartapi-table tbody td {
  padding: 18px;
  vertical-align: top;
}

.smartapi-table .pkg-cell {
  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* Badge + tên gói nằm cùng hàng ngang */
.smartapi-table .pkg-cell-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Mô tả ngắn bên dưới tên gói */
.smartapi-table .pkg-desc {
  font-size: 12.5px;
  color: #6b7280;
  line-height: 1.55;
  font-style: italic;
  padding-left: 2px;
}

.smartapi-table .pkg-badge {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}
.smartapi-table .pkg-a { background: linear-gradient(135deg, #4facfe, #2c6dd6); }
.smartapi-table .pkg-b { background: linear-gradient(135deg, #16a34a, #15803d); }
.smartapi-table .pkg-c { background: linear-gradient(135deg, #f59e0b, #d97706); }
.smartapi-table .pkg-d { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.smartapi-table .pkg-e { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.smartapi-table .pkg-f { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.smartapi-table .pkg-h { background: linear-gradient(135deg, #64748b, #475569); }

.smartapi-table .pkg-name {
  font-weight: 700;
  color: #1f2f56;
  line-height: 1.35;
  font-size: 15px;
}

.smartapi-table .feat-list {
  margin: 0;
  padding-left: 18px;
  color: #4a5a78;
  line-height: 1;
  list-style: disc;
}

.smartapi-table .feat-list li {
  margin-bottom: 4px;
}

.smartapi-table .feat-list li::marker {
  color: #4facfe;
}

/* Dòng mô tả gói (pkg-desc) — in nghiêng, phân cách trực quan */
.smartapi-table .feat-list .sa-pkg-desc {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #d1d5db;
  font-style: italic;
  color: #6b7280;
  font-size: 13px;
}

.smartapi-table .price-cell {
  width: 180px;
  text-align: right;
  font-weight: 800;
  font-size: 18px;
  color: #1f2f56;
  vertical-align: middle;
}

.smartapi-table .total-row {
  background: linear-gradient(135deg, #eaf3ff, #f4f9ff);
  border-top: 2px solid #cfe2f5;
}

.smartapi-table .total-row .total-label {
  text-align: right;
  font-weight: 800;
  font-size: 16px;
  color: #1f2f56;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 22px 18px;
}

.smartapi-table .total-row .total-label small {
  font-weight: 500;
  text-transform: none;
  font-size: 12px;
  color: #6b7c93;
  margin-left: 6px;
}

.smartapi-table .total-row .total-price {
  font-size: 22px;
  background: linear-gradient(120deg, #37517e, #4facfe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.smartapi-note {
  padding: 18px 24px;
  background: #f8fbff;
  border-top: 1px solid #eef2f7;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.smartapi-note .note-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #4a5a78;
}

.smartapi-note .note-item i {
  color: #4facfe;
  font-size: 16px;
}

.smartapi-cta {
  padding: 24px;
  background: #ffffff;
  border-top: 1px solid #eef2f7;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.buy-btn-ghost {
  background: transparent !important;
  color: #37517e !important;
  border: 2px solid #cfe2f5 !important;
  box-shadow: none !important;
}

.buy-btn-ghost:hover {
  background: #37517e !important;
  color: #fff !important;
  border-color: #37517e !important;
}

/* Bảng giá responsive */
@media (max-width: 768px) {
  .smartapi-table thead { display: none; }
  .smartapi-table tbody, .smartapi-table tr, .smartapi-table td { display: block; width: 100%; }
  .smartapi-table tbody tr { padding: 16px 14px; border-top: 1px solid #eef2f7; }
  .smartapi-table .pkg-cell { width: 100%; margin-bottom: 8px; }
  .smartapi-table .price-cell {
    width: 100%; text-align: left; padding-top: 8px; font-size: 20px;
  }
  .smartapi-table .price-cell::before {
    content: "Giá / tháng: "; color: #6b7c93; font-weight: 500; font-size: 13px;
  }
  .smartapi-table .total-row .total-label,
  .smartapi-table .total-row .total-price { text-align: left; }
}

/* sup/đ/$ trong price cells — fix gradient-text child visibility */
.smartapi-table .price-cell sup {
  color: #1f2f56;
}
.smartapi-table .total-row .total-price sup {
  background: linear-gradient(120deg, #37517e, #4facfe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-smartapi .smartapi-table .total-row .total-price sup {
  background: linear-gradient(120deg, #37517e, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================
   SMARTAPI — Service info detail section
   ========================================================= */
.sa-service-info {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #eaf0f7;
  box-shadow: 0 8px 30px rgba(55, 81, 126, 0.07);
  overflow: hidden;
  margin-top: 28px;
}

.sa-service-info-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 0;
}

.sa-info-panel {
  padding: 22px 20px;
  border-right: 1px solid #eef2f7;
}

.sa-info-panel:last-child {
  border-right: none;
}


.sa-info-panel h5 {
  font-size: 14.5px;
  font-weight: 700;
  color: #1f2f56;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.sa-info-panel h5 i {
  color: #4facfe;
  font-size: 16px;
}

.sa-info-panel ul {
  margin: 0;
  padding: 0 0 0 18px !important;
  color: #4a5a78;
  font-size: 14.5px;
  line-height: 1.6;
  list-style: disc !important;
}

.sa-info-panel ul li {
  display: list-item !important;
  padding: 0 !important;
  margin-bottom: 5px;
  list-style: disc !important;
}

/* Retention table */
.sa-retention-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  color: #4a5a78;
}

.sa-retention-table thead tr {
  background: #f4f9ff;
}

.sa-retention-table th,
.sa-retention-table td {
  padding: 6px 10px;
  border: 1px solid #e2edf7;
  text-align: left;
}

.sa-retention-table th {
  font-weight: 700;
  color: #37517e;
  font-size: 14.5px;
}

/* Data formats bar */
.sa-data-formats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 22px;
  background: #f8fbff;
  border-top: 1px solid #eef2f7;
}

.sa-format-label {
  font-size: 13px;
  font-weight: 700;
  color: #37517e;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sa-format-badge {
  display: inline-block;
  padding: 4px 14px;
  background: #eaf3ff;
  color: #2c6dd6;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid #c9e0f7;
}

/* Footer info bar */
.sa-info-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid #eef2f7;
  background: linear-gradient(135deg, #37517e, #2a3f6b);
}

.sa-info-footer-item {
  flex: 1 1 200px;
  padding: 14px 20px;
  color: #e8f0ff;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.sa-info-footer-item:last-child {
  border-right: none;
}

.sa-info-footer-item i {
  color: #7dd3fc;
  font-size: 15px;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .sa-service-info-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sa-info-panel {
    border-bottom: 1px solid #eef2f7;
  }
}

@media (max-width: 576px) {
  .sa-service-info-grid {
    grid-template-columns: 1fr;
  }
  .sa-info-footer-item {
    flex: 1 1 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }
}

/* =========================================================
   SMARTAPI — Contact cards
   ========================================================= */
.sa-contact-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eaf0f7;
  box-shadow: 0 8px 28px rgba(55, 81, 126, 0.07);
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.sa-contact-card:hover {
  box-shadow: 0 14px 40px rgba(55, 81, 126, 0.13);
  transform: translateY(-4px);
}

.sa-contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4facfe, #2c6dd6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: #fff;
}

.sa-contact-icon-zalo  { background: linear-gradient(135deg, #06b6d4, #0284c7); }
.sa-contact-icon-email { background: linear-gradient(135deg, #f59e0b, #d97706); }
.sa-contact-icon-docs  { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

.sa-contact-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: #1f2f56;
  margin-bottom: 8px;
}

.sa-contact-card p {
  margin-bottom: 6px;
  font-size: 14.5px;
}

.sa-contact-card p a {
  color: #2c6dd6;
  font-weight: 600;
  text-decoration: none;
}

.sa-contact-card p a:hover {
  text-decoration: underline;
}

.sa-contact-note {
  font-size: 12.5px !important;
  color: #7b8faa !important;
}

/* =========================================================
   DOBBY AI — Feature card
   ========================================================= */
.dobby-feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  border: 1px solid #eaf0f7;
  box-shadow: 0 14px 40px rgba(55, 81, 126, 0.08);
}

.dobby-feature-card h3 {
  font-weight: 800;
  color: #1f2f56;
  font-size: 26px;
  margin-bottom: 14px;
}

.dobby-feature-card p {
  color: #4a5a78;
  line-height: 1.75;
  font-size: 15px;
}

.dobby-bullet {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.dobby-bullet li {
  padding: 7px 0;
  color: #37517e;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.dobby-bullet li i {
  color: #16a34a;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.dobby-big-icon {
  font-size: clamp(120px, 18vw, 200px);
  background: linear-gradient(135deg, #22c55e, #15803d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  filter: drop-shadow(0 12px 30px rgba(34, 197, 94, 0.35));
  animation: dobbyIconFloat 5s ease-in-out infinite;
}

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

/* =========================================================
   PAGE-SMARTAPI — accent màu TÍM (#a78bfa / #7c3aed)
   ========================================================= */
.page-smartapi .hero-new {
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(167, 139, 250, 0.35), transparent 60%),
    radial-gradient(900px 500px at 90% 30%, rgba(124, 58, 237, 0.25), transparent 60%),
    radial-gradient(700px 400px at 50% 100%, rgba(167, 139, 250, 0.18), transparent 60%),
    linear-gradient(135deg, #1f2f56 0%, #37517e 55%, #3b2f6b 100%);
}

.page-smartapi .hero-new .hero-eyebrow .dot {
  background: #c4b5fd;
  box-shadow: 0 0 0 4px rgba(196, 181, 253, 0.18);
  animation: heroDotPulsePurple 2s ease-in-out infinite;
}

@keyframes heroDotPulsePurple {
  0%, 100% { box-shadow: 0 0 0 4px rgba(196, 181, 253, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(196, 181, 253, 0.05); }
}

.page-smartapi .hero-new .hero-eyebrow {
  color: #ddd6fe;
}

.page-smartapi .hero-new h1 .gradient-text {
  background: linear-gradient(120deg, #a78bfa 0%, #c4b5fd 60%, #ddd6fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-smartapi .hero-new .btn-hero-primary {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(167, 139, 250, 0.45);
}

.page-smartapi .hero-new .btn-hero-primary:hover {
  box-shadow: 0 14px 36px rgba(167, 139, 250, 0.55);
  color: #ffffff;
}

.page-smartapi .hero-new .hero-art .glow {
  background: radial-gradient(closest-side, rgba(167, 139, 250, 0.4), transparent 70%);
}

.page-smartapi .hero-new .trust-badges .tb i {
  color: #c4b5fd;
}

/* Service cards — accent tím khi hover */
.page-smartapi .services .service-item:hover {
  border-color: #c4b5fd;
}
.page-smartapi .services .service-item:hover .icon {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  color: #ffffff;
}
.page-smartapi .services .service-item:hover h4 a {
  color: #7c3aed;
}
.page-smartapi .services .service-item::after {
  background: radial-gradient(closest-side, rgba(167, 139, 250, 0.15), transparent 70%);
}

/* Section title — underline tím */
.page-smartapi .section-title h2::after {
  background: linear-gradient(90deg, #a78bfa, #7c3aed);
}

/* SmartAPI table — total price gradient tím */
.page-smartapi .smartapi-table .total-row .total-price {
  background: linear-gradient(120deg, #37517e, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* SmartAPI notes icon → tím */
.page-smartapi .smartapi-note .note-item i {
  color: #7c3aed;
}

/* =========================================================
   PAGE-DOBBYAI — accent màu XANH LÁ (#22c55e / #15803d)
   ========================================================= */
.page-dobbyai .hero-new.dobby-hero {
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(34, 197, 94, 0.30), transparent 60%),
    radial-gradient(900px 500px at 90% 30%, rgba(22, 163, 74, 0.25), transparent 60%),
    radial-gradient(700px 400px at 50% 100%, rgba(74, 222, 128, 0.18), transparent 60%),
    linear-gradient(135deg, #1f2f56 0%, #2a3f6b 55%, #1f4d36 100%);
}

.page-dobbyai .hero-new .hero-eyebrow .dot {
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
  animation: heroDotPulseGreen 2s ease-in-out infinite;
}

@keyframes heroDotPulseGreen {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0.05); }
}

.page-dobbyai .hero-new .hero-eyebrow {
  color: #bbf7d0;
}

.page-dobbyai .hero-new h1 .gradient-text {
  background: linear-gradient(120deg, #22c55e 0%, #4ade80 60%, #bbf7d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-dobbyai .hero-new .btn-hero-primary {
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.45);
}

.page-dobbyai .hero-new .btn-hero-primary:hover {
  box-shadow: 0 14px 36px rgba(34, 197, 94, 0.55);
  color: #ffffff;
}

.page-dobbyai .hero-new .hero-art .glow {
  background: radial-gradient(closest-side, rgba(34, 197, 94, 0.4), transparent 70%);
}

.page-dobbyai .hero-new .trust-badges .tb i {
  color: #4ade80;
}

/* Service cards — accent xanh lá khi hover */
.page-dobbyai .services .service-item:hover {
  border-color: #86efac;
}
.page-dobbyai .services .service-item:hover .icon {
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: #ffffff;
}
.page-dobbyai .services .service-item:hover h4 a {
  color: #15803d;
}
.page-dobbyai .services .service-item::after {
  background: radial-gradient(closest-side, rgba(34, 197, 94, 0.15), transparent 70%);
}

/* Section title — underline xanh lá */
.page-dobbyai .section-title h2::after {
  background: linear-gradient(90deg, #22c55e, #15803d);
}

/* Dobby — Pricing cards flex alignment (buttons cùng hàng) */
.page-dobbyai .pricing .pricing-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.page-dobbyai .pricing .pricing-item ul {
  flex: 1;
  width: 100%;
}
.page-dobbyai .pricing .pricing-item .buy-btn {
  margin-top: auto;
}

/* Pricing item Diamond — viền top xanh lá khi hover */
.page-dobbyai .pricing .pricing-item:has(.rps_diamond):hover {
  border-top-color: #22c55e;
}

/* Dobby example question (service cards) */
.page-dobbyai .dobby-example {
  font-size: 13px;
  color: #6b7280;
  margin-top: 10px;
  margin-bottom: 0;
  line-height: 1.5;
}
.page-dobbyai .dobby-example i {
  color: #22c55e;
  margin-right: 4px;
}

/* Dobby — Free Trial badge */
.page-dobbyai .pricing-trial-badge {
  display: inline-block;
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.page-dobbyai .pricing-trial-title {
  color: #15803d !important;
}

/* Dobby — Featured pricing item (Gold) */
.page-dobbyai .pricing .pricing-item.featured {
  border-top: 4px solid #22c55e;
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.15);
}
.page-dobbyai .pricing .pricing-item.featured:hover {
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.25);
}

/* Dobby — Enterprise pricing (đỏ) */
.page-dobbyai .pricing .pricing-ent-card {
  border-top: 4px solid #dc2626;
}
.page-dobbyai .pricing .pricing-ent-card:hover {
  border-top-color: #dc2626;
  box-shadow: 0 8px 32px rgba(220, 38, 38, 0.15);
}
.page-dobbyai .pricing .rps_enterprise {
  color: #dc2626 !important;
}
.page-dobbyai .pricing .ent-btn {
  color: #dc2626;
  border-color: #dc2626;
}
.page-dobbyai .pricing .ent-btn:hover {
  background: #dc2626;
  color: #fff;
}

/* Dobby — Free Trial card hover */
.page-dobbyai .pricing .pricing-trial-card:hover {
  border-top-color: #22c55e;
}

/* =========================================================
   Information Flow — Luồng thông tin (datapro.html)
   ========================================================= */
.info-flow-section {
  padding: 60px 0;
}
.info-flow-section .section-title h2 {
  font-size: 28px;
  font-weight: 700;
}

/* Timeline container */
.info-flow-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
  flex-wrap: nowrap;
}

/* Each step */
.info-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  flex: 1;
  max-width: 200px;
}

/* Step number badge */
.info-flow-step .step-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* Step icon */
.info-flow-step .step-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

/* Step title */
.info-flow-step .step-title {
  font-weight: 700;
  font-size: 15px;
  color: #1b2b52;
  margin-bottom: 4px;
}
.info-flow-step .step-subtitle {
  font-size: 12px;
  color: #8896a8;
  margin-bottom: 10px;
}

/* Step card (content box) */
.info-flow-card {
  background: #f7f8fb;
  border-radius: 12px;
  padding: 16px 14px;
  text-align: left;
  width: 100%;
  min-height: 160px;
  border: 1px solid #e8ecf2;
}
.info-flow-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.info-flow-card ul li {
  font-size: 12.5px;
  color: #5d6b82;
  padding: 3px 0;
  line-height: 1.5;
}
.info-flow-card ul li::before {
  content: "•";
  color: var(--accent-color, #007bff);
  font-weight: 700;
  margin-right: 6px;
}
.info-flow-card p {
  font-size: 12.5px;
  color: #5d6b82;
  margin: 0;
  line-height: 1.5;
}

/* Arrow connector between steps */
.info-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
  flex-shrink: 0;
  width: 36px;
}
.info-flow-arrow i {
  font-size: 22px;
  color: #b0bec5;
}

/* START and END special steps */
.info-flow-step.step-start,
.info-flow-step.step-end {
  max-width: 150px;
}
.info-flow-step.step-start .step-icon,
.info-flow-step.step-end .step-icon {
  font-size: 42px;
}
.info-flow-step.step-start .info-flow-card,
.info-flow-step.step-end .info-flow-card {
  background: transparent;
  border: none;
  text-align: center;
  min-height: auto;
  padding: 10px 8px;
}

/* Color themes per step */
.info-flow-step[data-step="1"] .step-badge { background: #6366f1; }
.info-flow-step[data-step="2"] .step-badge { background: #22c55e; }
.info-flow-step[data-step="3"] .step-badge { background: #f59e0b; }
.info-flow-step[data-step="4"] .step-badge { background: #1b3a5c; }
.info-flow-step[data-step="1"] .step-icon { color: #6366f1; }
.info-flow-step[data-step="2"] .step-icon { color: #22c55e; }
.info-flow-step[data-step="3"] .step-icon { color: #f59e0b; }
.info-flow-step[data-step="4"] .step-icon { color: #1b3a5c; }

/* Start/End colors */
.info-flow-step.step-start .step-icon { color: #3b82f6; }
.info-flow-step.step-end .step-icon { color: #22c55e; }

/* Note bar at bottom */
.info-flow-note {
  margin-top: 30px;
  padding: 16px 24px;
  background: #eef6ff;
  border-left: 4px solid #3b82f6;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.info-flow-note i {
  color: #3b82f6;
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}
.info-flow-note p {
  font-size: 13px;
  color: #3d5a80;
  margin: 0;
  line-height: 1.6;
}
.info-flow-note strong {
  color: #1b3a5c;
}

/* Responsive */
@media (max-width: 992px) {
  .info-flow-timeline {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .info-flow-step {
    max-width: 400px;
    flex-direction: row;
    text-align: left;
    gap: 14px;
  }
  .info-flow-step .step-badge {
    margin-bottom: 0;
  }
  .info-flow-card {
    min-height: auto;
  }
  .info-flow-arrow {
    width: auto;
    transform: rotate(90deg);
    padding: 0;
  }
  .info-flow-step.step-start,
  .info-flow-step.step-end {
    max-width: 400px;
  }
}

/* =========================================================
   NAVBAR — Dropdown toggle icon cách xa chữ menu
   ========================================================= */
@media (min-width: 1200px) {
  .navmenu a > i.toggle-dropdown {
    margin-left: 8px !important;
  }
}
