/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  direction: rtl;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #F8FAFC;
  color: #0F172A;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background-color: #DBEAFE; color: #1E3A8A; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F8FAFC; }
::-webkit-scrollbar-thumb { background: #2563EB; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #1E3A8A; }

/* ===== COLORS ===== */
:root {
  --primary: #2563EB;
  --primary-dark: #1E3A8A;
  --primary-light: #DBEAFE;
  --accent: #60A5FA;
  --bg: #F8FAFC;
  --cards: #FFFFFF;
  --text: #0F172A;
  --text-secondary: #64748B;
  --footer-bg: #0F172A;
}

/* ===== UTILITIES ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.gradient-blue { background: linear-gradient(135deg, #2563EB, #1E3A8A); }
.gradient-blue-light { background: linear-gradient(135deg, #60A5FA, #2563EB); }
.text-gradient { background: linear-gradient(135deg, #2563EB, #60A5FA); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.glass { background: rgba(255,255,255,0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(37,99,235,0.1); }

.shadow-card { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.shadow-card-hover { box-shadow: 0 12px 40px rgba(37,99,235,0.12); }

.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }
.fade-up.delay-5 { transition-delay: 0.5s; }
.fade-up.delay-6 { transition-delay: 0.6s; }

@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }
.animate-float { animation: float 6s ease-in-out infinite; }
@keyframes float-delayed { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-15px); } }
.animate-float-2 { animation: float-delayed 5s ease-in-out infinite 1.5s; }

.btn-ripple { position: relative; overflow: hidden; }
.btn-ripple .ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.4); transform: scale(0); animation: ripple-anim 0.6s linear; pointer-events: none; }
@keyframes ripple-anim { to { transform: scale(4); opacity: 0; } }

.card-hover { transition: all 0.3s ease; }
.card-hover:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 12px 40px rgba(37,99,235,0.12); }
.browse-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); border-color: var(--primary) !important; }
.browse-option { transition: all 0.2s; cursor: pointer; padding: 16px 20px; border-radius: 14px; border: 2px solid #E2E8F0; font-size: 15px; font-weight: 600; background: white; }
.browse-option:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateX(-4px); }

/* ===== SPLASH ===== */
.splash {
  position: fixed; inset: 0; z-index: 99999;
  background: linear-gradient(135deg,#1E3A8A 0%,#2563EB 50%,#1E3A8A 100%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.splash.hide { opacity: 0; transform: scale(1.05); pointer-events: none; }
.splash-inner { text-align: center; }
.splash-logo { height: 100px; width: auto; filter: brightness(0) invert(1); animation: splashPulse 1.5s ease-in-out infinite; }
@keyframes splashPulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.08);opacity:0.85} }
.splash-brand { margin-top: 20px; font-size: 36px; font-weight: 900; color: white; letter-spacing: 2px; animation: splashFadeIn 0.8s ease 0.3s both; }
.splash-dots { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.splash-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); animation: dotPulse 1.5s ease-in-out infinite; }
.splash-dots span:nth-child(2) { animation-delay: 0.2s; }
.splash-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse { 0%,100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.5); opacity: 1; } }
@keyframes splashFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: all 0.3s; padding: 12px 0; }
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.08); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo-center { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-img { height: 40px; width: auto; }
.logo-text { font-size: 20px; font-weight: 900; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--primary); }
.nav-left { display: flex; align-items: center; gap: 10px; }
.nav-icon-btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--cards); color: var(--text-secondary); font-size: 16px;
  transition: all 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.nav-icon-btn:hover { color: var(--primary); transform: translateY(-2px); }
.cart-badge {
  position: absolute; top: -4px; right: -4px; background: var(--primary); color: white;
  font-size: 11px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.nav-btn-custom {
  padding: 10px 20px; border-radius: 999px; background: var(--text); color: white;
  font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.2s;
}
.nav-btn-custom:hover { background: var(--primary); transform: translateY(-2px); }
.nav-btn-custom.outline { background: transparent; color: var(--text); border: 1.5px solid #E2E8F0; }
.nav-btn-custom.outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.hamburger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid #E2E8F0; background: var(--cards); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.hamburger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 999;
  background: white; border-bottom: 1px solid #f1f5f9; padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu a {
  padding: 12px 16px; border-radius: 12px; color: var(--text); text-decoration: none;
  font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px; transition: all 0.2s;
}
.mobile-menu a:hover { background: var(--primary-light); color: var(--primary); }

/* ===== HERO ===== */
.hero { position: relative; padding: 140px 0 100px; overflow: hidden; background: linear-gradient(180deg, #EFF6FF 0%, #F8FAFC 100%); }
.hero-bg-shape { position: absolute; border-radius: 50%; opacity: 0.5; filter: blur(60px); pointer-events: none; }
.hero-bg-shape:nth-child(1) { width: 400px; height: 400px; background: radial-gradient(circle, #DBEAFE, transparent 70%); top: -100px; right: -100px; }
.hero-bg-shape:nth-child(2) { width: 300px; height: 300px; background: radial-gradient(circle, #FDE68A, transparent 70%); bottom: -50px; left: 10%; }
.hero-bg-shape:nth-child(3) { width: 250px; height: 250px; background: radial-gradient(circle, #C7D2FE, transparent 70%); top: 30%; left: -80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero-hashtags { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.hero-hashtag { padding: 8px 16px; border-radius: 999px; background: white; color: var(--text-secondary); font-size: 13px; font-weight: 600; border: 1px solid #E2E8F0; }
.hero-title { font-size: 52px; font-weight: 900; line-height: 1.15; margin-bottom: 20px; color: var(--text); }
.hero-desc { font-size: 18px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 32px; max-width: 520px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary-lg {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px;
  border-radius: 999px; background: linear-gradient(135deg, #2563EB, #1E3A8A); color: white;
  font-size: 15px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3); transition: all 0.3s;
}
.btn-primary-lg:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.4); }
.btn-outline-lg {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px;
  border-radius: 999px; background: white; color: var(--text); border: 2px solid #E2E8F0;
  font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; font-family: inherit; transition: all 0.3s;
}
.btn-outline-lg:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.hero-illustration { display: flex; justify-content: center; }
.book-stack { position: relative; width: 300px; height: 300px; display: flex; align-items: center; justify-content: center; }
.book-item {
  position: absolute; width: 110px; height: 160px; border-radius: 16px; display: flex;
  flex-direction: column; align-items: center; justify-content: center; color: white;
  font-size: 13px; font-weight: 700; box-shadow: 0 20px 40px rgba(0,0,0,0.15); text-align: center; padding: 12px;
}
.book-item-1 { transform: rotate(-8deg) translateX(-40px) translateY(-20px); }
.book-item-2 { transform: rotate(5deg) translateX(40px) translateY(-10px); }
.book-item-3 { transform: rotate(0deg) translateY(50px); }
.float-el { position: absolute; border-radius: 16px; background: white; padding: 12px 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.float-el:nth-of-type(4) { top: 10%; right: -20px; }
.float-el:nth-of-type(5) { bottom: 15%; left: -30px; }
.float-el .dot { width: 8px; height: 8px; border-radius: 50%; background: #10B981; }

/* ===== SECTION ===== */
.section-title { font-size: 36px; font-weight: 900; margin-bottom: 16px; color: var(--text); }
.section-subtitle { font-size: 16px; color: var(--text-secondary); max-width: 640px; line-height: 1.8; }
.featured-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px;
  border-radius: 999px; background: var(--primary-light); color: var(--primary);
  font-size: 13px; font-weight: 700; margin-bottom: 16px;
}
.icon-sm { width: 16px; height: 16px; }

/* ===== FEATURED ===== */
#featured { padding: 80px 0; background: white; }
.featured-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: center; }
.featured-grid > * { min-width: 0; }
.benefit-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.benefit-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.benefit-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.benefit-item p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.swiper { padding-bottom: 10px !important; }
.swiper-slide { height: auto; }
.book-card {
  background: white; border-radius: 20px; border: 1px solid #f1f5f9; overflow: hidden;
  display: flex; flex-direction: column; transition: all 0.3s;
}
.book-card:hover { box-shadow: 0 12px 40px rgba(37,99,235,0.12); }
.book-cover {
  height: 220px; display: flex; align-items: center; justify-content: center; position: relative;
  overflow: hidden; font-size: 14px; font-weight: 800; color: white; padding: 20px; text-align: center;
  line-height: 1.6;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.book-cover-overlay .category-tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,0.25); font-size: 11px; font-weight: 600; backdrop-filter: blur(4px); }
.book-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.book-body h3 { font-size: 15px; font-weight: 800; color: var(--text); }
.book-meta { display: flex; align-items: center; justify-content: space-between; }
.book-cat { font-size: 12px; font-weight: 600; color: var(--primary); background: var(--primary-light); padding: 3px 10px; border-radius: 999px; }
.book-author { font-size: 12px; color: var(--text-secondary); }
.book-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-secondary); }
.book-rating .stars { color: #F59E0B; font-size: 11px; }
.book-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.book-price { font-size: 17px; font-weight: 800; color: var(--primary); }
.book-price small { font-size: 12px; color: var(--text-secondary); font-weight: 400; }
.add-cart-btn {
  width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--primary);
  color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.add-cart-btn:hover { background: var(--primary-dark); transform: scale(1.1); }
.swiper-nav-wrapper { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.swiper-nav-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #E2E8F0; background: white; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: all 0.2s; }
.swiper-nav-btn:hover { border-color: var(--primary); color: var(--primary); }
.swiper-pagination-custom { font-size: 14px; color: var(--text-secondary); font-weight: 600; }

/* ===== BROWSE ===== */
#browse { padding: 80px 0; background: var(--bg); }
.browse-card {
  border: 2px dashed #E2E8F0; border-radius: 20px; padding: 32px; text-align: center;
  cursor: pointer; background: white;
}
.browse-card .icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 16px;
}
.browse-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.browse-card p { font-size: 13px; color: var(--text-secondary); }
.browse-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 10000; background: rgba(15,23,42,0.6);
  backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-card { background: white; border-radius: 24px; padding: 32px; max-width: 500px; width: 100%; max-height: 80vh; overflow-y: auto; }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-header h2 { font-size: 20px; font-weight: 800; }
.modal-close { width: 36px; height: 36px; border-radius: 50%; border: none; background: #F1F5F9; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.modal-list { display: grid; gap: 10px; }

/* ===== BESTSELLERS ===== */
#bestsellers { padding: 80px 0; background: white; }
.books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }

/* ===== ADD BOOK ===== */
#add-book { padding: 80px 0; background: white; }

/* ===== FAQ ===== */
#faq { padding: 80px 0; background: var(--bg); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid #E2E8F0; border-radius: 16px; margin-bottom: 12px; overflow: hidden; background: white; }
.faq-question { width: 100%; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; background: none; border: none; cursor: pointer; font-size: 15px; font-weight: 700; font-family: inherit; color: var(--text); }
.faq-question .faq-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 14px; transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--text-secondary); font-size: 14px; line-height: 1.8; }

/* ===== FOOTER ===== */
.footer { background: var(--footer-bg); color: white; padding: 60px 0 0; position: relative; overflow: hidden; }
.footer-glow { position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(37,99,235,0.4), transparent 70%); top: -200px; left: 20%; filter: blur(60px); }
.footer-bg-shape { position: absolute; border-radius: 50%; opacity: 0.15; filter: blur(40px); }
.footer-bg-shape:nth-child(2) { width: 200px; height: 200px; background: #2563EB; bottom: -50px; right: 10%; }
.footer-bg-shape:nth-child(3) { width: 150px; height: 150px; background: #60A5FA; top: 30%; left: 5%; }
.footer-content { position: relative; z-index: 2; }
.footer-logo { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 32px; }
.footer-logo img { height: 60px; width: auto; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer-logo h3 { font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.footer-logo p { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-hashtags { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.footer-hashtags .hash {
  padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 600; border: 1px solid rgba(255,255,255,0.12);
}
.footer-hashtags.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-hashtags.footer-links a:hover { color: white; }
.social-links { display: flex; gap: 12px; justify-content: center; margin-bottom: 28px; }
.social-btn {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); color: white; text-decoration: none; font-size: 18px; transition: all 0.3s;
}
.social-btn:hover { background: var(--primary); transform: translateY(-4px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; color: rgba(255,255,255,0.5); font-size: 13px; margin-top: 16px; }

/* ===== AUTH MODAL ===== */
.auth-modal { background: white; border-radius: 24px; padding: 32px; max-width: 420px; width: 100%; }
.auth-tabs { display: flex; gap: 0; margin-bottom: 24px; border-radius: 12px; overflow: hidden; border: 2px solid var(--primary-light); }
.auth-tab { flex: 1; padding: 12px; border: none; cursor: pointer; font-size: 14px; font-weight: 700; font-family: inherit; background: var(--bg); color: var(--text-secondary); transition: all 0.2s; }
.auth-tab.active { background: var(--primary); color: white; }
.auth-field { margin-bottom: 16px; text-align: right; }
.auth-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.auth-field input, .auth-field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 2px solid #E2E8F0;
  font-size: 14px; font-family: inherit; outline: none; transition: border-color 0.2s; background: var(--bg);
}
.auth-field input:focus, .auth-field select:focus { border-color: var(--primary); background: white; }
.auth-error { color: #DC2626; font-size: 13px; margin-bottom: 12px; display: none; text-align: right; }
.auth-submit {
  width: 100%; padding: 14px; border-radius: 12px; border: none;
  background: linear-gradient(135deg, #2563EB, #1E3A8A); color: white; font-size: 15px;
  font-weight: 700; cursor: pointer; font-family: inherit; box-shadow: 0 4px 16px rgba(37,99,235,0.25); transition: all 0.3s;
}
.auth-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,99,235,0.35); }

/* ===== DARK MODE ===== */
[data-theme="dark"] { --bg: #0F172A; --cards: #1E293B; --text: #F1F5F9; --text-secondary: #94A3B8; --primary: #93C5FD; --primary-dark: #DBEAFE; --accent: #DBEAFE; --primary-light: #1E3A5F; }
[data-theme="dark"] body { background: var(--bg); color: var(--text); }
[data-theme="dark"] .navbar.glass { background: rgba(15,23,42,0.85); border-bottom-color: #1E293B; }
[data-theme="dark"] .hero { background: linear-gradient(180deg, #0B1526 0%, var(--bg) 100%); }
[data-theme="dark"] .hero-title { color: var(--text); }
[data-theme="dark"] .hero-hashtag { background: #1E293B; border-color: #334155; color: var(--text-secondary); }
[data-theme="dark"] .hero-bg-shape { opacity: 0.1; }
[data-theme="dark"] .book-card, [data-theme="dark"] .browse-card, [data-theme="dark"] .faq-item, [data-theme="dark"] .modal-card, [data-theme="dark"] .auth-modal { background: var(--cards); border-color: #334155; }
[data-theme="dark"] .book-card h3, [data-theme="dark"] .browse-card h3 { color: var(--text); }
[data-theme="dark"] .section-title { color: var(--text); }
[data-theme="dark"] #featured, [data-theme="dark"] #bestsellers, [data-theme="dark"] #add-book { background: var(--bg); }
[data-theme="dark"] .browse-option { background: var(--cards); border-color: #334155; color: var(--text); }
[data-theme="dark"] .browse-option:hover { background: var(--primary); color: white; border-color: var(--primary); }
[data-theme="dark"] .mobile-menu { background: #1E293B; border-top-color: #334155; }
[data-theme="dark"] .mobile-menu a { color: var(--text-secondary); }
[data-theme="dark"] .mobile-menu a:hover { background: #334155; color: var(--text); }
[data-theme="dark"] .nav-icon-btn { background: #1E293B; color: var(--text-secondary); }
[data-theme="dark"] .auth-tab.active { color: #0F172A; }
[data-theme="dark"] .nav-btn-custom { background: #1E293B; color: var(--text); }
[data-theme="dark"] .nav-btn-custom.outline { background: transparent; border-color: #334155; color: var(--text-secondary); }
[data-theme="dark"] .auth-field input, [data-theme="dark"] .auth-field select { background: #334155; border-color: #475569; color: var(--text); }
[data-theme="dark"] .auth-field input:focus { background: #1E293B; }
[data-theme="dark"] .faq-question { color: var(--text); }
[data-theme="dark"] .modal-header h2 { color: var(--text); }
[data-theme="dark"] .btn-outline-lg { background: #1E293B; color: var(--text); border-color: #334155; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .featured-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 28px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-btn-custom { display: none; }
  .hero { padding: 120px 0 80px; }
  .hero-title { font-size: 36px; }
  .hero-desc { font-size: 16px; }
  .book-stack { transform: scale(0.9); }
  .float-el:nth-of-type(4) { right: 0; }
  .float-el:nth-of-type(5) { left: 0; }
  .checkout-grid { grid-template-columns: 1fr; }
}
