@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg-color: #050505;
  --bg-glow: radial-gradient(circle at 50% 50%, rgba(255, 0, 51, 0.15) 0%, rgba(5, 5, 5, 1) 60%);
  --accent-color: #ff0033;
  --accent-hover: #ff335c;
  --text-main: #ffffff;
  --text-muted: #a3a3a3;
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-blur: blur(16px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  background-image: var(--bg-glow), url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Utilities */
.glass-panel {
  background: var(--glass-bg);
  border: var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 0, 51, 0.3);
  box-shadow: 0 10px 30px rgba(255, 0, 51, 0.05);
}

.text-gradient {
  background: linear-gradient(90deg, #fff 0%, #ff0033 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 0, 51, 0.4);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 30px rgba(255, 0, 51, 0.6);
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-main);
}

.logo span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* Container */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 85vh;
  gap: 4rem;
  position: relative;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.centerpiece {
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  animation: float 6s ease-in-out infinite;
  mask-image: radial-gradient(circle, black 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle, black 60%, transparent 100%);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Floating Stats Cards */
.stat-card {
  position: absolute;
  padding: 1.2rem;
  z-index: 10;
}

.stat-card.c1 { top: 15%; left: -5%; }
.stat-card.c2 { bottom: 15%; right: 0; }
.stat-card.c3 { bottom: 20%; left: 10%; }

.stat-card h3 {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 0.2rem;
}

.stat-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Section Shared */
section {
  padding: 6rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 4rem;
}

.section-head h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Pain Points / Problems Grid Layout */
.problems-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: stretch;
}

.problems-image-wrapper {
  display: flex;
}

.problems-image {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(255, 0, 51, 0.05);
}

.pain-grid-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.pain-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pain-item i.emoji {
  font-size: 2rem;
  background: rgba(255, 0, 51, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.pain-item h4 {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}
.pain-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Solution Banner */
.solution-banner {
  margin-top: 4rem;
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(255, 0, 51, 0.1) 0%, rgba(5,5,5,0.5) 100%);
  border: 1px solid rgba(255, 0, 51, 0.2);
}

.solution-banner h2 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Features/Benefits */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-panel h3 span {
  color: var(--accent-color);
  font-size: 1.5rem;
}

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

/* Final CTA */
.cta-section {
  text-align: center;
}
.cta-card {
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  background: radial-gradient(circle at top, rgba(255, 0, 51, 0.15) 0%, var(--glass-bg) 100%);
}

.cta-card h2 {
  font-size: 3rem;
  max-width: 800px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 4rem;
  }
  .hero-content h1 { font-size: 3rem; }
  .hero-content p { margin: 0 auto 2.5rem; }
  .hero-buttons { justify-content: center; }
  
  .stat-card.c1 { top: 0; left: 0; }
  .stat-card.c2 { bottom: 0; right: 0; }
  .stat-card.c3 { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .problems-layout { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  /* Layout Spacing */
  section { padding: 3rem 0; }
  .section-head { margin-bottom: 2rem; }
  .container { padding: 0 1rem; }
  
  /* Typography Scaling */
  .hero-content h1 { font-size: 2.2rem; }
  .section-head h2 { font-size: 1.8rem; line-height: 1.3; }
  .cta-card h2 { font-size: 1.8rem; line-height: 1.3; }
  
  /* Grids and Cards */
  .pain-grid-right { grid-template-columns: 1fr; }
  
  .pricing-grid,
  .testimonials-grid,
  .crossroads-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-card { padding: 2.5rem 1rem; }
  .testimonial-card, .path-card { padding: 1.6rem; }
  
  .pricing-price { font-size: 2.5rem; }
  
  /* Floating Buttons */
  .floating-contact {
    bottom: 15px;
    right: 15px;
    gap: 10px;
  }
  .contact-btn {
    width: 45px; height: 45px;
  }
  .contact-btn img {
    width: 24px;
  }
  
  /* UI Elements */
  .bank-info { font-size: 0.85rem !important; padding: 12px !important; }
  .copy-btn { padding: 3px 6px; margin-left: 5px; font-size: 0.75rem; }
  nav .btn { font-size: 0.9rem; padding: 0.6rem 1rem; }
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border-color: var(--accent-color);
  box-shadow: 0 0 40px rgba(255,0,51,0.1);
  transform: translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--text-main);
}

.pricing-price .currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.pricing-price .period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 3rem;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* CTA Form Styles */
.cta-form {
  width: 100%;
  max-width: 800px;
  margin-top: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cta-form input,
.cta-form select {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-main);
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  transition: all 0.3s ease;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.cta-form select option {
  background: var(--bg-color);
  color: white;
}

.cta-form input::placeholder {
  color: #777;
}

.cta-form input:focus,
.cta-form select:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 0, 51, 0.5);
  box-shadow: 0 0 15px rgba(255, 0, 51, 0.2);
}

/* Floating Contact Buttons */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.contact-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  background: white;
}

.contact-btn:hover {
  transform: translateY(-5px) scale(1.1);
}

.contact-btn.zalo {
  box-shadow: 0 0 20px rgba(0, 104, 255, 0.4);
}

.contact-btn.messenger {
  box-shadow: 0 0 20px rgba(0, 132, 255, 0.4);
}

/* Modal UI Styles */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 15px;
  overflow-y: auto;
}

.modal-content {
  width: 100%;
  max-width: 500px;
  margin: auto;
  text-align: center;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  padding: 25px !important;
}

/* Tùy chỉnh thanh cuộn cho Modal Overlay */
.modal-overlay::-webkit-scrollbar {
  width: 6px;
}
.modal-overlay::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}
.modal-overlay::-webkit-scrollbar-thumb {
  background: rgba(255, 0, 51, 0.7);
  border-radius: 10px;
}

.modal-content h3 {
  color: var(--accent-color);
  margin-bottom: 5px;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
}

.qr-wrapper {
  background: white;
  padding: 10px;
  border-radius: 12px;
  margin: 10px auto;
  width: 80%;
  max-width: 220px;
  box-shadow: 0 10px 30px rgba(255, 0, 51, 0.1);
}

.qr-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.modal-buttons .btn {
  width: 100%;
  padding: 1.2rem;
}

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

/* Bank Info Copy Badge */
.copy-btn {
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.8rem;
  cursor: pointer;
  margin-left: 10px;
  transition: all 0.2s;
  display: inline-block;
}

.copy-btn:hover {
  background: var(--accent-color);
  color: white;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 5rem;
}

.testimonial-card {
  padding: 2.5rem 2rem 2rem 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
}

.stars {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.feedback {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 2rem;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.testimonial-card::before {
  content: '"';
  font-size: 6rem;
  position: absolute;
  top: -10px;
  right: 20px;
  opacity: 0.1;
  color: var(--accent-color);
  font-family: serif;
  z-index: 1;
}

.author {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--accent-color);
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0px;
  color: #fff;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Crossroads CTA Section */
.crossroads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 950px;
  margin: 0 auto;
}

.path-card {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.path-card:hover {
  transform: translateY(-8px);
}

.highlight-path {
  box-shadow: 0 0 30px rgba(255, 0, 51, 0.15);
}
.highlight-path:hover {
  box-shadow: 0 10px 40px rgba(255, 0, 51, 0.3);
}
