/* Extracted from templates/landing.html */
:root {
  --glass-bg: #ffffff;
  --glass-border: rgba(255, 255, 255, 0.8);
  --color-ai: #6366f1; /* Indigo - Intelligence */
  --color-hsk: #10b981; /* Emerald - Growth */
  --color-social: #0ea5e9; /* Sky - Community */
  --color-image: #f59e0b; /* Amber - Creativity */
  --color-game: #f43f5e; /* Rose - Excitement */
  --color-speak: #8b5cf6; /* Violet - Wisdom */
}

/* Tăng độ bão hòa cho màu nền chính */
.landing-page {
  overflow-x: clip;
  width: 100%;
  position: relative;
  background-color: #cbd5e1; /* Slate 300 - Grounded background */
}

/* Global block scrollbars for this page specifically */
body {
  overflow-x: hidden !important;
  background-color: #cbd5e1 !important; /* Đồng bộ với landing-page background */
  color: #1e293b;
}

/* Vibrant Multi-color Background Mash - Tăng độ đậm của các đốm màu */
.hero-wrapper {
  background: #ffffff;
  background-image:
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(244, 63, 94, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(16, 185, 129, 0.08) 0px, transparent 50%);
  border-radius: 3.5rem;
  position: relative;
  overflow: clip !important;
  contain: paint;
  border: 1px solid #e2e8f0;
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.05),
    0 30px 60px -30px rgba(0, 0, 0, 0.1);
}

.gradient-text {
  background: linear-gradient(135deg, #1e293b 0%, #4338ca 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-icon-wrapper {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: white;
  font-size: 1.75rem;
}

.bg-ai {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.35);
}
.bg-hsk {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.35);
}
.bg-social {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.35);
}
.bg-image {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.35);
}
.bg-game {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.35);
}
.bg-speak {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 12px 24px rgba(139, 92, 246, 0.35);
}

.feature-card {
  background: #ffffff;
  border: none !important;
  border-radius: 2.5rem !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.05),
    0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12) !important;
}

.section-white {
  background-color: #e2e8f0; /* Slate 200 - Contrast against Cards but darker than before */
  border-radius: 4rem;
  padding: 6rem 0;
  margin-bottom: 6rem;
  border: 1px solid #cbd5e1;
}

.feature-card {
  background: #ffffff;
  border: none !important;
  border-radius: 2.5rem !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.08),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.transform-rotate-3 {
  transform: rotate(3deg);
}

.floating-icon {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translatey(0px) rotate(-15deg);
  }
  50% {
    transform: translatey(-20px) rotate(-10deg);
  }
  100% {
    transform: translatey(0px) rotate(-15deg);
  }
}

.cta-section {
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  border-radius: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.3);
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  transform: rotate(30deg);
}

/* Numbers/Stats Section - Elegant Minimalism */
.stats-card {
  padding: 1.5rem;
  transition: all 0.3s ease;
  border-radius: 1.5rem;
}

/* Removed highlight/hover effect for stats to keep them subtle */
.stats-card:hover {
  background: transparent;
  transform: none;
}

.stats-divider {
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(30, 41, 59, 0.4), rgba(30, 41, 59, 0.4), transparent);
  margin: 0;
}

.stats-vertical-divider {
  border-right: 1px solid rgba(30, 41, 59, 0.15);
}

@media (max-width: 768px) {
  .stats-vertical-divider {
    border-right: none;
    border-bottom: 1px solid rgba(30, 41, 59, 0.05);
    padding-bottom: 1.5rem;
  }
}

/* --- New stat cards ---------------------------------------- */
.stats-card-new {
  background: #ffffff;
  border-radius: 2rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.05), 0 4px 6px -2px rgba(0,0,0,.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-card-new:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(0,0,0,.1);
}

.stats-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.display-3 {
  letter-spacing: -1px;
}

/* Hero app mock wrapper — provides stacking context for floating chips */
.hero-mock-wrap {
  padding: 24px 0 24px;
}

@media (max-width: 768px) {
  .hero-mock-wrap {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .hero-wrapper {
    margin-top: 1rem;
    border-radius: 2rem;
    padding-top: 2rem;
    min-height: auto !important;
  }
  .hero-wrapper .badge {
    white-space: normal;
    line-height: 1.5;
    max-width: 100%;
  }
}
