/* =====================================================
   Ahmed Yahia Store — Download Hub Final Styles
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

/* =====================================================
   1. VARIABLES & THEMES (Cyberpunk/Assassins Fusion)
   ===================================================== */
:root, document[data-theme="dark"] {
  --bg-base: #050512;
  --bg-surface: rgba(15, 15, 35, 0.7);
  --bg-surface-solid: #0f0f23;
  --bg-card: linear-gradient(145deg, #12122c, #0a0a18);
  
  --primary: #0171f9;
  --primary-glow: rgba(1, 113, 249, 0.4);
  --accent: #ee626b;
  --accent-glow: rgba(238, 98, 107, 0.4);
  --neon-cyan: #00f3ff;
  
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.05);
  
  --shadow-neon: 0 0 20px var(--primary-glow), 0 0 40px rgba(1, 113, 249, 0.2);
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

[data-theme="light"] {
  --bg-base: #f1f5f9;
  --bg-surface: rgba(255, 255, 255, 0.8);
  --bg-surface-solid: #ffffff;
  --bg-card: linear-gradient(145deg, #ffffff, #f8fafc);
  
  --primary: #0171f9;
  --primary-glow: rgba(1, 113, 249, 0.2);
  --accent: #ee626b;
  --accent-glow: rgba(238, 98, 107, 0.2);
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: rgba(15, 23, 42, 0.08);
  --glass-bg: rgba(15, 23, 42, 0.02);
  --glass-border: rgba(15, 23, 42, 0.05);
  --shadow-neon: 0 10px 30px rgba(1, 113, 249, 0.15);
}

/* =====================================================
   2. RESET & UTILITIES
   ===================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--bg-base);
  color: var(--text-main);
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 20%, var(--primary-glow) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 70%, var(--accent-glow) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(99, 0, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: -2;
  animation: bgShift 12s ease-in-out infinite alternate;
}

@keyframes bgShift {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(1% , 1%); }
}

.hidden { display: none !important; }

/* إخفاء عناصر قارئ الشاشة للـ Accessibility بدون ما تظهر في الواجهة */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* =====================================================
   3. SYSTEM COMPONENTS
   ===================================================== */
.preloader { position: fixed; inset: 0; background: #03030c; display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.5s ease, visibility 0.5s ease; }
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo { font-size: 70px; text-shadow: 0 0 20px var(--primary); animation: preloaderBounce 0.8s ease-in-out infinite alternate; }
@keyframes preloaderBounce { from { transform: translateY(0) scale(1); } to { transform: translateY(-20px) scale(1.05); } }
.preloader-bar { width: 220px; height: 5px; background: rgba(255, 255, 255, 0.05); border-radius: 10px; margin: 20px 0 10px; overflow: hidden; }
.preloader-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--accent)); animation: preloaderLoad 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes preloaderLoad { to { width: 100%; } }

.scroll-progress { position: fixed; top: 0; left: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent), var(--neon-cyan)); z-index: 9999; transition: width 0.1s linear; }

.stars-container { position: fixed; inset: 0; pointer-events: none; z-index: -1; }
.star { position: absolute; background: #fff; border-radius: 50%; animation: starTwinkle var(--duration) ease-in-out infinite; opacity: 0; }
@keyframes starTwinkle { 0%, 100% { opacity: 0; transform: scale(0.3); } 50% { opacity: 0.7; transform: scale(1.2); } }

.toast-container { position: fixed; bottom: 24px; right: 24px; display: flex; flex-direction: column; gap: 12px; z-index: 9999; }
.toast { display: flex; align-items: center; gap: 14px; padding: 16px 24px; border-radius: 16px; background: var(--bg-surface-solid); border: 1px solid var(--border-color); color: var(--text-main); box-shadow: 0 20px 40px rgba(0,0,0,0.3); transform: translateX(120%); transition: var(--transition); opacity: 0; }
.toast.show { transform: translateX(0); opacity: 1; }
.toast.hide { transform: translateX(120%); opacity: 0; }
.toast-success { border-left: 4px solid #00c864; }
.toast-warning { border-left: 4px solid #f5a623; }
.toast-error { border-left: 4px solid var(--accent); }
.toast-info { border-left: 4px solid var(--primary); }
.toast-close { background: none; border: none; color: var(--text-muted); cursor: pointer; margin-left: auto; }

/* =====================================================
   4. NAVIGATION HEADER
   ===================================================== */
.header { display: flex; justify-content: space-between; align-items: center; padding: 16px 6%; position: sticky; top: 0; z-index: 1000; background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--glass-border); transition: var(--transition); }
.header.scrolled { background: var(--bg-surface-solid); padding: 12px 6%; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.logo { height: 45px; transition: var(--transition); }
.header-links { display: flex; align-items: center; gap: 24px; }
.header-links a { color: var(--text-main); text-decoration: none; font-size: 15px; font-weight: 500; opacity: 0.8; transition: var(--transition); position: relative; padding: 6px 0; }
.header-links a:hover, .header-links a.active { opacity: 1; color: var(--primary); }
.header-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.header-links a:hover::after, .header-links a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; margin-left: 16px; }
.icon-btn { background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--text-main); border-radius: 50%; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; transition: var(--transition); }
.icon-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 5px 15px var(--primary-glow); }
.badge { position: absolute; top: -4px; right: -4px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg-surface-solid); }
.menu-btn { display: none; background: none; border: 1px solid var(--border-color); color: var(--text-main); font-size: 24px; cursor: pointer; padding: 4px 10px; border-radius: 8px; }

.search{
  position: relative;
  height: 50px;
}
.search input {
 padding: 15px;
 background: transparent;
 border-radius: 20px;
 border: 2px solid rgba(1, 113, 249, 0.2);
 color: #ffffff;
 font-size: 14px;
 height: 50;
width: 50px;
transition: width 0.3s ease;

}

.btn{
  align-items: center;
background: transparent;
font-size: 14px;
border-radius: 20px;
padding: 15px;
position: absolute;
top: 0;
left: 0;
width: 50px;
height: 50px;
border: 2px solid rgba(1, 113, 249, 0.2);
color: #ffffff;
cursor: pointer;
transition: transform 0.3s ease;

}

.btn:focus,
.input:focus {
outline: none;
}
 .search.active .input {
  width: 250px;
}
.search.active .btn {
  transform: translateX(280px);
}

/* =====================================================
   5. HERO / LANDING SECTION
   ===================================================== */
.landing-page {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 60px 50px;      /* قلل من 80px إلى 40px */
  min-height: 70vh;        /* قلل من 90vh إلى 70vh */
  position: relative;
  overflow: hidden;
  gap: 30px;
  min-height: 70vh;
}

/* ===========================
   النص — أصغر
=========================== */
.landing-page-left-section {
  flex: 1;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 20px;               /* قلل من 20px إلى 14px */
}

.welcome-badge {
  font-size: 12px;         /* قلل من 14px */
  padding: 4px 12px;       /* قلل الـ padding */
}

.landing-page-left-section h1 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);   /* قلل الحجم */
  line-height: 1.2;
}

.landing-page-left-section p {
  font-size: 14px;         /* قلل من 16px */
  line-height: 1.7;
}

/* ===========================
   Stats — أصغر
=========================== */
.hero-stats {
  gap: 18px;
}

.stat-number {
  font-size: 18px;         /* قلل من 22px */
}

.stat-label {
  font-size: 11px;
}

.stat-divider {
  height: 28px;            /* قلل من 36px */
}

/* ===========================
   الصورة — أصغر
=========================== */
.landing-page-image-container {
  position: absolute;
  height: 100%;
  width: 100%;   
  display: flex;    
}

.landing-page-image-container img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  border-radius: 24px 0 0 24px;
  box-shadow: -20px 0px 60px rgba(1, 113, 249, 0.3);
}
.image-glow {
  width: 60%;
  height: 60%;
}
.landing-page-search .search-btn {
 position: absolute;
 left: 230px;
 height: 40px;
}

.suggestion-item { padding: 12px 20px; cursor: pointer; color: var(--text-main); font-size: 14px; transition: var(--transition); }
.suggestion-item:hover, .suggestion-item.focused { background: rgba(1, 113, 249, 0.1); color: var(--primary); }
.suggestion-item mark { background: none; color: var(--accent); font-weight: 700; }

.hero-stats { display: flex; align-items: center; gap: 30px; }
.stat { display: flex; flex-direction: column; }
.stat-number { font-size: 32px; font-weight: 900; color: var(--text-main); }
.stat-label { font-size: 13px; color: var(--text-muted); text-transform: uppercase; }
.stat-divider { width: 1px; height: 40px; background: var(--border-color); }

/* =====================================================
   HERO IMAGE SLIDER
   ===================================================== */
.landing-page-image-container { flex: 1; position: relative; display: flex; justify-content: center; }
.image-glow { position: absolute; width: 80%; height: 80%; background: var(--primary); filter: blur(80px); opacity: 0.3; z-index: -1; animation: floatOrb 6s ease-in-out infinite alternate; }
@keyframes floatOrb { 0% { transform: translateY(-10px); opacity: 0.2; } 100% { transform: translateY(10px); opacity: 0.4; } }

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  border-radius: 32px;
  border: 1px solid var(--border-color);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  overflow: hidden;
  background: var(--bg-surface-solid);
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 4s ease-out;
  transform: scale(1.1); 
}

.slider-img.active {
  opacity: 1;
  transform: scale(1);
}

/* =====================================================
   6. GLOBAL STRUCTURAL SECTIONS
   ===================================================== */
section { padding: 60px 8%; }
.section-header { margin-bottom: 40px; }
.section-badge { color: var(--accent); text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: 2px; display: block; margin-bottom: 8px; }
h2 { font-size: 2.2rem; font-weight: 800; }

/* =====================================================
   7. CATEGORIES DISPLAY GRID
   ===================================================== */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.category-card { background: var(--bg-card); border: 1px solid var(--border-color); padding: 24px 16px; border-radius: 20px; text-align: center; cursor: pointer; transition: var(--transition); }
.category-card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: var(--shadow-neon); }
.category-icon { font-size: 32px; display: block; margin-bottom: 12px; transition: var(--transition); }
.category-card:hover .category-icon { transform: scale(1.2); }
.category-card span:last-child { font-weight: 600; font-size: 15px; }

/* =====================================================
   8. TRENDING & GAME CARDS
   ===================================================== */
.trending-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.view-all-link { color: var(--primary); text-decoration: none; font-weight: 600; font-size: 15px; transition: var(--transition); }
.view-all-link:hover { color: var(--text-main); transform: translateX(5px); }

/* ===========================
   TRENDING CARDS GRID
=========================== */
.trending-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 كروت متساوية */
  gap: 16px;
  margin-top: 20px;
}

/* ===========================
   CARD
=========================== */
.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(1, 113, 249, 0.25);
  border-color: rgba(1, 113, 249, 0.3);
}

/* ===========================
   CARD THUMBNAIL
=========================== */
.card-thumb-wrapper {
  position: relative;
  width: 100%;
  height: 180px;        /* ارتفاع ثابت للصورة */
  overflow: hidden;
}

.card-thumb-wrapper .thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.card:hover .thumb {
  transform: scale(1.06);
}

/* ===========================
   CARD BADGE
=========================== */
.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ee626b, #e84f58);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  z-index: 2;
}

.card-badge.free {
  background: linear-gradient(135deg, #00c864, #00a050);
}

.card-badge.new {
  background: linear-gradient(135deg, #0171f9, #0058d4);
}

/* ===========================
   CARD BODY
=========================== */
.card-body {
  padding: 12px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.card-category {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

.card-body h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin: 0;
}

.card-size {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 2px;
}

.card-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-light);
  margin-top: 4px;
}

.card-price.free-tag {
  color: #00c864;
}

/* ===========================
   CARD INFO (Download + Like)
=========================== */
.card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(1, 113, 249, 0.06);
}

.card-info-author {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  background: rgba(1, 113, 249, 0.15);
  border: 1px solid rgba(1, 113, 249, 0.3);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.card-info-author:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(1, 113, 249, 0.4);
}

.card-info-author img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.card-like {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  color: white;
}

.card-like:hover {
  background: rgba(238, 98, 107, 0.2);
  border-color: rgba(238, 98, 107, 0.4);
  transform: scale(1.1);
}

.card-like.liked {
  background: rgba(238, 98, 107, 0.15);
  border-color: rgba(238, 98, 107, 0.4);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .trending-cards {
    grid-template-columns: repeat(3, 1fr); /* 3 كروت */
  }
}

@media (max-width: 768px) {
  .trending-cards {
    grid-template-columns: repeat(2, 1fr); /* كرتان */
  }

  .card-thumb-wrapper {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .trending-cards {
    grid-template-columns: 1fr; /* كرت واحد */
  }
}


/* ===========================
   PAGINATION
=========================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 0 60px;
  position: relative;
  z-index: 2;
}

.page-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-family: inherit;
}

.page-btn:hover:not(:disabled) {
  background: rgba(1, 113, 249, 0.2);
  border-color: rgba(1, 113, 249, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1, 113, 249, 0.3);
}

.page-btn.active {
  background: linear-gradient(135deg, #0171f9, #0058d4);
  border-color: #0171f9;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(1, 113, 249, 0.5);
  transform: translateY(-2px);
}

.page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.prev-btn,
.next-btn {
  font-size: 22px;
  font-weight: 300;
  width: 42px;
  height: 42px;
}

.page-dots {
  color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
  padding: 0 4px;
  user-select: none;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 480px) {
  .pagination {
    gap: 6px;
    padding: 30px 0 40px;
  }

  .page-btn {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
}




/* Interactive Download Button */
.btn-download {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(1, 113, 249, 0.1);
  border: 1px solid rgba(1, 113, 249, 0.3);
  padding: 8px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--primary-light);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-download:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--primary-glow), 0 0 30px rgba(0, 243, 255, 0.3);
}

.btn-download:hover::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 255, 255, 0.2) 60deg, transparent 120deg);
  animation: rotateGlow 2s linear infinite;
}

@keyframes rotateGlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.download-icon { font-size: 16px; }

.card-like { background: none; border: none; font-size: 20px; cursor: pointer; transition: var(--transition); }
.card-like:hover { transform: scale(1.2); }

/* =====================================================
   9. PROMO BANNER GRAPHICS
   ===================================================== */
.promo-banner { background: linear-gradient(135deg, #4b0082, #0000ff); border-radius: 32px; margin: 40px 8%; padding: 60px; display: flex; justify-content: space-between; align-items: center; position: relative; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.promo-banner::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 80px); }
.promo-content { position: relative; z-index: 2; max-width: 500px; }
.promo-badge { background: rgba(255, 255, 255, 0.15); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.promo-banner h2 { font-size: 2.5rem; margin: 16px 0 8px; }
.promo-btn { background: #fff; color: #000; margin-top: 24px; }
.promo-btn:hover { background: var(--neon-cyan); color: #000; box-shadow: 0 5px 20px rgba(0, 243, 255, 0.4); }
.promo-decoration { font-size: 80px; display: flex; gap: 20px; opacity: 0.15; pointer-events: none; }

/* =====================================================
   10. FEATURES DISPLAY GRID
   ===================================================== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border-color); padding: 40px 24px; border-radius: 24px; transition: var(--transition); }
.feature-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.feature-icon { font-size: 40px; display: block; margin-bottom: 20px; }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* =====================================================
   11. BACK TO TOP COMPONENT
   ===================================================== */
.back-to-top { position: fixed; bottom: 24px; left: 24px; background: var(--primary); color: #fff; border: none; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 5px 15px var(--primary-glow); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); }

/* =====================================================
   12. ARCHITECTURE FOOTER
   ===================================================== */
.footer { background: var(--bg-surface-solid); border-top: 1px solid var(--border-color); padding: 80px 8% 40px; }
.footer-content { display: grid; grid-template-columns: 2fr repeat(2, 1fr) 2fr; gap: 40px; margin-bottom: 60px; }
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; }
.footer-nav h4, .footer-newsletter h4 { font-size: 16px; font-weight: 700; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: var(--transition); }
.footer-nav a:hover { color: var(--primary); padding-left: 4px; }
.footer-newsletter p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }

.newsletter-form { display: flex; background: var(--bg-base); border: 1px solid var(--border-color); padding: 4px; border-radius: 30px; }
.newsletter-form input { flex: 1; background: none; border: none; outline: none; padding: 0 16px; color: var(--text-main); font-size: 14px; }
.newsletter-form .btn { padding: 10px 22px; font-size: 13px; }

/* =====================================================
   13. MEDIA RESPONSIVE QUERIES
   ===================================================== */
@media (max-width: 1024px) {
  .footer-content { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .landing-page-left-section h1 { font-size: 3rem; }
}
@media (max-width: 768px) {
  .header-links { position: fixed; top: 77px; right: -100%; width: 280px; height: calc(100vh - 77px); background: var(--bg-surface-solid); flex-direction: column; align-items: flex-start; padding: 40px; gap: 30px; transition: var(--transition); border-left: 1px solid var(--border-color); box-shadow: -10px 0 30px rgba(0,0,0,0.2); }
  .header-links.open { right: 0; }
  .header-actions { flex-direction: column; width: 100%; align-items: flex-start; margin: 0; gap: 20px; }
  .header-actions .btn { width: 100%; text-align: center; }
  .menu-btn { display: block; }
  .landing-page { flex-direction: column; text-align: center; padding-top: 40px; }
  .landing-page-search { margin: 0 auto 40px; }
  .hero-stats { justify-content: center; }
  .landing-page-image-container { display: flex; justify-content: center; width: 100%; }
  .hero-slider { max-width: 320px; }
  .promo-banner { flex-direction: column; text-align: center; gap: 40px; padding: 40px; }
  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .footer-nav { align-items: center; }
  .newsletter-form { max-width: 360px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .landing-page-left-section h1 { font-size: 2.2rem; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
}