/* ===================================================
   MDA Agrocot — AHAR Expo Landing Page
   PRODUCTION UI — Modern Premium Design
   =================================================== */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Brand Colors */
  --green-50: #f0f9eb;
  --green-100: #dcefd0;
  --green-200: #b9dfa1;
  --green-400: #82c252;
  --green-500: #6BA539;
  --green-600: #528A2A;
  --green-700: #3f6b1f;
  --green-900: #1a3a0a;

  --mango-50: #fef8ed;
  --mango-100: #fef0d5;
  --mango-300: #f8c565;
  --mango-400: #F6A623;
  --mango-500: #e8930e;
  --mango-600: #d07a0c;

  /* Neutrals */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #030712;

  --white: #ffffff;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --success: #10B981;
  --error: #EF4444;

  /* Typography */
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 9999px;

  /* Shadows — layered for depth realism */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 4px 6px rgba(0, 0, 0, 0.03);
  --shadow-md:
    0 2px 4px rgba(0, 0, 0, 0.03),
    0 8px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.04);
  --shadow-xl:
    0 8px 16px rgba(0, 0, 0, 0.04),
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 40px 80px rgba(0, 0, 0, 0.06);
  --shadow-green:
    0 4px 14px rgba(107, 165, 57, 0.25),
    0 8px 32px rgba(107, 165, 57, 0.15);
  --shadow-card:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.05),
    0 0 0 1px rgba(0, 0, 0, 0.03);
  --shadow-card-hover:
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 12px 28px rgba(107, 165, 57, 0.12),
    0 0 0 1px rgba(107, 165, 57, 0.15);

  /* Layout */
  --header-h: 60px;
  --sticky-cta-h: 64px;

  /* Spacing */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-h);
  padding-bottom: var(--sticky-cta-h);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-5);
}

/* ========================================
   BUTTONS — Premium Rounded Pill Style
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  border-radius: var(--r-full);
  text-align: center;
  white-space: nowrap;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease,
    background 0.2s ease,
    border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
}

.btn:hover::after {
  opacity: 1;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 15px;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--green-500) 0%, var(--green-600) 100%);
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 20px rgba(107, 165, 57, 0.35),
    0 12px 40px rgba(107, 165, 57, 0.2);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn--call-dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn--call-dark:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* ---------- SECTION HEADER ---------- */
.section-header {
  text-align: center;
  margin-bottom: var(--s-8);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green-600);
  background: var(--green-50);
  padding: 6px 16px;
  border-radius: var(--r-full);
  border: 1px solid var(--green-100);
  margin-bottom: var(--s-3);
}

.section-tag--dark {
  background: var(--gray-800);
  color: var(--mango-400);
  border-color: var(--gray-700);
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: var(--s-2);
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: var(--gray-500);
  font-size: 15px;
  margin-top: var(--s-2);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.section-desc strong {
  color: var(--green-600);
}

/* ========================================
   1. STICKY MICRO HEADER
   ======================================== */
.micro-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.micro-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-5);
}

/* -- Logo -- */
.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

/* -- Header Buttons -- */
.header-actions {
  display: flex;
  gap: 8px;
}

.header-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  transition: all 0.2s ease;
}

.header-btn--call {
  background: var(--gray-100);
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
}

.header-btn--call:hover {
  background: var(--gray-200);
  color: var(--gray-800);
}

.header-btn--whatsapp {
  background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-dark) 100%);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.header-btn--whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* ========================================
   2. HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1.18);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(3, 7, 18, 0.2) 0%,
      rgba(3, 7, 18, 0.45) 35%,
      rgba(3, 7, 18, 0.85) 70%,
      rgba(3, 7, 18, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  /* Stack children top-to-bottom, centered on mobile */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--s-16) var(--s-5) var(--s-8);
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

/* Expo Badge — AAHAR SVG logo above headline */
.expo-badge {
  margin-bottom: 20px;
}

.expo-badge img {
  height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  /* Soft drop shadow so badge reads on dark hero bg */
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* Hero Live Tag */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--mango-300);
  background: rgba(246, 166, 35, 0.1);
  border: 1px solid rgba(246, 166, 35, 0.2);
  padding: 8px 16px;
  border-radius: var(--r-full);
  margin-bottom: var(--s-5);
  backdrop-filter: blur(4px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mango-400);
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(246, 166, 35, 0.4);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(246, 166, 35, 0.4);
  }

  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 6px rgba(246, 166, 35, 0);
  }
}

/* Expo Location Info */
.expo-location {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--s-5);
}

.expo-location-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.expo-location-booth {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
}

/* Hero Title */
.hero-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: var(--s-4);
  max-width: 520px;
}

.hero-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--s-6);
  max-width: 420px;
  line-height: 1.65;
}

.hero-subtitle strong {
  color: rgba(255, 255, 255, 0.9);
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--s-8);
  width: 100%;
}

/* Hero Stats */
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: 14px 0;
  backdrop-filter: blur(12px);
}

.hero-stat {
  padding: 0 20px;
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero-stat span,
.hero-stat-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  display: block;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.12);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bobble 2.5s ease-in-out infinite;
}

@keyframes bobble {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ========================================
   3. TRUST BAR
   ======================================== */
.trust-bar {
  padding: var(--s-6) 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: var(--gray-50);
  border-radius: var(--r-md);
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.trust-item:hover {
  background: var(--green-50);
  border-color: var(--green-100);
}

.trust-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: var(--green-50);
  color: var(--green-500);
  flex-shrink: 0;
  border: 1px solid var(--green-100);
}

.trust-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

.trust-text span {
  font-size: 13px;
  color: var(--gray-500);
}

/* ========================================
   4. PRODUCT CATEGORIES — Premium Cards
   ======================================== */
.products {
  padding: var(--s-12) 0;
  background: var(--gray-50);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease;
  text-decoration: none;
  color: var(--gray-800);
}

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

.product-card:active {
  transform: translateY(-2px) scale(0.98);
}

/* Product Image */
.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.1);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3, 7, 18, 0.6) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-view {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Product Info */
.product-info {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-400);
  flex-shrink: 0;
}

.product-info h3 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.product-arrow-wrap {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-xs);
  background: var(--green-50);
  color: var(--green-500);
  flex-shrink: 0;
  transition: all 0.3s ease;
  border: 1px solid var(--green-100);
}

.product-card:hover .product-arrow-wrap {
  background: var(--green-500);
  color: var(--white);
  border-color: var(--green-500);
  transform: translate(2px, -2px);
}

/* ========================================
   5. WHY CHOOSE US
   ======================================== */
.why-us {
  padding: var(--s-12) 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}

.feature-card {
  padding: var(--s-6);
  background: var(--gray-50);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.feature-icon-wrap {
  margin-bottom: var(--s-4);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  color: var(--green-500);
  border: 1px solid var(--green-100);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: var(--s-1);
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.55;
}

/* ========================================
   6. GLOBAL CLIENTS
   ======================================== */
.clients {
  padding: var(--s-12) 0;
  background: var(--gray-50);
  overflow: hidden;
}

.client-slider {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.client-track {
  display: flex;
  gap: var(--s-4);
  animation: slideClients 25s linear infinite;
  width: max-content;
}

@keyframes slideClients {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.client-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 80px;
  padding: 12px 24px;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.client-logo:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.client-logo img {
  max-height: 48px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(30%);
  transition: filter 0.2s ease;
}

.client-logo:hover img {
  filter: grayscale(0%);
}

/* ========================================
   7. CERTIFICATIONS
   ======================================== */
.certifications {
  padding: var(--s-12) 0;
  background: var(--white);
}

.cert-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3);
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: var(--s-5) var(--s-6);
  background: var(--gray-50);
  border-radius: var(--r-md);
  border: 1px solid var(--gray-100);
  min-width: 100px;
  transition: all 0.3s ease;
}

.cert-badge:hover {
  border-color: var(--mango-300);
  background: var(--mango-50);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Cert image wrapper — real PNG badges */
.cert-img-wrap {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.cert-img-wrap img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: var(--r-sm);
  transition: transform 0.3s ease;
}

.cert-badge:hover .cert-img-wrap img {
  transform: scale(1.08);
}

.cert-name {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-800);
  text-align: center;
}

.cert-detail {
  font-size: 11px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* ========================================
   8. LEAD CAPTURE
   ======================================== */
.lead-capture {
  padding: var(--s-12) 0;
  background: var(--gray-50);
}

.lead-card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--s-8) var(--s-6);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  overflow: hidden;
}

.lead-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--mango-400));
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  color: var(--gray-800);
  transition: all 0.2s ease;
  outline: none;
}

.form-group input::placeholder {
  color: var(--gray-400);
  font-weight: 400;
}

.form-group input:focus {
  border-color: var(--green-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(107, 165, 57, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}

.form-note {
  font-size: 13px;
  color: var(--gray-400);
  text-align: center;
}

.form-success {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--r-sm);
}

.form-success-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  flex-shrink: 0;
}

.form-success strong {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--gray-800);
  display: block;
}

.form-success p {
  font-size: 13px;
  color: var(--gray-500);
}

/* Form — Select Dropdown */
.form-group select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  color: var(--gray-800);
  transition: all 0.2s ease;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group select:focus {
  border-color: var(--green-500);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(107, 165, 57, 0.1);
}

/* Required asterisk */
.form-required {
  color: #EF4444;
  font-weight: 700;
}

/* Captcha wrapper */
.form-captcha {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: var(--s-2) 0;
}

/* Form error text */
.form-error {
  color: #EF4444;
  font-size: 12px;
  margin-top: 4px;
}

/* Form error box */
.form-error-box {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--r-sm);
  margin-top: var(--s-3);
}

.form-error-box p {
  font-size: 13px;
  color: #DC2626;
}

/* Button loading spinner */
.btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   9. QUICK CONTACT BANNER
   ======================================== */
.quick-contact {
  padding: var(--s-12) 0;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-950) 100%);
  position: relative;
  overflow: hidden;
}

.quick-contact::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 165, 57, 0.08), transparent 70%);
  pointer-events: none;
}

.qc-content {
  text-align: center;
}

.qc-text h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: var(--s-2);
}

.qc-text p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  margin-bottom: var(--s-6);
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.contact-btns {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  max-width: 320px;
  margin: 0 auto;
}

/* ========================================
   10. FOOTER
   ======================================== */
.footer {
  padding: var(--s-12) 0 var(--s-6);
  background: var(--gray-950);
  color: rgba(255, 255, 255, 0.6);
}

.footer .logo-company {
  color: rgba(255, 255, 255, 0.4);
}

.footer .logo-brand {
  color: var(--green-400);
}

.footer .logo-mark {
  background: rgba(107, 165, 57, 0.1);
  border-color: rgba(107, 165, 57, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  margin-bottom: var(--s-8);
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.65;
  margin-top: var(--s-3);
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--s-4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-6);
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--green-500);
}

.footer-contact-item p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: var(--green-400);
}

.footer-bottom {
  padding-top: var(--s-6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-expo {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
}

/* ========================================
   STICKY BOTTOM CTA BAR
   ======================================== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--sticky-cta-h);
  display: flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 1000;
  box-shadow:
    0 -2px 8px rgba(0, 0, 0, 0.04),
    0 -8px 24px rgba(0, 0, 0, 0.06);
}

.sticky-cta-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.2s ease;
  position: relative;
}

.sticky-cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 32px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  transition: transform 0.2s ease;
}

.sticky-cta-btn:hover::after,
.sticky-cta-btn:active::after {
  transform: translateX(-50%) scaleX(1);
}

.sticky-cta-btn--primary {
  color: var(--green-600);
}

.sticky-cta-btn--primary::after {
  background: var(--green-500);
}

.sticky-cta-btn--primary:hover {
  background: var(--green-50);
}

.sticky-cta-btn--accent {
  color: var(--mango-600);
}

.sticky-cta-btn--accent::after {
  background: var(--mango-400);
}

.sticky-cta-btn--accent:hover {
  background: var(--mango-50);
}

.sticky-cta-btn--whatsapp {
  color: var(--whatsapp-dark);
}

.sticky-cta-btn--whatsapp::after {
  background: var(--whatsapp);
}

.sticky-cta-btn--whatsapp:hover {
  background: rgba(37, 211, 102, 0.08);
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.product-card,
.feature-card,
.cert-badge,
.trust-item {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible .product-card,
.reveal.visible .feature-card,
.reveal.visible .cert-badge,
.reveal.visible .trust-item {
  opacity: 1;
  transform: translateY(0);
}

.reveal.visible .product-card:nth-child(1),
.reveal.visible .feature-card:nth-child(1),
.reveal.visible .cert-badge:nth-child(1),
.reveal.visible .trust-item:nth-child(1) {
  transition-delay: 0.05s;
}

.reveal.visible .product-card:nth-child(2),
.reveal.visible .feature-card:nth-child(2),
.reveal.visible .cert-badge:nth-child(2),
.reveal.visible .trust-item:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal.visible .product-card:nth-child(3),
.reveal.visible .feature-card:nth-child(3),
.reveal.visible .cert-badge:nth-child(3),
.reveal.visible .trust-item:nth-child(3) {
  transition-delay: 0.15s;
}

.reveal.visible .product-card:nth-child(4),
.reveal.visible .feature-card:nth-child(4),
.reveal.visible .cert-badge:nth-child(4) {
  transition-delay: 0.2s;
}

.reveal.visible .product-card:nth-child(5),
.reveal.visible .cert-badge:nth-child(5) {
  transition-delay: 0.25s;
}

.reveal.visible .product-card:nth-child(6) {
  transition-delay: 0.3s;
}

/* ========================================
   RESPONSIVE — TABLET (768px+)
   ======================================== */
@media (min-width: 768px) {
  .container {
    padding: 0 var(--s-8);
  }

  .hero {
    min-height: 600px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-ctas {
    flex-direction: row;
  }

  .section-title {
    font-size: 34px;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid {
    gap: var(--s-5);
  }

  .product-info h3 {
    font-size: 15px;
  }

  .contact-btns {
    flex-direction: row;
    max-width: 420px;
  }

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

  .footer-links ul {
    flex-direction: column;
    gap: var(--s-2);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ========================================
   RESPONSIVE — DESKTOP (1024px+)
   ======================================== */
@media (min-width: 1024px) {
  .hero {
    min-height: 680px;
    justify-content: center;
  }

  .hero-title {
    font-size: 60px;
    max-width: 650px;
  }

  .hero-subtitle {
    font-size: 17px;
    max-width: 480px;
  }

  .hero-stat strong {
    font-size: 26px;
  }

  .section-title {
    font-size: 40px;
  }

  .section-desc {
    font-size: 16px;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-6);
  }

  .product-info {
    padding: 16px 20px;
  }

  .product-info h3 {
    font-size: 16px;
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-5);
  }

  .feature-card {
    padding: var(--s-8);
  }

  .lead-card {
    max-width: 580px;
    margin: 0 auto;
    padding: var(--s-10) var(--s-8);
  }

  .qc-text h2 {
    font-size: 36px;
  }

  .qc-content {
    display: flex;
    align-items: center;
    gap: var(--s-10);
    text-align: left;
  }

  .qc-text {
    flex: 1;
  }

  .qc-text p {
    margin-left: 0;
    margin-right: 0;
  }

  .contact-btns {
    flex-direction: column;
    max-width: 220px;
    margin: 0;
  }

  /* Hide sticky CTA on desktop */
  .sticky-cta {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

/* ========================================
   RESPONSIVE — LARGE DESKTOP (1280px+)
   ======================================== */
@media (min-width: 1280px) {
  .hero-content {
    padding: var(--s-20) var(--s-8);
    max-width: 720px;
    margin-left: 0;
    align-items: flex-start;
    text-align: left;
  }

  .hero-ctas {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .hero-title {
    font-size: 68px;
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .product-card,
  .feature-card,
  .cert-badge,
  .trust-item {
    opacity: 1;
    transform: none;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: 2px;
}

/* ========================================
   FORM MESSAGES — always hidden by default
   ======================================== */

/* Guarantee both boxes are invisible until JS reveals them */
#form-success,
#form-error,
.form-success,
.form-error-box {
  display: none;
}

/* When JS removes `hidden` AND adds .is-visible, show them */
#form-success.is-visible,
#form-error.is-visible,
.form-success.is-visible,
.form-error-box.is-visible {
  display: flex;
  animation: fadeSlideIn 0.35s ease forwards;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Success box */
.form-success {
  align-items: center;
  gap: 12px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--r-md);
  padding: 16px 20px;
  color: #065f46;
  font-weight: 600;
  margin-top: 12px;
}

.form-success-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d1fae5;
  border-radius: 50%;
  color: #059669;
}

/* Error box */
.form-error-box {
  align-items: flex-start;
  gap: 10px;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--r-md);
  padding: 14px 18px;
  color: #991b1b;
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
}

/* Footer developer credit */
.footer-credit {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
  text-align: center;
}

.footer-credit a {
  color: var(--gray-400);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer-credit a:hover {
  color: var(--green-500);
}