/* ==========================================================================
   SHOBBAIK MALL - SECTIONS STYLING
   Navbar, Hero, Marquee, How It Works, National Message, Stats, CTA, Footer
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Sticky Header / Navbar
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 900;
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  height: 70px;
  background: var(--bg-surface-elevated);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  transition: transform var(--transition-bounce), filter var(--transition-smooth);
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px var(--gold-500));
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-main);
  white-space: nowrap;
}

.brand-slogan-tiny {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-500);
  letter-spacing: 0.02em;
  white-space: nowrap;
  margin-top: 2px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.98rem;
  position: relative;
  padding-block: 6px;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline: 50%;
  height: 2px;
  background: var(--gold-500);
  transition: inset-inline var(--transition-smooth);
  border-radius: var(--radius-pill);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link:hover::after,
.nav-link.active::after {
  inset-inline: 0;
}

.nav-actions-group {
  display: none; /* Hidden on desktop */
}

.desktop-actions-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   2. Hero Section (صُنع بأيادي فلسطينية)
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--header-h) + 10px);
  padding-bottom: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow-x: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding-block: 15px 5px;
  flex-grow: 1;
}

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

.hero-title {
  margin-bottom: 18px;
}

.hero-title-prefix {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  margin-bottom: 6px;
}

.hero-title-main {
  display: block;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 900;
  color: var(--text-main);
}

.hero-description {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-stats-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-stats-inline .stars {
  color: #F59E0B;
  letter-spacing: 2px;
}

/* Ambient Lights in Hero */
.ambient-glow-1 {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(251, 182, 51, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: absolute;
  bottom: 5%;
  left: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45, 90, 67, 0.12) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

/* Scroll Down Indicator */
.hero-scroll-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 12px;
  z-index: 5;
}

.scroll-indicator-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--gold-400);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.scroll-indicator-link:hover {
  color: var(--gold-300);
  transform: translateY(3px);
}

.scroll-text {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.scroll-mouse-icon {
  width: 18px;
  height: 28px;
  border: 1.5px solid var(--gold-500);
  border-radius: 10px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 4px;
  background: rgba(251, 182, 51, 0.06);
}

.scroll-wheel {
  width: 3px;
  height: 5px;
  background: var(--gold-400);
  border-radius: 2px;
  animation: mouseScroll 1.6s ease-in-out infinite;
}

.scroll-chevron {
  color: var(--gold-500);
  animation: chevronBounce 1.6s ease-in-out infinite;
}

@keyframes mouseScroll {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes chevronBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* --------------------------------------------------------------------------
   3. Marquee Trust Bar (Brands)
   -------------------------------------------------------------------------- */
.hero-bottom-marquee,
.marquee-section {
  padding-block: 22px;
  background: #F8F9FA; /* Light background as requested */
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.03);
  width: 100%;
  z-index: 10;
}

html[data-theme="dark"] .hero-bottom-marquee {
  background: #0f172a;
  border-color: rgba(255,255,255,0.05);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.marquee-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 80px;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 80px;
  flex-shrink: 0;
  animation: marqueeRTL 35s linear infinite;
  will-change: transform;
}

.marquee-wrapper:hover .marquee-group {
  animation-play-state: paused;
}

@keyframes marqueeRTL {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100% + 80px)); }
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: all var(--transition-smooth);
}

.brand-logo-wrap:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.15);
  drop-shadow: 0 4px 12px rgba(251, 182, 51, 0.2);
}

.marquee-brand-img {
  height: 100%;
  width: auto;
  object-fit: contain;
}
/* --------------------------------------------------------------------------
   4. How It Works Section (كيف يعمل شبيك مول)
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.15rem;
}

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

.how-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-xl);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.how-card:hover {
  transform: translateY(-8px);
}

.how-card-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.how-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.how-card:hover .how-card-img {
  transform: scale(1.08);
}

.how-step-badge {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  background-color: var(--gold-500);
  color: var(--text-on-gold);
  font-weight: 900;
  font-size: 1.15rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.how-card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.how-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-main);
}

.how-card-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.how-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.how-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.how-feature-item .check-icon {
  color: var(--gold-500);
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   5. National Message Section (قوتنا بإنتاجنا)
   -------------------------------------------------------------------------- */
.national-section {
  background: linear-gradient(180deg, rgba(251, 182, 51, 0.05) 0%, transparent 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.national-box {
  position: relative;
  padding: 70px 50px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.national-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.national-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(251, 182, 51, 0.15);
  color: var(--text-badge);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.national-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.2;
}

.national-text {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.85;
  color: var(--text-main);
  margin-bottom: 32px;
}

.national-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.value-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.98rem;
}

.value-pill .icon {
  font-size: 1.3rem;
  color: var(--gold-500);
}

.national-visual-side {
  position: relative;
  display: flex;
  justify-content: center;
}

.heritage-card-preview {
  position: relative;
  width: 100%;
  max-width: 310px;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 25px rgba(251, 182, 51, 0.22));
  transition: transform var(--transition-smooth);
}

.heritage-card-preview:hover {
  transform: translateY(-6px) scale(1.02);
}

.heritage-card-img {
  width: 100%;
  height: auto;
  display: block;
}

.heritage-overlay-badge {
  position: absolute;
  bottom: 20px;
  inset-inline: 20px;
  background: rgba(10, 14, 20, 0.88);
  backdrop-filter: blur(12px);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  color: #FFFFFF;
  text-align: center;
}

.heritage-overlay-badge h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-300);
}

.heritage-overlay-badge p {
  font-size: 0.85rem;
  color: #CBD5E1;
  margin: 0;
}

/* --------------------------------------------------------------------------
   6. Statistics & Achievements Section (الأرقام والإنجازات)
   -------------------------------------------------------------------------- */
.stats-section {
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  padding: 36px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.stat-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--gold-500);
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.stat-number {
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
  color: var(--text-main);
  font-feature-settings: "tnum";
}

.stat-plus {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold-500);
}

.stat-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-muted);
}

.stats-live-banner {
  margin-top: 40px;
  text-align: center;
}

.stats-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--emerald-success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* --------------------------------------------------------------------------
   7. Closing CTA Section (دعوة التحميل الكبرى)
   -------------------------------------------------------------------------- */
.cta-section {
  padding-block: 80px;
}

.cta-box {
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  filter: blur(80px);
  pointer-events: none;
}

.cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.cta-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 18px;
  max-width: 800px;
  margin-inline: auto;
  line-height: 1.25;
}

.cta-subtitle {
  font-size: 1.25rem;
  margin-bottom: 40px;
}

.cta-actions-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.qr-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.96rem;
  transition: color var(--transition-fast);
}

.qr-trigger-btn:hover {
  text-decoration: underline;
}

.cta-guarantee-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
  font-size: 0.92rem;
}

/* Light Mode CTA Box Styling (Crisp, High Contrast & Luxurious) */
html[data-theme="light"] .cta-box {
  background: linear-gradient(145deg, #FFFFFF 0%, #FAF8F2 45%, #F3ECDC 100%);
  border: 1.5px solid rgba(251, 182, 51, 0.45);
  box-shadow: 0 24px 60px -15px rgba(251, 182, 51, 0.22), 0 8px 30px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .cta-box::before {
  background: radial-gradient(circle, rgba(251, 182, 51, 0.22) 0%, transparent 70%);
}

html[data-theme="light"] .cta-tag {
  background: rgba(251, 182, 51, 0.18);
  color: var(--text-badge);
  border: 1px solid rgba(251, 182, 51, 0.4);
}

html[data-theme="light"] .cta-title {
  color: #0F172A;
}

html[data-theme="light"] .cta-title .text-gold-gradient {
  color: var(--gold-500);
}

html[data-theme="light"] .cta-subtitle {
  color: #334155;
  font-weight: 600;
}

html[data-theme="light"] .cta-box .btn-store {
  background: #FFFFFF;
  color: #0F172A;
  border: 1.5px solid rgba(251, 182, 51, 0.4);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.07);
}

html[data-theme="light"] .cta-box .btn-store:hover {
  background: #FDFCF8;
  border-color: var(--gold-500);
  box-shadow: 0 10px 25px rgba(251, 182, 51, 0.25);
  transform: translateY(-3px);
}

html[data-theme="light"] .cta-box .btn-store-text .brand-name {
  color: #0F172A;
}

html[data-theme="light"] .cta-box .btn-store-text .subtext {
  color: #64748B;
}

html[data-theme="light"] .qr-trigger-btn {
  color: #856404;
  font-weight: 700;
}

html[data-theme="light"] .qr-trigger-btn:hover {
  color: #5C4504;
}

html[data-theme="light"] .cta-guarantee-row {
  color: #475569;
  font-weight: 600;
}

/* Dark Mode CTA Box Styling (Sharp Obsidian) */
html[data-theme="dark"] .cta-box,
.cta-box {
  background: linear-gradient(145deg, rgba(24, 34, 48, 0.95) 0%, rgba(10, 14, 20, 0.98) 100%);
  border: 1.5px solid rgba(251, 182, 51, 0.35);
  box-shadow: var(--card-shadow), var(--glow-gold);
}

html[data-theme="dark"] .cta-box::before {
  background: radial-gradient(circle, rgba(251, 182, 51, 0.25) 0%, transparent 70%);
}

html[data-theme="dark"] .cta-tag {
  background: rgba(251, 182, 51, 0.2);
  color: var(--text-badge);
  border: 1px solid rgba(251, 182, 51, 0.35);
}

html[data-theme="dark"] .cta-title {
  color: #FFFFFF;
}

html[data-theme="dark"] .cta-subtitle {
  color: #94A3B8;
}

html[data-theme="dark"] .qr-trigger-btn {
  color: var(--gold-400);
  font-weight: 600;
}

html[data-theme="dark"] .qr-trigger-btn:hover {
  color: var(--gold-300);
}

html[data-theme="dark"] .cta-guarantee-row {
  color: #94A3B8;
}

/* --------------------------------------------------------------------------
   8. Mega Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-glass);
  padding-top: 80px;
  padding-bottom: 36px;
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-bio {
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 360px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: var(--gold-500);
  color: #fff;
  border-color: var(--gold-500);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(251, 182, 51, 0.3);
}

.footer-column-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 22px;
  position: relative;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.96rem;
  transition: color var(--transition-fast), padding-inline-start var(--transition-fast);
}

.footer-link:hover {
  color: var(--gold-500);
  padding-inline-start: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 12px;
}

.footer-contact-item .icon {
  color: var(--gold-500);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}
