/* ===== Biến và reset ===== */
:root {
  --primary-gradient: linear-gradient(125deg, #3a70ff, #9f7aff);
  --primary-light: #5f7fff;
  --glass-bg: rgba(10, 20, 40, 0.4);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-light: #f0f3ff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --shadow-dark: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(58, 112, 255, 0.3);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, system-ui, sans-serif;
}

body::-webkit-scrollbar {
  display: none;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at 30% 10%, #0b0f1c, #5d616e);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ===== Nền liquid glass động ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(100, 150, 255, 0.25) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 120, 200, 0.2) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(0, 255, 200, 0.15) 0%,
      transparent 40%
    );
  filter: blur(50px);
  animation: liquidMove 18s infinite alternate ease-in-out;
}

@keyframes liquidMove {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.2) rotate(3deg);
    opacity: 1;
  }
  100% {
    transform: scale(0.9) rotate(-3deg);
    opacity: 0.7;
  }
}

/* ===== Parallax background layer ===== */
.parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" /><circle cx="20" cy="20" r="1.5" fill="white" opacity="0.2"/><circle cx="80" cy="50" r="1" fill="white" opacity="0.2"/><circle cx="45" cy="85" r="1.2" fill="white" opacity="0.2"/></svg>');
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
  transform: translateY(0);
  will-change: transform;
}

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 2;
}

/* ===== HEADER CẢI TIẾN ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(10, 20, 40, 0.3);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 20, 40, 0.8);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.9rem;
  font-weight: 700;
  background: linear-gradient(135deg, #a5d8ff, #c0b7ff, #ffb3da);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px;
  transition: 0.3s;
  text-decoration: none;
}

.logo .logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 12px;
  color: white;
  font-size: 1.5rem;
  transform: rotate(-5deg);
  transition: 0.3s;
}

.logo:hover .logo-icon {
  transform: rotate(0deg) scale(1.1);
  box-shadow: var(--shadow-glow);
}

.logo span {
  background: linear-gradient(145deg, gold, #ffb3ba);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Desktop navigation */
.nav-links {
  display: flex;
  gap: 15px;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(5px);
  transition: 0.25s;
  border: 1px solid transparent;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 30px;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 18px rgba(0, 30, 70, 0.3);
  transform: translateY(-3px);
}

.nav-link.active {
  background: rgba(58, 112, 255, 0.15);
  border-color: rgba(58, 112, 255, 0.4);
  color: white;
}

/* Hamburger button */
.hamburger {
  display: none;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  background: rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  padding: 20px;
  border-radius: 0 0 30px 30px;
  gap: 15px;
  margin-top: -10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(-20px);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  pointer-events: none;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  display: flex;
}

.mobile-menu .nav-link {
  color: white;
  text-decoration: none;
  padding: 15px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-weight: 500;
  transition: 0.2s;
  width: 100%;
}

.mobile-menu .nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.02);
}

/* ===== HERO CẢI TIẾN ===== */
.hero {
  padding: 80px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  animation: fadeUp 1.2s ease;
}

.hero-badge {
  margin-bottom: 20px;
}

.badge-pulse {
  display: inline-block;
  padding: 6px 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 40px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  font-size: 0.9rem;
  font-weight: 600;
  color: gold;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.text-animate {
  background: linear-gradient(145deg, #ffffff, #b7dcff, #dccdff, #ffffff);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientFlow 6s ease infinite;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gradient-text {
  background: linear-gradient(45deg, gold, #ffa07a, #ffb6c1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-muted);
  max-width: 500px;
  backdrop-filter: blur(4px);
  background: rgba(0, 10, 25, 0.2);
  padding: 15px 25px;
  border-radius: 60px;
  border: 1px solid var(--glass-border);
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-dark);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-gradient);
  border: none;
  color: white;
  font-weight: 700;
  box-shadow: 0 10px 25px #3a70ff70;
}

.btn-primary:hover {
  transform: scale(1.06) translateY(-5px);
  box-shadow: 0 20px 35px #5f7fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
  border-color: white;
}

.hero-stats-mini {
  display: flex;
  gap: 30px;
}

.mini-stat {
  display: flex;
  flex-direction: column;
}

.mini-stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(145deg, gold, #ffb6c1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mini-stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== 3D CUBE TRONG HERO ===== */
.cube-container {
  position: absolute;
  width: 180px;
  height: 180px;
  perspective: 1000px;
  z-index: 15;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 15s infinite linear;
  transition: transform 0.3s ease;
}

.face {
  position: absolute;
  width: 180px;
  height: 180px;
  background: linear-gradient(
    145deg,
    rgba(58, 112, 255, 0.6),
    rgba(159, 122, 255, 0.6)
  );
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 40px rgba(58, 112, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  border-radius: 10px;
}

/* Mỗi mặt có thể thêm icon hoặc chữ nhẹ */
.front::after {
  content: "💰";
}
.back::after {
  content: "📈";
}
.right::after {
  content: "🔗";
}
.left::after {
  content: "⭐";
}
.top::after {
  content: "🚀";
}
.bottom::after {
  content: "💎";
}

.face::after {
  font-size: 2.5rem;
  opacity: 0.9;
}

.front {
  transform: translateZ(90px);
}
.back {
  transform: rotateY(180deg) translateZ(90px);
}
.right {
  transform: rotateY(90deg) translateZ(90px);
}
.left {
  transform: rotateY(-90deg) translateZ(90px);
}
.top {
  transform: rotateX(90deg) translateZ(90px);
}
.bottom {
  transform: rotateX(-90deg) translateZ(90px);
}

@keyframes rotateCube {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

/* Điều chỉnh floating shapes để không lấn át cube */
.floating-shape {
  opacity: 0.4;
  filter: blur(8px);
}

.glass-orb {
  opacity: 0.5;
  filter: blur(40px);
}

/* Responsive cho cube */
@media (max-width: 992px) {
  .cube-container {
    width: 140px;
    height: 140px;
  }
  .face {
    width: 140px;
    height: 140px;
  }
  .front {
    transform: translateZ(70px);
  }
  .back {
    transform: rotateY(180deg) translateZ(70px);
  }
  .right {
    transform: rotateY(90deg) translateZ(70px);
  }
  .left {
    transform: rotateY(-90deg) translateZ(70px);
  }
  .top {
    transform: rotateX(90deg) translateZ(70px);
  }
  .bottom {
    transform: rotateX(-90deg) translateZ(70px);
  }
}

@media (max-width: 768px) {
  .cube-container {
    width: 120px;
    height: 120px;
  }
  .face {
    width: 120px;
    height: 120px;
  }
  .front {
    transform: translateZ(60px);
  }
  .back {
    transform: rotateY(180deg) translateZ(60px);
  }
  .right {
    transform: rotateY(90deg) translateZ(60px);
  }
  .left {
    transform: rotateY(-90deg) translateZ(60px);
  }
  .top {
    transform: rotateX(90deg) translateZ(60px);
  }
  .bottom {
    transform: rotateX(-90deg) translateZ(60px);
  }
}

/* ! Margin Section */
.solution,
.why-us,
.income,
.how-it-works {
  text-align: center;
  margin: 50px 0 20px;
}

/* ! Section */
.section-title {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 900;
  position: relative;
  display: inline-block;
  margin-bottom: 70px;
  display: flex;
  justify-content: center;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  border-radius: 3px;
  background: var(--primary-gradient);
}

/* Hero visual - hình khối nổi */
.hero-visual {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-shape {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: linear-gradient(
    145deg,
    rgba(58, 112, 255, 0.2),
    rgba(159, 122, 255, 0.2)
  );
  filter: blur(5px);
  animation: float 6s infinite alternate ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.shape-1 {
  top: 10%;
  left: 10%;
  width: 200px;
  height: 200px;
  animation-delay: 0s;
}

.shape-2 {
  bottom: 10%;
  right: 10%;
  width: 250px;
  height: 250px;
  background: linear-gradient(
    145deg,
    rgba(255, 120, 200, 0.2),
    rgba(100, 150, 255, 0.2)
  );
  animation-delay: 1s;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.shape-3 {
  top: 40%;
  right: 20%;
  width: 180px;
  height: 180px;
  background: linear-gradient(
    145deg,
    rgba(0, 255, 200, 0.15),
    rgba(58, 112, 255, 0.15)
  );
  animation-delay: 2s;
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
}

.glass-orb {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.3),
    rgba(58, 112, 255, 0.2),
    transparent 70%
  );
  filter: blur(30px);
  animation: orbPulse 5s infinite alternate;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-30px) rotate(10deg);
  }
}

@keyframes orbPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.2);
    opacity: 0.9;
  }
}

/* ===== SERVICES (3D cards) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 35px;
  margin: 50px 0;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  padding: 40px 25px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  box-shadow: var(--shadow-dark);
  transform-style: preserve-3d;
  perspective: 1000px;
  transform: rotateX(2deg) rotateY(0deg) scale(1);
  will-change: transform;
}

.service-card:hover {
  transform: rotateX(5deg) rotateY(8deg) scale(1.05) translateY(-12px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow:
    0 30px 50px -15px #3a70ff,
    0 0 0 2px rgba(255, 255, 255, 0.1);
  background: rgba(25, 40, 70, 0.6);
}

.service-card i {
  font-size: 3.5rem;
  background: linear-gradient(145deg, #ffd966, #a8d8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
  transition: 0.3s;
  filter: drop-shadow(0 5px 15px #80aaff);
}

.service-card:hover i {
  transform: scale(1.15) translateZ(15px);
}

/* ===== STATS giữ nguyên ===== */
.stats-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  background: rgba(0, 10, 25, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 80px;
  padding: 40px 20px;
  margin: 80px 0;
  border: 1px solid var(--glass-border);
}

/* ===== FEATURES giữ nguyên ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin: 50px 0;
}

/* ===== FOOTER CẢI TIẾN ===== */
.footer {
  background: rgba(5, 10, 20, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 20px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  background: linear-gradient(145deg, #a5d8ff, #c0b7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.9rem;
  font-weight: 700;
  background: linear-gradient(135deg, #a5d8ff, #c0b7ff, #ffb3da);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 15px;
}

.footer-logo .logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 12px;
  color: white;
  font-size: 1.5rem;
}

.footer-logo span {
  background: linear-gradient(145deg, gold, #ffb3ba);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-description {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: white;
  font-size: 1.2rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-gradient);
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  position: relative;
}

.footer-links a::before {
  content: "›";
  margin-right: 8px;
  color: var(--primary-light);
  opacity: 0;
  transform: translateX(-5px);
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.newsletter-form {
  display: flex;
  margin: 15px 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  background: transparent;
  border: none;
  color: white;
  font-size: 0.95rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  background: var(--primary-gradient);
  border: none;
  color: white;
  padding: 0 20px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.newsletter-form button:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.footer-contact p {
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: var(--primary-light);
  width: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: white;
}

/* ===== SCROLL TO TOP BUTTON ===== (giữ nguyên) */
#scrollTopBtn {
  position: fixed;
  bottom: 35px;
  right: 35px;
  width: 60px;
  height: 60px;
  border-radius: 30px;
  background: rgba(20, 30, 55, 0.7);
  backdrop-filter: blur(12px);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 10px 25px #00000060;
  z-index: 999;
  border: 1px solid rgba(255, 215, 0, 0.4);
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#scrollTopBtn:hover {
  background: var(--primary-gradient);
  transform: scale(1.15) rotate(360deg);
  border-color: white;
  box-shadow: 0 0 30px #ffd966;
}

#scrollTopBtn::before,
#scrollTopBtn::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary-gradient);
  animation: ripple 2s infinite;
  z-index: -1;
}

#scrollTopBtn::after {
  animation-delay: 1s;
}

/* Keyframes */
@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(2.2);
    opacity: 0;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}
/* ===== POPUP ===== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: rgba(15, 25, 45, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: 0.3s;
}

.popup-overlay.active .popup-content {
  transform: scale(1);
}

.popup-overlay .btn {
  width: 100%;
  justify-content: center;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background: rgba(13, 27, 54, 0.1);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.popup-close:hover {
  background: var(--accent-orange);
  color: white;
  transform: rotate(90deg);
}
/* ===== RIPPLE EFFECT ===== (giữ nguyên) */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    order: 1;
  }
  .hero-visual {
    order: 0;
    height: 300px;
    margin-bottom: 30px;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-stats-mini {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .stats-row {
    border-radius: 40px;
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }
  .btn {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.6rem;
    text-align: center;
  }
  .hero-stats-mini {
    flex-wrap: wrap;
    gap: 15px;
  }
}

/* ===== PAIN POINTS ===== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.pain-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
}

.pain-item:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 75, 75, 0.3);
  box-shadow: 0 20px 30px -10px #ff4b4b40;
}

.pain-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #ff6b6b;
}

.pain-item h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: white;
}

.pain-item p {
  color: var(--text-muted);
  line-height: 1.5;
}

.pain-conclusion {
  text-align: center;
  margin: 50px 0 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 60px;
  font-size: 1.4rem;
  border: 1px dashed gold;
}

.pain-conclusion strong {
  color: gold;
}

/* ===== SOLUTION ===== */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.solution-item {
  background: rgba(58, 112, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(58, 112, 255, 0.3);
  border-radius: 40px;
  padding: 40px 20px;
  text-align: center;
  transition: var(--transition);
}

.solution-item:hover {
  background: rgba(58, 112, 255, 0.2);
  transform: scale(1.02) translateY(-8px);
  border-color: #3a70ff;
}

.solution-icon {
  font-size: 3.5rem;
  margin-bottom: 15px;
  background: linear-gradient(145deg, #3a70ff, #9f7aff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.solution-item h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

/* ===== HOW IT WORKS (STEPS) ===== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 800px;
  margin: 50px auto;
}

.step {
  display: flex;
  align-items: start;
  justify-content: flex-start;
  gap: 30px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(5px);
  border: 1px solid var(--glass-border);
  border-radius: 80px;
  padding: 20px 30px;
  transition: var(--transition);
}

.step:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(10px);
  border-color: gold;
}

.step-number {
  width: 70px;
  height: 70px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 10px 20px #3a70ff80;
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  text-align: start;
}

.step-content p {
  color: var(--text-muted);
  text-align: start;
}

.steps-cta {
  text-align: center;
  margin: 40px 0;
}

/* ===== INCOME TABLE ===== */
.income-table-wrapper {
  overflow-x: auto;
  margin: 30px 0;
}

.income-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  border-style: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.income-table th {
  background: rgba(58, 112, 255, 0.3);
  padding: 18px 15px;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
}

.income-table td {
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.income-table tr:last-child td {
  border-bottom: none;
}

.income-table td:first-child {
  font-weight: 600;
  color: gold;
}

.income-mockup {
  text-align: center;
}

.mockup-caption {
  margin-top: 10px;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== WHY US (thay thế features cũ) ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.why-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
}

.why-item:hover {
  transform: translateY(-10px);
  border-color: #3a70ff;
  box-shadow: 0 20px 30px -10px #3a70ff80;
}

.why-icon {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: #5f7fff;
}

.why-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* ===== FAQ ===== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.faq-item {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 25px;
  transition: var(--transition);
}

.faq-item:hover {
  background: rgba(58, 112, 255, 0.1);
  border-color: #3a70ff;
}

.faq-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: gold;
}

.faq-item p {
  color: var(--text-muted);
}

/* ===== FINAL CTA ===== */
.cta-final {
  background: linear-gradient(145deg, #1e2a5a, #0d1b3a);
  padding: 80px 20px;
  margin: 60px 0;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 50px #3a70ff60;
}

.cta-final h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-final p {
  font-size: 1rem;
  margin-bottom: 30px;
  color: #ddd;
}

.btn-large {
  padding: 20px 60px;
  font-size: 1.2rem;
  border-radius: 60px;
}

/* ===== RESPONSIVE cho các section mới ===== */
@media (max-width: 768px) {
  .step {
    flex-direction: column;
    text-align: center;
    border-radius: 40px;
  }
  .step-number {
    margin-bottom: 10px;
  }
  .feedback-item {
    flex-direction: column;
    text-align: center;
  }
  .cta-final h2 {
    font-size: 2rem;
  }
  .btn-large {
    padding: 15px 40px;
    font-size: 1.2rem;
  }
}
