/* ==========================================================================
   حراج تهامة - نظام التصميم والأنماط (Design System & Landing Page Styles)
   خالٍ تماماً من المكتبات الخارجية | متوافق مع RTL | متجاوب بالكامل
   ========================================================================== */

:root {
  /* نظام الألوان (Color Palette) */
  --primary-green: #0F4C3A;
  --primary-green-dark: #0A372A;
  --primary-green-light: #16654F;
  --primary-green-subtle: #E8F5EE;

  --secondary-orange: #D97706;
  --secondary-orange-dark: #C85A17;
  --secondary-orange-light: #F59E0B;
  --secondary-orange-subtle: #FEF3C7;

  /* التدرجات اللونية (Gradients) */
  --gradient-cta: linear-gradient(135deg, #F59E0B 0%, #D97706 50%, #C85A17 100%);
  --gradient-hero-green: linear-gradient(145deg, #0A372A 0%, #0F4C3A 55%, #16654F 100%);
  --gradient-card-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(15, 76, 58, 0.95) 100%);

  /* الخلفيات والنصوص */
  --bg-page: #F9FAFB;
  --bg-card: #FFFFFF;
  --bg-card-alt: #F3F4F6;
  --text-primary: #1F2937;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --text-white: #FFFFFF;

  /* الحدود والظلال */
  --border-color: #E5E7EB;
  --border-color-hover: #D1D5DB;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 12px -2px rgba(15, 76, 58, 0.06), 0 3px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 32px -4px rgba(15, 76, 58, 0.1), 0 6px 12px -3px rgba(0, 0, 0, 0.05);
  --shadow-cta: 0 10px 25px -4px rgba(217, 119, 6, 0.38);

  /* الحواف الدائرية والخطوط */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-main: 'Tajawal', 'Cairo', system-ui, -apple-system, sans-serif;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1240px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  direction: rtl;
  text-align: right;
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-page);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   الشريط العلوي (Navbar)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

/* شعار الموقع (Brand Logo) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  background: var(--gradient-cta);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-cta);
  transition: var(--transition);
}

.brand-icon-box span {
  color: #FFFFFF;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.brand-logo:hover .brand-icon-box {
  transform: rotate(-6deg) scale(1.05);
}

.brand-info h1 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-green);
  line-height: 1.2;
}

.brand-info span {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* روابط التنقل (Nav Links) */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}

.nav-links a {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-green);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0%;
  height: 2.5px;
  background: var(--gradient-cta);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* أزرار الإجراء (Header CTAs) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-cta);
  color: #FFFFFF;
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -2px rgba(217, 119, 6, 0.48);
}

.btn-outline {
  background: transparent;
  color: var(--primary-green);
  border: 1.8px solid var(--primary-green);
}

.btn-outline:hover {
  background-color: var(--primary-green-subtle);
  transform: translateY(-2px);
}

/* زر القائمة للشاشات الصغيرة */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--primary-green);
  border-radius: 4px;
  transition: var(--transition);
}

/* ==========================================================================
   القسم الرئيسي (Hero Section)
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, rgba(7, 36, 28, 0.78) 0%, rgba(6, 28, 22, 0.88) 55%, rgba(4, 18, 14, 0.95) 100%),
              url('./demo-media/image.png') center center / cover no-repeat;
  color: #FFFFFF;
  padding: 85px 0 95px;
  overflow: hidden;
  text-align: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.12) 0%, transparent 75%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  width: fit-content;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--secondary-orange-light);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.4);
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-title span {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #E2E8F0;
  max-width: 720px;
  margin: 0 auto 34px;
  font-weight: 400;
  line-height: 1.7;
}

/* شريط البحث السريع العصري */
.hero-search-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-lg), 0 20px 35px -10px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background-color: var(--bg-card-alt);
  border-radius: var(--radius-md);
  flex: 1 1 240px;
}

.search-field.category-select-wrap,
.search-field.city-select-wrap {
  flex: 1 1 160px;
}

.search-field span.icon {
  font-size: 1.2rem;
  color: var(--primary-green);
}

.search-field input,
.search-field select {
  width: 100%;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
}

.search-field input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.search-field select {
  cursor: pointer;
}

.btn-search {
  flex: 0 0 auto;
  min-width: 140px;
  padding: 14px 28px;
}

/* الكلمات المفتاحية الرائجة */
.popular-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
}

.popular-tags span.title {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.popular-tags .tag {
  background-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.popular-tags .tag:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* شريط الإحصائيات (Hero Stats Strip) */
.hero-stats {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: right;
}

.stat-item {
  text-align: center;
}

.stat-item .number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary-orange-light);
  line-height: 1.2;
}

.stat-item .label {
  font-size: 0.86rem;
  color: #CBD5E1;
  font-weight: 500;
}

/* ==========================================================================
   قسم التصنيفات الرئيسية (Categories Grid)
   ========================================================================== */
.section {
  padding: 85px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  background-color: var(--primary-green-subtle);
  color: var(--primary-green);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.category-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-cta);
  opacity: 0;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 119, 6, 0.4);
  box-shadow: var(--shadow-lg);
}

.category-card:hover::before {
  opacity: 1;
}

.category-icon-wrap {
  width: 68px;
  height: 68px;
  background-color: var(--primary-green-subtle);
  color: var(--primary-green);
  border-radius: var(--radius-md);
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition);
}

.category-card:hover .category-icon-wrap {
  background: var(--gradient-cta);
  color: #FFFFFF;
  transform: scale(1.08) rotate(-4deg);
}

.category-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.category-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   قسم أحدث الإعلانات (Featured Listings)
   ========================================================================== */
.featured-section {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.listings-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-chip {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background-color: var(--bg-card-alt);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--primary-green);
  color: #FFFFFF;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.listing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.listing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 76, 58, 0.25);
}

.listing-image-container {
  position: relative;
  height: 200px;
  background-color: #E2E8F0;
  overflow: hidden;
}

.listing-image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.listing-card:hover .listing-image-placeholder {
  transform: scale(1.05);
}

.badge-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gradient-cta);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.badge-tag.verified {
  background: var(--primary-green);
}

.listing-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.listing-category-pill {
  font-size: 0.76rem;
  color: var(--secondary-orange-dark);
  font-weight: 700;
  margin-bottom: 6px;
  display: inline-block;
}

.listing-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-price-row {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
}

.listing-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary-orange-dark);
}

.listing-currency {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.listing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.listing-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.listing-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-sm {
  padding: 8px 12px;
  font-size: 0.86rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background-color: #1EBE5D;
}

.btn-contact {
  background-color: var(--primary-green-subtle);
  color: var(--primary-green);
}

.btn-contact:hover {
  background-color: var(--primary-green);
  color: #FFFFFF;
}

.listings-more {
  text-align: center;
  margin-top: 40px;
}

/* ==========================================================================
   قسم لماذا حراج تهامة؟ (Features & Benefits)
   ========================================================================== */
.features-section {
  background-color: var(--bg-page);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 76, 58, 0.25);
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--gradient-cta);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
  box-shadow: var(--shadow-cta);
}

.feature-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   قسم كيف يعمل؟ (How it Works)
   ========================================================================== */
.how-it-works-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  background-color: var(--primary-green-subtle);
  color: var(--primary-green);
  font-size: 1.3rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-green);
}

.step-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   قسم الأسئلة الشائعة (FAQ Accordion)
   ========================================================================== */
.faq-section {
  background-color: var(--bg-page);
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--secondary-orange);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  cursor: pointer;
  text-align: right;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-green);
}

.faq-item.active .faq-question {
  color: var(--primary-green);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-card-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--text-secondary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--secondary-orange-subtle);
  color: var(--secondary-orange-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
  border-top: 1px solid rgba(229, 231, 235, 0.6);
  padding-top: 14px;
}

/* ==========================================================================
   قسم الدعوة للإجراء الختامي (Banner CTA)
   ========================================================================== */
.cta-banner-section {
  padding: 60px 0;
}

.cta-banner-card {
  background: var(--gradient-hero-green);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner-card h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-banner-card p {
  font-size: 1.05rem;
  color: #E2E8F0;
  max-width: 650px;
  margin: 0 auto 30px;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   التذييل (Footer)
   ========================================================================== */
.site-footer {
  background-color: #0A241C;
  color: #94A3B8;
  padding-top: 70px;
  padding-bottom: 30px;
  border-top: 3px solid var(--secondary-orange);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #CBD5E1;
  max-width: 320px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 2px;
  background: var(--secondary-orange);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94A3B8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-orange-light);
  transform: translateX(-4px);
}

.newsletter-form {
  display: flex;
  margin-top: 14px;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 0.88rem;
}

.newsletter-form input::placeholder {
  color: #64748B;
}

.newsletter-form button {
  background: var(--gradient-cta);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--gradient-cta);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-bottom p {
  color: #64748B;
}

/* ==========================================================================
   عناصر إضافية تفاعلية (Toast, Back to Top, Modal)
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 46px;
  height: 46px;
  background: var(--primary-green);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--secondary-orange);
}

.toast-msg {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--primary-green-dark);
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-right: 4px solid var(--secondary-orange);
  z-index: 9999;
  font-size: 0.95rem;
  transform: translateY(80px);
  opacity: 0;
  transition: var(--transition);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   شريط التنقل السفلي للموبايل (Landing Bottom Nav)
   ========================================================================== */
.landing-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(11, 15, 25, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.45);
  z-index: 1200;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.lbnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #94A3B8;
  font-size: 0.68rem;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  min-width: 52px;
}

.lbnav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lbnav-svg {
  stroke: currentColor;
  transition: stroke 0.2s ease, transform 0.2s ease;
}

.lbnav-item.active,
.lbnav-item:hover {
  color: #FFFFFF;
}

.lbnav-item.active .lbnav-svg {
  stroke: #FFFFFF;
  transform: translateY(-1px);
}

.lbnav-fab-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  top: -12px;
}

.lbnav-fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0F172A;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.lbnav-fab:hover {
  transform: scale(1.06);
  background: #1E293B;
  border-color: rgba(255, 255, 255, 0.45);
}

.lbnav-fab-svg {
  stroke: #FFFFFF;
}

.lbnav-fab-label {
  font-size: 0.66rem;
  font-weight: 500;
  color: #94A3B8;
  margin-top: 3px;
}

/* ==========================================================================
   التجاوب للشاشات (Responsive Design)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-section {
    padding: 70px 0 80px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .popular-tags {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
  }

  .landing-bottom-nav {
    display: flex;
  }

  /* Hide desktop nav actions on mobile - bottom nav handles it */
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 76px);
    background-color: #FFFFFF;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    box-shadow: var(--shadow-lg);
    transition: right 0.35s ease;
    border-left: 1px solid var(--border-color);
    z-index: 1100;
  }

  .nav-links.active {
    right: 0;
  }

  .hero-section {
    padding: 40px 0 60px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-text-col {
    text-align: center;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .hero-img-card {
    aspect-ratio: 16 / 9;
    max-height: 240px;
  }

  .hero-search-box {
    flex-direction: column;
  }

  .search-field,
  .search-field.category-select-wrap,
  .search-field.city-select-wrap,
  .btn-search {
    width: 100%;
    min-width: 100%;
  }

  .hero-stats {
    text-align: center;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .popular-tags {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .back-to-top {
    bottom: 76px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-float-pill {
    font-size: 0.7rem;
    padding: 5px 10px;
  }
  .hero-img-card {
    max-height: 200px;
  }
}
