/* ===== K7 FARMS - AEROPONIC & HYDROPONIC SYSTEMS ===== */
/* Modern Professional Design - Enhanced Contrast & Responsiveness */

:root {
  /* Primary Colors - Deep Professional Greens */
  --primary: #1B5E20;
  --primary-dark: #0D3D12;
  --primary-light: #2E7D32;
  --primary-pale: #E8F5E9;
  
  /* Secondary - Rich Blues */
  --secondary: #0277BD;
  --secondary-dark: #01579B;
  --secondary-light: #0288D1;
  
  /* Accent - Vibrant Lime */
  --accent: #7CB342;
  --accent-dark: #558B2F;
  --accent-light: #9CCC65;
  
  /* Neutrals - High Contrast */
  --white: #FFFFFF;
  --off-white: #F8FAF8;
  --gray-50: #F1F5F1;
  --gray-100: #E8EDE8;
  --gray-200: #D5DDD5;
  --gray-300: #B8C2B8;
  --gray-400: #9AA49A;
  --gray-500: #6B756B;
  --gray-600: #4A524A;
  --gray-700: #333933;
  --gray-800: #1A1F1A;
  --text: #0F130F;
  --text-muted: #3D453D;
  --text-light: #5A645A;
  
  /* Status Colors */
  --success: #2E7D32;
  --warning: #F57C00;
  --error: #C62828;
  --info: #0277BD;
  
  /* Light Backgrounds */
  --light-bg: #F1F8E9;
  --section-alt: #FAFDF7;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0D3D12 0%, #1B5E20 40%, #2E7D32 100%);
  --gradient-section: linear-gradient(180deg, #E8F5E9 0%, #FFFFFF 100%);
  --gradient-card: linear-gradient(145deg, #FFFFFF 0%, #F1F8E9 100%);
  --gradient-cta: linear-gradient(135deg, #1B5E20 0%, #0277BD 100%);
  --gradient-dark: linear-gradient(135deg, #1A1F1A 0%, #0D3D12 100%);
  
  /* Shadows - More Pronounced */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.2);
  --shadow-green: 0 8px 32px rgba(27,94,32,0.35);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.1);
  
  /* Spacing */
  --section-padding: 100px;
  --container-width: 1200px;
  
  /* Border */
  --border-color: #D5DDD5;
  --border-light: #E8EDE8;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

body.rtl {
  font-family: 'Tajawal', 'Inter', -apple-system, sans-serif;
  direction: rtl;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

ul, ol {
  list-style: none;
}

/* ===== ACCESSIBILITY UTILITIES ===== */

/* Screen reader only - visually hidden but accessible */
.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;
}

/* Make screen reader only visible on focus */
.sr-only-focusable:focus,
.sr-only-focusable:active {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* ===== FOCUS STYLES - Accessibility ===== */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 375px) {
  .container { padding: 0 20px; }
}

@media (min-width: 576px) {
  .container { padding: 0 24px; }
}

@media (min-width: 992px) {
  .container { padding: 0 32px; }
}

.container-sm { max-width: 900px; }
.container-lg { max-width: 1400px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.02em;
}

.h1, h1 { 
  font-size: 2rem;
  font-weight: 800;
}
.h2, h2 { font-size: 1.75rem; }
.h3, h3 { font-size: 1.5rem; }
.h4, h4 { font-size: 1.25rem; }
.h5, h5 { font-size: 1.125rem; }
.h6, h6 { font-size: 1rem; }

@media (min-width: 576px) {
  .h1, h1 { font-size: 2.5rem; }
  .h2, h2 { font-size: 2rem; }
  .h3, h3 { font-size: 1.75rem; }
}

@media (min-width: 768px) {
  .h1, h1 { font-size: 3rem; }
  .h2, h2 { font-size: 2.25rem; }
}

@media (min-width: 992px) {
  .h1, h1 { font-size: 3.5rem; }
  .h2, h2 { font-size: 2.5rem; }
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 400;
}

@media (min-width: 768px) {
  .lead { font-size: 1.25rem; }
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }

/* ===== SECTION STYLES ===== */
.section {
  padding: 50px 0;
}

@media (min-width: 576px) {
  .section { padding: 60px 0; }
}

@media (min-width: 768px) {
  .section { padding: 80px 0; }
}

@media (min-width: 992px) {
  .section { padding: var(--section-padding) 0; }
}

.section-light {
  background: var(--section-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .section-header { margin-bottom: 60px; }
}

.section-label {
  display: inline-block;
  padding: 8px 20px;
  background: var(--primary-pale);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.125rem;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
  padding-top: env(safe-area-inset-top, 0);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.995);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px;
}

@media (min-width: 576px) {
  .header-inner {
    padding: 12px 0;
    gap: 16px;
  }
}

@media (min-width: 992px) {
  .header-inner {
    padding: 16px 0;
    gap: 32px;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
}

@media (min-width: 576px) {
  .brand {
    gap: 12px;
    font-size: 1.5rem;
  }
}

.brand-logo {
  width: 40px;
  height: 40px;
  background: var(--gradient-hero);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
  font-size: 1rem;
}

.brand-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 576px) {
  .brand-logo {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  
  .brand-logo-img {
    height: 48px;
  }
}

.nav {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 992px) {
  .nav {
    display: flex;
    gap: 8px;
  }
}

.nav a {
  padding: 10px 14px;
  border-radius: var(--radius-full);
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav a:hover {
  background: var(--primary-pale);
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-actions .btn {
  display: none;
}

@media (min-width: 576px) {
  .header-actions { gap: 12px; }
}

@media (min-width: 992px) {
  .header-actions .btn {
    display: inline-flex;
  }
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
}

.lang-switch a {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--gray-600);
}

@media (min-width: 576px) {
  .lang-switch a {
    padding: 8px 16px;
    font-size: 0.875rem;
  }
}

.lang-switch a:hover,
.lang-switch a.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

@media (min-width: 992px) {
  .mobile-toggle { display: none; }
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: var(--white);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  padding: 100px 24px 40px;
  padding-top: calc(100px + env(safe-area-inset-top, 0));
  padding-bottom: calc(40px + env(safe-area-inset-bottom, 0));
  overflow-y: auto;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 576px) {
  .mobile-nav {
    padding: 110px 32px 50px;
    gap: 10px;
  }
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  display: block;
  padding: 18px 20px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

@media (min-width: 576px) {
  .mobile-nav a {
    padding: 20px 24px;
    font-size: 1.25rem;
  }
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--primary-pale);
  color: var(--primary);
  border-color: var(--primary);
}

.mobile-nav .btn {
  margin-top: 24px;
  text-align: center;
  padding: 18px 32px;
  font-size: 1.125rem;
}

.mobile-nav .mobile-lang-switch {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.mobile-nav .mobile-lang-switch a {
  padding: 14px 32px;
  background: var(--gray-100);
  border: none;
  font-size: 1rem;
  flex: 1;
  max-width: 150px;
}

.mobile-nav .mobile-lang-switch a.active {
  background: var(--primary);
  color: var(--white);
}

@media (min-width: 992px) {
  .mobile-nav { display: none !important; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 576px) {
  .btn {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

/* Buttons with Icons */
.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

body.rtl .btn-icon {
  flex-direction: row-reverse;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

@media (min-width: 576px) {
  .btn-lg {
    padding: 18px 40px;
    font-size: 1.125rem;
  }
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  background: var(--gradient-hero);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero { padding: 120px 0 80px; }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: center;
}

@media (min-width: 992px) {
  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.hero-badge::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--accent-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
  .hero h1 { margin-bottom: 24px; }
}

.hero .lead {
  color: rgba(255,255,255,0.95);
  margin-bottom: 32px;
  max-width: 540px;
}

@media (min-width: 992px) {
  .hero .lead { margin-bottom: 40px; }
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 992px) {
  .hero-buttons { justify-content: flex-start; }
}

.hero-visual {
  position: relative;
  max-width: 100%;
}

@media (min-width: 992px) {
  .hero-visual { max-width: none; }
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}

@media (min-width: 576px) {
  .hero-image { height: 400px; font-size: 8rem; }
}

@media (min-width: 992px) {
  .hero-image { height: 500px; font-size: 10rem; }
}

img.hero-image {
  display: block;
}

.hero-stats {
  display: flex;
  gap: 16px;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 576px) {
  .hero-stats {
    padding: 24px 32px;
    gap: 24px;
  }
}

@media (min-width: 992px) {
  .hero-stats {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    padding: 24px 40px;
    flex-wrap: nowrap;
  }
}

.hero-stat {
  text-align: center;
  padding: 8px 16px;
}

@media (min-width: 576px) {
  .hero-stat {
    padding: 0 20px;
    border-right: 2px solid var(--gray-200);
  }
  .hero-stat:last-child { border-right: none; }
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

@media (min-width: 576px) {
  .hero-stat-value { font-size: 2rem; }
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 600;
}

@media (min-width: 576px) {
  .hero-stat-label { font-size: 0.875rem; }
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 576px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 2px solid transparent;
}

@media (min-width: 576px) {
  .feature-card { padding: 36px 30px; }
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-pale);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.75rem;
  color: var(--primary);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
}

@media (min-width: 576px) {
  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  
  .feature-icon svg {
    width: 32px;
    height: 32px;
  }
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: var(--text);
}

@media (min-width: 576px) {
  .feature-card h3 { font-size: 1.25rem; }
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== SOLUTIONS GRID ===== */
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 576px) {
  .solutions-grid { gap: 28px; }
}

@media (min-width: 768px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (min-width: 992px) {
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
}

.solution-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 2px solid var(--border-light);
  display: block;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.solution-image {
  height: 160px;
  background: var(--gradient-section);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  object-fit: cover;
  width: 100%;
}

@media (min-width: 576px) {
  .solution-image {
    height: 200px;
    font-size: 5rem;
  }
}

img.solution-image {
  display: block;
}

.solution-content {
  padding: 24px;
}

@media (min-width: 576px) {
  .solution-content { padding: 28px; }
}

.solution-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-pale);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.solution-content h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: var(--text);
}

@media (min-width: 576px) {
  .solution-content h3 { font-size: 1.25rem; }
}

.solution-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.solution-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.solution-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
}

/* ===== SYSTEMS GRID ===== */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 576px) {
  .systems-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 768px) {
  .systems-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 992px) {
  .systems-grid { grid-template-columns: repeat(4, 1fr); }
}

.system-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 576px) {
  .system-card { padding: 20px; }
}

.system-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.system-image {
  font-size: 2.5rem;
  margin-bottom: 16px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius-md);
}

@media (min-width: 576px) {
  .system-image { 
    font-size: 3rem;
    height: 120px;
  }
}

img.system-image {
  margin-bottom: 16px;
}

.system-content h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text);
}

@media (min-width: 576px) {
  .system-content h4 { font-size: 1.05rem; }
}

.system-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (min-width: 576px) {
  .system-content p { font-size: 0.875rem; }
}

.system-price {
  display: block;
  margin-top: 12px;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

/* ===== PROCESS STEPS ===== */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
}

@media (min-width: 576px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (min-width: 992px) {
  .process-steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
}

.process-step {
  text-align: center;
  padding: 24px 16px;
}

@media (min-width: 992px) {
  .process-step { padding: 30px 20px; }
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: var(--shadow-green);
}

@media (min-width: 576px) {
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

.process-step h4 {
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--text);
}

@media (min-width: 576px) {
  .process-step h4 { font-size: 1.1rem; }
}

.process-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== CROPS TABS ===== */
.crops-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
  .crops-tabs {
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    overflow-x: visible;
  }
}

.crop-tab {
  padding: 10px 18px;
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  color: var(--text);
}

@media (min-width: 576px) {
  .crop-tab {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}

.crop-tab:hover,
.crop-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ===== CROPS SHOWCASE GALLERY ===== */
.crops-showcase {
  background: var(--gray-800);
  padding: 80px 0;
}

@media (min-width: 768px) {
  .crops-showcase { padding: 100px 0; }
}

.crops-showcase .section-label {
  background: rgba(255,255,255,0.1);
  color: var(--accent-light);
}

.crops-showcase .section-title {
  color: var(--white);
}

.crops-showcase .section-desc {
  color: var(--gray-300);
}

.crops-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 576px) {
  .crops-gallery {
    gap: 16px;
  }
}

@media (min-width: 768px) {
  .crops-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 992px) {
  .crops-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.crop-showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.crop-showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.crop-showcase-card:hover img {
  transform: scale(1.1);
}

.crop-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  transition: var(--transition);
}

@media (min-width: 576px) {
  .crop-overlay { padding: 20px; }
}

.crop-showcase-card:hover .crop-overlay {
  background: linear-gradient(to top, rgba(27,94,32,0.95) 0%, rgba(27,94,32,0.6) 50%, transparent 100%);
}

.crop-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  width: fit-content;
}

@media (min-width: 576px) {
  .crop-tag {
    padding: 5px 12px;
    font-size: 0.7rem;
  }
}

.crop-overlay h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
  font-weight: 700;
}

@media (min-width: 576px) {
  .crop-overlay h3 { font-size: 1.1rem; }
}

@media (min-width: 768px) {
  .crop-overlay h3 { font-size: 1.25rem; }
}

.crop-overlay p {
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  margin: 0;
}

@media (min-width: 576px) {
  .crop-overlay p { font-size: 0.85rem; }
}

/* Featured crop card - spans 2 columns on larger screens */
.crop-featured {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

@media (min-width: 768px) {
  .crop-featured {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
  }
}

.crop-featured .crop-overlay {
  padding: 24px;
}

@media (min-width: 768px) {
  .crop-featured .crop-overlay { padding: 32px; }
}

.crop-featured .crop-tag {
  font-size: 0.75rem;
  padding: 6px 14px;
}

.crop-featured .crop-overlay h3 {
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .crop-featured .crop-overlay h3 { font-size: 2rem; }
}

.crop-featured .crop-overlay p {
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .crop-featured .crop-overlay p { font-size: 1rem; }
}

/* Crops Stats Bar */
.crops-stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding: 30px 20px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 576px) {
  .crops-stats-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 40px;
    margin-top: 50px;
  }
}

.crop-stat-item {
  text-align: center;
}

.crop-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 8px;
}

@media (min-width: 576px) {
  .crop-stat-number { font-size: 2.5rem; }
}

@media (min-width: 768px) {
  .crop-stat-number { font-size: 3rem; }
}

.crop-stat-text {
  font-size: 0.8rem;
  color: var(--gray-300);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 576px) {
  .crop-stat-text { font-size: 0.9rem; }
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--primary-pale) 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 576px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.why-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 2px solid var(--border-light);
  transition: var(--transition);
  overflow: hidden;
}

@media (min-width: 576px) {
  .why-card {
    padding: 32px 28px;
    gap: 20px;
  }
}

.why-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.why-card:hover .why-card-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.why-card-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-pale);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
}

@media (min-width: 576px) {
  .why-card-icon {
    width: 72px;
    height: 72px;
  }
}

.why-card-icon svg {
  width: 28px;
  height: 28px;
}

@media (min-width: 576px) {
  .why-card-icon svg {
    width: 32px;
    height: 32px;
  }
}

.why-card-content {
  flex: 1;
}

.why-card-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

@media (min-width: 576px) {
  .why-card-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
}

.why-card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

@media (min-width: 576px) {
  .why-card-content p { font-size: 0.95rem; }
}

.why-card-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
  pointer-events: none;
  transition: var(--transition);
}

body.rtl .why-card-number {
  right: auto;
  left: 20px;
}

@media (min-width: 576px) {
  .why-card-number { font-size: 4rem; }
}

.why-card:hover .why-card-number {
  color: var(--primary-pale);
}

/* Highlighted card */
.why-card-highlight {
  background: var(--gradient-hero);
  border-color: var(--primary);
}

.why-card-highlight .why-card-icon {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

.why-card-highlight:hover .why-card-icon {
  background: var(--white);
  color: var(--primary);
}

.why-card-highlight .why-card-content h4 {
  color: var(--white);
}

.why-card-highlight .why-card-content p {
  color: rgba(255,255,255,0.92);
}

.why-card-highlight .why-card-number {
  color: rgba(255,255,255,0.1);
}

.why-card-highlight:hover .why-card-number {
  color: rgba(255,255,255,0.2);
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 30px 20px;
  box-shadow: var(--shadow-lg);
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

@media (min-width: 576px) {
  .stats-bar {
    padding: 40px 30px;
    margin-top: -60px;
  }
}

@media (min-width: 992px) {
  .stats-bar {
    padding: 50px;
    margin-top: -80px;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 576px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
  }
}

.stat-item {
  text-align: center;
  padding: 10px;
}

@media (min-width: 992px) {
  .stat-item {
    padding: 0 20px;
    border-right: 2px solid var(--border-light);
  }
  .stat-item:last-child { border-right: none; }
}

.stat-icon {
  width: 45px;
  height: 45px;
  background: var(--primary-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.25rem;
}

@media (min-width: 576px) {
  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin-bottom: 16px;
  }
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

@media (min-width: 576px) {
  .stat-value { font-size: 1.75rem; }
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

@media (min-width: 576px) {
  .stat-label { font-size: 0.875rem; }
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.about-image {
  position: relative;
}

.image-placeholder {
  background: var(--gradient-section);
  border-radius: var(--radius-xl);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 576px) {
  .image-placeholder {
    height: 400px;
    font-size: 6rem;
  }
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content .lead {
  margin-bottom: 24px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--gradient-cta);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-section { padding: 80px 0; }
}

@media (min-width: 992px) {
  .cta-section { padding: 100px 0; }
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.cta-section p {
  color: rgba(255,255,255,0.95);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 576px) {
  .cta-section p {
    font-size: 1.25rem;
    margin-bottom: 40px;
  }
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (min-width: 576px) {
  .cta-buttons { gap: 16px; }
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (min-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--border-light);
}

@media (min-width: 576px) {
  .testimonial-card { padding: 36px 32px; }
}

.testimonial-rating {
  color: #F59E0B;
  font-size: 1.125rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

@media (min-width: 576px) {
  .testimonial-rating {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text);
  font-style: italic;
}

@media (min-width: 576px) {
  .testimonial-text {
    font-size: 1.1rem;
    margin-bottom: 24px;
  }
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

@media (min-width: 576px) {
  .testimonial-avatar {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }
}

.testimonial-info strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.testimonial-info span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--gradient-dark);
  color: var(--gray-300);
  padding: 60px 0 24px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0));
}

@media (min-width: 768px) {
  .site-footer { 
    padding: 80px 0 30px;
    padding-bottom: calc(30px + env(safe-area-inset-bottom, 0));
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 576px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

@media (min-width: 576px) {
  .footer-brand {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
}

.footer-brand .brand-logo {
  background: var(--primary);
}

.footer-brand .brand-logo-img {
  height: 50px;
  width: auto;
}

@media (min-width: 576px) {
  .footer-brand .brand-logo-img {
    height: 60px;
  }
}

.footer-about p {
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-column h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 700;
}

@media (min-width: 576px) {
  .footer-column h4 { margin-bottom: 24px; }
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.75);
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 6px;
}

body.rtl .footer-links a:hover {
  padding-left: 0;
  padding-right: 6px;
}

.footer-newsletter p {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 576px) {
  .newsletter-form {
    flex-direction: row;
    gap: 12px;
  }
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.95rem;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter-form button {
  padding: 14px 24px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-light);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .footer-bottom-links {
    gap: 30px;
    justify-content: flex-end;
  }
}

.footer-bottom-links a {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--gradient-hero);
  padding: 120px 0 60px;
  text-align: center;
  color: var(--white);
}

@media (min-width: 768px) {
  .page-hero { padding: 160px 0 80px; }
}

@media (min-width: 992px) {
  .page-hero { padding: 180px 0 100px; }
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.page-hero .lead {
  color: rgba(255,255,255,0.95);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
  }
}

.contact-info {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  color: var(--white);
  padding: 36px 28px;
}

@media (min-width: 576px) {
  .contact-info { padding: 44px 36px; }
}

@media (min-width: 992px) {
  .contact-info { padding: 52px 44px; }
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.5rem;
}

@media (min-width: 576px) {
  .contact-info h3 { font-size: 1.75rem; }
}

.contact-info > p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Contact Details List */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

/* Contact Item */
.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

body.rtl .contact-item {
  flex-direction: row-reverse;
  text-align: right;
}

.contact-item-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  backdrop-filter: blur(4px);
  transition: var(--transition);
  color: var(--white);
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.contact-item:hover .contact-item-icon {
  background: rgba(255,255,255,0.25);
  transform: scale(1.05);
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item-text strong {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-item-text a,
.contact-item-text span {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 500;
  transition: var(--transition);
}

.contact-item-text a:hover {
  opacity: 0.85;
  text-decoration: underline;
}

/* Social Section in Contact Info */
.contact-social-section {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.contact-social-section strong {
  display: block;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

body.rtl .contact-social-section {
  text-align: right;
}

/* Social Links in Contact Info */
.contact-info .footer-social {
  display: flex;
  gap: 12px;
}

body.rtl .contact-info .footer-social {
  justify-content: flex-end;
}

.contact-info .footer-social a {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.contact-info .footer-social a:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}

.contact-info .footer-social svg {
  width: 20px;
  height: 20px;
}

/* RTL Support for Contact Page */
body.rtl .contact-info {
  text-align: right;
}

body.rtl .contact-form-wrapper {
  text-align: right;
}

body.rtl .form label {
  text-align: right;
}

body.rtl .form input,
body.rtl .form textarea,
body.rtl .form select {
  text-align: right;
}

body.rtl .form-row-inline {
  direction: rtl;
}

.info-card {
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

@media (min-width: 576px) {
  .info-card { padding: 36px 32px; }
}

.info-card h3 {
  margin-bottom: 24px;
  color: var(--text);
  font-size: 1.25rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.info-item:last-child {
  border-bottom: none;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.info-content strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.info-content span,
.info-content a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 576px) {
  .contact-form-wrapper { padding: 40px 36px; }
}

@media (min-width: 992px) {
  .contact-form-wrapper { padding: 50px; }
}

.contact-form-wrapper h3 {
  margin-bottom: 24px;
  color: var(--text);
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 576px) {
  .form-card { padding: 36px 32px; }
}

/* ===== FORMS ===== */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row-inline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 576px) {
  .form-row-inline {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.form label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
  color: var(--text);
}

@media (min-width: 576px) {
  .form input,
  .form textarea,
  .form select {
    padding: 16px 20px;
  }
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-pale);
}

.form input::placeholder,
.form textarea::placeholder {
  color: var(--gray-500);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  color: var(--error);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== FAQ SECTION ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 2px solid var(--border-light);
}

@media (min-width: 576px) {
  .faq-item { margin-bottom: 16px; }
}

.faq-question {
  padding: 18px 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  font-size: 0.95rem;
  color: var(--text);
}

@media (min-width: 576px) {
  .faq-question {
    padding: 22px 28px;
    font-size: 1rem;
  }
}

.faq-question:hover {
  background: var(--primary-pale);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-item.active .faq-question {
  background: var(--primary-pale);
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-muted);
  line-height: 1.8;
  display: none;
  font-size: 0.95rem;
}

@media (min-width: 576px) {
  .faq-answer {
    padding: 0 28px 22px;
  }
}

.faq-item.active .faq-answer {
  display: block;
}

/* ===== BLOG META ===== */
.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

@media (min-width: 576px) {
  .blog-meta {
    gap: 20px;
    font-size: 0.9rem;
  }
}

/* ===== UTILITIES ===== */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

/* ===== RTL SUPPORT ===== */
body.rtl .hero-stat {
  border-right: none;
  border-left: 2px solid var(--gray-200);
}

body.rtl .hero-stat:last-child {
  border-left: none;
}

body.rtl .stat-item {
  border-right: none;
  border-left: 2px solid var(--border-light);
}

body.rtl .stat-item:last-child {
  border-left: none;
}

body.rtl .solution-features li::before,
body.rtl .feature-list li::before {
  margin-right: 0;
  margin-left: 10px;
}

/* RTL for Feature Cards */
body.rtl .feature-card {
  text-align: right;
}

body.rtl .feature-icon {
  margin-left: auto;
  margin-right: 0;
}

/* RTL for FAQ */
body.rtl .faq-question {
  text-align: right;
  flex-direction: row-reverse;
}

body.rtl .faq-question::after {
  margin-right: 0;
  margin-left: auto;
}

body.rtl .faq-answer {
  text-align: right;
}

/* RTL for Section Headers - Keep centered but ensure text direction is correct */
body.rtl .section-header {
  text-align: center;
}

body.rtl .section-desc {
  text-align: center;
}

/* RTL for Breadcrumb */
body.rtl .breadcrumb {
  flex-direction: row-reverse;
  justify-content: center;
}

/* RTL for CTA Section */
body.rtl .cta-content {
  text-align: center;
}

body.rtl .cta-buttons {
  justify-content: center;
}

/* RTL for Page Hero */
body.rtl .page-hero {
  text-align: center;
}

body.rtl .page-hero .lead {
  text-align: center;
}

/* ===== PRINT STYLES ===== */
@media print {
  .site-header,
  .site-footer,
  .cta-section {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding: 20px 0;
  }
  
  body {
    font-size: 12pt;
    color: #000;
  }
}

/* ===== PRODUCTS/BLOG GRID ===== */
.products-grid,
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 576px) {
  .products-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (min-width: 992px) {
  .products-grid,
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 2px solid var(--border-light);
  display: block;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.product-image {
  height: 180px;
  background: var(--gradient-section);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 576px) {
  .product-image {
    height: 200px;
    font-size: 5rem;
  }
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

body.rtl .product-badge {
  left: auto;
  right: 12px;
}

.product-content {
  padding: 20px;
}

@media (min-width: 576px) {
  .product-content { padding: 24px; }
}

.product-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.product-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}

@media (min-width: 576px) {
  .product-content h3 { font-size: 1.2rem; }
}

.product-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.product-price small {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
}

@media (min-width: 992px) {
  .product-detail-grid {
    gap: 64px;
  }
}

/* Product Gallery */
.product-gallery {
  position: sticky;
  top: 120px;
}

.product-main-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.product-thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.product-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
  border: 2px solid transparent;
}

.product-thumb:hover,
.product-thumb.active {
  opacity: 1;
  border-color: var(--primary);
}

/* Product Info */
.product-info {
  padding: 0;
}

.product-info .product-badge {
  position: static;
  display: inline-block;
  margin-bottom: 16px;
}

.product-title {
  font-size: 1.75rem;
  margin-bottom: 12px;
  color: var(--text);
}

@media (min-width: 576px) {
  .product-title { font-size: 2rem; }
}

@media (min-width: 768px) {
  .product-title { font-size: 2.25rem; }
}

.product-info .product-category {
  margin-bottom: 20px;
}

.product-info .product-category a {
  color: var(--primary);
  font-weight: 600;
}

.product-info .product-category a:hover {
  text-decoration: underline;
}

.product-info .product-price {
  background: var(--primary-pale);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-info .price-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.product-info .price-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}

/* Product Specs */
.product-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
}

@media (min-width: 576px) {
  .product-specs {
    grid-template-columns: repeat(3, 1fr);
    padding: 24px;
  }
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.spec-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.spec-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-item strong {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.spec-item span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

/* Product Features */
.product-features {
  margin-bottom: 28px;
}

.product-features h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--text);
}

/* Product Actions */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 576px) {
  .product-actions {
    flex-direction: row;
    gap: 16px;
  }
}

.product-actions .btn {
  flex: 1;
  justify-content: center;
}

/* Product Description */
.product-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.product-description p {
  margin-bottom: 1.5em;
}

/* RTL Support for Product Detail */
body.rtl .product-info .product-badge {
  left: auto;
  right: auto;
}

body.rtl .spec-item {
  flex-direction: row-reverse;
  text-align: right;
}

body.rtl .product-actions {
  flex-direction: column;
}

@media (min-width: 576px) {
  body.rtl .product-actions {
    flex-direction: row-reverse;
  }
}

/* Product Card in Grid */
.product-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

@media (min-width: 576px) {
  .product-card-image { height: 200px; }
}

.product-card-content {
  padding: 20px;
}

@media (min-width: 576px) {
  .product-card-content { padding: 24px; }
}

.product-card-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.product-card-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

/* Blog Card */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 2px solid var(--border-light);
  display: block;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.blog-image {
  height: 180px;
  background: var(--gradient-section);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

@media (min-width: 576px) {
  .blog-image {
    height: 200px;
    font-size: 4rem;
  }
}

.blog-content {
  padding: 20px;
}

@media (min-width: 576px) {
  .blog-content { padding: 24px; }
}

.blog-category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-pale);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.blog-content h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.4;
}

@media (min-width: 576px) {
  .blog-content h3 { font-size: 1.15rem; }
}

.blog-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
  line-height: 1.7;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Read More Link */
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  transition: var(--transition);
}

.read-more:hover {
  gap: 10px;
}

.read-more::after {
  content: '→';
}

body.rtl .read-more::after {
  content: '←';
}

/* ===== FILTERS ===== */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  padding-bottom: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
  .filters-bar {
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
  }
}

.filter-btn {
  padding: 10px 20px;
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  color: var(--text);
}

@media (min-width: 576px) {
  .filter-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ===== DETAIL PAGE STYLES ===== */
.detail-hero {
  background: var(--gradient-hero);
  padding: 120px 0 60px;
  color: var(--white);
}

.detail-hero .lead {
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
  .detail-hero { padding: 140px 0 70px; }
}

@media (min-width: 992px) {
  .detail-hero { padding: 160px 0 80px; }
}

.detail-content {
  padding: 50px 0;
}

@media (min-width: 768px) {
  .detail-content { padding: 70px 0; }
}

@media (min-width: 992px) {
  .detail-content { padding: 80px 0; }
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 992px) {
  .detail-grid {
    grid-template-columns: 2fr 1fr;
    gap: 48px;
  }
}

.detail-main h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.detail-main p {
  margin-bottom: 16px;
  line-height: 1.9;
  color: var(--text-muted);
}

.detail-sidebar {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 28px;
}

@media (min-width: 576px) {
  .detail-sidebar { padding: 32px; }
}

.sidebar-section {
  margin-bottom: 28px;
}

.sidebar-section:last-child {
  margin-bottom: 0;
}

.sidebar-section h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Related Items */
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 576px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 992px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== THANK YOU PAGE ===== */
.thank-you-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.thank-you-content {
  max-width: 600px;
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 3rem;
}

.thank-you-content h1 {
  margin-bottom: 16px;
  color: var(--primary);
}

.thank-you-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* ===== RESPONSIVE VISIBILITY ===== */
.hide-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hide-mobile { display: block; }
}

.hide-desktop {
  display: block;
}

@media (min-width: 768px) {
  .hide-desktop { display: none; }
}

/* ===== TEXT SELECTION ===== */
::selection {
  background: var(--primary);
  color: var(--white);
}

/* ===== SMOOTH SCROLLBAR (Webkit) ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* ===== ANIMATION CLASSES ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ===== LOADING STATE ===== */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== SKIP LINK (Accessibility) ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 16px 24px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 700;
  z-index: 9999;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 20px;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0));
  right: 24px;
  right: calc(24px + env(safe-area-inset-right, 0));
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 576px) {
  .back-to-top {
    width: 50px;
    height: 50px;
  }
}

body.rtl .back-to-top {
  right: auto;
  left: 24px;
  left: calc(24px + env(safe-area-inset-left, 0));
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}
/* ===== ENHANCED UI POLISH & ANIMATIONS ===== */

/* Smooth Page Load Animation */
@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Entry Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Animation Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Enhanced Card Hover Effects */
.solution-card,
.system-card,
.feature-card,
.product-card,
.blog-card,
.why-card,
.testimonial-card {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.4s ease,
              border-color 0.3s ease;
  will-change: transform, box-shadow;
}

/* Glassmorphism Card Variant */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Enhanced Hero Section */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(124, 179, 66, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(2, 119, 189, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

/* Floating Badge Animation */
.hero-badge {
  animation: slideInFromBottom 0.6s ease forwards;
}

.hero-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

/* Enhanced Button Interactions */
.btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.btn:hover::before {
  width: 300%;
  height: 300%;
}

.btn:active {
  transform: scale(0.98);
}

/* Enhanced Image Containers */
.product-image,
.blog-image,
.solution-image {
  position: relative;
  overflow: hidden;
}

.product-image::after,
.blog-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-image::after,
.blog-card:hover .blog-image::after {
  opacity: 1;
}

/* Enhanced Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 50px;
  animation: slideInFromBottom 0.6s ease;
}

@media (min-width: 768px) {
  .section-header { margin-bottom: 60px; }
}

.section-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--primary);
  opacity: 0.5;
}

@media (min-width: 576px) {
  .section-label::before,
  .section-label::after {
    width: 30px;
  }
}

/* Enhanced Stat Items */
.stat-item,
.hero-stat,
.crop-stat-item {
  position: relative;
  transition: transform 0.3s ease;
}

.stat-item:hover,
.hero-stat:hover,
.crop-stat-item:hover {
  transform: scale(1.05);
}

.stat-value,
.hero-stat-value,
.crop-stat-number {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced Testimonial Cards */
.testimonial-card {
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--primary-pale);
  line-height: 1;
  pointer-events: none;
}

body.rtl .testimonial-card::before {
  left: auto;
  right: 20px;
}

/* Enhanced FAQ Interactions */
.faq-item {
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.faq-question {
  position: relative;
}

.faq-question::after {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

/* Enhanced Form Inputs */
.form input,
.form textarea,
.form select {
  transition: border-color 0.3s ease, 
              box-shadow 0.3s ease, 
              transform 0.2s ease;
}

.form input:hover,
.form textarea:hover,
.form select:hover {
  border-color: var(--gray-300);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(27, 94, 32, 0.15);
}

/* Enhanced Navigation */
.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  left: 0;
}

/* Enhanced Footer */
.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(27,94,32,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Enhanced Newsletter Form */
.newsletter-form input {
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  background: rgba(255,255,255,0.15);
  box-shadow: 0 0 0 3px rgba(27,94,32,0.3);
}

.newsletter-form button {
  position: relative;
  overflow: hidden;
}

.newsletter-form button::after {
  content: '→';
  position: absolute;
  right: -30px;
  opacity: 0;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  padding-right: 35px;
}

.newsletter-form button:hover::after {
  right: 15px;
  opacity: 1;
}

body.rtl .newsletter-form button::after {
  content: '←';
  right: auto;
  left: -30px;
}

body.rtl .newsletter-form button:hover {
  padding-right: 24px;
  padding-left: 35px;
}

body.rtl .newsletter-form button:hover::after {
  left: 15px;
}

/* Enhanced Crops Gallery */
.crop-showcase-card {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.crop-showcase-card:hover {
  transform: scale(1.03);
  z-index: 2;
}

/* Enhanced Process Steps */
.process-step {
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 35px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
  opacity: 0.3;
}

body.rtl .process-step::after {
  right: auto;
  left: -50%;
  background: linear-gradient(-90deg, var(--primary) 0%, transparent 100%);
}

.process-step:last-child::after {
  display: none;
}

@media (max-width: 991px) {
  .process-step::after {
    display: none;
  }
}

/* Enhanced Why Cards */
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  transition: height 0.3s ease;
}

body.rtl .why-card::before {
  left: auto;
  right: 0;
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}

.why-card:hover::before {
  height: 100%;
}

/* Enhanced Loading States */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

.skeleton-text {
  height: 1em;
  margin-bottom: 0.5em;
}

.skeleton-text:last-child {
  width: 70%;
}

.skeleton-image {
  aspect-ratio: 16/9;
}

/* Enhanced Mobile Menu Animation */
.mobile-menu {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu:not(.open) {
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
}

/* Enhanced Breadcrumb */
.breadcrumb a {
  position: relative;
}

.breadcrumb a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255,255,255,0.8);
  transition: width 0.3s ease;
}

.breadcrumb a:hover::after {
  width: 100%;
}

/* Enhanced Social Links */
.footer-social a,
.cta-social a {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color 0.3s ease;
}

.footer-social a:hover,
.cta-social a:hover {
  transform: translateY(-5px) scale(1.1);
}

/* Enhanced Filter/Tab Buttons */
.crop-tab,
.filter-btn {
  position: relative;
  overflow: hidden;
}

.crop-tab::before,
.filter-btn::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--primary);
  transition: width 0.3s ease, left 0.3s ease;
}

.crop-tab:hover::before,
.filter-btn:hover::before {
  width: 100%;
  left: 0;
}

.crop-tab.active::before,
.filter-btn.active::before {
  width: 100%;
  left: 0;
}

/* Page Transition Effect */
.page-transition {
  animation: fadeIn 0.4s ease;
}

/* Enhanced About Features */
.about-feature {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  margin-bottom: 12px;
}

.about-feature:hover {
  background: var(--primary-pale);
  transform: translateX(5px);
}

body.rtl .about-feature:hover {
  transform: translateX(-5px);
}

.about-feature-icon {
  font-size: 2rem;
  line-height: 1;
}

.about-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Floating Badge Enhancement */
.about-image-float {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: float 4s ease-in-out infinite;
}

body.rtl .about-image-float {
  right: auto;
  left: 20px;
}

.about-image {
  position: relative;
}

/* CTA Social Links */
.cta-social {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.social-link {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-4px);
}

/* Enhanced Read More Link */
.read-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}

.read-more::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.read-more:hover::before {
  width: 100%;
}

/* Text Gradient Effect */
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced Detail Page */
.detail-main {
  animation: slideInFromBottom 0.6s ease;
}

.detail-sidebar {
  animation: slideInFromBottom 0.6s ease 0.2s backwards;
}

/* Enhanced Tag List */
.tag {
  position: relative;
  overflow: hidden;
}

.tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-pale);
  transition: left 0.3s ease;
  z-index: -1;
}

.tag:hover::before {
  left: 0;
}

/* Smooth Scroll Offset for Fixed Header */
html {
  scroll-padding-top: 100px;
}

/* Enhanced Image Lazy Loading */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src*="data:"]) {
  opacity: 1;
}

/* Print Improvements */
@media print {
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
  
  .btn::before,
  .btn::after {
    display: none;
  }
}

/* ===== CROP DETAIL PAGE ===== */
.crop-detail-image {
  width: 100%;
  margin-bottom: 40px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.crop-detail-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

/* Crop Stats Row */
.crop-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .crop-stats-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.crop-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.crop-stat-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.crop-stat-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.crop-stat-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.crop-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.crop-stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

/* Crop Description */
.crop-description {
  max-width: 800px;
  margin: 0 auto 48px;
}

.crop-description h2 {
  font-size: 1.75rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 16px;
}

.crop-description h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

[dir="rtl"] .crop-description h2::after {
  left: auto;
  right: 0;
}

.crop-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-muted);
}

.crop-text p {
  margin-bottom: 16px;
}

/* Compatible Systems Grid */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.system-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-light);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.system-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.system-card .system-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.system-card .system-content {
  padding: 20px;
}

.system-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.system-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Hero Badge */
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Breadcrumb styles */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

.breadcrumb span {
  color: rgba(255,255,255,0.5);
}

.breadcrumb span:last-child {
  color: rgba(255,255,255,0.95);
}

/* Results Grid */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .results-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.result-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 2px solid var(--border-light);
  transition: var(--transition);
}

.result-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.result-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.result-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.result-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Implementation Timeline */
.implementation-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.implementation-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-pale);
  border-radius: 2px;
}

[dir="rtl"] .implementation-timeline::before {
  left: auto;
  right: 20px;
}

.timeline-item {
  display: flex;
  gap: 24px;
  padding-bottom: 32px;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.timeline-content {
  flex: 1;
  padding-top: 8px;
}

.timeline-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text);
}

.timeline-content p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== BLOG DETAIL PAGE ===== */

/* Blog Hero */
.blog-hero {
  background: linear-gradient(135deg, var(--primary-pale) 0%, var(--white) 100%);
  padding: 120px 0 60px;
  text-align: center;
}

.blog-category-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.blog-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.blog-hero-excerpt {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 24px;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.blog-author-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-pale);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-author span {
  font-weight: 600;
  color: var(--text);
}

.blog-meta-items {
  display: flex;
  align-items: center;
  gap: 20px;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.blog-meta-item svg {
  color: var(--primary);
}

/* Featured Image */
.blog-featured-image-section {
  padding: 0;
  margin-top: -30px;
  position: relative;
  z-index: 1;
}

.blog-featured-image {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Blog Layout */
.blog-content-section {
  padding-top: 60px;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* Blog Article */
.blog-article {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.blog-content.prose {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
}

.blog-content.prose h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
  color: var(--text);
}

.blog-content.prose h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: var(--text);
}

.blog-content.prose p {
  margin-bottom: 1.25rem;
}

.blog-content.prose ul, .blog-content.prose ol {
  margin: 1.25rem 0;
  padding-left: 1.5rem;
}

.blog-content.prose li {
  margin-bottom: 0.5rem;
}

.blog-content.prose img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  margin: 1.5rem 0;
}

.blog-content.prose blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--primary-pale);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text);
}

[dir="rtl"] .blog-content.prose ul, [dir="rtl"] .blog-content.prose ol {
  padding-left: 0;
  padding-right: 1.5rem;
}

[dir="rtl"] .blog-content.prose blockquote {
  border-left: none;
  border-right: 4px solid var(--primary);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

/* Blog Tags */
.blog-tags {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.blog-tags-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.blog-tags-label svg {
  color: var(--primary);
}

.blog-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tag {
  background: var(--primary-pale);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.blog-tag:hover {
  background: var(--primary);
  color: var(--white);
}

/* Blog Share */
.blog-share {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.blog-share-label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.blog-share-buttons {
  display: flex;
  gap: 10px;
}

.blog-share-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  color: var(--white);
}

.blog-share-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.blog-share-facebook { background: #1877f2; }
.blog-share-twitter { background: #000; }
.blog-share-linkedin { background: #0a66c2; }
.blog-share-email { 
  background: var(--text-muted); 
  color: var(--white);
}

.blog-share-email svg {
  stroke: var(--white);
}

/* Blog Author Box */
.blog-author-box {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  padding: 24px;
  background: var(--light-bg);
  border-radius: var(--radius-lg);
}

.blog-author-box-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-author-box-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-pale);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.blog-author-box-info {
  flex: 1;
}

.blog-author-box-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-author-box-name {
  display: block;
  font-size: 1.2rem;
  color: var(--text);
  margin: 4px 0 8px;
}

.blog-author-box-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Blog Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.blog-sidebar-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-pale);
}

/* Related Products in Sidebar */
.blog-related-products {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-related-product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
  color: var(--text);
}

.blog-related-product:hover {
  background: var(--primary-pale);
}

.blog-related-product img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.blog-related-product span {
  font-weight: 500;
  font-size: 0.95rem;
}

/* Sidebar Links */
.blog-sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-sidebar-links li {
  margin-bottom: 8px;
}

.blog-sidebar-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}

.blog-sidebar-links a:hover {
  background: var(--primary-pale);
  color: var(--primary);
}

.blog-sidebar-links svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Sidebar Newsletter */
.blog-sidebar-newsletter {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.blog-sidebar-newsletter h3 {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.2);
}

.blog-sidebar-newsletter p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 16px;
}

.blog-newsletter-form {
  display: flex;
  gap: 8px;
}

.blog-newsletter-form input {
  flex: 1;
  padding: 12px 14px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  min-width: 0;
}

.blog-newsletter-form button {
  padding: 12px 16px;
  flex-shrink: 0;
  background: var(--white);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.blog-newsletter-form button:hover {
  background: var(--primary-pale);
}

.blog-newsletter-form button svg {
  display: block;
}

/* Blog Grid (Related Posts) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-image-placeholder {
  width: 100%;
  height: 200px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.blog-card-content {
  padding: 20px;
}

.blog-card-category {
  display: inline-block;
  background: var(--primary-pale);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-card-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

/* Blog Detail RTL Support */
[dir="rtl"] .blog-author-box {
  flex-direction: row-reverse;
  text-align: right;
}

[dir="rtl"] .blog-share {
  flex-direction: row-reverse;
}

[dir="rtl"] .blog-tags {
  flex-direction: row-reverse;
}

[dir="rtl"] .blog-sidebar-links a {
  flex-direction: row-reverse;
}

[dir="rtl"] .blog-related-product {
  flex-direction: row-reverse;
}

/* Blog Detail Responsive */
@media (max-width: 991px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
  
  .blog-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .blog-sidebar-card {
    flex: 1;
    min-width: 280px;
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .blog-hero {
    padding: 100px 0 40px;
  }
  
  .blog-hero-title {
    font-size: 1.75rem;
  }
  
  .blog-hero-excerpt {
    font-size: 1rem;
  }
  
  .blog-meta-row {
    flex-direction: column;
    gap: 16px;
  }
  
  .blog-featured-image {
    border-radius: var(--radius-lg);
  }
  
  .blog-article {
    padding: 24px;
  }
  
  .blog-content.prose {
    font-size: 1rem;
  }
  
  .blog-author-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .blog-share {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-sidebar {
    flex-direction: column;
  }
  
  .blog-sidebar-card {
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  .blog-hero-title {
    font-size: 1.5rem;
  }
  
  .blog-article {
    padding: 20px;
  }
  
  .blog-share-buttons {
    flex-wrap: wrap;
  }
}

/* Newsletter Banner */
.newsletter-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.newsletter-content {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}

.newsletter-icon {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.newsletter-text h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.newsletter-text p {
  color: rgba(255,255,255,0.9);
  margin: 0;
}

.newsletter-form-inline {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.newsletter-form-inline input {
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  min-width: 280px;
}

.newsletter-form-inline button {
  white-space: nowrap;
}

@media (max-width: 991px) {
  .newsletter-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  
  .newsletter-content {
    flex-direction: column;
  }
  
  .newsletter-form-inline {
    width: 100%;
    flex-direction: column;
  }
  
  .newsletter-form-inline input {
    min-width: 100%;
  }
}

/* Project Testimonial */
.project-testimonial {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 48px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.testimonial-quote-icon {
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.project-testimonial blockquote {
  font-size: 1.35rem;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  margin: 0 0 32px;
}

.testimonial-attribution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-avatar-large {
  width: 60px;
  height: 60px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.testimonial-attribution strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text);
}

.testimonial-attribution span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 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;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --primary: #0A4D0A;
    --text: #000000;
    --border-color: #000000;
  }
  
  .btn {
    border: 2px solid currentColor;
  }
}

/* Dark Mode Foundation (for future) */
@media (prefers-color-scheme: dark) {
  :root {
    --color-scheme: dark;
  }
}

/* ===== EXTRA SMALL SCREENS (320px - 375px) ===== */
@media (max-width: 374px) {
  /* Typography */
  h1, .h1 { font-size: 1.75rem; }
  h2, .h2 { font-size: 1.5rem; }
  h3, .h3 { font-size: 1.25rem; }
  
  /* Header */
  .brand-logo-img { height: 32px; }
  .lang-switch a { padding: 5px 10px; font-size: 0.7rem; }
  .mobile-toggle { padding: 8px; }
  .mobile-toggle span { width: 20px; }
  
  /* Hero */
  .hero { padding: 90px 0 50px; }
  .hero-badge { font-size: 0.75rem; padding: 8px 14px; }
  .hero h1 { font-size: 1.75rem; }
  .hero .lead { font-size: 0.95rem; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }
  
  /* Hero Stats */
  .hero-stats { flex-direction: column; gap: 12px; }
  .hero-stat { padding: 12px 16px; }
  .hero-stat-value { font-size: 1.25rem; }
  
  /* Buttons */
  .btn { padding: 10px 18px; font-size: 0.85rem; }
  .btn-lg { padding: 12px 24px; font-size: 0.95rem; }
  
  /* Section Headers */
  .section-header { margin-bottom: 30px; }
  .section-label { font-size: 0.7rem; }
  .section-title { font-size: 1.5rem; }
  
  /* Grids */
  .systems-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  
  /* Cards */
  .system-card { padding: 16px; }
  .feature-card { padding: 20px 16px; }
  .solution-card { padding: 24px 16px; }
  
  /* Stats */
  .crop-stats-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .crop-stat-card { padding: 12px; }
  .crop-stat-icon { font-size: 1.25rem; }
  .crop-stat-value { font-size: 0.9rem; }
  
  /* Results Grid */
  .results-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .result-card { padding: 16px 12px; }
  .result-number { font-size: 1.75rem; }
  
  /* CTA */
  .cta-section { padding: 50px 0; }
  .cta-section h2 { font-size: 1.5rem; }
  .cta-section p { font-size: 0.95rem; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
  
  /* Footer */
  .footer-grid { gap: 24px; }
  .footer-brand .brand-logo-img { height: 40px; }
  .footer-column h4 { font-size: 0.9rem; }
  .footer-links a { font-size: 0.85rem; }
  .footer-bottom { padding: 20px 0; font-size: 0.8rem; }
  
  /* Contact Form */
  .form-card { padding: 20px; }
  .form-group input, .form-group textarea, .form-group select { 
    padding: 12px 14px; 
    font-size: 0.9rem; 
  }
  
  /* Page Hero */
  .page-hero { padding: 100px 0 50px; }
  .page-hero h1 { font-size: 1.75rem; }
  .detail-hero { padding: 100px 0 50px; }
  
  /* Blog */
  .blog-content { padding: 16px; }
  .blog-content h3 { font-size: 1rem; }
  
  /* Testimonials */
  .testimonial-card { padding: 20px 16px; }
  
  /* Mobile Nav adjustments */
  .mobile-nav { padding: 80px 16px 24px; }
  .mobile-nav a { padding: 12px 14px; font-size: 0.95rem; }
  .mobile-nav .btn { padding: 14px 20px; }
}

/* ===== SMALL SCREENS (375px - 576px) ===== */
@media (min-width: 375px) and (max-width: 575px) {
  /* Hero adjustments */
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  
  /* CTA adjustments */
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 300px; }
  
  /* Grids */
  .systems-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== TABLET PORTRAIT (576px - 768px) ===== */
@media (min-width: 576px) and (max-width: 767px) {
  .hero-buttons { justify-content: center; }
  .hero-inner { gap: 32px; }
}