/* =====================================================
   بُنْيَان ـ Premium Website Stylesheet
   Brand identity: deep olive green + antique gold
   ===================================================== */

:root {
  /* Primary palette */
  --primary: #0F4C3A;
  --primary-dark: #0A3329;
  --primary-light: #1B6649;
  --primary-faint: #F4F8F5;
  
  /* Accent */
  --accent: #C19A4F;
  --accent-dark: #9A7A3F;
  --accent-light: #D9B775;
  --accent-faint: #F7F0E1;
  
  /* Depth */
  --navy: #0E2A47;
  
  /* Text */
  --text: #1A1A1A;
  --text-muted: #595959;
  --text-light: #8C8C8C;
  
  /* Backgrounds */
  --bg-cream: #FBF6E8;
  --bg-cream-deep: #F5EFDF;
  --bg-white: #FFFFFF;
  --bg-paper: #FAFAF7;
  
  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;
  
  /* Typography */
  --font-arabic: 'Cairo', 'Amiri', 'Traditional Arabic', serif;
  --font-arabic-display: 'Amiri', 'Cairo', serif;
  --font-latin: 'Cormorant Garamond', Georgia, serif;
  
  /* Effects */
  --shadow-sm: 0 2px 8px rgba(15, 76, 58, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 76, 58, 0.10);
  --shadow-lg: 0 20px 60px rgba(15, 76, 58, 0.15);
  --shadow-gold: 0 6px 20px rgba(193, 154, 79, 0.25);
  
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-arabic);
  color: var(--text);
  background: var(--bg-cream);
  line-height: 1.7;
  font-weight: 400;
  direction: rtl;
  overflow-x: hidden;
}

/* Subtle paper texture across the site */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(193, 154, 79, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(15, 76, 58, 0.018) 1px, transparent 1px);
  background-size: 30px 30px, 50px 50px;
  opacity: 0.6;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--accent-dark); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  position: relative;
  z-index: 2;
}

/* ===== NAVIGATION ===== */
.nav {
  position: sticky;
  top: 0;
  background: rgba(251, 246, 232, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(193, 154, 79, 0.2);
  z-index: 100;
  padding: 1.2rem 0;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--primary);
}

.nav-logo .logo-mark {
  color: var(--accent);
  font-size: 1.6rem;
  display: inline-block;
  transition: transform 0.6s ease;
}

.nav-logo:hover .logo-mark { transform: rotate(45deg); }

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

.nav-links a {
  padding: 0.5rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 6px;
  transition: all var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(193, 154, 79, 0.1);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.nav-cta {
  background: var(--primary) !important;
  color: white !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: 999px !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary);
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  position: relative;
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-cream-deep) 100%);
  text-align: center;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
  color: var(--accent);
  pointer-events: none;
}

.hero-pattern svg {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent-dark);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  animation: fadeIn 1.2s ease-out 0.2s both;
}

.hero-title {
  font-family: var(--font-arabic-display);
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  animation: fadeInUp 1.2s ease-out 0.3s both;
}

.hero-title-main {
  display: inline-block;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 30px rgba(15, 76, 58, 0.1);
}

.hero-subtitle {
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  animation: fadeInUp 1.2s ease-out 0.5s both;
}

.hero-perspective {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--accent-dark);
  font-style: italic;
  margin-bottom: var(--space-md);
  animation: fadeInUp 1.2s ease-out 0.7s both;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-md) 0;
  animation: fadeIn 1.5s ease-out 0.9s both;
}

.hero-divider::before,
.hero-divider::after {
  content: '';
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  flex: 0 0 100px;
}

.divider-ornament {
  color: var(--accent);
  font-size: 1.2rem;
  margin: 0 1rem;
}

.hero-tagline {
  font-family: var(--font-arabic-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
  animation: fadeInUp 1.2s ease-out 1s both;
}

.hero-source {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--space-md);
  animation: fadeIn 1.5s ease-out 1.2s both;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: var(--space-md) 0;
  animation: fadeInUp 1.2s ease-out 1.3s both;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-arabic);
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: var(--shadow-gold);
}

.btn-secondary:hover {
  background: var(--accent-dark);
  color: white;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

.hero-stats {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-lg);
  flex-wrap: wrap;
  animation: fadeIn 1.5s ease-out 1.5s both;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-latin);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  animation: bounce 2.5s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 30px;
  background: var(--accent);
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-dark);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-arabic-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.title-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0.8rem 0 1.5rem;
}

.title-ornament .line {
  width: 50px;
  height: 1px;
  background: var(--accent);
}

.title-ornament .diamond {
  color: var(--accent);
  font-size: 1rem;
}

/* ===== WHY BUNYAN ===== */
.section-why {
  background: var(--bg-paper);
  border-top: 1px solid rgba(193, 154, 79, 0.15);
  border-bottom: 1px solid rgba(193, 154, 79, 0.15);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.why-card {
  background: white;
  padding: var(--space-md);
  border-radius: 16px;
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--primary);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--primary-faint);
  color: var(--primary);
  border-radius: 12px;
  font-family: var(--font-latin);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-family: var(--font-arabic-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== FRAMEWORKS ===== */
.section-frameworks {
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-cream-deep) 100%);
}

.frameworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.framework-card {
  background: white;
  padding: var(--space-md);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(193, 154, 79, 0.15);
}

.framework-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(193, 154, 79, 0.08) 100%);
  pointer-events: none;
}

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

.framework-code {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-family: var(--font-latin);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.framework-card h3 {
  font-family: var(--font-arabic-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.7rem;
}

.framework-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.section-cta {
  text-align: center;
  margin-top: var(--space-lg);
}

/* ===== AUTHOR ===== */
.section-author {
  background: white;
}

.author-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.author-text .section-title {
  text-align: right;
}

.author-bio {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: var(--space-sm);
}

.author-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: var(--space-md);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.author-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(193, 154, 79, 0.2), transparent 60%);
  pointer-events: none;
}

.author-card-ornament {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.author-card h3 {
  font-family: var(--font-arabic-display);
  font-size: 1.5rem;
  color: var(--accent-light);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(193, 154, 79, 0.3);
}

.credentials-list {
  list-style: none;
}

.credentials-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.credentials-list li:last-child { border-bottom: none; }

.credentials-list li span {
  font-family: var(--font-latin);
  font-weight: 700;
  color: var(--accent-light);
  margin-left: 0.6rem;
}

/* ===== VISION ===== */
.section-vision {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-vision::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(193, 154, 79, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(193, 154, 79, 0.08) 0%, transparent 50%);
}

.vision-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
}

.vision-ornament {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.vision-title {
  font-family: var(--font-arabic-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 2rem;
  color: white;
}

.vision-quote {
  font-family: var(--font-arabic-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  line-height: 1.9;
  font-style: italic;
  color: var(--accent-light);
  margin-bottom: 2rem;
  padding: 0 var(--space-sm);
  position: relative;
}

.vision-quote::before,
.vision-quote::after {
  content: '"';
  font-family: var(--font-latin);
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.4;
  position: absolute;
}

.vision-quote::before { top: -1rem; right: 0; }
.vision-quote::after { bottom: -2rem; left: 0; }

.vision-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  gap: 1rem;
}

.vision-divider span:first-child,
.vision-divider span:last-child {
  width: 60px;
  height: 1px;
  background: var(--accent);
}

.vision-divider span:nth-child(2) {
  color: var(--accent);
  font-size: 1rem;
}

.vision-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
}

/* ===== CTA FINAL ===== */
.section-cta-final {
  background: var(--bg-cream-deep);
  padding: var(--space-xl) 0;
}

.cta-card {
  background: white;
  padding: var(--space-xl) var(--space-md);
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(193, 154, 79, 0.2);
}

.cta-card h2 {
  font-family: var(--font-arabic-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.cta-card > p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.cta-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.cta-option {
  background: var(--bg-cream);
  padding: var(--space-md);
  border-radius: 16px;
  text-align: center;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.cta-option:hover {
  background: white;
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cta-option-icon {
  display: block;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.cta-option h3 {
  font-family: var(--font-arabic-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.cta-option p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: var(--space-xl) 0 var(--space-md);
  position: relative;
  overflow: hidden;
}

.footer-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(45deg, var(--accent) 0, var(--accent) 1px, transparent 1px, transparent 30px),
    repeating-linear-gradient(-45deg, var(--accent) 0, var(--accent) 1px, transparent 1px, transparent 30px);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-edition {
  font-style: italic;
  color: var(--accent-light) !important;
  font-size: 0.85rem !important;
}

.footer-col h4 {
  font-family: var(--font-arabic-display);
  font-size: 1.2rem;
  color: var(--accent-light);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(193, 154, 79, 0.3);
}

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

.footer-col li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--accent-light); }

.footer-contact li {
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
  border-top: 1px solid rgba(193, 154, 79, 0.2);
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 2;
}

.footer-quote {
  font-family: var(--font-arabic-display);
  font-size: 1.1rem;
  color: var(--accent-light);
  margin-top: 0.6rem;
  font-style: italic;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--bg-cream);
    flex-direction: column;
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(193, 154, 79, 0.2);
  }
  
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  
  .author-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: var(--space-sm); }
  .stat-divider { display: none; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; align-items: stretch; padding: 0 var(--space-md); }
  .section { padding: var(--space-lg) 0; }
}

/* ===== NEWSLETTER SECTION ===== */
.section-newsletter {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-cream-deep) 100%);
  padding: var(--space-xl) 0;
}

.newsletter-card {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  padding: var(--space-lg) var(--space-md);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(193, 154, 79, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(193, 154, 79, 0.08), transparent 60%);
  pointer-events: none;
}

.newsletter-content {
  position: relative;
  z-index: 2;
}

.newsletter-icon {
  display: inline-block;
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.newsletter-card h2 {
  font-family: var(--font-arabic-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.newsletter-card > .newsletter-content > p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: 0.6rem;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.9rem 1.2rem;
  background: var(--bg-paper);
  border: 1px solid rgba(193, 154, 79, 0.3);
  border-radius: 999px;
  font-family: var(--font-arabic);
  font-size: 1rem;
  color: var(--text);
  transition: all var(--transition);
  text-align: right;
  direction: ltr;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(193, 154, 79, 0.1);
}

.newsletter-form .btn {
  padding: 0.9rem 2rem;
}

.newsletter-note {
  font-size: 0.85rem !important;
  color: var(--text-light) !important;
  font-style: italic;
  margin-top: 1.2rem !important;
}

.newsletter-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.newsletter-success {
  background: #E8F5E9;
  color: #1B5E20;
}

.newsletter-info {
  background: var(--accent-faint);
  color: var(--accent-dark);
}

.newsletter-error {
  background: #FFEBEE;
  color: #B71C1C;
}
