*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
}

body {
  font-family: var(--font-family-base);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
}

@media (min-width: 1400px) {
  .container {
    max-width: 1540px;
  }
}

@media (min-width: 1800px) {
  .container {
    max-width: 1720px;
  }
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 2. Micro-Animations & 3D Keyframes (onebitsolutions Signature Effects) */
@keyframes rotating {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotating-rev {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes y-floating {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

@keyframes pulse-gentle {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

.rotating-element {
  animation: rotating 40s linear infinite;
  transform-origin: center center;
}

.rotating-slow {
  animation: rotating 75s linear infinite;
}

.floating-element {
  animation: y-floating 5s ease-in-out infinite;
}

.floating-element-delay {
  animation: y-floating 6s ease-in-out 1.5s infinite;
}

/* 3. Header & Navigation */
.header-navbar {
  height: var(--header-height);
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
  display: flex;
  align-items: center;
}

.header-navbar.scrolled,
.header-navbar.menu-open,
.header-navbar:has(.navbar-collapse.show) {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

/* Cụm Nút Menu + Brand Logo (Nút Menu nằm cạnh trái OneBitSolutions) */
.header-brand-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-brand-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary-deep);
  text-decoration: none;
}

.brand-text {
  font-weight: 800;
  color: #0f172a;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(99, 36, 235, 0.25);
  transition: transform var(--transition-normal);
  display: block;
}

.navbar-brand-wrapper:hover .brand-logo-img {
  transform: scale(1.08) rotate(-4deg);
}

.brand-highlight {
  color: #7adb65;
}

/* Navigation List */
.nav-link {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-main) !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
  background-color: var(--primary-light);
}

/* Header Actions (Right) */
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  margin-left: auto;
}

.header-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: var(--primary-gradient);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(99, 36, 235, 0.35);
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(99, 36, 235, 0.5);
  color: #ffffff;
}

/* Nút Toggle Menu gom gọn kiểu HomeNest (Không viền ngoài, hover biến thành vòng tròn 9 chấm) */
.header-menu-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
  padding: 0;
  flex-shrink: 0;
  outline: none;
}

.header-menu-toggle-btn:hover {
  background: rgba(33, 0, 109, 0.08);
  transform: scale(1.06);
}

.header-menu-toggle-btn:active {
  transform: scale(0.95);
}

.dots-icon-container {
  position: relative;
  width: 24px;
  height: 24px;
  display: block;
}

.dots-icon-container .dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #1C0F45;
  transition: transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease;
  will-change: transform;
}

/* 1. Mặc định: Lưới vuông 3x3 */
.dots-icon-container .dot-1 {
  top: 0px;
  left: 0px;
}

.dots-icon-container .dot-2 {
  top: 0px;
  left: 10px;
}

.dots-icon-container .dot-3 {
  top: 0px;
  left: 20px;
}

.dots-icon-container .dot-4 {
  top: 10px;
  left: 0px;
}

.dots-icon-container .dot-5 {
  top: 10px;
  left: 10px;
}

.dots-icon-container .dot-6 {
  top: 10px;
  left: 20px;
}

.dots-icon-container .dot-7 {
  top: 20px;
  left: 0px;
}

.dots-icon-container .dot-8 {
  top: 20px;
  left: 10px;
}

.dots-icon-container .dot-9 {
  top: 20px;
  left: 20px;
}

/* 2. Khi HOVER hoặc khi Menu MỞ RỘNG: Biến đổi thành VÒNG TRÒN bao quanh 1 chấm tâm */
.header-menu-toggle-btn:hover .dot,
.header-navbar.header-expanded .header-menu-toggle-btn .dot {
  background-color: #2563eb;
}

.header-menu-toggle-btn:hover .dot-1,
.header-navbar.header-expanded .header-menu-toggle-btn .dot-1 {
  transform: translate(2.2px, 2.2px);
}

.header-menu-toggle-btn:hover .dot-2,
.header-navbar.header-expanded .header-menu-toggle-btn .dot-2 {
  transform: translate(0px, -1px);
}

.header-menu-toggle-btn:hover .dot-3,
.header-navbar.header-expanded .header-menu-toggle-btn .dot-3 {
  transform: translate(-2.2px, 2.2px);
}

.header-menu-toggle-btn:hover .dot-4,
.header-navbar.header-expanded .header-menu-toggle-btn .dot-4 {
  transform: translate(-1px, 0px);
}

.header-menu-toggle-btn:hover .dot-5,
.header-navbar.header-expanded .header-menu-toggle-btn .dot-5 {
  transform: scale(1.15);
}

.header-menu-toggle-btn:hover .dot-6,
.header-navbar.header-expanded .header-menu-toggle-btn .dot-6 {
  transform: translate(1px, 0px);
}

.header-menu-toggle-btn:hover .dot-7,
.header-navbar.header-expanded .header-menu-toggle-btn .dot-7 {
  transform: translate(2.2px, -2.2px);
}

.header-menu-toggle-btn:hover .dot-8,
.header-navbar.header-expanded .header-menu-toggle-btn .dot-8 {
  transform: translate(0px, 1px);
}

.header-menu-toggle-btn:hover .dot-9,
.header-navbar.header-expanded .header-menu-toggle-btn .dot-9 {
  transform: translate(-2.2px, -2.2px);
}

/* Trạng thái Mở Rộng của Toggle Button (giữ vòng tròn với nền badge nhẹ) */
.header-navbar.header-expanded .header-menu-toggle-btn {
  background: rgba(37, 99, 235, 0.1);
}

.header-navbar.header-expanded .header-menu-toggle-btn:hover {
  background: rgba(37, 99, 235, 0.18);
}

/* DESKTOP RESPONSIVE LOGIC (>= 992px) */
@media (min-width: 992px) {

  /* 1. Mặc định (Compact): Cụm Nút Menu + OneBitSolutions ở chính giữa thanh header, Options gom gọn (ẩn) */
  .header-navbar:not(.header-expanded) .header-brand-group {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .header-navbar:not(.header-expanded) .header-nav-collapse {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -10px) scale(0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* 2. Khi nhấn nút Menu: Cụm Nút Close + OneBitSolutions dời về bên trái, Options ở giữa, Hotline bên phải */
  .header-navbar.header-expanded .header-brand-group {
    position: relative;
    left: 0;
    transform: translateX(0);
  }

  .header-navbar.header-expanded .header-nav-collapse {
    position: relative;
    left: auto;
    transform: translate(0, 0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: flex;
    flex: 1;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .header-nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding-left: 0;
  }
}

/* MOBILE & TABLET (< 992px) */
@media (max-width: 991.98px) {
  .header-navbar .header-brand-group {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    gap: 8px;
  }

  .header-navbar .navbar-brand-wrapper {
    font-size: 1.22rem;
  }

  .header-navbar .header-phone-text {
    display: none;
  }

  .header-navbar .header-phone-btn {
    padding: 0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(94, 23, 235, 0.12);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(94, 23, 235, 0.1);
    color: #5e17eb !important;
    position: relative;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, color 0.2s ease;
  }

  .header-navbar .header-phone-btn i {
    color: #5e17eb;
    font-size: 1.15rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
  }

  .header-navbar .header-phone-btn:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 22px rgba(94, 23, 235, 0.22);
    background: #ffffff;
    color: #4a0fd4 !important;
  }

  .header-navbar .header-phone-btn:hover i {
    transform: scale(1.1);
    color: #4a0fd4;
  }

  /* Hiệu ứng sóng lan tỏa giống nút quick-bar-btn btn-floating-phone */
  .header-navbar .header-phone-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid rgba(94, 23, 235, 0.38);
    animation: phoneRingRipple 2.2s infinite ease-out;
    pointer-events: none;
  }

  .header-navbar .header-nav-collapse {
    position: absolute;
    top: 72px;
    left: 15px;
    right: 15px;
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 20px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
    border: 1px solid #e2e8f0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
  }

  .header-navbar.header-expanded .header-nav-collapse {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .header-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding-left: 0;
  }

  .header-nav-list .nav-link {
    padding: 10px 14px !important;
    display: block;
    width: 100%;
    border-radius: 10px;
  }
}

/* 4. Hero Section (onebitsolutions Full-Bleed Aesthetics) */
.hero-section {
  position: relative;
  background:
    radial-gradient(circle at 8% 22%, rgba(38, 242, 255, 0.16) 0%, transparent 42%),
    radial-gradient(circle at 88% 28%, rgba(38, 224, 124, 0.18) 0%, transparent 50%),
    linear-gradient(180deg, #e4f9f4 0%, #ebfaf6 65%, #f2fbf9 85%, #f9fdfd 100%);
  padding-top: calc(var(--header-height) + 20px);
  padding-bottom: 170px;
  min-height: 940px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-title-onebitsolutions {
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #00bba7;
  margin-bottom: 24px;
}

.hero-rotator-text {
  color: #00bba7;
  font-weight: 800;
}

.typing-cursor {
  display: inline-block;
  color: #1c0f45;
  font-weight: 300;
  margin-left: 2px;
  animation: blink 0.8s infinite;
}

.hero-desc-onebitsolutions {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #4a5568;
  max-width: 530px;
  margin-bottom: 32px;
}

.btn-onebitsolutions-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  background: #00bba7;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 187, 167, 0.35);
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
}

.btn-onebitsolutions-green:hover {
  background: #00a492;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 187, 167, 0.5);
  color: #ffffff;
}

/* ==================== HERO FULL-WIDTH 3D GRAPHIC POSITIONING ==================== */
/* Left side shapes */
.hero-shape-tl {
  position: absolute;
  top: -40px;
  left: -80px;
  z-index: 2;
  pointer-events: none;
  width: clamp(380px, 24vw, 540px);
}

.hero-shape-bl {
  position: absolute;
  top: 360px;
  left: 3vw;
  z-index: 2;
  pointer-events: none;
  width: clamp(420px, 27vw, 580px);
  opacity: 0.35;
}

/* Right side shapes */
.hero-shape-giant-poly {
  position: absolute;
  top: 30px;
  right: -4vw;
  z-index: 1;
  pointer-events: none;
  width: clamp(640px, 45vw, 1000px);
}

.hero-shape-poly-mid {
  position: absolute;
  top: clamp(380px, 44vh, 510px);
  right: clamp(60px, 9vw, 180px);
  z-index: 3;
  pointer-events: none;
  width: clamp(220px, 17vw, 340px);
}

.hero-shape-poly-sm {
  position: absolute;
  top: 170px;
  right: 11vw;
  z-index: 4;
  pointer-events: none;
  width: clamp(120px, 10vw, 160px);
}

.hero-shape-poly-top {
  position: absolute;
  top: 140px;
  right: 22vw;
  z-index: 3;
  pointer-events: none;
  width: clamp(160px, 14vw, 220px);
}

.hero-shape-radial-circle {
  position: absolute;
  top: clamp(340px, 40vh, 490px);
  right: clamp(440px, 33vw, 760px);
  z-index: 4;
  pointer-events: none;
  width: clamp(170px, 15vw, 240px);
}

/* 3D Sticks (Được căn chỉnh cân đối với hình laptop) */
.hero-sticks-wrapper {
  position: absolute;
  top: clamp(170px, 19vh, 255px);
  right: clamp(35px, 6.5vw, 140px);
  z-index: 8;
  pointer-events: none;
  width: clamp(420px, 34vw, 700px);
  will-change: transform;
}

.hero-sticks-inner {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.hero-sticks-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
}

/* 3D Laptop (Được đẩy nhẹ lên trên và sang phải để lộ đều trụ cam phía dưới) */
.hero-laptop-pos-wrapper {
  position: absolute;
  top: clamp(105px, 12vh, 170px);
  right: clamp(10px, 4vw, 105px);
  z-index: 12;
  pointer-events: none;
  width: clamp(440px, 33vw, 680px);
  will-change: transform;
}

.hero-laptop-inner {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.hero-laptop-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 54px rgba(0, 0, 0, 0.22));
}

/* 3D Blue Spheres */
.hero-sphere-1 {
  position: absolute;
  top: clamp(370px, 42vh, 480px);
  right: clamp(420px, 32vw, 720px);
  width: 62px;
  height: 62px;
  z-index: 16;
  pointer-events: none;
}

.hero-sphere-2 {
  position: absolute;
  top: 360px;
  right: 26vw;
  width: 64px;
  height: 64px;
  z-index: 16;
  pointer-events: none;
}

.hero-sphere-3 {
  position: absolute;
  top: clamp(550px, 58vh, 670px);
  right: clamp(340px, 26vw, 560px);
  width: 44px;
  height: 44px;
  z-index: 16;
  pointer-events: none;
}

/* Pinwheels */
.hero-pinwheel-yellow {
  position: absolute;
  top: clamp(100px, 12vh, 160px);
  right: clamp(180px, 18vw, 360px);
  z-index: 15;
  pointer-events: none;
}

.hero-pinwheel-purple {
  position: absolute;
  top: clamp(520px, 58vh, 660px);
  right: clamp(150px, 16vw, 320px);
  z-index: 15;
  pointer-events: none;
}

.hero-pinwheel-teal-1 {
  position: absolute;
  top: 340px;
  right: 32vw;
  z-index: 14;
  pointer-events: none;
}

.hero-pinwheel-teal-2 {
  position: absolute;
  top: 270px;
  right: 2vw;
  z-index: 14;
  pointer-events: none;
}

/* Sparkles */
.hero-sparkle {
  position: absolute;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  z-index: 15;
  pointer-events: none;
}

.hero-sparkle-yellow {
  top: clamp(100px, 12vh, 150px);
  right: clamp(170px, 17vw, 340px);
  color: #ffb726;
  font-size: 48px;
}

.hero-sparkle-cyan {
  top: 220px;
  right: 33vw;
  color: #26e0b3;
}

.hero-sparkle-purple {
  top: clamp(510px, 56vh, 640px);
  right: clamp(140px, 15vw, 300px);
  color: #9e00ff;
  font-size: 48px;
}

.hero-sparkle-cyan-2 {
  top: 210px;
  right: 5vw;
  color: #26f2ff;
}

/* Bottom Curved White Hill Wave */
.hero-wave-curve-svg {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: clamp(35px, 3.5vw, 60px);
  z-index: 25;
  pointer-events: none;
  fill: #ffffff;
}

/* ==================== onebitsolutions AUTHENTIC ANIMATIONS & KEYFRAMES ==================== */

/* 1. Continuous Floating Animations (Laptop, Sticks & Pinwheels) */
@keyframes floatAnimationMobile1 {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-28px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes floatAnimationDesktop1 {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-36px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes floatAnimationSticks {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-34px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Floating Utility Classes */
.y-floating-1 {
  animation: floatAnimationMobile1 14s ease-in-out infinite;
  will-change: transform;
}

.y-floating-sticks {
  animation: floatAnimationMobile1 16s ease-in-out infinite;
  will-change: transform;
}

@media screen and (min-width: 1024px) {
  .y-floating-1 {
    animation: floatAnimationDesktop1 14s ease-in-out infinite;
  }

  .y-floating-sticks {
    animation: floatAnimationSticks 16s ease-in-out infinite;
  }
}

/* 2. Rotating Keyframes (Polygon Shapes & Pinwheels) */
@keyframes rotateAnimation1 {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(90deg);
  }

  50% {
    transform: rotate(180deg);
  }

  75% {
    transform: rotate(270deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotateAnimation2 {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(90deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.rotating-1 {
  animation: rotateAnimation1 18s ease-in-out infinite;
  transform-origin: center center;
}

.rotating-2 {
  animation: rotateAnimation2 20s ease-in-out infinite;
  transform-origin: center center;
}

/* 3. Scale & Opacity Keyframes */
@keyframes scaleDown1 {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.85);
  }

  100% {
    transform: scale(1);
  }
}

.scale-down-1 {
  animation: scaleDown1 16s ease-in-out infinite;
}

@keyframes scaleUp1 {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

.scale-up-1 {
  animation: scaleUp1 16s ease-in-out infinite;
}

@keyframes opacityDown1 {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.45;
  }

  100% {
    opacity: 1;
  }
}

.opacity-down-1 {
  animation: opacityDown1 16s ease-in-out infinite;
}

@keyframes scaleAndFade1 {
  0% {
    opacity: 1;
    transform: scale(0.3);
  }

  25% {
    opacity: 0.95;
    transform: scale(0.65);
  }

  50% {
    opacity: 0.8;
    transform: scale(1);
  }

  75% {
    opacity: 0.4;
    transform: scale(1.35);
  }

  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

.scale-fade-1 {
  animation: scaleAndFade1 3.5s ease-in-out infinite;
}

/* 4. Animation Durations & Delays */
.animation-duration-10 {
  animation-duration: 10s !important;
}

.animation-duration-12 {
  animation-duration: 12s !important;
}

.animation-duration-16 {
  animation-duration: 16s !important;
}

.animation-duration-60 {
  animation-duration: 60s !important;
}

.animation-duration-90 {
  animation-duration: 90s !important;
}

.animation-duration-120 {
  animation-duration: 120s !important;
}

.animation-delay-1 {
  animation-delay: 1s !important;
}

.animation-delay-1-25 {
  animation-delay: 1.25s !important;
}

.animation-delay-1-5 {
  animation-delay: 1.5s !important;
}

.animation-delay-sticks {
  animation-delay: 0.4s !important;
}

.animation-delay-laptop {
  animation-delay: 1.8s !important;
}

/* 5. Services Section (Max 4 Items 1-Row Smooth Natural Glide) */
.services-section {
  position: relative;
  background-color: #ffffff;
  padding: 50px 0 90px;
  z-index: 15;
}

.section-header-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-header-desc {
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* Natural Marquee Wrapper: container-type inline-size to accurately calculate 4 items */
.services-natural-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 16px 0 24px;
  container-type: inline-size;
}

/* Subtle Gradient Fades on edges */
.services-natural-marquee-wrapper::before,
.services-natural-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(25px, 4vw, 50px);
  z-index: 5;
  pointer-events: none;
}

.services-natural-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.services-natural-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

.services-natural-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: naturalGlideLeft 30s linear infinite;
  will-change: transform;
}

.services-natural-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes naturalGlideLeft {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Desktop: EXACTLY 4 items fit across the container (1 row, max 4 items visible) */
.services-natural-marquee-item {
  flex: 0 0 var(--card-w, calc((100cqw - (3 * 24px)) / 4));
  width: var(--card-w, calc((100cqw - (3 * 24px)) / 4));
  min-width: var(--card-w, calc((100cqw - (3 * 24px)) / 4));
  max-width: var(--card-w, calc((100cqw - (3 * 24px)) / 4));
  box-sizing: border-box;
}

.services-natural-marquee-item .service-card-onebitsolutions {
  height: 100%;
  min-height: 385px;
  display: flex;
  flex-direction: column;
}

/* Tablet: 2 items fit across the container */
@media (max-width: 991.98px) {
  .services-natural-marquee-item {
    flex: 0 0 var(--card-w, calc((100cqw - 24px) / 2));
    width: var(--card-w, calc((100cqw - 24px) / 2));
    min-width: var(--card-w, calc((100cqw - 24px) / 2));
    max-width: var(--card-w, calc((100cqw - 24px) / 2));
  }
}

/* Mobile: 1 item fits across the container */
@media (max-width: 575.98px) {
  .services-natural-marquee-track {
    gap: 16px;
    animation-duration: 22s;
  }

  .services-natural-marquee-item {
    flex: 0 0 var(--card-w, 100cqw);
    width: var(--card-w, 100cqw);
    min-width: var(--card-w, 100cqw);
    max-width: var(--card-w, 100cqw);
  }
}

.service-card-onebitsolutions {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  box-shadow: var(--shadow-primary);
  border: 1px solid rgba(99, 36, 235, 0.08);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.service-card-onebitsolutions:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(99, 36, 235, 0.3);
}

.service-icon-box {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  margin-bottom: 22px;
  transition: all var(--transition-normal);
}

.service-card-onebitsolutions:hover .service-icon-box {
  background: var(--primary-gradient);
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
}

.service-title {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  line-height: 1.35;
}

.service-desc {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.service-link-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  background: rgba(99, 36, 235, 0.04);
}

.service-card-onebitsolutions:hover .service-link-btn {
  background-color: var(--primary-light);
  gap: 10px;
}

/* 6. Value Proposition ("Chọn chất lượng, là chọn OneBit") */
.why-choose-section {
  position: relative;
  background: linear-gradient(180deg, #f3f9f9 0%, #ffffff 100%);
  padding: 100px 0 140px;
  overflow: hidden;
}

.why-pill-shape {
  position: absolute;
  opacity: 0.35;
  pointer-events: none;
}

.why-choose-content {
  position: relative;
}

/* 6.01. Why Choose Us - Hiệu ứng xuất hiện dần từ phải sang trái */
.js-enabled .why-choose-content .why-reveal-item {
  opacity: 0;
  transform: translateX(45px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.js-enabled .why-choose-content.is-visible .why-reveal-item {
  opacity: 1;
  transform: translateX(0);
}

/* Thứ tự xuất hiện dần (Stagger Delays) */
.js-enabled .why-choose-content.is-visible h2.why-reveal-item {
  transition-delay: 0.05s;
}

.js-enabled .why-choose-content.is-visible p.why-reveal-item {
  transition-delay: 0.18s;
}

.js-enabled .why-choose-content.is-visible .why-feature-item:nth-child(1) {
  transition-delay: 0.30s;
}

.js-enabled .why-choose-content.is-visible .why-feature-item:nth-child(2) {
  transition-delay: 0.42s;
}

.js-enabled .why-choose-content.is-visible .why-feature-item:nth-child(3) {
  transition-delay: 0.54s;
}

.js-enabled .why-choose-content.is-visible .why-feature-item:nth-child(4) {
  transition-delay: 0.66s;
}

.why-feature-list {
  margin-top: 24px;
}

.why-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding: 10px 14px;
  margin-left: -14px;
  margin-right: -14px;
  border-radius: 14px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  cursor: pointer;
}

.why-choose-content.is-visible .why-feature-item:hover,
.why-choose-content:not(.is-visible) .why-feature-item:hover {
  background-color: rgba(38, 224, 124, 0.05);
  transform: translateX(-6px);
}

.why-feature-item:hover .why-feature-icon {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(38, 224, 124, 0.28);
}

.why-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .js-enabled .why-choose-content .why-reveal-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* 6.1. Why Choose Tech Stage & Ambient Canvas (Ý tưởng 1: Sân khấu công nghệ) */
.why-tech-stage-card {
  position: relative;
  max-width: 600px;
  min-height: 545px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0 auto;
  border-radius: 32px;
  background: linear-gradient(165deg, #ffffff 0%, #f0fdfa 40%, #e0f2fe 75%, #f5f3ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 20px 50px -12px rgba(2, 132, 199, 0.15),
    0 10px 25px -8px rgba(99, 36, 235, 0.08),
    inset 0 2px 4px rgba(255, 255, 255, 0.9),
    inset 0 -2px 6px rgba(2, 132, 199, 0.05);
  overflow: hidden;
  padding-top: 18px;
  padding-bottom: 0;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  z-index: 2;
}

.why-tech-stage-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 65px -12px rgba(2, 132, 199, 0.20),
    0 14px 32px -8px rgba(99, 36, 235, 0.12),
    inset 0 2px 4px rgba(255, 255, 255, 1);
}

/* Canvas Background Layers */
.why-stage-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* High-Tech Dot Matrix Grid */
.why-stage-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(2, 132, 199, 0.18) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.75;
  mask-image: radial-gradient(circle at 50% 40%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 40%, transparent 85%);
}

/* Ambient Radial Glows */
.why-stage-glow-primary {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.22) 0%, rgba(0, 187, 167, 0.12) 40%, transparent 70%);
  filter: blur(45px);
  border-radius: 50%;
  pointer-events: none;
}

.why-stage-glow-secondary {
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(99, 36, 235, 0.14) 0%, transparent 70%);
  filter: blur(50px);
  border-radius: 50%;
  pointer-events: none;
}

/* Concentric Orbit Rings */
.why-stage-orbit {
  position: absolute;
  top: 51%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit-ring-1 {
  width: 390px;
  height: 390px;
  border: 1px dashed rgba(2, 132, 199, 0.28);
  animation: spinOrbitRev 35s linear infinite;
}

/* Outer Rotating Orbit with Curved Text */
.why-stage-orbit-svg {
  position: absolute;
  top: 51%;
  left: 50%;
  width: 585px;
  height: 585px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  animation: spinOrbit 45s linear infinite;
  transform-origin: center center;
}

.orbit-svg-text {
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  fill: url(#orbitTextGrad);
  opacity: 0.9;
}

.orbit-svg-dot {
  font-size: 8.5px;
  fill: #10b981;
  opacity: 0.85;
}

@keyframes spinOrbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spinOrbitRev {
  from {
    transform: translate(-50%, -50%) rotate(360deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

/* Decorative Corner Accents */
.why-stage-accent {
  position: absolute;
  font-family: monospace;
  font-size: 15px;
  font-weight: 700;
  color: rgba(2, 132, 199, 0.35);
  line-height: 1;
  user-select: none;
}

.accent-tl {
  top: 14px;
  left: 18px;
}

.accent-tr {
  top: 14px;
  right: 18px;
}

.accent-bl {
  bottom: 14px;
  left: 18px;
}

.accent-br {
  bottom: 14px;
  right: 18px;
}

/* Figures on Stage */
.why-stage-figure-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 4px;
  margin-top: 0;
  margin-bottom: -24px;
}

.why-stage-team-img {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 28px rgba(15, 23, 42, 0.14));
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.why-tech-stage-card:hover .why-stage-team-img {
  transform: translateY(-4px) scale(1.02);
}

/* Realistic Ground Shadow */
.why-stage-ground-shadow {
  width: 82%;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.22) 0%, rgba(2, 132, 199, 0.08) 50%, transparent 72%);
  margin-top: -10px;
  filter: blur(6px);
  border-radius: 50%;
  z-index: 1;
}

@media (max-width: 991.98px) {
  .why-tech-stage-card {
    max-width: 520px;
    min-height: 480px;
    margin-bottom: 24px;
  }

  .why-stage-orbit-svg {
    width: 490px;
    height: 490px;
  }

  .orbit-ring-1 {
    width: 330px;
    height: 330px;
  }

  .why-stage-figure-wrap {
    margin-bottom: -24px;
  }

  .why-stage-team-img {
    max-width: 480px;
  }
}

@media (max-width: 575.98px) {
  .why-tech-stage-card {
    border-radius: 24px;
    min-height: 400px;
    padding-top: 16px;
    padding-bottom: 0;
  }

  .why-stage-orbit-svg {
    width: 380px;
    height: 380px;
  }

  .orbit-ring-1 {
    width: 260px;
    height: 260px;
  }

  .why-stage-team-img {
    max-width: 380px;
  }
}

/* 7. Stats Counter Banner (Khung Thống Kê Xanh Ngọc Chuẩn onebitsolutions) */
.stats-banner-container {
  margin-top: -60px;
  position: relative;
  z-index: 25;
}

.stats-banner-onebitsolutions {
  background: var(--accent-gradient);
  border-radius: var(--radius-xl);
  padding: 44px 30px;
  box-shadow: 0 16px 40px rgba(0, 187, 167, 0.35);
  color: #ffffff;
}

.stat-box-item {
  text-align: center;
  position: relative;
}

.stat-box-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 2px;
  background-color: rgba(255, 255, 255, 0.35);
}

.counter-number-val {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.counter-label-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

/* 8. Showcase Section - 3D Browser Mockup Coverflow (Phong cách vngoweb / Apple 3D Carousel) */
.showcase-section {
  padding: 90px 0 65px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.showcase-coverflow-wrapper {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  user-select: none;
  touch-action: pan-y;
}

/* 3D Stage */
.showcase-coverflow-stage {
  position: relative;
  width: 100%;
  height: 410px;
  perspective: 1300px;
  -webkit-perspective: 1300px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  margin: 15px 0 10px;
  overflow: visible;
}

/* Coverflow Card & 3D Transitions */
.coverflow-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: 430px;
  max-width: 88vw;
  transform-origin: center center;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, filter 0.5s ease;
  will-change: transform, opacity;
  cursor: pointer;
}

.coverflow-card.is-active {
  cursor: default;
}

/* UI Showcase Frame (Bo góc cao cấp, đổ bóng 3D, hiển thị trực tiếp ảnh UI gốc) */
.browser-mockup-frame {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 45px -8px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}

.coverflow-card.is-active .browser-mockup-frame {
  box-shadow: 0 28px 65px -12px rgba(99, 36, 235, 0.28), 0 0 0 1.5px rgba(99, 36, 235, 0.25);
}

/* Project UI Image Body */
.browser-mockup-body {
  position: relative;
  background: #f1f5f9;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.browser-mockup-body .showcase-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.coverflow-card.is-active:hover .showcase-main-img {
  transform: scale(1.035);
}

.showcase-badge-floating {
  position: absolute;
  top: 12px;
  left: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 2;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Thumbnail switcher trong Mockup */
.coverflow-thumbs {
  position: absolute;
  bottom: 10px;
  right: 10px;
  margin: 0;
  z-index: 3;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 4px;
  border-radius: 8px;
  display: flex;
  gap: 6px;
}

.showcase-thumb-btn {
  width: 40px;
  height: 26px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.65;
}

.showcase-thumb-btn:hover,
.showcase-thumb-btn.active {
  border-color: #ffffff;
  opacity: 1;
  transform: scale(1.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.showcase-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Browser Mockup Footer */
.browser-mockup-footer {
  padding: 16px 20px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #f1f5f9;
}

.browser-footer-info {
  flex: 1;
  min-width: 0;
}

.browser-footer-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 3px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-footer-subtitle {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.browser-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 20px;
  background: #00bba7;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 187, 167, 0.35);
}

.browser-footer-btn:hover {
  background: #009e8d;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 187, 167, 0.45);
}

/* Navigation Arrow Buttons (Căn chỉnh chiều cao lên đúng tâm ảnh của dự án) */
.coverflow-nav-btn {
  position: absolute;
  top: 165px;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(99, 36, 235, 0.05);
  color: #00bba7;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.coverflow-nav-btn:hover {
  background: #00bba7;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 15px 30px rgba(0, 187, 167, 0.35);
}

.coverflow-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.coverflow-prev-btn {
  left: 12px;
}

.coverflow-next-btn {
  right: 12px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .showcase-coverflow-stage {
    height: 380px;
  }

  .coverflow-card {
    width: 380px;
  }

  .coverflow-nav-btn {
    top: 145px;
    left: 4px;
  }

  .coverflow-next-btn {
    right: 4px;
  }
}

@media (max-width: 767.98px) {
  .showcase-section {
    padding: 65px 0 45px;
  }

  .showcase-coverflow-stage {
    height: 345px;
    margin: 10px 0 5px;
  }

  .coverflow-card {
    width: calc(100vw - 70px);
    max-width: 330px;
  }

  .browser-footer-title {
    font-size: 0.95rem;
  }

  .browser-footer-subtitle {
    font-size: 0.75rem;
  }

  .browser-footer-btn {
    padding: 7px 14px;
    font-size: 0.78rem;
  }


  .coverflow-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    top: 125px;
  }

  .coverflow-prev-btn {
    left: 2px;
  }

  .coverflow-next-btn {
    right: 2px;
  }
}

/* 9. Testimonials (Đánh giá khách hàng phong cách onebitsolutions) */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--bg-surface);
}

.testimonial-card-onebitsolutions {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px 32px 30px;
  box-shadow: var(--shadow-primary);
  border: 1px solid rgba(99, 36, 235, 0.08);
  position: relative;
  margin-top: 50px;
  height: calc(100% - 50px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testi-avatar-wrapper {
  position: absolute;
  top: -45px;
  left: 32px;
  width: 90px;
  height: 90px;
  border-radius: var(--radius-full);
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  background-color: var(--primary-light);
}

.testi-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Card Customizations (OBSmartShot / Ecosystem items) */
.testi-avatar-wrapper.product-logo-wrapper {
  border-radius: 20px;
  background-color: #ffffff;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(99, 36, 235, 0.15);
  border: 3px solid #ffffff;
  overflow: hidden;
}

.testi-avatar-wrapper.product-logo-wrapper .testi-avatar-img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  transform: scale(1.18);
  transition: transform 0.3s ease;
}

.product-card-onebitsolutions:hover .testi-avatar-wrapper.product-logo-wrapper .testi-avatar-img {
  transform: scale(1.25);
}

.testi-quote-icon.product-link-icon {
  font-size: 1.35rem;
  color: var(--primary-color);
  opacity: 0.65;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.testi-quote-icon.product-link-icon:hover {
  opacity: 1;
  transform: translate(2px, -2px);
  color: var(--secondary-color, #4338ca);
}

.product-content .product-headline {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-heading, #1e1b4b);
  line-height: 1.45;
  margin-bottom: 10px;
}

.product-content .product-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted, #4b5563);
  font-weight: 450;
  margin-bottom: 0;
}

.testi-quote-icon {
  position: absolute;
  top: 24px;
  right: 28px;
  color: #cfcdda;
  font-size: 2.2rem;
  line-height: 1;
}

.testi-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-main);
  font-weight: 500;
  margin: 30px 0 24px;
}

.testi-client-box {
  background-color: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.client-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
}

.client-company {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 600;
}

.client-badge-logo {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-color);
  opacity: 0.8;
}

/* 9.1. Tech Stack Section (HomeNest style) */
.tech-stack-section {
  padding: 85px 0 70px;
  background: #ffffff;
  position: relative;
}

.tech-badge-sub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: 0.2px;
}

.tech-sparkle {
  color: #0f172a;
  font-size: 1.1rem;
}

.tech-stack-heading {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  color: #0b1942;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.tech-script-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: #2563eb;
  padding: 0 4px;
}

.tech-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px auto 42px;
  max-width: 820px;
}

.tech-filter-btn {
  background: transparent;
  color: #475569;
  border: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.tech-filter-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.tech-filter-btn.active {
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 600;
}

/* 2-Row Infinite Marquee Slider */
.tech-marquee-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  /* Fade mask 2 đầu để hiệu ứng trôi tự nhiên */
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  padding: 12px 0 28px;
}

.tech-marquee-container.is-filtered {
  mask-image: none !important;
  -webkit-mask-image: none !important;
  overflow: visible !important;
}

.tech-marquee-container.is-filtered #techMarqueeRow2,
#techMarqueeRow2.d-none {
  display: none !important;
}

.tech-marquee-wrapper {
  display: flex;
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 8px 0 16px;
  margin-top: -4px;
  transition: all 0.3s ease;
}

.tech-marquee-wrapper.is-filtered {
  overflow: visible !important;
  justify-content: center !important;
  padding: 0;
  margin-top: 0;
}

.tech-marquee-track {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 16px;
  width: max-content !important;
  will-change: transform;
  padding: 4px 0 6px;
}

/* Hiển thị 1 hàng tĩnh, căn giữa khi chọn danh mục cụ thể */
.tech-marquee-track.tech-static-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  transform: none !important;
  animation: none !important;
}

.tech-marquee-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 16px;
  padding-right: 16px;
  flex-shrink: 0;
}

/* Tắt CSS keyframe animation để JS conveyor loop chạy mượt mà không duplicate card */
.tech-scroll-left,
.tech-scroll-left-delayed {
  animation: none !important;
}

.tech-card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  min-width: 150px;
  height: 124px;
  padding: 16px 12px;
  border-radius: 16px;
  background: #ffffff;
  border: 1.5px solid #dbeafe;
  text-align: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    opacity 0.25s ease;
}

.tech-card-item:hover {
  transform: translateY(-4px);
  border-color: #008778;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 24px -4px rgba(0, 135, 120, 0.16);
}

.tech-card-item.is-hidden {
  display: none !important;
}

.tech-card-icon {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: transform 0.25s ease;
}

.tech-card-icon i {
  font-size: 2.4rem;
  line-height: 1;
  display: inline-block;
}

.tech-card-item:hover .tech-card-icon {
  transform: scale(1.08);
}

.tech-card-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 126px;
}

@media (max-width: 768px) {
  .tech-marquee-container {
    gap: 12px;
  }

  .tech-marquee-group {
    gap: 12px;
    padding-right: 12px;
  }

  .tech-card-item {
    width: 124px;
    min-width: 124px;
    height: 104px;
    padding: 12px 8px;
    border-radius: 13px;
  }

  .tech-card-icon {
    height: 36px;
    margin-bottom: 6px;
  }

  .tech-card-icon svg {
    max-width: 32px;
    max-height: 32px;
  }

  .tech-card-name {
    font-size: 0.74rem;
    max-width: 108px;
  }
}

/* 10. WORKING PROCESS SECTION (Quy trình triển khai tinh gọn) */
.process-section {
  padding: 95px 0 85px;
  background: linear-gradient(180deg, #ffffff 0%, #f9faff 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.process-badge-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-color);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  padding: 6px 18px;
  border-radius: var(--radius-full);
}

.process-timeline-wrap {
  position: relative;
  margin-top: 35px;
}

/* Connecting track line on desktop */
@media (min-width: 992px) {
  .process-track-line {
    position: absolute;
    top: 55px;
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(90deg,
        rgba(99, 36, 235, 0.15) 0%,
        rgba(0, 187, 167, 0.45) 50%,
        rgba(99, 36, 235, 0.15) 100%);
    z-index: 1;
  }
}

/* ==========================================================================
   Process Section - Staggered Step Entrance Animation (Bước 1 -> Bước 5)
   ========================================================================== */
.js-enabled .process-timeline-wrap .process-col {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.js-enabled .process-timeline-wrap.is-visible .process-col {
  opacity: 1;
  transform: translateY(0);
}

/* Thứ tự xuất hiện tuần tự từ Bước 1 đến Bước 5 */
.js-enabled .process-timeline-wrap.is-visible .process-col:nth-child(1) {
  transition-delay: 0.10s;
}

.js-enabled .process-timeline-wrap.is-visible .process-col:nth-child(2) {
  transition-delay: 0.25s;
}

.js-enabled .process-timeline-wrap.is-visible .process-col:nth-child(3) {
  transition-delay: 0.40s;
}

.js-enabled .process-timeline-wrap.is-visible .process-col:nth-child(4) {
  transition-delay: 0.55s;
}

.js-enabled .process-timeline-wrap.is-visible .process-col:nth-child(5) {
  transition-delay: 0.70s;
}

@media (min-width: 992px) {
  .js-enabled .process-track-line {
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
    will-change: transform;
  }

  .js-enabled .process-timeline-wrap.is-visible .process-track-line {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-enabled .process-timeline-wrap .process-col {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .js-enabled .process-track-line {
    transform: none !important;
    transition: none !important;
  }
}

.process-col {
  position: relative;
  z-index: 2;
}

.process-step-card {
  background: #ffffff;
  border: 1px solid rgba(99, 36, 235, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px 18px 22px;
  box-shadow: 0 10px 28px rgba(28, 15, 69, 0.04);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.process-step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 36, 235, 0.35);
  box-shadow: 0 18px 40px rgba(99, 36, 235, 0.12);
}

.process-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.process-step-number {
  font-family: var(--font-family-base);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.process-step-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: 1px solid var(--primary-border);
  box-shadow: 0 4px 12px rgba(99, 36, 235, 0.08);
  transition: all var(--transition-normal);
}

.process-step-card:hover .process-step-icon {
  background: var(--primary-gradient);
  color: #ffffff;
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 8px 20px rgba(99, 36, 235, 0.3);
}

.process-step-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.process-step-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-hover);
  background: var(--accent-light);
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.process-step-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.35;
}

.process-step-desc {
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.process-step-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px dashed rgba(28, 15, 69, 0.1);
}

.process-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.process-tag i {
  color: var(--accent-color);
  font-weight: 800;
  font-size: 0.88rem;
}

.process-trust-banner {
  background: linear-gradient(135deg, #f8f6ff 0%, #f0fdfb 100%);
  border: 1px solid rgba(99, 36, 235, 0.15);
  box-shadow: 0 10px 30px rgba(28, 15, 69, 0.03);
}

.process-trust-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(99, 36, 235, 0.25);
}

/* FAQ backward compatibility fallback if needed */
.faq-section {
  padding: 90px 0;
  background-color: #ffffff;
}

.accordion-onebitsolutions .accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md) !important;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-onebitsolutions .accordion-button {
  font-weight: 700;
  font-size: 1.1rem;
  padding: 20px 24px;
  color: var(--text-main);
  background-color: #ffffff;
  box-shadow: none !important;
}

.accordion-onebitsolutions .accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: var(--primary-light);
}

/* ==========================================================================
   11. LE DUAL-LAYER WAVE FOOTER & OPEN CTA
   ========================================================================== */
.onebitsolutions-footer-section {
  position: relative;
  background: linear-gradient(180deg, #f7faff 0%, #edf3fc 50%, #e2ecf9 100%);
  padding-top: 70px;
  overflow: hidden;
}

.onebitsolutions-footer-cta-box {
  background: linear-gradient(115deg, #0945cb 0%, #1c0f45 68%, #140833 100%);
  border-radius: 28px;
  padding: 48px 56px 0;
  box-shadow: 0 25px 60px -12px rgba(9, 69, 203, 0.4);
  position: relative;
  overflow: hidden;
  z-index: 10;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.onebitsolutions-footer-cta-box::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(38, 224, 179, 0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.onebitsolutions-footer-cta-box::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: 20%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(56, 30, 229, 0.35) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.onebitsolutions-cta-content {
  position: relative;
  z-index: 2;
  padding-bottom: 44px;
}

.onebitsolutions-cta-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 18px;
}

.cta-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #26e0b3;
  display: inline-block;
  box-shadow: 0 0 8px #26e0b3;
}

.onebitsolutions-cta-heading {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.onebitsolutions-cta-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 620px;
}

.btn-cta-consultant-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: #ffffff;
  color: #0945cb !important;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cta-consultant-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  background: #f8fafc;
  color: #063194 !important;
}

.btn-cta-consultant-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cta-consultant-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  transform: translateY(-2px);
  color: #ffffff !important;
}

.onebitsolutions-cta-hotline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.onebitsolutions-cta-hotline a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.onebitsolutions-cta-hotline a:hover {
  color: #26e0b3;
}

/* Cột Nhân vật tư vấn (Mascot) */
.onebitsolutions-cta-mascot-col {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
}

.onebitsolutions-cta-mascot-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.onebitsolutions-cta-mascot-img {
  max-width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.35));
  transition: transform 0.4s ease;
  display: block;
}

.onebitsolutions-footer-cta-box:hover .onebitsolutions-cta-mascot-img {
  transform: scale(1.02) translateY(-4px);
}

/* Mobile & Tablet */
@media (max-width: 991.98px) {
  .onebitsolutions-footer-cta-box {
    padding: 36px 24px 0;
    border-radius: 22px;
  }

  .onebitsolutions-cta-content {
    padding-bottom: 24px;
  }

  .onebitsolutions-cta-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .onebitsolutions-cta-mascot-img {
    max-height: 300px;
    margin-top: 10px;
  }
}

.onebitsolutions-wave-container {
  position: relative;
  margin-top: 15px;
  padding-top: 170px;
  padding-bottom: 35px;
  overflow: hidden;
}

.onebitsolutions-desktop-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 680px;
  pointer-events: none;
  z-index: 1;
}

.onebitsolutions-mobile-wave {
  display: none;
}

@media (max-width: 991.98px) {
  .onebitsolutions-desktop-wave {
    display: none;
  }

  .onebitsolutions-mobile-wave {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
  }

  .onebitsolutions-wave-container {
    padding-top: 130px;
  }
}



/* Footer Content On Wave */
.onebitsolutions-footer-inner {
  position: relative;
  z-index: 10;
  color: rgba(255, 255, 255, 0.9);
}

.onebitsolutions-footer-brand-row {
  padding-bottom: 24px;
}

.onebitsolutions-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.4px;
}

.onebitsolutions-col-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}

.onebitsolutions-link-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.onebitsolutions-link-list li {
  margin-bottom: 12px;
}

.onebitsolutions-link-list a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.onebitsolutions-link-list a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.text-white-85 {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.65;
}

.dmca-badge-box {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 14px;
}

.dmca-part-1 {
  background: #ffffff;
  color: #381ee5;
  padding: 3px 8px;
}

.dmca-part-2 {
  background: #381ee5;
  color: #ffffff;
  padding: 3px 8px;
}

/* Social Buttons */
.onebitsolutions-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
  margin-bottom: 28px;
}

.onebitsolutions-social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #21006d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.onebitsolutions-social-icon-btn:hover {
  transform: translateY(-4px) scale(1.12);
  background: #00bba7;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 187, 167, 0.45);
}

.onebitsolutions-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 24px;
  font-size: 0.9rem;
}

.onebitsolutions-legal-links a {
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.onebitsolutions-legal-links a:hover {
  color: #ffffff !important;
}

/* 13. Floating Action Right Sidebar (onebitsolutions Authentic Style) */
.floating-quick-bar {
  position: fixed;
  bottom: 40px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.quick-bar-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1), 0 3px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

.quick-bar-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

.quick-bar-btn svg {
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.quick-bar-btn:hover svg {
  transform: scale(1.05);
}

.btn-floating-phone {
  color: #5e17eb;
  font-size: 1.55rem;
}

.btn-floating-phone i {
  color: #5e17eb;
  font-size: 1.55rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.btn-floating-phone:hover i {
  transform: scale(1.08);
}

.btn-floating-phone:hover {
  color: #4a0fd4;
}

/* Phone & Chat pulsing ripple effect (onebitsolutions subtle touch) */
.btn-floating-phone::before,
.btn-floating-chat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid rgba(94, 23, 235, 0.35);
  animation: phoneRingRipple 2.2s infinite ease-out;
  pointer-events: none;
}

.btn-floating-chat.active::before {
  display: none;
}

@keyframes phoneRingRipple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.btn-floating-chat {
  color: #5e17eb;
  font-size: 1.55rem;
}

.btn-floating-chat i {
  color: #5e17eb;
  font-size: 1.55rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.btn-floating-chat:hover i {
  transform: scale(1.08);
}

.btn-floating-chat:hover {
  color: #4a0fd4;
}

/* Backdrop Blur */
#leadModal.modal {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(15, 6, 40, 0.65);
}

.modal-dialog-custom-lead {
  max-width: 530px;
  margin: 1.75rem auto;
}

/* Modal Content Card */
.modal-content-lead {
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 25px 60px -12px rgba(28, 15, 69, 0.3);
  overflow: hidden;
  background: #ffffff;
  position: relative;
}

/* Modal Header */
.modal-header-lead {
  padding: 24px 28px 12px;
  border-bottom: none;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.modal-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.badge-dot-online {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDotOnline 2s infinite ease-in-out;
}

@keyframes pulseDotOnline {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

.badge-response-time {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 600;
  padding: 3px 8px;
  background: #f1f5f9;
  border-radius: var(--radius-full);
}

.modal-title-lead {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.modal-subtitle-lead {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.45;
}

/* Close Button */
.btn-close-lead {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8fafc;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-close-lead:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
  transform: rotate(90deg);
}

/* Form Labels & Inputs */
.form-label-lead {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
  letter-spacing: 0.1px;
}

.input-icon-lead-wrapper {
  position: relative;
}

.input-icon-lead {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.05rem;
  pointer-events: none;
  transition: color var(--transition-fast);
  z-index: 5;
}

.input-icon-lead-textarea {
  top: 13px;
  transform: none;
}

.form-control-lead {
  width: 100%;
  padding: 11px 14px 11px 40px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  transition: all var(--transition-fast);
  outline: none;
  font-family: inherit;
}

.form-control-lead::placeholder {
  color: #94a3b8;
  font-size: 0.86rem;
}

.form-control-lead:hover {
  background-color: #ffffff;
  border-color: #cbd5e1;
}

.form-control-lead:focus {
  background-color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3.5px rgba(99, 36, 235, 0.12);
}

.input-icon-lead-wrapper:focus-within .input-icon-lead {
  color: var(--primary-color);
}

.form-select-lead {
  cursor: pointer;
  padding-left: 42px !important;
  padding-right: 40px !important;
  background-position: right 14px center;
  background-size: 16px 12px;
  line-height: 1.5;
}

/* ==========================================================================
   CUSTOM SELECT DROPDOWN (Giao diện tùy biến cao cấp)
   ========================================================================== */
.custom-select-box {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  padding-left: 42px !important;
  padding-right: 16px !important;
  min-height: 46px;
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  transition: all var(--transition-fast);
  outline: none;
}

.custom-select-trigger:hover {
  background-color: #ffffff;
  border-color: #cbd5e1;
}

.custom-select-box.is-open .custom-select-trigger {
  background-color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3.5px rgba(99, 36, 235, 0.12);
}

.custom-select-value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 10px;
}

.custom-select-value.is-placeholder {
  color: #94a3b8;
}

.custom-select-arrow {
  color: #64748b;
  font-size: 0.8rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
  margin-left: auto;
}

.custom-select-box.is-open .custom-select-arrow {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14), 0 4px 14px rgba(15, 23, 42, 0.06);
  max-height: none;
  overflow: visible;
  z-index: 1070;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.2s ease;
}

.custom-select-box.is-open .custom-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Custom Scrollbar cho dropdown */
.custom-select-dropdown::-webkit-scrollbar {
  width: 5px;
}

.custom-select-dropdown::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 8px;
}

.custom-select-dropdown::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 8px;
}

.custom-select-dropdown::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.custom-select-option {
  padding: 10px 14px 10px 16px;
  font-size: 0.9rem;
  color: #334155;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1.4;
  margin-bottom: 2px;
}

.custom-select-option:hover {
  background-color: #f1f5f9;
  color: #0f172a;
  font-weight: 600;
}

.custom-select-option.is-selected {
  background-color: rgba(0, 187, 167, 0.12);
  color: #008778;
  font-weight: 700;
}

.custom-select-option.is-selected::after {
  content: '✓';
  font-size: 0.88rem;
  color: #00bba7;
  font-weight: 800;
  margin-left: 8px;
}

.form-textarea-lead {
  resize: vertical;
  min-height: 72px;
}

/* Submit CTA Button */
.btn-lead-submit-simple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #6324eb 0%, #381ee5 55%, #00bba7 100%);
  background-size: 200% auto;
  box-shadow: 0 8px 22px rgba(99, 36, 235, 0.32);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-lead-submit-simple:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(99, 36, 235, 0.42);
  color: #ffffff;
}

.btn-lead-submit-simple:hover .btn-lead-icon {
  transform: translateX(4px);
}

.btn-lead-icon {
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
}

.btn-lead-submit-simple:active {
  transform: translateY(1px);
}

.btn-lead-submit-simple:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Trust Features Bar */
.form-trust-pills {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.trust-pill-item {
  display: inline-flex;
  align-items: center;
}

.trust-divider {
  color: #cbd5e1;
}

/* Feedback Alert Card */
.form-feedback-card {
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.45;
  animation: feedbackSlideIn 0.3s ease-in-out;
}

.form-feedback-success {
  background-color: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  color: #065f46;
}

.form-feedback-error {
  background-color: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #991b1b;
}

@keyframes feedbackSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== MODAL SUCCESS STATE & ANIMATED CHECKMARK ==================== */
.lead-success-state {
  animation: successFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes successFadeIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Animated SVG Circular Checkmark */
.success-checkmark-wrapper {
  width: 84px;
  height: 84px;
  margin: 6px auto 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-checkmark-svg {
  width: 84px;
  height: 84px;
  overflow: visible;
}

/* Outer glowing pulse */
.checkmark-pulse-ring {
  fill: rgba(0, 187, 167, 0.1);
  stroke: rgba(0, 187, 167, 0.3);
  stroke-width: 2;
  transform-origin: center;
  animation: pulseRingBurst 2s ease-out infinite;
}

@keyframes pulseRingBurst {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }

  60% {
    transform: scale(1.3);
    opacity: 0;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Circle stroke draw */
.checkmark-circle {
  fill: none;
  stroke: #00bba7;
  stroke-width: 4;
  stroke-dasharray: 230;
  stroke-dashoffset: 230;
  stroke-linecap: round;
  animation: drawCircle 0.65s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

@keyframes drawCircle {
  100% {
    stroke-dashoffset: 0;
  }
}

/* Tick check draw */
.checkmark-check {
  fill: none;
  stroke: #00bba7;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawCheck 0.45s cubic-bezier(0.65, 0, 0.45, 1) 0.55s forwards;
}

@keyframes drawCheck {
  100% {
    stroke-dashoffset: 0;
  }
}

.success-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
}

.success-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.55;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.success-summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: #334155;
}

.success-summary-box .summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-onebit-modal-done {
  background: linear-gradient(135deg, #00bba7 0%, #009383 100%);
  color: #ffffff;
  font-weight: 700;
  min-width: 180px;
  padding: 12px 32px;
  border-radius: 12px;
  border: none;
  font-size: 0.98rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 187, 167, 0.3);
}

.btn-onebit-modal-done:hover {
  background: #008778;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 187, 167, 0.45);
}

@media (max-width: 575.98px) {
  .modal-dialog-custom-lead {
    margin: 12px;
  }

  .modal-header-lead {
    padding: 20px 20px 10px;
  }
}

/* ==========================================================================
   INTERACTIVE CURSOR FOLLOWER (Chấm tròn nhỏ gọn lướt theo chuột)
   ========================================================================== */
@media (pointer: fine) {
  .cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    margin-left: -6px;
    border-radius: 50%;
    background-color: #00bba7;
    box-shadow: 0 0 10px rgba(0, 187, 167, 0.75), 0 0 18px rgba(0, 187, 167, 0.35);
    pointer-events: none;
    z-index: 99990;
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .cursor-follower.is-visible {
    opacity: 1;
    visibility: visible;
  }
}

@media (pointer: coarse) {
  .cursor-follower {
    display: none !important;
  }
}

/* ==========================================================================
   COOKIE CONSENT BANNER (Full-width Glassmorphic Bottom Bar)
   ========================================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1045;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 187, 167, 0.22);
  box-shadow: 0 -10px 35px rgba(28, 15, 69, 0.08),
              0 -1px 3px rgba(0, 0, 0, 0.03);
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease,
              visibility 0.45s;
  pointer-events: none;
}

.cookie-consent-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #6324eb 0%, #00bba7 50%, #26e0b3 100%);
  z-index: 1;
}

.cookie-consent-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-consent-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.cookie-consent-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.cookie-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 187, 167, 0.16) 0%, rgba(99, 36, 235, 0.12) 100%);
  border: 1px solid rgba(0, 187, 167, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00bba7;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 187, 167, 0.12);
}

.cookie-consent-text {
  flex: 1;
  min-width: 0;
}

.cookie-consent-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.cookie-consent-title {
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 0;
  color: #1c0f45;
  line-height: 1.3;
}

.cookie-consent-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #008b7a;
  background: rgba(0, 187, 167, 0.12);
  border: 1px solid rgba(0, 187, 167, 0.25);
  border-radius: 6px;
  padding: 2px 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
}

.cookie-consent-desc {
  font-size: 0.86rem;
  line-height: 1.5;
  color: #555e70;
  margin-bottom: 0;
}

.cookie-policy-link {
  color: #00bba7;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 6px;
  transition: color 0.2s ease;
}

.cookie-policy-link:hover {
  color: #6324eb;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie-decline {
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-cookie-decline:hover {
  background: #f1f5f9;
  color: #1e293b;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.btn-cookie-accept {
  padding: 9px 24px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #00bba7 0%, #009688 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 187, 167, 0.32);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cookie-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 187, 167, 0.45);
  background: linear-gradient(135deg, #00c7b2 0%, #00a492 100%);
}

.cookie-btn-close {
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-size: 0.85rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-left: 4px;
}

.cookie-btn-close:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #e2e8f0;
}

/* Tự động nâng nhẹ Quick Bar khi Banner Cookie đang mở để tránh che lấp */
body:has(#cookieConsentBanner.show) .floating-quick-bar,
body.cookie-banner-active .floating-quick-bar {
  bottom: 95px;
}