/* ==========================================================================
   Vetnam Pro - Modern Accessible Stylesheet (IT)
   ========================================================================== */

:root {
  --color-bg-main: #f8fafc;
  --color-bg-card: #ffffff;
  --color-bg-dark: #0f172a;
  --color-bg-dark-alt: #1e293b;
  --color-primary: #0f172a;
  --color-accent: #d97706;
  --color-accent-hover: #b45309;
  --color-accent-light: #fef3c7;
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-text-light: #f8fafc;
  --color-border: #e2e8f0;
  --color-border-dark: #334155;
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', var(--font-family);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-normal: 0.25s ease-in-out;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--color-accent);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  text-decoration: none;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--color-text-main); }
p.lead { font-size: 1.15rem; color: var(--color-text-muted); }

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-logo img {
  width: 42px;
  height: 42px;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--color-text-main);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition-normal);
  padding: 6px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-accent);
  border-radius: var(--radius-full);
}

.btn-burger {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--color-primary);
  cursor: pointer;
  padding: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  font-family: var(--font-family);
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-border-dark);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  opacity: 0.07;
  background-image: radial-gradient(#d97706 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-content .highlight {
  color: #f59e0b;
}

.hero-content p {
  color: #cbd5e1;
  font-size: 1.15rem;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-image-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border-dark);
}

.hero-image-box img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-badge i {
  color: #f59e0b;
  font-size: 1.4rem;
}

/* Stats Section */
.stats-section {
  background-color: #ffffff;
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.stat-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

/* Steps / How it works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.step-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  position: relative;
  transition: transform var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 48px;
  height: 48px;
  background-color: var(--color-accent-light);
  color: var(--color-accent-hover);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-body h3 {
  margin-bottom: 12px;
}

.service-card-body p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

/* Features Block */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.feature-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.feature-list i {
  color: var(--color-accent);
  font-size: 1.3rem;
  margin-top: 4px;
}

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

.pricing-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal);
}

.pricing-card.featured {
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-xl);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-accent);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 16px 0 8px;
  font-family: var(--font-heading);
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

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

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.pricing-features i {
  color: #10b981;
}

/* Trust / Standards Block */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.trust-item {
  background-color: #ffffff;
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.trust-item i {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 16px;
}

/* FAQ Accordion */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
}

.accordion-btn {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-family);
}

.accordion-btn i {
  transition: transform 0.2s ease;
  color: var(--color-accent);
}

.accordion-btn[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 0 24px 20px;
  color: var(--color-text-muted);
}

.accordion-content.show {
  display: block;
}

/* Lead Capture Form */
.form-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
}

.form-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background-color: #ffffff;
  color: var(--color-text-main);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.form-header {
  text-align: center;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: border-color var(--transition-normal);
}

.form-control:focus {
  border-color: var(--color-accent);
  outline: none;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.form-check input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-check a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Trust Layer */
.trust-layer {
  background-color: #e2e8f0;
  padding: 24px 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-top: 1px solid #cbd5e1;
}

.trust-layer a {
  color: var(--color-primary);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background-color: var(--color-bg-dark);
  color: #94a3b8;
  padding: 60px 0 30px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color var(--transition-normal);
}

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

.footer-bottom {
  border-top: 1px solid var(--color-border-dark);
  padding-top: 30px;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* Legal Page Content Layout */
.legal-content {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin: 40px 0 60px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 28px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
}

.legal-content ul, .legal-content ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 20px 24px;
  z-index: 99999;
  border-top: 1px solid var(--color-border-dark);
  box-shadow: 0 -10px 25px rgba(0,0,0,0.2);
  display: none;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text {
  font-size: 0.9rem;
  color: #cbd5e1;
}

.cookie-text a {
  color: #f59e0b;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background-color: var(--color-accent);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
}

.btn-cookie-deny {
  background-color: transparent;
  color: #cbd5e1;
  border: 1px solid var(--color-border-dark);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .feature-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .btn-burger {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-menu.is-active {
    display: flex;
  }
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-buttons {
    width: 100%;
    justify-content: flex-end;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-wrapper {
    padding: 24px;
  }
}