/* ============================================
   BAILLEUL VIETNAM - UNIFIED DESIGN SYSTEM
   Matching the original bailleulvietnam.com
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables / Design Tokens --- */
:root {
  /* Brand Colors */
  --red-primary: #e31837;
  --red-dark: #c41430;
  --red-light: #ff3050;
  --navy: #05224a;
  --blue-badge: #5990ff;
  --blue-check: #4a90d9;

  /* Neutral */
  --white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-section: #f5f5f5;
  --gray-100: #f0f0f0;
  --gray-200: #e0e0e0;
  --gray-300: #cccccc;
  --gray-500: #888888;
  --gray-700: #555555;
  --gray-900: #222222;
  --text-dark: #333333;
  --text-body: #555555;

  /* Gradients */
  --gradient-bg: linear-gradient(135deg, #d4e7ff 0%, #f0e4f7 30%, #fce4ec 60%, #c8e6f5 100%);
  --gradient-hero-bg: linear-gradient(135deg, #bdd8f7 0%, #e8d0f0 35%, #f8c8d4 65%, #a8d8ea 100%);
  --gradient-menu: linear-gradient(rgb(237, 30, 121), rgb(102, 45, 140));

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);

  /* Layout */
  --container-width: 1200px;
  --container-padding: 20px;
  --header-height: 60px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Transitions */
  --transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--gradient-bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ============================================
   HEADER - White sticky with clean nav
   ============================================ */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  height: var(--header-height);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.header-logo img {
  height: 70px;
  width: auto;
}

.header-logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.header-nav a:hover,
.header-nav a.active {
  background: var(--gray-100);
  color: var(--navy);
}

.header-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-tiktok {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dark);
  border: 1.5px solid var(--gray-200);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
}

.badge-tiktok span {
  font-size: 14px;
  font-weight: 800;
}

.badge-shopee {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red-primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}

.badge-shopee:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.badge-shopee svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
  vertical-align: middle;
}

/* TikTok badge as image */
.badge-tiktok-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

/* Product card as full image link */
.product-card-link {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  cursor: pointer;
}

.product-card-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card-link img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* ============================================
   HERO SECTION - Centered logo badge
   ============================================ */
.hero {
  padding: 50px 0 30px;
  text-align: center;
  background: var(--gradient-hero-bg);
  position: relative;
}

.hero-logo-wrapper {
  display: inline-block;
  position: relative;
  margin-bottom: 20px;
}

.hero-logo-outer {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(rgba(255, 136, 255, 0.25), rgba(108, 93, 230, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.hero-logo-inner {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.hero-logo-inner img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.hero-check-badge {
  position: absolute;
  bottom: -2px;
  right: 6px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-badge);
  border: 3px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: rgba(7, 105, 114, 0.2) 0px 15px 20px -10px;
}

.hero-check-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
}

.hero h1,
.hero .hero-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.hero p,
.hero .hero-description {
  font-size: 15px;
  color: var(--text-body);
  max-width: 700px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

/* ============================================
   CTA BUTTON - Red pill shape
   ============================================ */
.btn-cta {
  display: inline-block;
  background: var(--red-primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 40px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(227, 24, 55, 0.3);
}

.btn-cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(227, 24, 55, 0.4);
}

/* ============================================
   FEATURE CARDS - 4 columns
   ============================================ */
.features-section {
  padding: 40px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

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

.feature-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
}

.feature-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

/* ============================================
   PRODUCT SECTION - Best Sellers Grid
   ============================================ */
.products-section {
  padding: 20px 0 40px;
}

.section-banner {
  display: block;
  max-width: 600px;
  margin: 0 auto 30px;
  background: var(--red-primary);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 12px 32px;
  border-radius: var(--radius-full);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  cursor: pointer;
}

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

.product-card-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 12px 15px;
}

.product-mall-badge {
  display: inline-block;
  background: var(--red-primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  margin-right: 4px;
  vertical-align: middle;
}

.product-card-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--red-primary);
}

.product-price .discount {
  font-size: 12px;
  font-weight: 600;
  color: var(--red-light);
  margin-left: 6px;
}

.product-tags {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.product-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid var(--red-primary);
  color: var(--red-primary);
  background: rgba(227, 24, 55, 0.05);
}

.product-tag.filled {
  background: var(--red-primary);
  color: var(--white);
  border-color: var(--red-primary);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--gray-500);
}

.product-rating .star {
  color: #f5a623;
}

/* ============================================
   CONTENT SECTION - For About, Privacy, Terms
   ============================================ */
.content-section {
  padding: 40px 0;
}

.content-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px;
  max-width: 950px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  line-height: 1.8;
  color: var(--text-body);
}

.content-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 12px;
}

.content-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin: 22px 0 10px;
}

.content-card p {
  margin-bottom: 14px;
  font-size: 15px;
}

.content-card ul,
.content-card ol {
  padding-left: 24px;
  margin-bottom: 14px;
}

.content-card li {
  margin-bottom: 6px;
  font-size: 14px;
  list-style: disc;
}

.content-card ol li {
  list-style: decimal;
}

.content-card strong {
  font-weight: 600;
  color: var(--text-dark);
}

/* Page title in hero for sub-pages */
.page-hero {
  padding: 40px 0 30px;
  text-align: center;
  background: var(--gradient-hero-bg);
}

.page-hero h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 15px;
  color: var(--text-body);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px;
  max-width: 750px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.contact-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 6px;
}

.contact-card .form-divider {
  width: 50px;
  height: 3px;
  background: var(--red-primary);
  margin: 0 auto 30px;
  border-radius: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group label .required {
  color: var(--red-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red-primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(227, 24, 55, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-300);
}

.form-submit-btn {
  display: block;
  width: auto;
  margin: 10px auto 0;
  background: var(--red-primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 40px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(227, 24, 55, 0.3);
}

.form-submit-btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 16px;
}

.form-note a {
  color: var(--red-primary);
  text-decoration: underline;
}

/* ============================================
   LOADING PAGE
   ============================================ */
.loading-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--gradient-bg);
  text-align: center;
  padding: 40px 20px;
}

.loading-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 40px;
  animation: pulseLogo 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulseLogo {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(227, 24, 55, 0.1);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(227, 24, 55, 0.3);
  }
}

.loading-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.qr-scan-container {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 30px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.loading-qr {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.8;
}

.qr-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--red-primary);
  box-shadow: 0 4px 10px rgba(227, 24, 55, 0.6);
  animation: scan 2s infinite ease-in-out;
}

@keyframes scan {
  0% { top: 0; }
  50% { top: 100%; }
  100% { top: 0; }
}

.spinner {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 auto 24px;
  position: relative;
  animation: spinnerRotate 1.5s linear infinite;
}

.spinner::before,
.spinner::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  border: 4px solid transparent;
}

.spinner::before {
  border-top-color: var(--navy);
  animation: spinnerRing 2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner::after {
  border-bottom-color: var(--red-primary);
  animation: spinnerRing 2s cubic-bezier(0.5, 0, 0.5, 1) infinite reverse;
}

@keyframes spinnerRotate {
  100% { transform: rotate(360deg); }
}

@keyframes spinnerRing {
  0% { transform: rotate(0deg); border-width: 2px; }
  50% { transform: rotate(180deg); border-width: 6px; }
  100% { transform: rotate(360deg); border-width: 2px; }
}

.loading-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
}

.loading-subtext {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 8px;
}

/* ============================================
   CHECKING / VERIFICATION PAGE
   ============================================ */
.check-success {
  text-align: center;
  padding: 40px 0;
}

.check-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #28a745, #20c997);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
  animation: checkPopIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  opacity: 0;
  transform: scale(0.5);
}

.check-badge svg {
  width: 40px;
  height: 40px;
  fill: var(--white);
  opacity: 0;
  animation: checkDraw 0.5s ease-out 0.4s forwards;
}

@keyframes checkPopIn {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes checkDraw {
  from { opacity: 0; transform: scale(0.5) rotate(-30deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.check-success h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.check-success p {
  font-size: 15px;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto 24px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 30px auto 0;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

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

.benefit-card .icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.benefit-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.benefit-card p {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ============================================
   FOOTER - Red background
   ============================================ */
.footer {
  background: var(--red-primary);
  color: var(--white);
  padding: 40px 0 0;
  margin-top: 40px;
}

.footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}
.footer-brand-name .verified {
  width: 22px;
  height: 22px;
  background: #4a90d9;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.footer-brand-name .verified svg {
  width: 10px;
  height: 10px;
  fill: var(--white);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-contact-list li svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
  flex-shrink: 0;
}

.footer-right h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 16px;
  margin-bottom: 16px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-links a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.footer-bottom {
  text-align: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .header-nav,
  .header-badges {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  /* Mobile nav overlay */
  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 10px 20px 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    gap: 8px;
    z-index: 999;
    border-top: 1px solid var(--gray-100);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .header-nav.open a {
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    border-radius: var(--radius-md);
    background: var(--gray-50);
    transition: var(--transition);
  }

  .header-nav.open a:hover,
  .header-nav.open a.active {
    background: var(--red-primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(227, 24, 55, 0.2);
  }

  .header-nav.open a::after {
    display: none;
  }

  .hero h1,
  .hero .hero-title,
  .page-hero h1,
  .check-success h1 {
    font-size: 22px;
  }

  .page-hero p {
    padding: 0 20px;
  }

  .hero-logo-outer {
    width: 130px;
    height: 130px;
  }

  .hero-logo-inner {
    width: 115px;
    height: 115px;
  }

  .hero-logo-inner img {
    width: 80px;
    height: 80px;
  }

  .features-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .content-card {
    padding: 30px 20px;
  }

  .contact-card {
    padding: 30px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .product-card-body {
    padding: 8px 10px;
  }

  .product-card-title {
    font-size: 12px;
  }

  .product-price {
    font-size: 14px;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .btn-cta, .section-banner {
    font-size: 11px;
    padding: 14px 8px;
    letter-spacing: 0;
    width: 92%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
  }
}
