:root {
  --primary: #0C5C2E;
  --primary-light: #E8F5E9;
  --primary-dark: #084A24;
  --accent: #F57C00;
  --accent-light: #FFF3E0;
  --text: #1A1A1A;
  --text-light: #555;
  --text-muted: #888;
  --bg: #FAFAFA;
  --bg-card: #FFFFFF;
  --border: #E0E0E0;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 1200px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-ar: 'Noto Sans Arabic', 'Inter', sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

[dir="rtl"] body { font-family: var(--font-ar); }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.92);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}
.nav a:hover { background: var(--primary-light); color: var(--primary); }
.nav a.active { background: var(--primary); color: #fff; }

.lang-switch {
  display: flex;
  gap: 4px;
  margin-left: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
[dir="rtl"] .lang-switch { margin-left: 0; margin-right: 16px; }
.lang-switch a {
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  background: transparent;
  color: var(--text-muted);
}
.lang-switch a.active { background: var(--primary); color: #fff; }
.lang-switch a:hover:not(.active) { background: var(--primary-light); color: var(--primary); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text);
  margin: 5px 0; transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 60%);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(12,92,46,0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}
.hero h1 em {
  color: var(--primary);
  font-style: normal;
}
.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}
.hero-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}
.hero-stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-wp {
  background: #25D366;
  color: #fff;
}
.btn-wp:hover { background: #1FAD54; transform: translateY(-2px); }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== PRODUCT CARDS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.product-card.featured { border: 2px solid var(--accent); }
.product-card.featured::before {
  content: attr(data-badge);
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  text-transform: uppercase;
}
[dir="rtl"] .product-card.featured::before { right: auto; left: 16px; }
.product-card-img {
  height: 220px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card-body { padding: 24px; }
.product-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.product-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-item {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
}
.feature-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.feature-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-item p { font-size: 0.9rem; color: var(--text-light); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--primary);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 12px; }
.cta-banner p { opacity: 0.9; margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--primary-light); }
.faq-question::after { content: '+'; font-size: 1.25rem; color: var(--primary); transition: transform var(--transition); }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 500px; padding: 0 24px 20px; }
.faq-answer p { color: var(--text-light); font-size: 0.95rem; }

/* ===== FOOTER ===== */
.footer {
  background: #1A1A1A;
  color: #ccc;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.footer a { color: #aaa; font-size: 0.9rem; display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #666;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; }

/* ===== WHATSAPP FLOAT ===== */
.wp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  z-index: 999;
  transition: all var(--transition);
}
[dir="rtl"] .wp-float { right: auto; left: 24px; }
.wp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
.wp-float svg { width: 28px; height: 28px; fill: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    box-shadow: var(--shadow-lg);
  }
  .mobile-toggle { display: block; }
  section { padding: 48px 0; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 12px; }
}
