.newsletter-send-btn {
  margin-left: 10px !important;
  background: #2563eb !important;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 0 32px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
  height: 48px;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  margin-right: 0;
  margin-top: 6px;
  box-shadow: 0 2px 8px 0 rgba(233,30,99,0.09);
}
.newsletter-send-btn:hover {
  background: #2563eb !important;
  color: #fff !important;
  border: none !important;
  border-radius: 16px !important;
  padding: 0 32px !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 90px !important;
  margin: 0 !important;
  box-shadow: 0 2px 8px 0 rgba(233,30,99,0.09) !important;
  outline: none !important;
}
.newsletter-send-btn:hover {
  background: #c2185b !important;
  color: #fff !important;
}

/* Remove default .btn styles for .newsletter-send-btn */
.newsletter-send-btn.btn,
.newsletter-send-btn.btn-secondary {
  background: #2563eb !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 2px 8px 0 rgba(233,30,99,0.09) !important;
}
.newsletter {
  flex: 1 1 0;
  min-width: 260px;
  max-width: 400px;
  margin-left: 0;
  margin-right: auto;
}
.newsletter-form {
  width: 100%;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.form-group {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.form-input {
  flex: 1;
  min-width: 0;
  padding: 14px 20px;
  border: 2px solid #2563eb;
  border-radius: 16px;
  font-size: 16px;
  height: 48px;
  box-sizing: border-box;
}
.btn.btn-secondary {
  height: 48px;
  padding: 0 32px;
  border-radius: 16px;
  font-size: 16px;
  margin: 0;
  min-width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  background-color: transparent;
  color: var(--color-neutral-darkest);
  border: 1px solid var(--color-neutral-darkest);
  box-shadow: none;
}
.newsletter-disclaimer {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .footer-column, .newsletter {
    width: 100%;
    max-width: 400px;
    text-align: center;
  }
  .newsletter-form {
    align-items: center;
  }
  .form-group {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .btn.btn-secondary, .form-input {
    width: 100%;
    min-width: 0;
    border-radius: 16px;
  }
}
.newsletter-form {
  width: 100%;
}
.form-group {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.form-input {
  flex: 1;
  min-width: 0;
  padding: 14px 20px;
  border: 2px solid #2563eb;
  border-radius: 16px;
  font-size: 16px;
  height: 48px;
  box-sizing: border-box;
}
.btn.btn-secondary {
  height: 48px;
  padding: 0 32px;
  border-radius: 16px;
  font-size: 16px;
  margin: 0;
  min-width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.btn.btn-secondary {
  height: 48px;
  padding: 0 32px;
  border-radius: 16px;
  font-size: 16px;
  margin: 0;
  min-width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;     /* Đảm bảo nút căn giữa theo chiều cao input */
}
.form-group {
  display: flex;
  width: 100%;
  align-items: center;    /* Đảm bảo input và nút luôn căn giữa theo chiều cao */
  gap: 12px;
  font-size: 16px;
  justify-content: flex-start;
}
.form-input {
  flex: 1;                /* Input chiếm hết phần còn lại */
  padding: 14px 20px;
  border: 2px solid #2563eb;
  border-radius: 16px;
  font-size: 16px;
  height: 48px;
  box-sizing: border-box;
  min-width: 100px;
}
.form-input::placeholder {
  color: #b97a98;
  opacity: 1;
  font-size: 15px;
}
/* Footer improvements */
.footer-social-link {
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s;
}
.footer-social-link:hover {
  transform: scale(1.15);
  filter: brightness(1.2);
}
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    
  }
  .footer-column {
    width: 100%;
    max-width: 400px;
    text-align: center;
  }
}
.form-input:focus {
  background: #fff;
  box-shadow: 0 0 0 2px #2563eb33;
}
#newsletter-message {
  color: #2563eb;
  font-weight: 500;
}
/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==== Footer Custom Styles ==== */
.footer-logo {
  width: 420px;
  max-width: 90vw;
  display: block;
  margin: 0 auto 28px auto;
  height: auto;
}
.footer-desc {
  text-align: center;
  font-size: 26px;
}
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-link {
  color: #222;
  text-decoration: none !important;
  font-size: 15px;
  transition: color 0.2s;
}
.footer-link:hover {
  color: #2563eb;
  text-decoration: none !important;
}
.footer-link-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 7px;
}
.footer-socials {
  display: flex;
  gap: 22px;
  margin-top: 18px;
}
.footer-social-link img {
  width: 32px;
  height: 32px;
}
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-link img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease-in-out;
}
.social-link:hover img {
  transform: scale(1.1);
}
.newsletter-form {
  margin-top: 12px;
}
.form-group {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.form-input {
  flex: 1;
  min-width: 0;
  padding: 14px 20px;
  border: 2px solid #2563eb;
  border-radius: 16px;
  font-size: 16px;
  height: 48px;
  box-sizing: border-box;
}

.form-input::placeholder {
  color: #b97a98;
  opacity: 1;
  font-size: 15px;
}

.btn.btn-secondary {
  height: 48px;
  padding: 0 32px;
  border-radius: 16px;
  font-size: 16px;
  margin: 0;
  min-width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center; /* Ensure button is centered vertically with input */
  
}

/* ==== Newsletter Send Button Styles ==== */
.newsletter-send-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 32px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
  height: 48px;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  margin-right: 0;
  margin-top: 6px;
  box-shadow: 0 2px 8px 0 rgba(233,30,99,0.09);
}
.newsletter-send-btn:hover {
  background-color: var(--color-neutral-darkest);
  color: var(--color-white);
}
.newsletter-disclaimer {
  font-size: 12px;
  color: #888;
}
/* Animations and Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.3);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Scroll-based animations */
@media (prefers-reduced-motion: no-preference) {
  /* Keep sections visible by default; only apply animation if supported */
  .section {
    animation: fadeInUp 0.8s ease-out 0.3s both;
  }
  
  .section:nth-child(even) {
    animation-delay: 0.5s;
  }
  
  .section:nth-child(odd) {
    animation-delay: 0.4s;
  }
}

/* Design Tokens */
:root {
  /* Colors */
  --color-scheme-1-background: #ffffff; /* white page background */
  --color-scheme-1-text: #0b1020;      /* dark text on white */
  --color-scheme-1-border: #00000026;
  --color-neutral-darkest: #0b1020;
  --color-white: #fff;
  --text-primary: var(--color-scheme-1-text);

  /* Brand & gradients */
  --brand-primary-500: #2563eb; /* blue-600 */
  --brand-primary-600: #1d4ed8; /* blue-700 */
  --brand-accent-500: #2563eb; /* accent pink */
  --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #1e40af 25%, #2563eb 50%, #3b82f6 75%, #60a5fa 100%);
  --overlay-dark: linear-gradient(180deg, rgba(6,10,26,0.25) 0%, rgba(6,10,26,0.45) 100%);

  /* Typography scale */
  --text-sizes-heading-1: 56px;
  --text-sizes-heading-2: 44px;
  --text-sizes-heading-3: 36px;
  --text-sizes-heading-4: 28px;
  --text-sizes-heading-5: 24px;
  --text-sizes-heading-6: 20px;
  --text-sizes-text-regular: 16px;
  --text-sizes-text-medium: 18px;
  --text-sizes-text-small: 14px;
  --text-sizes-text-tiny: 12px;

  /* Spacing scale */
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --page-padding-padding-global: var(--space-64);
  --section-padding-padding-section-large: 112px;
  --section-padding-padding-section-medium: 80px;

  /* Container */
  --container-container-large: 1280px;
  --max-width-max-width-large: 768px;

  /* Shadows */
  --shadow-1: 0 8px 24px rgba(0,0,0,0.18);
  --shadow-2: 0 16px 48px rgba(0,0,0,0.28);
}

/* CSS Reset for Mobile */
* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  height: 100%;
}

#root {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Base Typography */
body {
  font-family: Roboto, -apple-system, Helvetica, Arial, sans-serif;
  color: var(--color-scheme-1-text);
  background-color: var(--color-scheme-1-background);
  background-image: none;
  line-height: 1.6;
  padding-top: 0; /* Remove padding-top để tránh conflict với navbar fixed */
  text-rendering: optimizeLegibility;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
  overflow-x: hidden;
}

@media (max-width: 1024px) {
  body {
    background-attachment: scroll; /* better perf on mobile */
  }
}

/* Layout Utilities */
.container {
  max-width: var(--container-container-large);
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: var(--section-padding-padding-section-large)
    var(--page-padding-padding-global);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: calc(100% - 40px);
  margin: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-1);
  border: 1px solid var(--color-scheme-1-border);
  animation: fadeInUp 0.8s ease-out;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Mobile optimized section layout */
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
    max-width: 100%;
  }
  
  .section {
    width: calc(100% - 16px);
    margin: 8px;
    padding: 32px 12px;
    border-radius: 16px;
  }
  
  .section-heading {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  
  .section-text {
    font-size: 15px;
    line-height: 1.5;
    margin-top: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 4px;
    max-width: 100%;
  }
  
  .section {
    width: calc(100% - 8px);
    margin: 4px;
    padding: 24px 8px;
    border-radius: 12px;
  }
  
  .section-heading {
    font-size: 1.5rem;
    line-height: 1.1;
  }
  
  .section-text {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 12px;
  }
}

.section:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

/* Section backgrounds with gradients */
/* Default section background using brand gradient */
.section {
  background: var(--gradient-primary);
  color: var(--color-white);
}

/* White background section variant */
.section--white {
  background: var(--color-scheme-1-background);
  color: var(--color-scheme-1-text);
}

.section--white::before {
  background: none;
}

/* Add particles effect to sections */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-dark);
  opacity: 1;
  z-index: 1;
}

.section > * {
  position: relative;
  z-index: 2;
}

.section-medium {
  padding: var(--section-padding-padding-section-medium)
    var(--page-padding-padding-global);
}

/* Hero Section: căn lề nội dung sang hai bên */
.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  /* remove invalid negative padding; use margins in children if needed */
}
.hero-text, .hero-visual {
  flex: 1 1 0;
}

/* Guardian Section: làm to hai hình ảnh workflow */
.workflow-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 32px 0;
  max-width: 4500px;
  width: 1000px;
  padding: 0 0;
}
.workflow-image {
  max-width: 1500px;
  width: 100%;
  min-width: 350px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.13);
  background: #fff;
  padding: 20px;
  object-fit: cover;
}
@media (min-width: 1200px) {
  .workflow-image {
    max-width: 1200px;
  }
}


/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: center;
  align-items: stretch;
  min-height: 72px;
  width: calc(100% - 40px);
  flex-direction: column;
  padding: 0 var(--page-padding-padding-global);
  background: rgba(255, 255, 255, 0.95);
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 1000;
  border-radius: 20px;
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid var(--color-scheme-1-border);
  animation: fadeInUp 0.6s ease-out;
  transition: all 0.3s ease;
  overflow: hidden;
}

.navbar.shrink {
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  pointer-events: none;
  opacity: 0.3;
}

.navbar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02), rgba(255,255,255,0.06));
  pointer-events: none;
  opacity: 0.2;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Smaller screens: reduce heavy shadows and transitions */
@media (max-width: 768px) {
  .section:hover { transform: none; box-shadow: var(--shadow-1); }
  
  /* Optimize for mobile touch */
  body {
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    padding-top: 0; /* Remove padding-top để tránh conflict với navbar fixed */
  }
  
  /* Ensure all text is readable on mobile */
  * {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  /* Reduce all margins and paddings for very small screens */
  html {
    font-size: 14px;
  }
  
  body {
    padding-top: 0; /* Remove padding-top để tránh conflict với navbar fixed */
  }
  
  /* Ensure touch targets are at least 44px */
  button, a, input, select, textarea {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Buttons and links focus-visible for accessibility */
:focus-visible {
  outline: 2px solid var(--brand-accent-500);
  outline-offset: 2px;
}

@keyframes techFlow {
  0% { transform: translateX(0); }
  100% { transform: translateX(-400px); }
}

@keyframes techPulse {
  0%, 100% { opacity: 0.8; }
  25% { opacity: 1; }
  50% { opacity: 0.6; }
  75% { opacity: 0.9; }
}

@keyframes colorShift {
  0%, 100% { 
    filter: hue-rotate(0deg) brightness(1); 
  }
  25% { 
    filter: hue-rotate(5deg) brightness(1.1); 
  }
  50% { 
    filter: hue-rotate(-5deg) brightness(0.9); 
  }
  75% { 
    filter: hue-rotate(3deg) brightness(1.05); 
  }
}

@keyframes gridMove {
  0% { 
    transform: translate(0, 0) rotate(0deg); 
    background-position: 0% 0%, 0% 0%, 0% 50%;
  }
  25% { 
    transform: translate(10px, 5px) rotate(0.5deg); 
    background-position: 25% 25%, 15% 15%, 25% 50%;
  }
  50% { 
    transform: translate(20px, 10px) rotate(0deg); 
    background-position: 50% 50%, 30% 30%, 50% 50%;
  }
  75% { 
    transform: translate(10px, 15px) rotate(-0.5deg); 
    background-position: 75% 75%, 45% 45%, 75% 50%;
  }
  100% { 
    transform: translate(30px, 20px) rotate(0deg); 
    background-position: 100% 100%, 60% 60%, 100% 50%;
  }
}

@keyframes slideGlow {
  0%, 100% { 
    opacity: 0.6; 
    background-position: 0% 50%, 0% 50%, 0% 50%;
  }
  25% { 
    opacity: 0.8; 
    background-position: 25% 50%, 20% 50%, 25% 50%;
  }
  50% { 
    opacity: 0.7; 
    background-position: 50% 50%, 40% 50%, 50% 50%;
  }
  75% { 
    opacity: 0.9; 
    background-position: 75% 50%, 60% 50%, 75% 50%;
  }
}

.navbar:hover {
  box-shadow: 0 12px 40px rgba(255, 182, 193, 0.4), 0 0 20px rgba(255, 105, 180, 0.3);
  transform: translateY(-2px);
}

.navbar:hover::before {
  animation-duration: 12s, 2s, 6s;
  opacity: 1;
  filter: brightness(1.2);
}

.navbar:hover::after {
  animation-duration: 15s, 4s;
  opacity: 0.8;
}

.navbar-container {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 100px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.navbar-logo {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  width: 120px;
}

.navbar-logo img {
  width: 200px;
  height: auto;
  aspect-ratio: 2.33;
  object-fit: contain;
  object-position: center;
}

.navbar-content {
  display: flex;
  min-width: 240px;
  align-items: center;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  font:
    400 16px Roboto,
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
}

.nav-links {
  display: flex;
  min-width: 240px;
  align-items: center;
  gap: 32px;
  color: #2d3748;
  justify-content: end;
}

/* Navbar Button Styles */
.nav-links .btn {
  background: rgba(45, 55, 72, 0.1);
  border: 1px solid rgba(45, 55, 72, 0.2);
  color: #2d3748;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border-radius: 12px;
}

.nav-links .btn:hover {
  background: rgba(45, 55, 72, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 55, 72, 0.2);
  color: #1a202c;
  border-color: rgba(45, 55, 72, 0.3);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  justify-content: center;
  text-decoration: none;
  color: #2d3748;
  font-size: var(--text-sizes-text-regular);
  font-weight: 500;
}

.nav-link:hover {
  opacity: 0.8;
  color: #1a202c;
}

.nav-link-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link-dropdown img {
  width: 24px;
  height: 24px;
  aspect-ratio: 1;
  object-fit: contain;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  justify-content: center;
}

/* Navbar Actions Button Styles */
.navbar-actions .btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border-radius: 12px;
}

.navbar-actions .btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Override specific button styles in navbar */
.navbar-actions .btn-primary {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar-actions .btn-primary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.navbar-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Button Styles */
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid var(--color-neutral-darkest);
  font-size: var(--text-sizes-text-regular);
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background-color: var(--color-neutral-darkest);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-neutral-darkest);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-neutral-darkest);
}

.btn-secondary:hover {
  background-color: var(--color-neutral-darkest);
  color: var(--color-white);
}

.btn-large {
  padding: 12px 24px;
}

.btn-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-icon img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-primary);
  width: calc(100% - 40px); /* Tăng chiều rộng */
  margin: 140px 20px 20px 20px; /* Thêm margin-top 140px để đẩy hero xuống dưới navbar */
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInUp 0.8s ease-out;
  transition: all 0.3s ease;
}

.hero:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="glow"><stop offset="0%" stop-color="rgba(255,255,255,0.8)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="20" cy="20" r="1" fill="url(%23glow)"/><circle cx="80" cy="40" r="1.5" fill="url(%23glow)"/><circle cx="40" cy="80" r="1" fill="url(%23glow)"/><circle cx="90" cy="90" r="1" fill="url(%23glow)"/></svg>') repeat;
  animation: particles-float 20s linear infinite;
  opacity: 0.4;
}

.hero-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #5d7aca 0%, #1e40af 25%, #2563eb 50%, #3b82f6 75%, #60a5fa 100%);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
}

@keyframes particles-float {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-100px) rotate(360deg); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 10px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 500px;
  width: 100%;
  max-width: 1200px;
}

.hero-text {
  color: white;
  animation: fadeInLeft 1s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 8px 16px;
  margin-bottom: 24px;
  animation: pulse 2s infinite;
  width: fit-content;
  white-space: nowrap;
}

.badge-text {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.title-highlight {
  display: block;
  background: linear-gradient(45deg, #fff, #f0f0f0, #fff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: title-glow 3s ease-in-out infinite;
}

.title-subtitle {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 8px;
}

@keyframes title-glow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 50px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 5px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-cta {
  position: relative;
  overflow: hidden;
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  border-radius: 12px;
  box-sizing: border-box;
  padding: 0;
  gap: 10px;
}

.hero-cta-secondary {
  position: relative;
  overflow: hidden;
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  border-radius: 12px;
  box-sizing: border-box;
  padding: 0;
  gap: 10px;
}

.hero-cta {
  background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
  border: none;
  box-shadow: 0 8px 32px rgba(255, 107, 107, 0.4);
  transform: translateY(0);
  transition: all 0.3s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 107, 107, 0.6);
}

.hero-cta-secondary {
  background: #2563eb;
  color: #fff;
  border: none;
  box-shadow: 0 8px 32px rgba(233,30,99,0.13);
  transition: all 0.3s ease;
}

.hero-cta-secondary:hover {
  background: #c2185b;
  color: #fff;
  transform: translateY(-2px);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.hero-cta:hover .btn-shine {
  left: 100%;
}

.hero-trust {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.trust-indicators {
  display: flex;
  gap: 24px;
}

.trust-item {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  animation: fadeInRight 1s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  overflow: visible !important;
  flex-direction: column;
  gap: 40px;
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100% !important;
  max-width: none !important;
}

.hero-image-container.secondary {
  transform: scale(1);
  opacity: 1;
}

.image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.hero-image {
  width: 600px ;
  height: 220px ;
  max-width: 680px ;
  border-radius: 30px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  transition: all 0.5s ease;
  position: relative;
  z-index: 2;
}

.hero-image:hover {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  font-size: 2rem;
  animation: float 3s ease-in-out infinite;
}

.element-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.element-2 {
  top: 20%;
  right: 10%;
  animation-delay: 0.5s;
}

.element-3 {
  bottom: 20%;
  left: 15%;
  animation-delay: 1s;
}

.element-4 {
  bottom: 10%;
  right: 15%;
  animation-delay: 1.5s;
}

.element-5 {
  top: 15%;
  left: 20%;
  animation-delay: 2s;
  color: #3b82f6;
}

.element-6 {
  top: 25%;
  right: 20%;
  animation-delay: 2.5s;
  color: #ef4444;
}

.element-7 {
  bottom: 25%;
  left: 25%;
  animation-delay: 3s;
  color: #8b5cf6;
}

.element-8 {
  bottom: 15%;
  right: 25%;
  animation-delay: 3.5s;
  color: #f59e0b;
}

.secondary-image {
  opacity: 1;
  border: none;
}

.secondary-image:hover {
  transform: scale(1.08) rotate(-2deg);
  opacity: 1;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

/* Layout Components */
.layout-two-column {
  width: 100%;
}

.layout-component {
  display: flex;
  min-height: 640px;
  width: 100%;
  align-items: center;
  gap: 80px;
  justify-content: start;
  flex-wrap: wrap;
}

.layout-content-left {
  display: flex;
  min-width: 240px;
  flex-direction: column;
  align-items: stretch;
  justify-content: start;
  flex: 1;
}

.layout-content-right {
  width: 100%;
  min-width: 240px;
  flex: 1;
}

.layout-content-right img {
  width: 100%;
  height: auto;
  aspect-ratio: 15/16;
  object-fit: contain;
  object-position: center;
}

/* Section Title Component */
.section-title {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  color: var(--color-scheme-1-text);
  justify-content: start;
}

.section-title-center {
  text-align: center;
  align-items: center;
  max-width: var(--max-width-max-width-large);
  width: 100%;
  margin: 0 auto;
  justify-content: center;
}

.tagline-wrapper {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  justify-content: start;
}

.tagline-wrapper-center {
  justify-content: center;
}

.tagline {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse 2s infinite;
}

.section-content {
  margin-top: 16px;
  width: 100%;
  text-align: center;
}

.section-heading {
  color: white;
  font-size: var(--text-sizes-heading-2);
  font-weight: 700;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease-out;
  background: linear-gradient(135deg, #fff, #f0f0f0, #fff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out, title-glow 3s ease-in-out infinite;
}

.section-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-sizes-text-medium);
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin-top: 24px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  opacity: 0.9;
}

.section-actions {
  display: flex;
  margin-top: 32px;
  align-items: center;
  gap: 24px;
  font-size: 16px;
  color: var(--color-neutral-darkest);
  font-weight: 400;
  justify-content: start;
}

/* Feature Cards */
.features-grid {
  display: flex;
  min-height: 276px;
  width: 100%;
  align-items: start;
  gap: 48px;
  justify-content: start;
  flex-wrap: wrap;
  margin-top: 80px;
  text-align: center;
}

.feature-card {
  display: flex;
  min-width: 240px;
  flex-direction: column;
  align-items: stretch;
  justify-content: start;
  flex: 1;
  animation: fadeInUp 0.8s ease-out;
  transition: all 0.3s ease;
  border-radius: 16px;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.feature-card-icon {
  width: 48px;
  height: 48px;
  align-self: center;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  animation: float 3s ease-in-out infinite, pulse 2s ease-in-out infinite alternate;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-card-icon {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.feature-card-content {
  margin-top: 24px;
  width: 100%;
}

.feature-card-heading {
  color: white;
  font-size: var(--text-sizes-heading-4);
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.feature-card-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-sizes-text-regular);
  font-weight: 400;
  line-height: 1.5;
  margin-top: 24px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Challenge Cards */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 60px;
  width: 100%;
}

.challenge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out;
  position: relative;
  overflow: hidden;
  height: 100%;
}

/* Hàng 1: 3 cards đầu - mỗi card span 2 cột */
.challenge-card:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1;
}

.challenge-card:nth-child(2) {
  grid-column: 3 / 5;
  grid-row: 1;
}

.challenge-card:nth-child(3) {
  grid-column: 5 / 7;
  grid-row: 1;
}

/* Hàng 2: 2 cards cuối - căng giữa với khoảng cách đều */
.challenge-card:nth-child(4) {
  grid-column: 2 / 4;
  grid-row: 2;
}

.challenge-card:nth-child(5) {
  grid-column: 4 / 6;
  grid-row: 2;
}

.challenge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.challenge-card:hover::before {
  opacity: 1;
}

.challenge-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.challenge-card:nth-child(1) { animation-delay: 0.1s; }
.challenge-card:nth-child(2) { animation-delay: 0.2s; }
.challenge-card:nth-child(3) { animation-delay: 0.3s; }
.challenge-card:nth-child(4) { animation-delay: 0.4s; }
.challenge-card:nth-child(5) { animation-delay: 0.5s; }

.challenge-icon {
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.challenge-card:hover .challenge-icon {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.challenge-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.challenge-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.challenge-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  flex: 1;
  display: flex;
  align-items: center;
}

/* News Articles Section */
.news-articles {
  margin-top: 80px;
  text-align: center;
}

.articles-heading {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #fff, #f0f0f0, #fff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.articles-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.article-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.article-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.article-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-image a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  outline: none;
}

.article-image a:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

.article-card:hover .article-img {
  transform: scale(1.05);
}

.article-image a:hover .article-img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.article-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.article-badge {
  background: rgba(255, 255, 255, 0.9);
  color: #2d3748;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
}

.article-content {
  padding: 24px;
  text-align: left;
}

.article-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.article-excerpt {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.article-card:nth-child(1) { animation-delay: 0.2s; }
.article-card:nth-child(2) { animation-delay: 0.4s; }

@media (max-width: 1024px) {
  .challenges-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .challenge-card:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  
  .challenge-card:nth-child(2) {
    grid-column: 3 / 5;
    grid-row: 1;
  }
  
  .challenge-card:nth-child(3) {
    grid-column: 1 / 3;
    grid-row: 2;
  }
  
  .challenge-card:nth-child(4) {
    grid-column: 3 / 5;
    grid-row: 2;
  }
  
  .challenge-card:nth-child(5) {
    grid-column: 1 / 5;
    grid-row: 3;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 500px;
  }

  .articles-heading {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .challenges-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .challenge-card:nth-child(1),
  .challenge-card:nth-child(2),
  .challenge-card:nth-child(3),
  .challenge-card:nth-child(4),
  .challenge-card:nth-child(5) {
    grid-column: 1 / 2;
    grid-row: auto;
  }

  .news-articles {
    margin-top: 60px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .articles-heading {
    font-size: 22px;
  }

  .articles-description {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .article-content {
    padding: 20px;
  }

  .article-title {
    font-size: 16px;
  }

  .article-excerpt {
    font-size: 13px;
  }
}

/* Why Choose EVEMASK - Grid Card Layout */
.why-choose-bubbles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 64px;
  position: relative;
}

.bubble-section {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bubble-section:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.25);
}

.bubble-section-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: white;
  position: relative;
  transition: all 0.3s ease;
}

.bubble-section:hover .bubble-section-icon {
  transform: scale(1.1);
}

.bubble-section-value {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 16px;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bubble-section-title {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  line-height: 1.3;
}

.bubble-section-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0;
}

/* Individual card styles with different themes */
.bubble-section:nth-child(1) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(29, 78, 216, 0.1));
}

.bubble-section:nth-child(1) .bubble-section-icon {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.bubble-section:nth-child(1) .bubble-section-value {
  color: #60a5fa;
}

.bubble-section:nth-child(2) {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
}

.bubble-section:nth-child(2) .bubble-section-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.bubble-section:nth-child(2) .bubble-section-value {
  color: #34d399;
}

.bubble-section:nth-child(3) {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(124, 58, 237, 0.1));
}

.bubble-section:nth-child(3) .bubble-section-icon {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4);
}

.bubble-section:nth-child(3) .bubble-section-value {
  color: #c084fc;
}

.bubble-section:nth-child(4) {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.1));
}

.bubble-section:nth-child(4) .bubble-section-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.bubble-section:nth-child(4) .bubble-section-value {
  color: #fbbf24;
}

.bubble-section:nth-child(5) {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(185, 28, 28, 0.1));
}

.bubble-section:nth-child(5) .bubble-section-icon {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}

.bubble-section:nth-child(5) .bubble-section-value {
  color: #f87171;
}

.bubble-section:nth-child(6) {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(8, 145, 178, 0.1));
}

.bubble-section:nth-child(6) .bubble-section-icon {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
}

.bubble-section:nth-child(6) .bubble-section-value {
  color: #22d3ee;
}

/* Subtle background effects */
.bubble-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bubble-section:hover::before {
  opacity: 1;
}

/* Responsive design */
@media (max-width: 1200px) {
  .why-choose-bubbles {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
  }
  
  .bubble-section {
    padding: 32px 24px;
    min-height: 260px;
  }
  
  .bubble-section-icon {
    width: 70px;
    height: 70px;
    font-size: 32px;
  }
  
  .bubble-section-value {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .why-choose-bubbles {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 48px;
  }
  
  .bubble-section {
    padding: 28px 20px;
    min-height: 240px;
  }
  
  .bubble-section-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  .bubble-section-value {
    font-size: 36px;
    margin-bottom: 12px;
  }
  
  .bubble-section-title {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .bubble-section-description {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .why-choose-bubbles {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .bubble-section {
    padding: 24px 16px;
    min-height: 220px;
  }
  
  .bubble-section-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
  
  .bubble-section-value {
    font-size: 32px;
  }
  
  .bubble-section-title {
    font-size: 15px;
  }
  
  .bubble-section-description {
    font-size: 12px;
  }
}

/* Animation delays for staggered effect */
.bubble-section:nth-child(1) { animation: fadeInUp 0.6s ease-out 0.1s both; }
.bubble-section:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.2s both; }
.bubble-section:nth-child(3) { animation: fadeInUp 0.6s ease-out 0.3s both; }
.bubble-section:nth-child(4) { animation: fadeInUp 0.6s ease-out 0.4s both; }
.bubble-section:nth-child(5) { animation: fadeInUp 0.6s ease-out 0.5s both; }
.bubble-section:nth-child(6) { animation: fadeInUp 0.6s ease-out 0.6s both; }

/* Step Cards */
.steps-grid {
  display: flex;
  width: 100%;
  align-items: start;
  gap: 48px;
  justify-content: start;
  flex-wrap: wrap;
  margin-top: 80px;
}

.step-card {
  min-width: 240px;
  overflow: hidden;
  flex: 1;
  animation: fadeInLeft 0.8s ease-out;
  transition: all 0.3s ease;
  border-radius: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:  0 8px 32px rgba(0, 0, 0, 0.1);
}

.step-card:hover {
  transform: translateY(-5px) scale(1.02);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.step-card-image {
  width: 100%;
  aspect-ratio: 394.67/240;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.step-card:hover .step-card-image {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.step-card-content {
  margin-top: 32px;
  width: 100%;
}

.step-card-heading {
  color: white;
  font-size: var(--text-sizes-heading-4);
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.step-card-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-sizes-text-regular);
  font-weight: 400;
  margin-top: 24px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-content {
  display: flex;
  width: 100%;
  align-items: start;
  gap: 80px;
  justify-content: start;
  flex-wrap: wrap;
}

.contact-info {
  display: flex;
  min-width: 240px;
  flex-direction: column;
  align-items: stretch;
  justify-content: start;
  flex: 1;
}

.contact-details {
  min-width: 240px;
  width: 500px;
  padding: 8px 0;
}

.contact-item {
  display: flex;
  width: 100%;
  align-items: start;
  gap: 16px;
  justify-content: start;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
}

.contact-info-content {
  min-width: 240px;
  flex: 1;
}

.contact-info-heading {
  color: #ffffff;
  font-size: var(--text-sizes-heading-6);
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 12px;
}

.contact-link {
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--text-sizes-text-regular);
  font-weight: 400;
  text-decoration: underline;
  margin-top: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-sizes-text-regular);
  font-weight: 400;
  margin-top: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.contact-map {
  width: 100%;
  margin-top: 80px;
  aspect-ratio: 16/9;
  object-fit: contain;
  object-position: center;
}

/* Contact Section Mobile Responsive - Text Centered Only */
@media (max-width: 768px) {
  .contact-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
  }
  
  .contact-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 350px !important;
    margin: 0 auto !important;
  }
  
  .contact-details {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  
  .contact-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 280px !important;
    text-align: center !important;
    margin: 0 auto 16px auto !important;
    flex-wrap: nowrap !important;
  }
  
  .contact-item:last-child {
    margin-bottom: 0 !important;
  }
  
  .contact-icon {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
  }
  
  .contact-info-content {
    flex: 1 !important;
    text-align: center !important;
    min-width: 0 !important;
  }
  
  .contact-info-heading {
    font-size: 1rem !important;
    margin-bottom: 6px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-align: center !important;
  }
  
  .contact-link,
  .contact-text {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-top: 4px !important;
    text-align: center !important;
  }
  
  .contact-map {
    width: 100% !important;
    max-width: 350px !important;
    margin: 24px auto 0 auto !important;
  }
}

@media (max-width: 480px) {
  .contact-content {
    max-width: 320px !important;
  }
  
  .contact-info {
    max-width: 300px !important;
  }
  
  .contact-item {
    max-width: 260px !important;
    font-size: 0.8rem !important;
  }
  
  .contact-info-heading {
    font-size: 0.9rem !important;
  }
  
  .contact-link,
  .contact-text {
    font-size: 0.75rem !important;
  }
}

@media (max-width: 360px) {
  .contact-content {
    max-width: 280px !important;
  }
  
  .contact-info {
    max-width: 260px !important;
  }
  
  .contact-item {
    max-width: 220px !important;
    font-size: 0.75rem !important;
  }
  
  .contact-info-heading {
    font-size: 0.85rem !important;
  }
  
  .contact-link,
  .contact-text {
    font-size: 0.7rem !important;
  }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 240, 245, 0.95) 50%, rgba(255, 228, 240, 0.95) 100%) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 20px;
  margin: 20px;
  box-shadow: 0 8px 32px rgba(255, 182, 193, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: fadeInUp 0.8s ease-out 0.5s both;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  color: #333;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 192, 203, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 182, 193, 0.3) 0%, transparent 50%),
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 30%, rgba(255, 240, 245, 0.3) 50%, rgba(255,255,255,0.2) 70%, transparent 100%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(255, 240, 245, 0.1) 10px,
      rgba(255, 240, 245, 0.1) 20px
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 100"><defs><pattern id="techGrid" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><rect width="30" height="30" fill="none"/><circle cx="15" cy="15" r="1.5" fill="rgba(255,105,180,0.3)"/><path d="M0,15 L30,15 M15,0 L15,30" stroke="rgba(255,182,193,0.2)" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23techGrid)"/><g opacity="0.6"><circle cx="50" cy="50" r="2" fill="rgba(255,105,180,0.8)"><animate attributeName="opacity" values="0.3;1;0.3" dur="2s" repeatCount="indefinite"/><animate attributeName="r" values="1;3;1" dur="2s" repeatCount="indefinite"/></circle><circle cx="200" cy="30" r="1.5" fill="rgba(255,182,193,0.6)"><animate attributeName="opacity" values="0.2;0.8;0.2" dur="3s" repeatCount="indefinite"/></circle><circle cx="350" cy="70" r="2" fill="rgba(255,105,180,0.7)"><animate attributeName="opacity" values="0.1;0.9;0.1" dur="2.5s" repeatCount="indefinite"/></circle></g><g opacity="0.4"><path d="M0,20 Q100,40 200,20 T400,20" stroke="rgba(255,105,180,0.4)" stroke-width="1" fill="none"><animate attributeName="stroke-dasharray" values="0,1000;1000,1000;0,1000" dur="6s" repeatCount="indefinite"/></path><path d="M0,60 Q150,80 300,60 T400,60" stroke="rgba(255,182,193,0.3)" stroke-width="1" fill="none"><animate attributeName="stroke-dasharray" values="1000,0;0,1000;1000,0" dur="8s" repeatCount="indefinite"/></path></g></svg>');
  background-size: 800px 200px, 600px 150px, 100% 100%, 60px 60px, 400px 100px;
  animation: techFlow 20s linear infinite, techPulse 4s ease-in-out infinite, colorShift 10s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.8;
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 2px,
      rgba(255, 182, 193, 0.1) 2px,
      rgba(255, 182, 193, 0.1) 4px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 3px,
      rgba(255, 240, 245, 0.15) 3px,
      rgba(255, 240, 245, 0.15) 6px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 240, 245, 0.2) 25%,
      rgba(255, 182, 193, 0.1) 50%,
      rgba(255, 240, 245, 0.2) 75%,
      rgba(255, 255, 255, 0.1) 100%
    );
  background-size: 30px 30px, 40px 40px, 200% 100%;
  animation: gridMove 25s linear infinite, slideGlow 8s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.6;
  z-index: 1;
}

.footer:hover {
  box-shadow: 0 12px 40px rgba(255, 182, 193, 0.4), 0 0 20px rgba(255, 105, 180, 0.3);
  transform: translateY(-2px);
}

.footer:hover::before {
  animation-duration: 12s, 2s, 6s;
  opacity: 1;
  filter: brightness(1.2);
}

.footer:hover::after {
  animation-duration: 15s, 4s;
  opacity: 0.8;
}

.footer-content {
  display: flex;
  position: relative;
  z-index: 2;
  min-height: 248px;
  width: 100%;
  align-items: start;
  gap: 128px;
  justify-content: start;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  min-width: 240px;
  align-items: start;
  gap: 40px;
  justify-content: start;
  flex-wrap: wrap;
  flex: 1;
}

.footer-column {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  align-items: start;
  justify-content: start;
  flex: 1;
}

.footer-logo {
  width: 240px;
  aspect-ratio: 2.33;
  object-fit: contain;
  object-position: center;
}

.footer-heading {
  color: #333;
  font-size: var(--text-sizes-text-regular);
  font-weight: 600;
}

.footer-links-list {
  margin-top: 16px;
  width: 100%;
  font-size: 14px;
  font-weight: 400;
}

.footer-link-item {
  display: flex;
  width: 100%;
  align-items: start;
  justify-content: start;
  padding: 8px 0;
}

.footer-link {
  color: rgba(51, 51, 51, 0.7);
  font-size: var(--text-sizes-text-small);
  text-decoration: none;
  flex: 1;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #333;
}

/* Newsletter */
.newsletter {
  min-width: 240px;
  width: 400px;
  font-family:
    Roboto,
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  margin-left: 0;         /* Đảm bảo không bị đẩy sang phải */
  margin-right: auto;
}

.newsletter-content {
  width: 100%;
  font-size: 16px;
  color: #333;
}

.newsletter-heading {
  color: #333;
  font-size: var(--text-sizes-text-regular);
  font-weight: 600;
}

.newsletter-text {
  color: rgba(51, 51, 51, 0.7);
  font-size: var(--text-sizes-text-regular);
  font-weight: 400;
  line-height: 1.5;
  margin-top: 16px;
}

.newsletter-form {
  margin-top: 24px;
  width: 100%;
  font-weight: 400;
}

.form-group {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  justify-content: start;
}

.form-input {
  display: flex;
  align-items: center;
  border: 2px solid #2563eb;
  border-radius: 16px;
  font-size: 16px;
  height: 48px;
  padding: 14px 20px;
  width: 100%;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.newsletter-disclaimer {
  color: rgba(51, 51, 51, 0.6);
  font-size: var(--text-sizes-text-tiny);
  margin-top: 12px;
}

/* Footer Credits */
.footer-credits {
  margin-top: 80px;
  width: 100%;
}

.footer-divider {
  min-height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  border: none;
}

.footer-bottom {
  display: flex;
  margin-top: 32px;
  width: 100%;
  align-items: start;
  gap: 100px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  min-width: 240px;
  align-items: center;
  gap: 24px;
  color: rgba(51, 51, 51, 0.7);
  justify-content: start;
  flex-wrap: wrap;
  font:
    400 14px Roboto,
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
}

.footer-legal-link {
  color: rgba(51, 51, 51, 0.7);
  font-size: var(--text-sizes-text-small);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-legal-link:hover {
  color: #333;
}

.social-links {
  display: flex;
  align-items: start;
  gap: 12px;
  justify-content: start;
}

.social-link {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
}

/* Responsive Design */
@media (max-width: 991px) {
  :root {
    --text-sizes-heading-1: 40px;
    --text-sizes-heading-2: 40px;
    --page-padding-padding-global: 20px;
    --section-padding-padding-section-large: 100px;
  }

  .navbar {
    padding: 0 20px;
  }

  .navbar-container {
    gap: 40px;
  }

  .nav-link {
    white-space: initial;
  }

  .navbar-actions {
    white-space: initial;
  }

  .btn {
    padding: 0 20px;
  }

  .hero {
    width: calc(100% - 20px);
    margin: 100px 10px 10px 10px; /* Đẩy hero section xuống xa hơn khỏi đầu trang trên tablet */
    min-height: 90vh;
  }

  .hero-container {
    position: relative;
    z-index: 2;
    max-width: 2500px; /* Đã tăng từ 1200px */
    margin: 0 auto;
    padding: 80px 0px;
    width: 100%;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding: 0;
    min-height: 400px;
  }

  .hero-text {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .hero-stats {
    justify-content: center;
    gap: 20px;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
    gap: 16px;
  }

  .hero-cta, .hero-cta-secondary {
    width: 100%;
    max-width: 280px;
  }

  .trust-indicators {
    justify-content: center;
    gap: 16px;
  }

  .floating-elements {
    display: none;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .layout-component {
    gap: 40px;
  }

  .features-grid {
    margin-top: 40px;
  }

  .steps-grid {
    margin-top: 40px;
  }

  .contact-content {
    gap: 40px;
  }

  .contact-map {
    margin-top: 40px;
  }

  .footer-content {
    gap: 40px;
  }

  .footer-credits {
    margin-top: 40px;
  }

  .footer-bottom {
    gap: 40px;
  }
}

/* Enhanced glass morphism effects */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.section:hover::before {
  opacity: 1;
}

/* Parallax effect for background */
body::before {
  content: '';
  position: fixed;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background-image: url('../images/bgr.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
  transform: translateZ(0);
  will-change: transform;
}

/* Enhanced navbar with backdrop blur */
.navbar {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.125);
}

/* Loading animation for page */
@keyframes pageLoad {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

body {
  animation: pageLoad 0.8s ease-out;
}

/* Interactive hover effects */
.feature-card, .step-card {
  position: relative;
  overflow: hidden;
}

.feature-card::after, .step-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.1), 
    transparent
  );
  transition: left 0.5s ease;
}

.feature-card:hover::after, .step-card:hover::after {
  left: 100%;
}

/* Breathing animation for icons */
.feature-card-icon {
  animation: float 3s ease-in-out infinite, pulse 2s ease-in-out infinite alternate;
}

.feature-card:nth-child(1) .feature-card-icon { animation-delay: 0s, 0s; }
.feature-card:nth-child(2) .feature-card-icon { animation-delay: 1s, 0.5s; }
.feature-card:nth-child(3) .feature-card-icon { animation-delay: 2s, 1s; }

/* Enhanced text effects */
.hero-title, .section-heading {
  position: relative;
}

.hero-title::after, .section-heading::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #ef4444, #f97316, #eab308);
  transition: width 0.8s ease;
}

.section:hover .section-heading::after {
  width: 100%;
}

/* Advanced button effects */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .feature-card, .step-card {
    animation-duration: 0.6s;
  }
  
  .section {
    animation-duration: 0.6s;
  }
  
  body::before {
    transform: scale(1.1);
  }
  
  /* EMERGENCY HERO MOBILE FIX */
  .hero {
    min-height: 60vh !important;
    width: calc(100% - 8px) !important;
    margin: 140px 4px 4px 4px !important; /* Đẩy hero section xuống dưới navbar hoàn toàn trên mobile */
    padding: 12px 8px !important;
    display: block !important;
  }
  
  .hero-container {
    padding: 10px !important;
    max-width: 100% !important;
  }
  
  .hero-content {
    display: block !important;
    grid-template-columns: none !important;
    gap: 5px !important;
    text-align: center !important;
    min-height: auto !important;
  }
  
  .hero-stats {
    display: flex !important;
    justify-content: space-around !important;
    gap: 5px !important;
    margin: 10px 0 !important;
    padding: 5px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .stat-item {
    flex: 1 !important;
    text-align: center !important;
  }
  
  .stat-number {
    font-size: 1.5rem !important;
    margin-bottom: 2px !important;
  }
  
  .stat-label {
    font-size: 0.7rem !important;
  }
  
  .hero-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    margin: 10px 0 !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .hero-cta,
  .hero-cta-secondary {
    width: auto !important;
    min-width: 120px !important;
    max-width: 150px !important;
    height: 40px !important;
    font-size: 0.8rem !important;
    flex: 1 !important;
  }
  
  .hero-trust {
    display: block !important;
    margin: 10px 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .trust-indicators {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .trust-item {
    font-size: 0.7rem !important;
  }
  
  .hero-visual {
    display: flex !important;
    flex-direction: row !important;
    gap: 5px !important;
    justify-content: center !important;
    margin: 10px 0 !important;
  }
  
  .hero-image-container {
    flex: 1 !important;
    max-width: 40% !important;
  }
  
  .hero-image {
    width: 100% !important;
    height: 100px !important;
    object-fit: cover !important;
    border-radius: 5px !important;
  }
  
  .hero-title {
    font-size: 1.8rem !important;
    margin-bottom: 10px !important;
  }
  
  .title-subtitle {
    font-size: 1rem !important;
  }
  
  .hero-description {
    font-size: 0.9rem !important;
    margin-bottom: 15px !important;
  }
  
  /* UNIVERSAL SECTION MOBILE OPTIMIZATION */
  
  /* Solution Section */
  .solution {
    min-height: auto !important;
    width: calc(100% - 8px) !important;
    margin: 4px !important;
    padding: 12px 8px !important;
  }
  
  .solution-content {
    display: block !important;
    grid-template-columns: none !important;
    gap: 8px !important;
    text-align: center !important;
  }
  
  .solution-visual,
  .solution-text {
    width: 100% !important;
    margin-bottom: 8px !important;
  }
  
  .solution-features {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 5px !important;
    margin: 8px 0 !important;
  }
  
  .feature-item {
    padding: 6px !important;
    font-size: 0.7rem !important;
  }
  
  /* Workflow Mobile Optimization */
  .workflow-comparison {
    margin: 8px 0 !important;
    padding: 0 !important;
  }
  
  .workflow-comparison-large {
    margin: 8px 0 !important;
    padding: 0 !important;
  }
  
  .workflow-grid {
    display: block !important;
    grid-template-columns: none !important;
    gap: 8px !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 8px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.08) !important;
  }
  
  .workflow-section {
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    padding: 12px !important;
    margin-bottom: 8px !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
  }
  
  .workflow-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    border-radius: 20px !important;
    padding: 4px 8px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    backdrop-filter: blur(4px) !important;
  }
  
  .workflow-image-container {
    border-radius: 6px !important;
    margin-bottom: 8px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  
  .workflow-image {
    width: 100% !important;
    height: 120px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
  }
  
  .workflow-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%) !important;
    padding: 8px !important;
    color: white !important;
    font-size: 0.7rem !important;
  }
  
  .workflow-stats {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    font-size: 0.6rem !important;
  }
  
  /* Demo Section */
  .demo {
    min-height: auto !important;
    width: calc(100% - 8px) !important;
    margin: 4px !important;
    padding: 12px 8px !important;
  }
  
  .demo-content {
    display: block !important;
    text-align: center !important;
  }
  
  .demo-video,
  .demo-controls {
    width: 100% !important;
    margin-bottom: 8px !important;
  }
  
  .demo-video {
    height: 180px !important;
  }
  
  .demo-controls {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
  }
  
  .demo-button {
    width: 100% !important;
    padding: 8px !important;
    font-size: 0.8rem !important;
  }
  
  /* Why Choose Section */
  .why-choose {
    min-height: auto !important;
    width: calc(100% - 8px) !important;
    margin: 4px !important;
    padding: 12px 8px !important;
  }
  
  .why-choose-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  
  .why-choose-item {
    padding: 8px !important;
    margin-bottom: 5px !important;
  }
  
  .why-choose-icon {
    font-size: 1.5rem !important;
    margin-bottom: 5px !important;
  }
  
  .why-choose-title {
    font-size: 0.9rem !important;
    margin-bottom: 3px !important;
  }
  
  .why-choose-description {
    font-size: 0.7rem !important;
    line-height: 1.3 !important;
  }
  
  /* Challenges Section */
  .challenges {
    min-height: auto !important;
    width: calc(100% - 8px) !important;
    margin: 4px !important;
    padding: 12px 8px !important;
  }
  
  .challenges-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }
  
  .challenge-item {
    padding: 8px !important;
    margin-bottom: 4px !important;
  }
  
  .challenge-icon {
    font-size: 1.2rem !important;
    margin-bottom: 4px !important;
  }
  
  .challenge-title {
    font-size: 0.8rem !important;
    margin-bottom: 3px !important;
  }
  
  .challenge-description {
    font-size: 0.65rem !important;
    line-height: 1.2 !important;
  }
  
  /* Team Section */
  .team {
    min-height: auto !important;
    width: calc(100% - 8px) !important;
    margin: 4px !important;
    padding: 12px 8px !important;
  }
  
  .team-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  
  .team-member {
    padding: 8px !important;
    text-align: center !important;
  }
  
  .team-avatar {
    width: 60px !important;
    height: 60px !important;
    margin: 0 auto 5px !important;
  }
  
  .team-name {
    font-size: 0.8rem !important;
    margin-bottom: 2px !important;
  }
  
  .team-role {
    font-size: 0.6rem !important;
    margin-bottom: 3px !important;
  }
  
  .team-description {
    font-size: 0.6rem !important;
    line-height: 1.2 !important;
  }
  
  /* Contact Section */
  .contact {
    min-height: auto !important;
    width: calc(100% - 8px) !important;
    margin: 4px !important;
    padding: 12px 8px !important;
  }
  
  .contact-content {
    display: block !important;
    text-align: center !important;
  }
  
  .contact-form {
    width: 100% !important;
    margin-top: 8px !important;
  }
  
  .form-group {
    margin-bottom: 8px !important;
  }
  
  .form-input,
  .form-textarea {
    width: 100% !important;
    padding: 8px !important;
    font-size: 0.8rem !important;
  }
  
  .contact-info {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    margin-top: 10px !important;
  }
  
  .contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 5px !important;
    font-size: 0.7rem !important;
  }
  
  .contact-icon {
    font-size: 1rem !important;
  }
  
  /* General Section Typography */
  .section-heading {
    font-size: 1.3rem !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
    text-align: center !important;
  }
  
  .section-subheading {
    font-size: 0.9rem !important;
    margin-bottom: 10px !important;
    text-align: center !important;
  }
  
  .section-description {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
    text-align: center !important;
  }
  
  /* Footer Mobile Optimization */
  .footer {
    min-height: auto !important;
    width: calc(100% - 8px) !important;
    margin: 4px !important;
    padding: 12px 8px !important;
    border-radius: 8px !important;
  }
  
  .footer-content {
    display: block !important;
    text-align: center !important;
    gap: 8px !important;
  }
  
  .footer-section {
    margin-bottom: 10px !important;
    padding: 8px !important;
  }
  
  .footer-title {
    font-size: 0.9rem !important;
    margin-bottom: 5px !important;
  }
  
  .footer-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
  }
  
  .footer-link {
    font-size: 0.7rem !important;
    padding: 2px !important;
  }
  
  .footer-social {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 8px 0 !important;
  }
  
  .social-icon {
    font-size: 1.2rem !important;
    padding: 5px !important;
  }
  
  .footer-copyright {
    font-size: 0.6rem !important;
    text-align: center !important;
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  }
  
  /* Navbar Mobile Optimization (additional) */
  .navbar {
    padding: 8px 10px !important;
    height: auto !important;
  }
  
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  .navbar-nav {
    gap: 5px !important;
  }
  
  .nav-item {
    padding: 4px 6px !important;
    font-size: 0.7rem !important;
  }
}

.map-container {
  width: 100%;
  height: 450px;
  margin-top: 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 12px;
  transition: all 0.3s ease;
}

.map-container:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Team Section Styles */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
  margin-bottom: 48px;
}

.team-member {
  text-align: center;
  padding: 32px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.team-member-image {
  margin-bottom: 24px;
  position: relative;
}

.member-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #f1f5f9;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.team-member:hover .member-photo {
  border-color: #3b82f6;
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.3);
}

.team-member-info {
  margin-top: 20px;
}

.member-name {
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  font-family: 'Roboto', sans-serif;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.member-role {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-top: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.member-role::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 32px;
    margin-bottom: 32px;
  }
  
  .team-member {
    padding: 24px 16px;
  }
  
  .member-photo {
    width: 150px;
    height: 150px;
  }
  
  .member-name {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .member-photo {
    width: 140px;
    height: 140px;
  }
}

/* Demo Page Styles */
.demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  margin-bottom: 48px;
}

.demo-upload-section,
.demo-webcam-section {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.demo-upload-section:hover,
.demo-webcam-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.demo-section-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 24px;
  text-align: center;
}

.upload-area {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.upload-area:hover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.upload-content {
  pointer-events: none;
}

.upload-icon {
  width: 48px;
  height: 48px;
  color: #64748b;
  margin-bottom: 16px;
}

.upload-text {
  font-size: 16px;
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 8px;
}

.upload-subtext {
  font-size: 14px;
  color: #64748b;
}

.upload-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.webcam-container {
  text-align: center;
}

.webcam-placeholder {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 48px 24px;
  background: rgba(248, 250, 252, 0.8);
  margin-bottom: 24px;
}

.webcam-icon {
  width: 64px;
  height: 64px;
  color: #64748b;
  margin-bottom: 16px;
}

.webcam-text {
  font-size: 16px;
  color: #64748b;
}

.webcam-btn {
  width: 100%;
  justify-content: center;
}

.results-container {
  margin-top: 48px;
}

.result-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.result-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.result-title {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
  text-align: center;
}

.result-video-container {
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
}

.result-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 14px;
}

.processing-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
  text-align: center;
}

.stat-title {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
}

.tech-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.tech-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.tech-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.tech-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.tech-step-content {
  flex: 1;
}

.tech-step-title {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.tech-step-description {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .demo-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .result-comparison {
    grid-template-columns: 1fr;
  }
  
  .processing-stats {
    grid-template-columns: 1fr;
  }
  
  .tech-steps {
    grid-template-columns: 1fr;
  }
}

/* Demo Section Styles */
.demo-video-container {
  margin-top: 48px;
  margin-bottom: 48px;
  text-align: center;
  width: 100%;
}

.demo-video {
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16/9;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.5);
  animation: scaleIn 1.2s ease-out;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.demo-video:hover {
  transform: scale(1.03);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.8);
}

.demo-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.demo-feature {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out;
}

.demo-feature:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.demo-feature:nth-child(1) { animation-delay: 0.1s; }
.demo-feature:nth-child(2) { animation-delay: 0.2s; }
.demo-feature:nth-child(3) { animation-delay: 0.3s; }

.demo-feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.demo-feature:hover .demo-feature-icon {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}

.demo-feature-title {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
}

.demo-feature-description {
  font-size: 16px;
  color: #64748b;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .demo-features {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .demo-feature {
    padding: 24px 16px;
  }
}

/* Workflow Comparison Styles */
.workflow-comparison {
  margin: 64px 0;
  padding: 0;
}

.workflow-comparison-large {
  margin: 80px 0;
  padding: 0;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
}

.workflow-comparison-large .workflow-grid {
  max-width: 1400px;
  gap: 64px;
  padding: 80px;
  border-radius: 40px;
}

.workflow-section {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 48px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.workflow-comparison-large .workflow-section {
  padding: 60px;
  border-radius: 24px;
}

.workflow-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ef4444, #f97316, #eab308);
  transition: all 0.3s ease;
}

.workflow-section.evemask::before {
  background: linear-gradient(90deg, #22c55e, #10b981, #06b6d4);
}

.workflow-section:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.workflow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}

.workflow-badge.before {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(249, 115, 22, 0.1));
  color: #dc2626;
  border-color: rgba(239, 68, 68, 0.3);
}

.workflow-badge.after {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.1));
  color: #059669;
  border-color: rgba(34, 197, 94, 0.3);
}

.workflow-image-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.workflow-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.workflow-comparison-large .workflow-image {
  height: 450px;
}

.workflow-section:hover .workflow-image {
  transform: scale(1.05);
}

.workflow-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  padding: 24px;
  color: white;
}

.workflow-comparison-large .workflow-overlay {
  padding: 32px;
}

.workflow-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.workflow-comparison-large .workflow-stats {
  gap: 32px;
}

.workflow-stat {
  text-align: center;
}

.workflow-stat-value {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.workflow-comparison-large .workflow-stat-value {
  font-size: 28px;
}

.workflow-stat-label {
  font-size: 12px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.workflow-comparison-large .workflow-stat-label {
  font-size: 14px;
}

.workflow-description {
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 32px;
  font-size: 16px;
}

.workflow-comparison-large .workflow-description {
  font-size: 20px;
  margin-bottom: 40px;
}

.workflow-features {
  display: grid;
  gap: 16px;
}

.workflow-comparison-large .workflow-features {
  gap: 20px;
}

.workflow-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.workflow-comparison-large .workflow-feature {
  gap: 16px;
  padding: 16px 0;
}

.workflow-feature:last-child {
  border-bottom: none;
}

.workflow-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.workflow-comparison-large .workflow-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.workflow-feature-content {
  flex: 1;
}

.workflow-feature-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.workflow-comparison-large .workflow-feature-title {
  font-size: 18px;
  margin-bottom: 6px;
}

.workflow-feature-description {
  font-size: 14px;
  color: #64748b;
  line-height: 1.4;
}

.workflow-comparison-large .workflow-feature-description {
  font-size: 16px;
}

.workflow-title {
  font-size: 32px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
}

.workflow-comparison-large .workflow-title {
  font-size: 36px;
  margin-bottom: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .workflow-grid {
    gap: 32px;
    padding: 0 16px;
  }
  
  .workflow-section {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .workflow-comparison {
    margin: 32px 0;
    padding: 32px 0;
  }
  
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 24px;
    border-radius: 24px;
  }
  
  .workflow-image {
    height: 240px;
  }
  
  .workflow-stats {
    gap: 16px;
    justify-content: center;
  }
  
  .workflow-comparison-large .workflow-stats {
    gap: 16px;
    justify-content: center;
  }
  
  .workflow-stat-value {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .workflow-grid {
    padding: 24px 16px;
    border-radius: 20px;
  }
  
  .workflow-section {
    padding: 20px;
  }
  
  .workflow-overlay {
    padding: 16px;
  }
  
  .workflow-image {
    height: 200px;
  }
  
  .workflow-grid {
    gap: 16px;
  }
}

/* Specific backgrounds for Team, Demo, and Contact sections */
#team {
  background: var(--gradient-primary) !important;
  color: white;
}

#demo {
  background: var(--gradient-primary) !important;
  color: white;
}

section:last-of-type {
  background: var(--gradient-primary) !important;
  color: white;
}

/* Toast Notification Styles */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  max-width: 350px;
}

.toast {
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.success {
  border-left: 4px solid #10b981;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
}

.toast.error {
  border-left: 4px solid #ef4444;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.toast-icon {
  margin-right: 12px;
  font-size: 20px;
  flex-shrink: 0;
}

.toast.success .toast-icon {
  color: #10b981;
}

.toast.error .toast-icon {
  color: #ef4444;
}

.toast-message {
  flex: 1;
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}

.toast-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #6b7280;
  cursor: pointer;
  margin-left: 12px;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.toast-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Hero Section Responsive Design */
@media (max-width: 1024px) {
  .hero {
    margin: 90px 20px 20px 20px; /* Giảm margin-top một chút cho tablet */
  }
}

@media (max-width: 768px) {
  .hero {
    width: calc(100% - 16px); /* Giảm chiều rộng cho mobile */
    margin: 180px 8px 20px 8px; /* Tăng margin-top lên 180px cho mobile để đẩy xuống thêm */
    padding: 20px 10px; /* Thêm padding để tạo khoảng cách bổ sung */
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .hero {
    width: calc(100% - 8px); /* Giảm chiều rộng hơn nữa cho mobile nhỏ */
    margin: 150px 4px 20px 4px; /* Tăng margin-top lên 150px cho mobile nhỏ */
    padding: 15px 8px; /* Padding cho mobile nhỏ */
    border-radius: 12px;
  }
}
