/* ============================================
   GLOBAL CSS - Combined from all sections
   ============================================ */

@import './mobile-menu.css';

/* CSS Variables */
:root {
  --color-black: #08080c;
  --color-white: #ffffff;
  --color-gray-bg: #f3f3f3;
  --color-text-secondary: #94a3b8;
  --color-accent-green: #00a470;
  --color-accent-red: #ff5f5f;
  --color-card-bg: #fcfcfc;
  --font-primary: 'Inter', sans-serif;
}

/* Reset & Base Styles */
html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

* {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  background-color: var(--color-white);
  color: var(--color-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

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

/* Scroll Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Delay for staggered animation */
.stat-card:nth-child(1) {
  transition-delay: 0.1s;
}

.stat-card:nth-child(2) {
  transition-delay: 0.2s;
}

.stat-card:nth-child(3) {
  transition-delay: 0.3s;
}

.logo-item:nth-child(1) {
  transition-delay: 0.1s;
}

.logo-item:nth-child(2) {
  transition-delay: 0.2s;
}

.logo-item:nth-child(3) {
  transition-delay: 0.3s;
}

.logo-item:nth-child(4) {
  transition-delay: 0.4s;
}

.logo-item:nth-child(5) {
  transition-delay: 0.5s;
}

.logo-item:nth-child(6) {
  transition-delay: 0.6s;
}

/* AI Features Section */
#section-ai-features {
  padding: 80px 0;
  background: #f8f9fa;
  overflow-x: hidden;
}

/* Stats Strip (1000+ / 4.8/5 / 50+) */
.stats-strip {
  padding: 48px 0;
  background: linear-gradient(135deg, #08080c 0%, #1a1a24 100%);
  color: #fff;
}
.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.stats-strip-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stats-strip-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-accent-red);
}
.stats-strip-label {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
.stats-strip-sublabel {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
@media (max-width: 768px) {
  .stats-strip-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-strip { padding: 32px 0; }
  .stats-strip-number { font-size: 28px; }
}

/* Why OptiPOS AI - 9 feature cards */
.why-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.why-feature-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}
.why-feature-card:hover {
  border-color: var(--color-accent-red);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.why-feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #08080c;
  margin: 0 0 8px 0;
}
.why-feature-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}
.features-cta-wrap {
  text-align: center;
}
.features-cta-wrap .btn-primary {
  display: inline-flex;
}

/* Testimonials */
.section-testimonials {
  padding: 80px 0;
  background: #f8f9fa;
  overflow-x: hidden;
}
.testimonials-rating-big {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-accent-red);
}
.section-testimonials .features-header { margin-bottom: 48px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.testimonial-quote {
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
  margin: 0 0 20px 0;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.author-name { font-weight: 600; color: #08080c; font-size: 16px; }
.author-role { font-size: 14px; color: #6b7280; }
@media (max-width: 768px) {
  .section-testimonials { padding: 48px 0; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* Hệ Sinh Thái Tính Năng */
.section-ecosystem {
  padding: 80px 0;
  background: #fff;
  overflow-x: hidden;
}
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.ecosystem-card {
  display: flex;
  flex-direction: column;
  background: #fcfcfc;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 32px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
.ecosystem-card:hover {
  border-color: var(--color-accent-red);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  color: inherit;
}
.ecosystem-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #08080c;
  margin: 0 0 8px 0;
}
.ecosystem-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0 0 16px 0;
  flex: 1;
}
.ecosystem-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent-red);
}
.ecosystem-card:hover .ecosystem-link {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .section-ecosystem { padding: 48px 0; }
  .ecosystem-grid { grid-template-columns: 1fr; }
}

/* CTA Consult */
.section-cta-consult {
  padding: 64px 0;
  background: linear-gradient(135deg, #08080c 0%, #1a1a24 100%);
  color: #fff;
  overflow-x: hidden;
}
.cta-consult-box {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-consult-box h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: #fff;
}
.cta-consult-box p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 28px 0;
  line-height: 1.6;
}
.cta-consult-box .btn-primary {
  background: var(--color-accent-red);
  border-color: var(--color-accent-red);
}
.cta-consult-box .btn-primary:hover {
  background: #e04e4e;
  border-color: #e04e4e;
}
@media (max-width: 768px) {
  .section-cta-consult { padding: 48px 0; }
  .cta-consult-box h2 { font-size: 24px; }
}

/* Sub-pages: Features, Pricing, Contact, About, Reviews */
.page-features,
.page-pricing,
.page-contact,
.page-about,
.page-reviews {
  padding: 60px 0 80px;
  min-height: 60vh;
}
.page-features {
  padding-top: 40px;
  background: linear-gradient(180deg, #f8f9fa 0%, #fff 120px);
}
.page-header {
  text-align: center;
  margin-bottom: 48px;
}
.page-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: #08080c;
  margin: 0 0 16px 0;
}
.page-header p {
  font-size: 18px;
  color: #6b7280;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Feature blocks with icons */
.feature-block {
  max-width: 840px;
  margin: 0 auto 32px;
  padding: 32px 40px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  display: flex;
  gap: 28px;
  align-items: flex-start;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.feature-block:hover {
  border-color: rgba(255, 95, 95, 0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.feature-block-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
}
.feature-block-icon svg {
  width: 28px;
  height: 28px;
}
.feature-block-icon.pos { background: #dbeafe; }
.feature-block-icon.kho { background: #d1fae5; }
.feature-block-icon.crm { background: #fce7f3; }
.feature-block-icon.nhansu { background: #e9d5ff; }
.feature-block-content { flex: 1; min-width: 0; }
.feature-block h2 {
  font-size: 22px;
  font-weight: 700;
  color: #08080c;
  margin: 0 0 8px 0;
}
.feature-block .feature-desc {
  font-size: 15px;
  color: #6b7280;
  margin: 0 0 16px 0;
  line-height: 1.6;
}
.feature-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-block li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 15px;
  color: #374151;
  line-height: 1.5;
}
.feature-block li:last-child { margin-bottom: 0; }
.feature-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-green);
}
.page-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .feature-block {
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
  }
  .feature-block-icon { width: 48px; height: 48px; }
  .feature-block-icon svg { width: 24px; height: 24px; }
  .page-header h1 { font-size: 28px; }
}

.page-pricing .features-header { text-align: center; margin-bottom: 48px; }
.page-pricing .features-header h1 { font-size: 42px; margin-bottom: 16px; }
.page-pricing .page-cta { margin-top: 48px; }
a.pricing-btn {
  display: block;
  text-align: center;
  text-decoration: none;
}

/* Contact page */
.page-contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
}
.page-contact .contact-info h2,
.page-contact .contact-form-wrap h2 {
  font-size: 24px;
  font-weight: 700;
  color: #08080c;
  margin: 0 0 16px 0;
}
.page-contact .contact-info p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 24px 0;
}
.page-contact .contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
  color: #374151;
}
.page-contact .contact-detail strong { color: #08080c; min-width: 90px; }
.page-contact .contact-form-wrap {
  background: #fcfcfc;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 32px;
}
.page-contact .form-group {
  margin-bottom: 20px;
}
.page-contact .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}
.page-contact .form-group input,
.page-contact .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
}
.page-contact .form-group textarea { min-height: 120px; resize: vertical; }
.page-contact .form-group input:focus,
.page-contact .form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent-red);
}
@media (max-width: 768px) {
  .page-contact .contact-grid { grid-template-columns: 1fr; }
}

/* About page */
.page-about .about-intro {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.page-about .about-intro p {
  font-size: 17px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0 0 16px 0;
}
.page-about .about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.page-about .value-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.page-about .value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #08080c;
  margin: 0 0 8px 0;
}
.page-about .value-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

/* Reviews page (danh-gia) */
.page-reviews .reviews-intro {
  text-align: center;
  margin-bottom: 40px;
}
.page-reviews .reviews-intro .rating-big {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-accent-red);
  margin-bottom: 8px;
}
.page-reviews .reviews-list {
  max-width: 900px;
  margin: 0 auto;
}
.page-reviews .review-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.page-reviews .review-card .stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.page-reviews .review-card .stars img { width: 18px; height: 18px; }
.page-reviews .review-card blockquote {
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
  margin: 0 0 20px 0;
  font-style: italic;
}
.page-reviews .review-card .author {
  font-weight: 600;
  color: #08080c;
}
.page-reviews .review-card .role {
  font-size: 14px;
  color: #6b7280;
}

#section-ai-features .container {
  width: 100%;
  max-width: 1440px;
  box-sizing: border-box;
  overflow-x: hidden;
}

#section-ai-features .stats-grid {
  max-width: 1400px;
  margin: 0 auto;
}

#section-ai-features .stat-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 0;
}

#section-ai-features .stat-card h3 {
  color: #08080c;
  font-weight: 600;
}

#section-ai-features .stat-badge {
  font-size: 24px;
}

#section-ai-features .stat-badge span:first-child {
  margin-right: 8px;
}

#section-ai-features .ai-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  margin-right: 8px;
}

/* Pricing Section */
#section-pricing {
  padding: 80px 0 100px 0;
  background: #ffffff;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

#section-pricing .container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 30px 0 0 0;
  position: relative;
}

.pricing-card {
  background: #fcfcfc;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 40px 32px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: #08080c;
}

.pricing-card.featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
  background: #08080c;
  color: #fff;
  border-color: #08080c;
  transform: none;
  max-width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border-width: 2px;
}

.pricing-card.featured .pricing-title,
.pricing-card.featured .pricing-subtitle,
.pricing-card.featured .price-amount,
.pricing-card.featured .pricing-features li {
  color: #fff;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent-red);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 10;
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-title {
  font-size: 28px;
  font-weight: 700;
  color: #08080c;
  margin: 0 0 8px 0;
}

.pricing-subtitle {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
}

.pricing-price {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5e7eb;
}

.pricing-card.featured .pricing-price {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.price-amount {
  font-size: 48px;
  font-weight: 700;
  color: #08080c;
  line-height: 1;
}

.price-period {
  font-size: 16px;
  color: #94a3b8;
  margin-left: 8px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #08080c;
  line-height: 1.5;
}

.pricing-card.featured .pricing-features li {
  color: rgba(255, 255, 255, 0.9);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--color-accent-green);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-btn {
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid #08080c;
  background: transparent;
  color: #08080c;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pricing-btn:hover {
  background: #08080c;
  color: #fff;
  transform: translateY(-2px);
}

.pricing-btn.primary {
  background: var(--color-accent-red);
  color: #fff;
  border-color: var(--color-accent-red);
}

.pricing-btn.primary:hover {
  background: #e04e4e;
  border-color: #e04e4e;
}

@media (max-width: 768px) {
  #section-pricing {
    padding: 40px 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  #section-pricing .container {
    padding: 0 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
    max-width: 100%;
    padding: 30px 0 0 0;
    box-sizing: border-box;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    position: relative;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card {
    padding: 32px 24px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .price-amount {
    font-size: 36px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .pricing-btn {
    font-size: 14px;
    padding: 12px 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .pricing-features li {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

@media (max-width: 768px) {
  #section-ai-features {
    padding: 40px 0;
    overflow-x: hidden;
  }

  #section-ai-features .container {
    padding: 0 20px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  #section-ai-features .stats-grid {
    gap: 20px;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    margin: 0;
  }

  #section-ai-features .stat-card {
    padding: 24px 20px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  #section-ai-features .stat-card:last-child {
    margin-bottom: 0;
  }

  #section-ai-features .stat-card h3 {
    font-size: 18px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  #section-ai-features .stat-badge {
    font-size: 18px;
  }

  #section-ai-features .stat-desc {
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 14px;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  width: 100%;
}

/* ============================================
   HEADER SECTION
   ============================================ */
#header-section {
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #fff;
  position: relative;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 9px;
}

.logo-text {
  font-weight: 700;
  font-size: 20px;
  color: var(--color-black);
}

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #0b0b0b;
  padding: 4px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-accent-red);
  color: var(--color-white);
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
}

.nav-link {
  color: var(--color-white);
  text-decoration: none;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.nav-link:hover {
  opacity: 1;
}

/* Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.theme-toggle {
  display: flex;
  align-items: center;
}

.toggle-switch {
  position: relative;
  width: 43px;
  height: 22px;
  border: 1px solid #d1d5db;
  border-radius: 11px;
}

.toggle-bg {
  position: absolute;
  top: 1px;
  left: 23px;
}

.toggle-icon {
  position: absolute;
  top: 4px;
  left: 26px;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #b1e5fc;
  border: 2px solid #fff;
  transition: transform 0.3s ease;
}

.avatar:hover {
  transform: scale(1.1);
}

.avatar img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bo tròn các phần tử khác */
.notification-icon,
.icon-btn,
.submit-btn,
.badge-success,
.badge,
.stat-badge,
.account-pill {
  border-radius: 50px;
  overflow: hidden;
}

.card,
.stat-card {
  border-radius: 20px;
  overflow: hidden;
}

.dashboard-mockup {
  border-radius: 40px;
}

/* Bo tròn cho các button và input */
button,
.btn-primary,
.btn-secondary,
.btn-signin {
  border-radius: 50px;
  overflow: hidden;
}

input[type="email"],
.email-input {
  border-radius: 8px;
}

.pro-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
}

.btn-signin {
  padding: 0 20px;
  height: 40px;
  border: 1px solid rgba(8, 8, 12, 0.4);
  border-radius: 52px;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-signin:hover {
  background-color: rgba(8, 8, 12, 0.05);
  transform: translateY(-1px);
}

/* ============================================
   HERO SECTION (from headeer.trangchinh)
   ============================================ */
#hero-section {
  position: relative;
  overflow: hidden;
  background-color: #f3f3f3;
  border-radius: 32px;
  margin: 20px;
  min-height: 900px;
}

.hero-container {
  position: relative;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Backgrounds */
#hero-section {
  position: relative;
}

#hero-section .bg-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#hero-section .bg-shape img,
#hero-section .bg-shape .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
}

#hero-section .shape-1 {
  top: -265px;
  right: -300px;
  width: 150%;
  height: 150%;
  min-width: 100%;
  min-height: 100%;
}

#hero-section .shape-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
}

#hero-section .shape-2 {
  top: 100px;
  left: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
}

#hero-section .shape-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 950px;
  margin-bottom: 60px;
}

.hero-title {
  font-size: 82px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -2px;
  margin: 0 0 32px 0;
  color: var(--color-black);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-black);
  opacity: 0.8;
  max-width: 566px;
  margin: 0 auto 32px auto;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.btn-primary {
  background-color: #000;
  color: #fff;
  padding: 14px 32px;
  border-radius: 66px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  cursor: pointer;
}
a.btn-primary {
  text-decoration: none;
  display: inline-flex;
}

.btn-primary:hover {
  background-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid #08080c;
  color: #08080c;
  padding: 14px 32px;
  border-radius: 46px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: #08080c;
  color: #fff;
  transform: translateY(-2px);
}

.trustpilot-row {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.trustpilot-badge {
  display: flex;
  align-items: center;
  gap: 20px;
}

.tp-logo {
  display: flex;
  align-items: center;
  gap: 4px;
}

.star-box {
  width: 31px;
  height: 31px;
  background-color: #ff5f5f;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1px;
}

.tp-text {
  font-weight: 700;
  font-size: 16px;
}

.tp-rating {
  display: flex;
  align-items: center;
  gap: 9px;
}

.stars {
  display: flex;
  gap: 4px;
}

.tp-score {
  font-weight: 500;
  font-size: 14px;
}

/* Floating Tags */
.floating-tag {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
}

.tag-content {
  padding: 12px 14px;
  border-radius: 55px;
  font-weight: 600;
  font-size: 12px;
  margin-bottom: -10px;
}

.finance-bg {
  background-color: #fef3b5;
}

.business-bg {
  background-color: #f8c9c5;
}

.cursor-icon {
  width: 32px;
  height: 32px;
  align-self: flex-end;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.1));
}

.tag-finance {
  top: 250px;
  left: 15%;
}

.tag-business {
  top: 230px;
  right: 15%;
}

/* Dashboard Mockup (iPhone) */
.dashboard-mockup {
  position: relative;
  z-index: 2;
  width: 375px;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0px 4px 100px 6px rgba(17, 17, 17, 0.08);
  overflow: hidden;
  margin-top: 40px;
  transition: transform 0.3s ease;
}

.dashboard-mockup:hover {
  transform: translateY(-5px);
}

.iphone-frame {
  padding: 0 24px 24px 24px;
  background: #fff;
}

/* Status Bar */
.status-bar {
  height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  margin-bottom: 10px;
}

.time {
  font-weight: 600;
  font-size: 15px;
}

.status-icons {
  display: flex;
  gap: 5px;
  align-items: center;
}

.battery {
  position: relative;
  width: 24px;
  height: 11px;
}

.battery-body {
  border: 1px solid #000;
  border-radius: 3px;
  width: 22px;
  height: 11px;
  padding: 1px;
  opacity: 0.35;
}

.battery-level {
  background: #000;
  width: 18px;
  height: 7px;
  border-radius: 1px;
}

.battery-cap {
  position: absolute;
  right: 0;
  top: 4px;
}

/* App Header */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 16px;
}

.header-right {
  display: flex;
  gap: 10px;
}

.notification-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Accounts */
.accounts-section {
  margin-bottom: 24px;
}

.accounts-section h2 {
  font-size: 20px;
  margin: 0 0 16px 0;
}

.account-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.account-pill {
  border: 1px solid #e5e7eb;
  border-radius: 170px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 17px;
  flex: 1;
}

.account-icon-group {
  position: relative;
  width: 20px;
  height: 20px;
}

.bg-circle {
  position: absolute;
  top: 0;
  left: 0;
}

.icon-card {
  position: absolute;
  top: 4px;
  left: 4px;
}

.account-details {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.action-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-icon-outline {
  width: 36px;
  height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon-filled {
  width: 36px;
  height: 36px;
  background: #925fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider {
  width: 1px;
  height: 16px;
  background: #d1d5db;
}

/* Stats Cards (in iPhone) */
.stats-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-card {
  background: #fcfcfc;
  border-radius: 20px;
  padding: 24px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.stat-card.white-bg {
  background: #fff;
}

.card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.card-label {
  color: #94a3b8;
  font-size: 14px;
}

.card-value-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.card-value {
  font-size: 28px;
  font-weight: 600;
}

.badge-success {
  background: #d6fff3;
  color: #00a470;
  padding: 4px 6px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

.home-indicator {
  width: 139px;
  height: 5px;
  background: #000;
  border-radius: 100px;
  margin: 20px auto 10px auto;
}

.fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 118px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
  z-index: 5;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
}

/* ============================================
   RESPONSIVE MOBILE
   ============================================ */
@media (max-width: 768px) {
  /* Old responsive header styles removed in favor of mobile-menu.css */

  /* Hero Mobile */
  #hero-section {
    margin: 10px;
    border-radius: 20px;
    min-height: auto;
    padding-bottom: 40px;
  }

  .hero-container {
    padding-top: 40px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
  }

  /* Fix pricing button overflow */
  .pricing-btn {
    max-width: 100%;
    box-sizing: border-box;
  }


  .floating-tag {
    display: none;
  }

  #hero-section .bg-shape {
    opacity: 0.5;
  }

  .dashboard-mockup {
    width: 100%;
    max-width: 320px;
    margin-top: 30px;
  }

  .trustpilot-row {
    margin-top: 20px;
  }

  .trustpilot-badge {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Features Mobile */
  #section-features {
    padding: 40px 0 60px;
    overflow-x: hidden;
  }

  #section-features .container {
    padding: 0 20px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  .features-header {
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .features-header h2 {
    font-size: 28px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .features-header p {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .stats-grid {
    gap: 20px;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    margin: 0;
  }

  .stat-card {
    padding: 24px 20px;
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .stat-card:last-child {
    margin-bottom: 0;
  }

  .stat-desc {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .stat-value {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .stat-value {
    font-size: 48px;
  }

  /* Footer Mobile */
  .footer-content {
    padding: 40px 20px 30px 20px;
  }

  .footer-top {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
  }

  .cta-title {
    font-size: 32px;
  }

  .email-form {
    width: 100%;
  }

  .email-input {
    font-size: 18px;
  }

  .footer-middle {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
  }

  .address-block {
    width: 100%;
  }

  .links-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    margin-top: 40px;
  }

  .legal-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .watermark {
    font-size: 120px;
    top: 150px;
    left: -50px;
  }

  /* Footer Logos Mobile */
  #footer-logos {
    padding: 40px 0;
  }

  .logos-grid {
    gap: 24px;
  }

  .logo-item {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .cta-title {
    font-size: 24px;
  }

  .features-header h2 {
    font-size: 24px;
  }

  .stat-value {
    font-size: 36px;
  }

  .dashboard-mockup {
    max-width: 280px;
  }
}


/* ============================================
   FOOTER LOGOS SECTION (from headeer.trangchinh)
   ============================================ */
#footer-logos {
  padding: 60px 0;
  background-color: #fff;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer-text {
  font-weight: 600;
  font-size: 16px;
  color: var(--color-black);
  margin: 0;
}

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  align-items: center;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.opacity-low {
  opacity: 0.24;
  transition: opacity 0.3s;
}

.opacity-low:hover {
  opacity: 0.6;
}

@media (max-width: 1024px) {
  .logos-grid {
    gap: 32px;
  }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
#section-features {
  padding: 80px 0 120px;
  overflow-x: hidden;
}

#section-features .container {
  width: 100%;
  max-width: 1440px;
  box-sizing: border-box;
  overflow-x: hidden;
}

.features-header {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .features-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.features-header h2 {
  font-size: 42px;
  font-weight: 700;
  color: #08080c;
  max-width: 600px;
  line-height: 1.1;
}

.features-header p {
  color: #6b7280;
  max-width: 363px;
  line-height: 1.6;
}

.stats-grid {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  padding: 10px;
  gap: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  margin: 0;
}

@media (max-width: 768px) {
  .stats-grid {
    padding: 0;
    border-radius: 0;
    background: transparent;
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
  }
}

.stat-card {
  flex: 1;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 0;
}

@media (max-width: 1023px) {
  .stats-grid {
    background: transparent;
    border-radius: 0;
    padding: 0;
  }

  .stat-card {
    padding: 24px 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
  }

  .stat-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
}



.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  color: #ff5f5f;
  font-weight: 500;
  font-size: 14px;
}

.stat-number-box {
  display: flex;
  align-items: baseline;
}

.stat-value {
  font-size: 64px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1;
}

.stat-symbol {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin-left: 4px;
}

.stat-desc {
  color: #6b7280;
  line-height: 1.6;
  font-size: 16px;
}

/* stat-divider-vertical removed - using gap instead */

/* ============================================
   FOOTER SECTION
   ============================================ */
#section-footer {
  width: 100%;
  background-color: #ffffff;
  overflow: hidden;
}

.footer-container {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 762px;
  display: flex;
  flex-direction: column;
}

/* Background Layer */
.footer-container {
  position: relative;
}

.footer-container .bg-blob {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  border-radius: 0px;
  margin-left: calc(-50vw + 50%);
  min-width: 100%;
  min-height: 100%;
  overflow: hidden;
}

.footer-container .bg-blob img,
.footer-container .bg-blob .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.footer-container .blob-1 {
  left: -706px;
  top: -254px;
  filter: blur(344px);
  width: 150%;
  height: 150%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.footer-container .blob-2 {
  left: 723px;
  top: -219px;
  filter: blur(274px);
  width: 150%;
  height: 150%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.footer-container .blob-3 {
  left: -153px;
  top: -143px;
  filter: blur(314px);
  width: 150%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.footer-container .watermark {
  position: absolute;
  left: -127px;
  top: 487px;
  font-size: 275px;
  font-weight: 700;
  color: #000000;
  opacity: 0.05;
  white-space: nowrap;
  line-height: 1;
  user-select: none;
  z-index: 0;
  pointer-events: none;
}

/* Content Layer */
.footer-content {
  position: relative;
  z-index: 1;
  padding: 86px 72px 50px 72px;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex-grow: 1;
  justify-content: space-between;
}

/* Top Row */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 105px;
}

.cta-title {
  font-size: 57px;
  font-weight: 600;
  color: #08080c;
  letter-spacing: -0.02em;
}

.email-form {
  width: 469px;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.input-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.email-input {
  background: transparent;
  border: none;
  font-size: 24px;
  color: #1f2937;
  width: 100%;
  outline: none;
  font-family: inherit;
}

.email-input::placeholder {
  color: #1f2937;
  opacity: 0.2;
}

.submit-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-line {
  width: 100%;
  height: 1px;
  background-color: #6b7280;
}

/* Middle Row */
.footer-middle {
  display: flex;
  gap: 195px;
  margin-bottom: auto;
}

.address-block {
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 493px;
}

.column-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 24px;
}

.address-text {
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
  color: #1f2937;
}

.links-container {
  display: flex;
  gap: 247px;
}

.link-column {
  display: flex;
  flex-direction: column;
  min-width: 120px;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.link-list a {
  font-size: 16px;
  color: #6b7280;
  transition: color 0.2s;
}

.link-list a:hover {
  color: #1f2937;
}

/* Bottom Row */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 80px;
  padding-top: 20px;
}

.copyright {
  font-size: 14px;
  color: #1f2937;
}

.footer-logo img {
  width: 51px;
  height: auto;
}

.legal-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.legal-links a {
  font-size: 14px;
  color: #1f2937;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer-middle {
    gap: 80px;
  }

  .links-container {
    gap: 80px;
  }

  .cta-title {
    font-size: 42px;
  }
}

@media (max-width: 992px) {
  .footer-content {
    padding: 60px 40px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .email-form {
    width: 100%;
  }

  .footer-middle {
    flex-direction: column;
    gap: 60px;
  }

  .address-block {
    width: 100%;
  }

  .links-container {
    justify-content: space-between;
    gap: 40px;
  }
}

/* Mobile responsive styles are now in the main responsive section above */