/* === AGROBRIDGE ZTD - STYLES.CSS === */
/* === DESIGN SYSTEM JONY IVE EDITION === */

/* ==========================================================================
   CSS CUSTOM PROPERTIES - DESIGN TOKENS
   ========================================================================== */
:root {
  /* ═══════════════════════════════════════════════════════════════════════
     TYPOGRAPHY SYSTEM V2.0 - Font Families
     ═══════════════════════════════════════════════════════════════════════ */
  --font-display: 'Sora', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', Consolas, 'Courier New', monospace;
  
  /* Typography Scale - Fluid Sizing with clamp() */
  /* Using ~1.25x ratio (Major Third) for harmonic progression */
  --type-xs: clamp(0.64rem, 0.58rem + 0.25vw, 0.75rem);      /* 10px → 12px */
  --type-sm: clamp(0.8rem, 0.73rem + 0.35vw, 0.875rem);      /* 13px → 14px */
  --type-base: clamp(1rem, 0.93rem + 0.35vw, 1.125rem);      /* 16px → 18px */
  --type-lg: clamp(1.125rem, 1rem + 0.625vw, 1.375rem);      /* 18px → 22px (improved) */
  --type-xl: clamp(1.375rem, 1.15rem + 1.125vw, 1.75rem);    /* 22px → 28px (improved) */
  --type-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);         /* 24px → 32px */
  --type-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);     /* 30px → 40px */
  --type-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3rem);         /* 36px → 48px */
  --type-5xl: clamp(3rem, 2.25rem + 3.75vw, 4rem);           /* 48px → 64px */
  --type-hero: clamp(3.5rem, 2.5rem + 5vw, 5rem);            /* 56px → 80px */
  
  /* Letter Spacing (Tracking) */
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;
  
  /* Font Weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  
  /* Color System - Premium Agriculture */
  --color-primary: #0a5c36;
  --color-primary-dark: #064e32;
  --color-primary-light: #0f766e;
  --color-secondary: #d4af37;
  --color-secondary-dark: #b8941f;
  --color-secondary-light: #fbf2d5;
  
  /* Neutral Colors */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray-50: #f8faf9;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  
  /* Semantic Colors */
  --color-success: #16a34a;
  --color-warning: #d97706;
  --color-error: #dc2626;
  --color-info: #2563eb;
  
  /* Gradients - Premium Feel */
  --gradient-primary: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  --gradient-gold: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  --gradient-light: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-white) 100%);
  
  /* Shadows - Depth System */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --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);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-gold: 0 0 40px rgba(212, 175, 55, 0.3);
  
  /* Typography Scale - Perfect Proportions */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */
  --text-6xl: 3.75rem;    /* 60px */
  --text-7xl: 4.5rem;     /* 72px */
  --text-8xl: 6rem;       /* 96px */
  --text-9xl: 8rem;       /* 128px */
  
  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  
  /* Line Heights */
  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.6;      /* Increased from 1.5 for better readability */
  --leading-relaxed: 1.75;    /* Increased from 1.625 */
  --leading-loose: 2;
  
  /* Spacing Scale - 8px Grid */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */
  
  /* Border Radius */
  --radius-none: 0;
  --radius-sm: 0.125rem;   /* 2px */
  --radius-base: 0.25rem;  /* 4px */
  --radius-md: 0.375rem;   /* 6px */
  --radius-lg: 0.5rem;     /* 8px */
  --radius-xl: 0.75rem;    /* 12px */
  --radius-2xl: 1rem;      /* 16px */
  --radius-3xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;
  
  /* Transitions - Smooth & Intentional */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
}

/* ==========================================================================
   CSS RESET - MODERN NORMALIZE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--type-base);
  line-height: var(--leading-normal);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-normal);
  color: var(--color-gray-800);
  background-color: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1;
}

/* ==========================================================================
   TYPOGRAPHY SYSTEM V2.0
   ========================================================================== */

/* Text Selection - Brand-colored highlight */
::selection {
  background-color: var(--color-secondary);
  color: var(--color-primary-dark);
}

::-moz-selection {
  background-color: var(--color-secondary);
  color: var(--color-primary-dark);
}

/* Prose Readability - Limit line length for comfortable reading */
p,
.feature-card__text,
.product-item__description,
.timeline-item__text,
.contact-card__text,
.section__subtitle,
.hero__subtitle {
  max-width: 65ch;
}

/* Orphan/Widow Prevention - Avoid single words on last line */
p {
  orphans: 2;
  widows: 2;
}

h1, h2, h3, h4, h5, h6 {
  orphans: 3;
  widows: 3;
}

/* Heading Hierarchy - All use DM Sans */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  font-weight: var(--weight-bold);
  margin: 0 0 1rem 0;
  color: inherit;
}

/* Code & Technical Elements - JetBrains Mono */
code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-size: var(--type-sm);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-tight);
  font-feature-settings: 'zero' 1, 'ss01' 1, 'calt' 1;
}

/* Blockquotes & Testimonials - Hanging punctuation */
blockquote {
  font-family: var(--font-body);
  font-size: var(--type-lg);
  font-style: italic;
  line-height: var(--leading-relaxed);
  text-indent: -0.45em;  /* Hanging punctuation */
  padding-left: var(--space-6);
  border-left: 4px solid var(--color-secondary);
  margin: var(--space-8) 0;
}

blockquote::before {
  content: '"';
}

blockquote::after {
  content: '"';
}

/* Form Elements - Inherit body font */
input, textarea, select, button {
  font-family: inherit;
  font-size: var(--type-base);
  line-height: var(--leading-normal);
}

button {
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
}

/* Links - Enhanced underline styling */
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  transition: text-decoration-color var(--transition-fast);
}

a:hover {
  text-decoration-thickness: 2px;
}

/* Strong/Bold - Use semibold instead of bold for subtlety */
strong, b {
  font-weight: var(--weight-semibold);
}

/* Small text utility */
small {
  font-size: var(--type-sm);
  line-height: var(--leading-normal);
}

/* Legacy Display Classes - Updated to new fonts */
.text-display {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.text-title {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  letter-spacing: -0.01em;
}

.text-body {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  line-height: var(--leading-relaxed);
}

/* Scale Utilities */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }
.text-6xl { font-size: var(--text-6xl); }
.text-7xl { font-size: var(--text-7xl); }
.text-8xl { font-size: var(--text-8xl); }
.text-9xl { font-size: var(--text-9xl); }

/* ==========================================================================
   LAYOUT & CONTAINERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}

.container--narrow {
  max-width: 800px;
}

.container--wide {
  max-width: 1600px;
}

/* ==========================================================================
   NAVIGATION - FIXED HEADER
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 92, 54, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav.scrolled {
  background: rgba(10, 92, 54, 0.98);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2) 0;
}

.nav__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
}

.nav__logo {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: all var(--transition-base);
}

.nav__logo:hover {
  transform: translateY(-2px);
}

.nav__logo-accent {
  color: var(--color-secondary);
  font-weight: var(--font-extrabold);
  position: relative;
}

.nav__logo-accent::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.nav__logo:hover .nav__logo-accent::after {
  transform: scaleX(1);
}

/* Brand logo image (added in nav next to wordmark) */
.nav__logo-img {
  height: 2.25rem;
  width: auto;
  display: block;
  flex-shrink: 0;
  border-radius: 4px;
  contain: layout style paint;
}

.nav__logo-text {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .nav__logo-img {
    height: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav__logo-img {
    transition: none;
  }
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: var(--space-8);
}

.nav__link {
  color: var(--color-white);
  text-decoration: none;
  font-weight: var(--font-medium);
  transition: all var(--transition-base);
  position: relative;
  font-size: var(--text-sm);
  letter-spacing: 0.5px;
}

.nav__link:hover {
  color: var(--color-secondary);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width var(--transition-base);
}

.nav__link:hover::after {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(10, 92, 54, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(6, 78, 50, 0.15) 0%, transparent 50%);
  animation: float 6s ease-in-out infinite;
}

.hero__content {
  text-align: center;
  color: var(--color-white);
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 var(--space-8);
}

.hero__title {
  font-size: clamp(var(--text-5xl), 6vw, var(--text-8xl));
  margin-bottom: var(--space-8);
  line-height: var(--leading-tight);
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--color-secondary), #fef3c7, var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: shimmer 3s ease-in-out infinite;
}

.hero__subtitle {
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
  margin-bottom: var(--space-12);
  opacity: 0.9;
  font-weight: var(--font-normal);
  line-height: var(--leading-relaxed);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta-group {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   BUTTON SYSTEM
   ========================================================================== */
.button {
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: var(--font-semibold);
  font-size: var(--text-lg);
  transition: all var(--transition-bounce);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 56px;
  min-width: 44px;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left var(--transition-slow);
}

.button:hover::before {
  left: 100%;
}

.button--primary {
  background: var(--color-secondary);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-gold);
}

.button--primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
}

.button--secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-secondary);
}

.button--secondary:hover {
  background: var(--color-secondary);
  color: var(--color-primary-dark);
  transform: translateY(-3px);
}

.button--producer {
  background: var(--gradient-gold);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-gold);
  font-size: var(--text-xl);
  padding: var(--space-6) var(--space-12);
}

.button:focus-visible,
.demo-btn:focus-visible,
.validate-btn:focus-visible,
.reset-validation-btn:focus-visible,
.example-chip:focus-visible,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.form-select:focus-visible,
.lang-select-custom:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.35);
}

.button:active,
.demo-btn:active,
.validate-btn:active,
.reset-validation-btn:active,
.example-chip:active {
  transform: translateY(0) scale(0.98);
}

.button:disabled,
.button[aria-disabled="true"],
.demo-btn:disabled,
.validate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   SECTION SYSTEM
   ========================================================================== */
.section {
  padding: var(--space-32) 0;
  position: relative;
}

.section--light {
  background: var(--color-gray-50);
}

.section--pattern {
  background: var(--gradient-light);
}

.section__title {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  margin-bottom: var(--space-6);
  color: var(--color-primary-dark);
}

.section__title--center {
  text-align: center;
}

.section__subtitle {
  font-size: var(--text-xl);
  color: var(--color-gray-600);
  max-width: 700px;
  line-height: var(--leading-relaxed);
}

.section__subtitle--center {
  text-align: center;
  margin: 0 auto var(--space-16);
}

/* ==========================================================================
   FEATURES GRID
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-12);
  margin-top: var(--space-16);
}

.feature-card {
  background: var(--color-white);
  padding: var(--space-12) var(--space-10);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-bounce);
  border: 1px solid var(--color-gray-200);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--gradient-gold);
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  border-radius: 0 0 0 100px;
}

.feature-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-2xl);
}

.feature-card__icon {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-8);
  display: block;
  opacity: 0.9;
}

.feature-card__title {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-6);
  color: var(--color-primary-dark);
  line-height: var(--leading-snug);
}

.feature-card__text {
  color: var(--color-gray-600);
  line-height: var(--leading-relaxed);
  font-size: var(--text-lg);
}

/* ==========================================================================
   PRODUCTS SHOWCASE
   ========================================================================== */
.product-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-16);
  align-items: center;
  margin-bottom: var(--space-24);
  background: var(--color-white);
  padding: var(--space-12);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition-base);
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
}

.product-item--reverse {
  grid-template-columns: 2fr 1fr;
}

.product-item--reverse .product-item__image-placeholder {
  order: 2;
}

.product-item__image-placeholder {
  font-size: var(--text-7xl);
  text-align: center;
  background: var(--gradient-light);
  border-radius: var(--radius-2xl);
  padding: var(--space-12) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  font-weight: var(--font-bold);
  color: var(--color-primary-dark);
  border: 2px solid rgba(212, 175, 55, 0.3);
  transition: all var(--transition-base);
}

.product-item:hover .product-item__image-placeholder {
  border-color: var(--color-secondary);
  background: linear-gradient(135deg, var(--color-secondary-light), var(--color-white));
}

.product-item__content {
  padding: var(--space-4);
}

.product-item__title {
  font-size: var(--text-3xl);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-6);
  color: var(--color-primary-dark);
  line-height: var(--leading-tight);
}

.product-item__description {
  color: var(--color-gray-600);
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
}

/* ==========================================================================
   VALIDATION CARD - ZTD SYSTEM
   ========================================================================== */
.validation {
  max-width: 900px;
  margin: 0 auto;
}

.validation-card {
  background: var(--gradient-dark);
  border-radius: var(--radius-3xl);
  padding: var(--space-16) var(--space-12);
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.validation-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    rgba(212, 175, 55, 0.1),
    transparent 30%
  );
  animation: rotate 6s linear infinite;
}

.validation-card__content {
  position: relative;
  z-index: 2;
}

.validation-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.validation-card__title {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  color: var(--color-secondary);
  font-family: var(--font-mono);
  letter-spacing: 1px;
}

.validation-card__language select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-xl);
  font-size: var(--text-base);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.validation-card__search {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.validation-card__input {
  flex: 1;
  padding: var(--space-5) var(--space-8);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  font-size: var(--text-lg);
  transition: all var(--transition-base);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  min-height: 56px;
  font-feature-settings: 'zero' 1;
}

.validation-card__input:focus {
  outline: none;
  border-color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.validation-card__input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.validation-card__button {
  padding: var(--space-5) var(--space-10);
  background: var(--color-secondary);
  color: var(--color-primary-dark);
  border: none;
  border-radius: var(--radius-2xl);
  font-weight: var(--font-semibold);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  font-size: var(--text-lg);
  letter-spacing: 0.5px;
  min-height: 56px;
  min-width: 44px;
}

.validation-card__button:hover {
  background: #e6c34d;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.validation-card__error-text {
  color: var(--color-error);
  margin-bottom: var(--space-8);
  display: none;
  font-weight: var(--font-medium);
}

.validation-card__details {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  margin-bottom: var(--space-8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: flex-start;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row--accent {
  background: rgba(212, 175, 55, 0.1);
  margin: 0 calc(-1 * var(--space-10));
  padding: var(--space-4) var(--space-10);
  border-radius: var(--radius-xl);
}

.detail-label {
  font-weight: var(--font-medium);
  color: var(--color-gray-300);
  flex: 1;
}

.detail-value {
  font-weight: var(--font-semibold);
  color: var(--color-white);
  flex: 1;
  text-align: right;
}

.detail-value--code {
  font-family: var(--font-mono);
  color: var(--color-secondary);
  font-size: var(--text-sm);
  letter-spacing: 0.5px;
  font-feature-settings: 'zero' 1;
}

.validation-card__status {
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  text-align: center;
  display: none;
  animation: pulse 2s infinite;
}

/* ==========================================================================
   TIMELINE/PROCESS STEPS
   ========================================================================== */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-12);
  margin-top: var(--space-16);
}

.timeline-item {
  background: var(--color-white);
  padding: var(--space-12) var(--space-10);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  transition: all var(--transition-base);
  border: 1px solid var(--color-gray-200);
}

.timeline-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.timeline-item__icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-gold);
  color: var(--color-primary-dark);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin: 0 auto var(--space-8);
  font-family: var(--font-display);
  box-shadow: var(--shadow-gold);
}

.timeline-item__title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-6);
  color: var(--color-primary-dark);
  line-height: var(--leading-snug);
}

.timeline-item__text {
  color: var(--color-gray-600);
  line-height: var(--leading-relaxed);
  font-size: var(--text-lg);
}

/* ==========================================================================
   PRODUCER CTA SECTION
   ========================================================================== */
.producer-cta {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.producer-title-accent {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.contact-card {
  background: var(--color-white);
  padding: var(--space-16) var(--space-12);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--color-gray-200);
}

.contact-card__text {
  font-size: var(--text-xl);
  color: var(--color-gray-600);
  margin-bottom: var(--space-12);
  text-align: center;
  line-height: var(--leading-relaxed);
}

.contact-form {
  display: grid;
  gap: var(--space-8);
}

.contact-form input,
.contact-form textarea {
  padding: var(--space-6) var(--space-8);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-2xl);
  font-size: var(--text-lg);
  transition: all var(--transition-base);
  background: var(--color-white);
  font-family: var(--font-body);
  min-height: 56px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid,
.form-select.is-invalid {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.contact-form input.is-valid,
.contact-form textarea.is-valid,
.form-select.is-valid {
  border-color: var(--color-success);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.16);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: var(--space-16) 0 var(--space-12);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.footer__social a {
  color: var(--color-white);
  text-decoration: none;
  margin: 0 var(--space-4);
  transition: color var(--transition-base);
  font-weight: var(--font-medium);
}

.footer__social a:hover {
  color: var(--color-secondary);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
    -webkit-transform: translateY(0px) rotate(0deg);
    -ms-transform: translateY(0px) rotate(0deg);
  }
  50% { 
    transform: translateY(-20px) rotate(1deg);
    -webkit-transform: translateY(-20px) rotate(1deg);
    -ms-transform: translateY(-20px) rotate(1deg);
  }
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(30px);
    -webkit-transform: translateY(30px);
    -ms-transform: translateY(30px);
  }
  to { 
    opacity: 1; 
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from { 
    opacity: 0; 
    transform: translateX(-50px);
    -webkit-transform: translateX(-50px);
    -ms-transform: translateX(-50px);
  }
  to { 
    opacity: 1; 
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
  }
}

@keyframes slideInRight {
  from { 
    opacity: 0; 
    transform: translateX(50px);
    -webkit-transform: translateX(50px);
    -ms-transform: translateX(50px);
  }
  to { 
    opacity: 1; 
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
  }
}

/* Animation Utilities */
.animate-fadeIn {
  animation: fadeIn 1s ease-out;
  -webkit-animation: fadeIn 1s ease-out;
}

.animate-slideInLeft {
  animation: slideInLeft 1s ease-out;
  -webkit-animation: slideInLeft 1s ease-out;
}

.animate-slideInRight {
  animation: slideInRight 1s ease-out;
  -webkit-animation: slideInRight 1s ease-out;
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  -webkit-transform: translateY(30px);
  -ms-transform: translateY(30px);
  transition: all 0.8s ease;
  -webkit-transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .nav__menu {
    gap: var(--space-6);
  }
  
  .product-item,
  .product-item--reverse {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-8);
  }
  
  .product-item__image-placeholder {
    min-height: 200px;
    font-size: var(--text-5xl);
  }
  
  .container {
    padding: 0 var(--space-6);
  }
}

@media (max-width: 768px) {
  .nav__menu {
    display: none;
  }
  
  .hero__cta-group {
    flex-direction: column;
    align-items: center;
  }
  
  .validation-card__search {
    flex-direction: column;
  }
  
  .footer__container {
    flex-direction: column;
    text-align: center;
  }
  
  .detail-row {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .detail-value {
    text-align: left;
  }
  
  .features-grid,
  .timeline {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: var(--space-16) 0;
  }
  
  .container {
    padding: 0 var(--space-4);
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: var(--text-4xl);
  }
  
  .hero__subtitle {
    font-size: var(--text-lg);
  }
  
  .section__title {
    font-size: var(--text-3xl);
  }
  
  /* Mobile Hyphenation - Better text wrapping on narrow screens */
  p,
  .feature-card__text,
  .timeline-item__text,
  .product-item__description {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
  }
  
  .feature-card,
  .product-item,
  .timeline-item {
    padding: var(--space-6);
  }
  
  .validation-card {
    padding: var(--space-6);
  }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.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;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }

.p-0 { padding: 0; }
.p-4 { padding: var(--space-4); }
.p-8 { padding: var(--space-8); }
.p-12 { padding: var(--space-12); }
.p-16 { padding: var(--space-16); }

/* ==========================================================================
   DARK MODE SUPPORT
   ========================================================================== */
@media (prefers-color-scheme: dark) {
  :root {
    --color-white: #1a1a1a;
    --color-gray-50: #2d2d2d;
    --color-gray-800: #e5e5e5;
  }
  
  .feature-card,
  .product-item,
  .timeline-item,
  .contact-card {
    background: #2d2d2d;
    color: #e5e5e5;
    border-color: #404040;
  }
  
  .feature-card__text,
  .product-item__description,
  .timeline-item__text,
  .contact-card__text {
    color: #cccccc;
  }
}

/* ==========================================================================
   HIGH CONTRAST MODE SUPPORT
   ========================================================================== */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #000000;
    --color-primary-dark: #000000;
    --color-secondary: #000000;
    --color-gray-800: #000000;
  }
  
  .button {
    border: 2px solid currentColor;
  }
  
  .validation-card {
    border: 3px solid var(--color-black);
  }
}

/* ==========================================================================
   REDUCED MOTION SUPPORT
   ========================================================================== */
@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;
  }

  .hero::before {
    animation: none !important;
  }

  .hero__title-accent {
    animation: none !important;
    background: var(--color-secondary) !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
  }

  .feature-card:hover,
  .product-item:hover,
  .button:hover,
  .timeline-item:hover {
    transform: none !important;
  }

  .validation-card::before {
    animation: none !important;
    opacity: 0 !important;
  }

  .button::before {
    display: none !important;
  }
}

/* ==========================================================================
   MOBILE HAMBURGER MENU (Issue #7 Fix)
   ========================================================================== */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: var(--z-fixed);
}

.nav__toggle-bar {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.nav__toggle.active .nav__toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav__toggle.active .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active .nav__toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 92, 54, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    z-index: calc(var(--z-fixed) - 1);
    padding: var(--space-8);
  }

  .nav__menu.active {
    display: flex;
  }

  .nav__menu .nav__link {
    font-size: var(--text-2xl);
    padding: var(--space-4) var(--space-8);
  }
}

@media (min-width: 769px) {
  .nav__menu {
    display: flex !important;
  }
}

/* ==========================================================================
   VALIDATION SECTION V2 - REDESIGNED
   ========================================================================== */
.validation-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

.validation-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(10, 92, 54, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.validation__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.validation__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--gradient-gold);
  color: var(--color-primary-dark);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-6);
}

.validation__title {
  color: var(--color-white);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  margin-bottom: var(--space-4);
}

.validation__subtitle {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-xl);
  max-width: 600px;
  margin: 0 auto;
}

/* Validation Card V2 */
.validation-card-v2 {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-3xl);
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
}

.validation-card__top {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
  padding: var(--space-8);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.validation-card__status {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--color-gray-500);
  animation: pulse-status 2s infinite;
}

.status-indicator--ready { background: var(--color-secondary); }
.status-indicator--scanning { background: var(--color-info); animation: pulse-status 0.5s infinite; }
.status-indicator--verified { background: var(--color-success); }
.status-indicator--error { background: var(--color-error); }

@keyframes pulse-status {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.status-text {
  color: var(--color-white);
  font-weight: var(--font-semibold);
  font-size: var(--text-base);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.validation-card__actions {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.demo-btn {
  background: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.demo-btn:hover {
  background: var(--color-secondary);
  color: var(--color-primary-dark);
}

/* Search Area */
.validation-card__search {
  padding: var(--space-8);
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.search-input-wrapper {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.search-input-wrapper .qr-icon {
  position: absolute;
  left: var(--space-5);
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.4);
  font-size: var(--text-xl);
}

.validation-input {
  width: 100%;
  padding: var(--space-5) var(--space-6) var(--space-5) var(--space-12);
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  color: var(--color-white);
  font-size: var(--text-lg);
  font-family: var(--font-mono);
  letter-spacing: 1px;
  transition: all var(--transition-base);
  font-feature-settings: 'zero' 1;
}

.validation-input:focus {
  outline: none;
  border-color: var(--color-secondary);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.validation-input::placeholder {
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
}

.validation-input[aria-invalid="true"] {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.22);
}

.validation-input[aria-invalid="false"]:not(:placeholder-shown) {
  border-color: var(--color-success);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.16);
}

.validate-btn {
  background: var(--gradient-gold);
  color: var(--color-primary-dark);
  border: none;
  padding: var(--space-5) var(--space-10);
  border-radius: var(--radius-xl);
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.validate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.validate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.input-hint {
  padding: 0 var(--space-8) var(--space-4);
  color: rgba(255,255,255,0.5);
  font-size: var(--text-sm);
}

.input-hint code {
  background: rgba(255,255,255,0.1);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-base);
  font-family: var(--font-mono);
}

/* Results Area */
.validation-results {
  padding: 0 var(--space-8) var(--space-8);
  display: none;
}

.validation-results.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* Journey Timeline */
.journey-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-8);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-2xl);
  margin-bottom: var(--space-6);
  position: relative;
  overflow: hidden;
}

.journey-timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-success), var(--color-secondary));
  transform: translateY(-50%);
  z-index: 0;
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  position: relative;
  z-index: 1;
}

.journey-step__icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-success), #16a34a);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.journey-step__label {
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.journey-step__time {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-xs);
}

/* Quality Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.metric-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  text-align: center;
  transition: all var(--transition-base);
}

.metric-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(212, 175, 55, 0.3);
}

.metric-card__icon {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.metric-card__value {
  font-size: var(--text-3xl);
  font-weight: var(--font-extrabold);
  color: var(--color-secondary);
  margin-bottom: var(--space-1);
}

.metric-card__label {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Verification Seal */
.verification-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-6);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
  border: 2px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-2xl);
}

.seal-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-success), #16a34a);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.seal-content {
  text-align: left;
}

.seal-title {
  color: var(--color-success);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-1);
}

.seal-hash {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  word-break: break-all;
  font-feature-settings: 'zero' 1;
}

/* Scanning Animation */
.scanning-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-6);
  z-index: 10;
  border-radius: var(--radius-3xl);
}

.scanning-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.scanner-animation {
  width: 120px;
  height: 120px;
  position: relative;
}

.scanner-ring {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 3px solid transparent;
  border-top-color: var(--color-secondary);
  border-radius: var(--radius-full);
  animation: spin 1s linear infinite;
}

.scanner-ring:nth-child(2) {
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border-top-color: var(--color-success);
  animation-duration: 1.5s;
  animation-direction: reverse;
}

.scanner-ring:nth-child(3) {
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border-top-color: var(--color-secondary);
  animation-duration: 2s;
}

.scanner-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: var(--text-4xl);
}

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

.scanning-text {
  color: var(--color-white);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
}

.scanning-step {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-base);
}

/* Validation V2 Responsive */
@media (max-width: 768px) {
  .validation-card__top {
    flex-direction: column;
    text-align: center;
  }

  .validation-card__search {
    flex-direction: column;
  }

  .journey-timeline {
    flex-direction: column;
    gap: var(--space-6);
  }

  .journey-timeline::before {
    width: 3px;
    height: 80%;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
  }

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

  .verification-seal {
    flex-direction: column;
    text-align: center;
  }

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

/* ==========================================================================
   TECH EDGE SECTION
   ========================================================================== */
.tech-edge {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.tech-edge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(10, 92, 54, 0.1) 0%, transparent 50%);
}

.tech-edge__title {
  color: var(--color-white);
  text-align: center;
}

.tech-edge__subtitle {
  color: rgba(255,255,255,0.8);
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-16);
  font-size: var(--text-xl);
}

.tech-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-16);
  flex-wrap: wrap;
}

.tech-flow__step {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: var(--space-6) var(--space-8);
  border-radius: var(--radius-2xl);
  text-align: center;
  min-width: 140px;
  transition: all var(--transition-base);
}

.tech-flow__step:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--color-secondary);
  transform: translateY(-5px);
}

.tech-flow__icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-2);
}

.tech-flow__label {
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
}

.tech-flow__arrow {
  color: var(--color-secondary);
  font-size: var(--text-2xl);
  opacity: 0.6;
}

.tech-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
}

.tech-pillar {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-3xl);
  padding: var(--space-10);
  position: relative;
  transition: all var(--transition-base);
}

.tech-pillar:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-8px);
}

.tech-pillar__badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gradient-gold);
  color: var(--color-primary-dark);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tech-pillar__icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-gold);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  margin-bottom: var(--space-6);
}

.tech-pillar__title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
  color: var(--color-white);
}

.tech-pillar__title span {
  color: var(--color-secondary);
}

.tech-pillar__description {
  color: rgba(255,255,255,0.7);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
}

/* ==========================================================================
   SUCCESS CASES SECTION
   ========================================================================== */
.success-cases {
  background: var(--color-gray-50);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.case-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition-base);
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.case-card__flag {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.case-card__title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-2);
}

.case-card__metric {
  font-size: var(--text-3xl);
  font-weight: var(--font-extrabold);
  color: #6f4f00;
  margin-bottom: var(--space-2);
}

.case-card__description {
  color: var(--color-gray-600);
  line-height: var(--leading-relaxed);
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: var(--z-toast);
  transition: all var(--transition-bounce);
  text-decoration: none;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: white;
}

.whatsapp-float__tooltip {
  position: absolute;
  right: 80px;
  background: var(--color-white);
  color: var(--color-primary-dark);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  white-space: nowrap;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-base);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6); }
}

/* ==========================================================================
   FORM ENHANCEMENTS
   ========================================================================== */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

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

.form-group {
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: var(--font-medium);
  color: var(--color-primary-dark);
}

.form-select {
  padding: var(--space-6) var(--space-8);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-2xl);
  font-size: var(--text-lg);
  transition: all var(--transition-base);
  background: var(--color-white);
  font-family: var(--font-body);
  width: 100%;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' 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 var(--space-4) center;
  background-size: var(--space-6);
}

.form-select:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.button--full {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   SKIP LINK (Accessibility)
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: var(--space-3) var(--space-4);
  z-index: calc(var(--z-toast) + 1);
  transition: top var(--transition-base);
}

.skip-link:focus {
  top: 0;
}

/* ==========================================================================
   EXAMPLE CHIPS - Quick Demo Access
   ========================================================================== */
.example-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding: 0 var(--space-8);
  align-items: center;
}

.chip-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.example-chip {
  padding: 6px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  color: white;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.example-chip:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border-color: var(--color-secondary);
}

.example-chip:active,
.example-chip.chip-clicked {
  transform: scale(0.95);
  background: rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
  .example-chips {
    justify-content: center;
    padding: 0 var(--space-4);
  }

  .chip-label {
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
  }
}

/* ==========================================================================
   SKELETON LOADER
   ========================================================================== */
.skeleton-loader {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.1) 25%,
    rgba(255,255,255,0.2) 50%,
    rgba(255,255,255,0.1) 75%
  );
  background-size: 200% 100%;
  animation: shimmer-skeleton 1.5s infinite;
  border-radius: 8px;
}

@keyframes shimmer-skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ==========================================================================
   ERROR STATES - Enhanced
   ========================================================================== */
.error-content {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: var(--space-4);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-xl);
}

.error-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  color: #ef4444;
}

.error-text {
  flex: 1;
}

.error-text strong {
  display: block;
  margin-bottom: 4px;
  color: #ef4444;
  font-size: 1rem;
}

.error-text p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}

.error-suggestion {
  display: block;
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  font-size: 0.8125rem;
  color: #60a5fa;
}

.validation-feedback {
  margin: 0 var(--space-8) var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-xl);
  border: 1px solid transparent;
  line-height: 1.45;
}

.validation-feedback--error {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.4);
}

.validation-feedback--success {
  background: rgba(22, 163, 74, 0.14);
  border-color: rgba(22, 163, 74, 0.4);
}

.validation-feedback--details {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(212, 175, 55, 0.25);
}

.form-status {
  min-height: 1.5rem;
  font-size: var(--text-sm);
  margin-top: calc(var(--space-4) * -0.3);
}

.form-status--info { color: var(--color-info); }
.form-status--success { color: var(--color-success); }
.form-status--error { color: var(--color-error); }

/* ==========================================================================
   SUCCESS ANIMATION
   ========================================================================== */
.success-pulse {
  animation: success-pulse-animation 0.6s ease-out;
}

@keyframes success-pulse-animation {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 15px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* ==========================================================================
   TECHNOLOGY IN PRODUCTION SECTION
   ========================================================================== */
.tech-in-production {
  padding: 80px 0;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.tech-proof__title {
  color: var(--color-white);
  text-align: center;
  margin-bottom: var(--space-4);
}

.tech-proof__subtitle {
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: var(--text-xl);
  margin-bottom: var(--space-12);
}

.dashboard-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

.dashboard-mockup {
  background: #1e293b;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.mockup-header {
  background: #334155;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #22c55e; }

.mockup-title {
  margin-left: auto;
  font-size: 0.75rem;
  color: #e2e8f0;
  font-family: var(--font-mono);
}

.mockup-content {
  padding: 40px;
  text-align: center;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

.mockup-stats {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

.mockup-stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.mockup-note {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

.showcase-description {
  color: var(--color-white);
}

.showcase-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-6);
  color: var(--color-white);
}

.tech-in-production .feature-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.tech-in-production .feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.9);
}

.tech-in-production .feature-icon {
  width: 24px;
  height: 24px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.dashboard-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #10b981;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: var(--space-4);
}

.dashboard-link:hover {
  background: #059669;
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .dashboard-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mockup-stats {
    flex-direction: column;
    gap: 16px;
  }
}

/* ==========================================================================
   REAL METRICS SECTION
   ========================================================================== */
.real-metrics-section {
  padding: 60px 0;
  background: #0f172a;
}

.real-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.real-metric-card {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  padding: 32px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.real-metric-card:hover {
  transform: translateY(-4px);
}

.real-metric-value {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.real-metric-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  margin-bottom: 8px;
}

.real-metric-trend {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

/* ==========================================================================
   ADDITIONAL VALIDATION ENHANCEMENTS
   ========================================================================== */
.validation-card__error-text {
  padding: var(--space-4) var(--space-8);
}

#search-error {
  margin: var(--space-4) var(--space-8);
  display: none;
}

/* ==========================================================================
   PRODUCT INFO HEADER (P0 Fix)
   ========================================================================== */
.product-info-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: var(--space-6);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(52, 211, 153, 0.05) 100%);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-6);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.product-icon {
  font-size: 4rem;
  line-height: 1;
  flex-shrink: 0;
}

.product-details {
  flex: 1;
  min-width: 0;
}

.product-name {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-white);
  margin: 0 0 var(--space-2) 0;
}

.product-variety {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 var(--space-1) 0;
}

.product-origin {
  font-size: var(--text-base);
  color: var(--color-secondary);
  margin: 0 0 var(--space-1) 0;
  font-weight: var(--font-semibold);
}

.product-producer {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

@media (max-width: 480px) {
  .product-info-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .product-icon {
    font-size: 3rem;
  }
}

/* ==========================================================================
   CERTIFICATION BADGES (P0 Fix)
   ========================================================================== */
.certification-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--space-6);
  padding: 0 var(--space-2);
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--cert-color, rgba(255, 255, 255, 0.2));
  border-radius: 24px;
  transition: all 0.3s ease;
}

.cert-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cert-badge__icon {
  font-size: 1.25rem;
}

.cert-badge__name {
  font-size: 0.8125rem;
  font-weight: var(--font-semibold);
  color: var(--color-white);
}

.cert-badge__status {
  font-size: 0.6875rem;
  color: #10b981;
  background: rgba(16, 185, 129, 0.2);
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 480px) {
  .certification-badges {
    justify-content: center;
  }

  .cert-badge {
    padding: 6px 12px;
  }

  .cert-badge__name {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   RESET VALIDATION BUTTON (P1 Fix)
   ========================================================================== */
.reset-validation-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: all 0.3s ease;
}

.reset-validation-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

/* ==========================================================================
   SKELETON LOADER - Enhanced (P1 Fix)
   ========================================================================== */
.validation-skeleton {
  padding: var(--space-6);
}

.skeleton-product-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: var(--space-6);
}

.skeleton-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
}

.skeleton-text-group {
  flex: 1;
}

.skeleton-title {
  width: 200px;
  height: 28px;
  margin-bottom: 12px;
}

.skeleton-subtitle {
  width: 150px;
  height: 16px;
}

.skeleton-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.skeleton-metric {
  height: 80px;
  border-radius: var(--radius-lg);
}

@media (max-width: 600px) {
  .skeleton-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   SEMANTIC TYPOGRAPHY UTILITY CLASSES V2.0
   ========================================================================== */

.type-hero {
  font-family: var(--font-display);
  font-size: var(--type-hero);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tighter);
}

.type-display {
  font-family: var(--font-display);
  font-size: var(--type-4xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.type-headline {
  font-family: var(--font-display);
  font-size: var(--type-2xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
}

.type-title {
  font-family: var(--font-display);
  font-size: var(--type-lg);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
}

.type-body {
  font-family: var(--font-body);
  font-size: var(--type-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
}

.type-body-lg {
  font-family: var(--font-body);
  font-size: var(--type-lg);
  font-weight: var(--weight-regular);
  line-height: var(--leading-relaxed);
}

.type-body-sm {
  font-family: var(--font-body);
  font-size: var(--type-sm);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
}

.type-code {
  font-family: var(--font-mono);
  font-size: var(--type-sm);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-tight);
  font-feature-settings: 'zero' 1, 'ss01' 1;
}

.type-caption {
  font-family: var(--font-body);
  font-size: var(--type-xs);
  font-weight: var(--weight-medium);
  line-height: var(--leading-normal);
}

.type-overline {
  font-family: var(--font-body);
  font-size: var(--type-xs);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

.type-financial {
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
}

.type-button {
  font-family: var(--font-body);
  font-size: var(--type-base);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  line-height: 1;
}

/* Notification styles moved from runtime JS for strict CSP compatibility */
.agrobridge-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10000;
  transform: translateX(120%);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), opacity 240ms cubic-bezier(0.22, 1, 0.36, 1);
  max-width: 400px;
  font-family: 'Manrope', sans-serif;
}

.agrobridge-notification.visible {
  transform: translateX(0);
}

.agrobridge-notification.hiding {
  transform: translateX(120%);
  opacity: 0;
}

.agrobridge-notification--success {
  border-left: 4px solid #22c55e;
}

.agrobridge-notification--error {
  border-left: 4px solid #ef4444;
}

.agrobridge-notification--warning {
  border-left: 4px solid #f59e0b;
}

.agrobridge-notification--info {
  border-left: 4px solid #3b82f6;
}

.notification-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  background: rgba(31, 41, 55, 0.08);
  color: #111827;
}

.notification-message {
  flex: 1;
  color: #1f2937;
  font-size: 0.95rem;
}

.notification-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #9ca3af;
  padding: 0;
  line-height: 1;
}

.notification-close:hover {
  color: #4b5563;
}

.notification-close:focus-visible {
  outline: 2px solid #b58d57;
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .agrobridge-notification,
  .agrobridge-notification.visible,
  .agrobridge-notification.hiding {
    transition: none !important;
    transform: none !important;
  }
}

@media (max-width: 480px) {
  .agrobridge-notification {
    left: 10px;
    right: 10px;
    max-width: none;
  }
}
