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

:root {
  --green-900: #1a3c2a;
  --green-800: #1e5631;
  --green-700: #2d7a4f;
  --green-600: #3a9d6a;
  --green-500: #4caf7d;
  --green-400: #6ec99b;
  --green-300: #a3dfc0;
  --green-200: #c8edda;
  --green-100: #e8f5ee;
  --green-50: #f3faf6;
  --gold-500: #c9a84c;
  --gold-400: #d4b96a;
  --text-primary: #1a2e23;
  --text-secondary: #4a5e52;
  --text-muted: #7a8e82;
  --bg-white: #ffffff;
  --bg-light: #f7faf8;
  --border-light: #dce8e0;
  --shadow-sm: 0 1px 3px rgba(26, 60, 42, 0.08);
  --shadow-md: 0 4px 12px rgba(26, 60, 42, 0.1);
  --shadow-lg: 0 8px 30px rgba(26, 60, 42, 0.12);
  --shadow-xl: 0 12px 40px rgba(26, 60, 42, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

body {
  font-family: 'Cairo', sans-serif;
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.97);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-800);
  line-height: 1.3;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-700);
  background: var(--green-100);
}

.header-cta {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: white !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(45, 122, 79, 0.3);
}

.header-cta:hover {
  background: linear-gradient(135deg, var(--green-700), var(--green-800)) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 122, 79, 0.4) !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--green-800);
  cursor: pointer;
  padding: 4px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 40%, var(--green-700) 100%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: 
    radial-gradient(circle at 20% 50%, white 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, white 1px, transparent 1px),
    radial-gradient(circle at 60% 80%, white 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px, 50px 50px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-content {
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero h1 span {
  color: var(--green-300);
}

.hero-desc {
  font-size: 18px;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--green-800);
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  font-size: 17px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border: none;
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  background: var(--green-50);
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.hero-float-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-float-icon {
  width: 44px;
  height: 44px;
  background: var(--green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.hero-float-text strong {
  display: block;
  font-size: 14px;
  color: var(--green-800);
}

.hero-float-text span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 12px;
}

.section-title p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-title-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--green-300));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* Categories */
.categories {
  padding: 80px 0;
  background: var(--bg-light);
}

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

.category-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  transition: all 0.35s ease;
  border: 1px solid var(--border-light);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-300);
}

.category-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  transition: all 0.3s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.1);
}

.cat-herbs .category-icon { background: #e8f5e9; }
.cat-hijama .category-icon { background: #fce4ec; }
.cat-nutrition .category-icon { background: #fff3e0; }
.cat-prophetic .category-icon { background: #e8eaf6; }
.cat-energy .category-icon { background: #e0f7fa; }

.category-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 8px;
}

.category-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Articles */
.articles {
  padding: 80px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.35s ease;
}

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

.article-image {
  position: relative;
  overflow: hidden;
}

.article-image img {
  transition: transform 0.5s ease;
}

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

.article-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--green-600);
  color: white;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

.article-body {
  padding: 24px;
}

.article-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 10px;
  line-height: 1.5;
  transition: color 0.2s;
}

.article-card:hover .article-body h3 {
  color: var(--green-600);
}

.article-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.article-date {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-read {
  color: var(--green-600);
  font-weight: 600;
  transition: color 0.2s;
}

.article-read:hover {
  color: var(--green-800);
}

.articles-more {
  text-align: center;
  margin-top: 40px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border: 2px solid var(--green-600);
  color: var(--green-600);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--green-600);
  color: white;
}

/* About */
.about {
  padding: 80px 0;
  background: var(--bg-light);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.about-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 20px;
}

.about-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--green-800);
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  background: var(--green-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* Newsletter */
.newsletter {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  position: relative;
  overflow: hidden;
}

.newsletter-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle, white 1px, transparent 1px);
  background-size: 30px 30px;
}

.newsletter-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  color: white;
}

.newsletter-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.newsletter h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 12px;
}

.newsletter p {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 32px;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 15px;
  font-family: 'Cairo', sans-serif;
  outline: none;
  transition: border-color 0.3s;
  backdrop-filter: blur(4px);
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--green-400);
}

.newsletter-form button {
  padding: 14px 28px;
  background: white;
  color: var(--green-800);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--green-100);
  transform: translateY(-1px);
}

.newsletter-disclaimer {
  font-size: 13px;
  opacity: 0.6;
  margin-top: 16px;
}

/* Footer */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 16px;
  opacity: 0.7;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.footer-logo-text {
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  opacity: 0.7;
  transition: all 0.2s;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--green-300);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0.6;
}

.footer-disclaimer {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.6;
}

.footer-disclaimer strong {
  color: var(--gold-400);
  opacity: 1;
}

/* Mobile */
@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: white;
    flex-direction: column;
    padding: 16px;
    border-top: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    text-align: center;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-desc {
    margin: 0 auto 30px;
  }

  .hero-image-wrapper {
    display: none;
  }

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

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .newsletter-form {
    flex-direction: column;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}

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

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

  .hero h1 {
    font-size: 26px;
  }
}
