/* ============================================
   WebzLux - Shared Stylesheet
   ابزارهای هوشمند. نتایج واقعی.
============================================ */
:root {
  --primary: #6c63ff;
  --primary-dark: #5a52e0;
  --secondary: #00d4ff;
  --accent: #ff6b6b;
  --neon: #00ff88;
  --gold: #ffd700;
  --bg-dark: #0a0a1a;
  --bg-card: #0f0f2a;
  --bg-card2: #12122e;
  --glass: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.12);
  --text-primary: #f0f0ff;
  --text-secondary: #9090b0;
  --text-muted: #5a5a80;
  --gradient-main: linear-gradient(135deg, #6c63ff 0%, #00d4ff 50%, #00ff88 100%);
  --gradient-hero: linear-gradient(180deg, #0a0a1a 0%, #0d0d25 100%);
  --shadow-neon: 0 0 30px rgba(108,99,255,0.4);
  --shadow-card: 0 20px 60px rgba(0,0,0,0.5);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
[data-theme="light"] {
  --bg-dark: #f0f0ff;
  --bg-card: #ffffff;
  --bg-card2: #f8f8ff;
  --glass: rgba(108,99,255,0.05);
  --glass-border: rgba(108,99,255,0.2);
  --text-primary: #1a1a3e;
  --text-secondary: #4a4a7a;
  --text-muted: #7a7aaa;
  --gradient-hero: linear-gradient(180deg, #f0f0ff 0%, #e8e8ff 100%);
  --shadow-card: 0 20px 60px rgba(108,99,255,0.15);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Vazirmatn', 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  transition: background 0.5s, color 0.5s;
  direction: rtl;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== UTILITIES ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== GLASS CARD ===== */
.glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 2px;
  background: var(--gradient-main);
  transition: left 0.5s ease;
}
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 50% 0%, rgba(108,99,255,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.glass-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-neon); border-color: rgba(108,99,255,0.4); }
.glass-card:hover::before { left: 0; }
.glass-card:hover::after { opacity: 1; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 50px; font-family: 'Vazirmatn', sans-serif;
  font-size: 15px; font-weight: 600; cursor: pointer; border: none;
  transition: var(--transition); text-decoration: none; position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.15); opacity: 0; transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }
.btn-primary { background: var(--gradient-main); color: #fff; box-shadow: 0 4px 20px rgba(108,99,255,0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(108,99,255,0.6); }
.btn-outline { background: transparent; color: var(--text-primary); border: 2px solid var(--glass-border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.btn-ghost { background: var(--glass); color: var(--text-primary); border: 1px solid var(--glass-border); }
.btn-ghost:hover { background: rgba(108,99,255,0.2); border-color: var(--primary); }
.btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

/* ===== BADGE ===== */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 50px; font-size: 13px; font-weight: 600;
}
.badge-primary { background: rgba(108,99,255,0.2); color: var(--primary); border: 1px solid rgba(108,99,255,0.3); }
.badge-accent { background: rgba(255,107,107,0.2); color: var(--accent); border: 1px solid rgba(255,107,107,0.3); }
.badge-neon { background: rgba(0,255,136,0.15); color: var(--neon); border: 1px solid rgba(0,255,136,0.3); }
.badge-gold { background: rgba(255,215,0,0.15); color: var(--gold); border: 1px solid rgba(255,215,0,0.3); }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(108,99,255,0.1); border: 1px solid rgba(108,99,255,0.25);
  color: var(--primary); padding: 8px 20px; border-radius: 50px;
  font-size: 14px; font-weight: 600; margin-bottom: 20px;
}
.section-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary); animation: pulse 2s infinite;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; line-height: 1.2; }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800; line-height: 1.3; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; }
p { line-height: 1.8; color: var(--text-secondary); }

/* ===== ANIMATIONS ===== */
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 20px rgba(108,99,255,0.4); } 50% { box-shadow: 0 0 50px rgba(108,99,255,0.8), 0 0 100px rgba(0,212,255,0.3); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes toastIn { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(100px); } }
@keyframes marqueeRtl { from { transform: translateX(-50%); } to { transform: translateX(0%); } }
@keyframes countUp { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }
@keyframes neonPulse {
  0%, 100% { text-shadow: 0 0 10px rgba(108,99,255,0.8), 0 0 30px rgba(108,99,255,0.4); }
  50% { text-shadow: 0 0 20px rgba(0,212,255,0.8), 0 0 60px rgba(0,212,255,0.4); }
}
@keyframes progressBar { from { width: 0; } to { width: var(--pct); } }

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-glow { animation: glow 3s ease-in-out infinite; }
.animate-spin-slow { animation: spin-slow 20s linear infinite; }
.animate-neon { animation: neonPulse 2s ease-in-out infinite; }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1), transform 0.7s cubic-bezier(0.23, 1, 0.32, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1), transform 0.7s cubic-bezier(0.23, 1, 0.32, 1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1), transform 0.7s cubic-bezier(0.23, 1, 0.32, 1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
  padding: 20px 0;
}
#navbar.scrolled {
  background: rgba(10, 10, 26, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
}
[data-theme="light"] #navbar.scrolled { background: rgba(240,240,255,0.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
  width: 44px; height: 44px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.logo-svg { width: 44px; height: 44px; }
.logo-text { font-size: 22px; font-weight: 900; color: var(--text-primary); font-family: 'Inter', sans-serif; }
.logo-text span { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 16px; border-radius: 50px; transition: var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 2px; background: var(--gradient-main); border-radius: 2px;
  transition: left 0.3s, right 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); background: var(--glass); }
.nav-links a:hover::after, .nav-links a.active::after { left: 20%; right: 20%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--glass-border);
  background: var(--glass); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition); color: var(--text-secondary);
}
.theme-btn:hover { background: rgba(108,99,255,0.2); border-color: var(--primary); color: var(--primary); transform: rotate(30deg); }
.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 8px;
}
.hamburger span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none; position: fixed; top: 80px; left: 0; right: 0; z-index: 999;
  background: rgba(10,10,26,0.97); backdrop-filter: blur(24px);
  padding: 24px; border-bottom: 1px solid var(--glass-border);
  flex-direction: column; gap: 8px;
}
[data-theme="light"] .mobile-menu { background: rgba(240,240,255,0.97); }
.mobile-menu.open { display: flex; animation: slideInUp 0.3s ease; }
.mobile-menu a { color: var(--text-primary); text-decoration: none; padding: 14px 20px; border-radius: var(--radius-sm); border: 1px solid var(--glass-border); font-size: 16px; font-weight: 500; }
.mobile-menu a:hover { background: rgba(108,99,255,0.15); border-color: var(--primary); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative; padding: 180px 0 80px;
  background: var(--gradient-hero); overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
}
.page-hero::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,99,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -50%; left: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 2; text-align: center; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; color: var(--text-muted); margin-top: 20px;
}
.breadcrumb a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb svg { color: var(--text-muted); }

/* ===== PRODUCTS / SHOP ===== */
.product-card {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 32px; position: relative;
  overflow: hidden; transition: var(--transition);
  display: flex; flex-direction: column; gap: 20px;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 3px; background: var(--gradient-main);
  transition: left 0.5s ease;
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-neon); border-color: rgba(108,99,255,0.4); }
.product-card:hover::before { left: 0; }
.product-icon-wrap {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(108,99,255,0.2), rgba(0,212,255,0.1));
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(108,99,255,0.2); position: relative;
  transition: var(--transition);
}
.product-card:hover .product-icon-wrap { transform: scale(1.1) rotate(5deg); box-shadow: 0 0 20px rgba(108,99,255,0.4); }
.product-badge { position: absolute; top: 16px; left: 16px; }
.stars { display: flex; gap: 2px; color: var(--gold); }
.star-filled { color: var(--gold); }
.product-title { font-size: 20px; font-weight: 700; color: var(--text-primary); }
.product-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; flex: 1; }
.product-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-current { font-size: 24px; font-weight: 800; color: var(--primary); }
.price-old { font-size: 16px; color: var(--text-muted); text-decoration: line-through; }
.price-discount { font-size: 13px; background: rgba(255,107,107,0.2); color: var(--accent); padding: 3px 10px; border-radius: 50px; font-weight: 600; }
.product-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.scarcity-bar { margin-top: 4px; }
.scarcity-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.scarcity-track { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.scarcity-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--gold)); animation: progressBar 1.5s ease forwards; }

/* ===== SHOP TOOLBAR ===== */
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; margin-bottom: 40px;
}
.shop-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn {
  padding: 10px 20px; border-radius: 50px; background: var(--glass);
  border: 1px solid var(--glass-border); color: var(--text-secondary);
  cursor: pointer; font-family: 'Vazirmatn', sans-serif; font-size: 14px; font-weight: 500;
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--gradient-main); color: white; border-color: transparent; }
.shop-search {
  display: flex; align-items: center; gap: 10px; padding: 10px 18px;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 50px;
  min-width: 240px;
}
.shop-search input {
  background: transparent; border: none; outline: none; color: var(--text-primary);
  font-family: 'Vazirmatn', sans-serif; font-size: 14px; width: 100%;
}
.shop-search input::placeholder { color: var(--text-muted); }
.shop-search svg { color: var(--text-muted); flex-shrink: 0; }

/* ===== FEATURES ===== */
.feature-card {
  padding: 32px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--glass-border);
  transition: var(--transition); text-align: center; position: relative; overflow: hidden;
}
.feature-card::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: radial-gradient(ellipse at 50% 100%, rgba(108,99,255,0.08) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.4s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(108,99,255,0.15); border-color: rgba(108,99,255,0.3); }
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.feature-icon::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-main); opacity: 0.15;
}
.feature-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.feature-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== STATS ===== */
.stat-card { text-align: center; padding: 48px 24px; position: relative; }
.stat-card::after { content: ''; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background: var(--glass-border); }
.stat-card:last-child::after { display: none; }
.stat-number {
  font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 900;
  background: var(--gradient-main); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  display: block; line-height: 1;
}
.stat-label { font-size: 15px; color: var(--text-secondary); margin-top: 8px; font-weight: 500; }
.stat-icon { margin-bottom: 16px; color: var(--primary); opacity: 0.7; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(108,99,255,0.1); border: 1px solid rgba(108,99,255,0.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--primary);
}
.contact-label { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.contact-val { font-size: 15px; font-weight: 600; color: var(--text-primary); text-decoration: none; }
a.contact-val:hover { color: var(--primary); }
.contact-form { background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--glass); border: 1px solid var(--glass-border);
  color: var(--text-primary); font-family: 'Vazirmatn', sans-serif; font-size: 15px;
  transition: var(--transition); outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108,99,255,0.1);
}
.form-group textarea { resize: none; height: 120px; }
.form-group select { appearance: none; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { font-size: 12px; color: var(--accent); margin-top: 6px; display: none; }
.gift-banner {
  background: linear-gradient(135deg, rgba(0,255,136,0.08), rgba(0,212,255,0.05));
  border: 1px solid rgba(0,255,136,0.2); border-radius: var(--radius-sm);
  padding: 16px 20px; margin-bottom: 24px; display: flex; align-items: center; gap: 14px;
}
.gift-icon { color: var(--neon); flex-shrink: 0; }
.gift-text { font-size: 14px; color: var(--text-secondary); }
.gift-text strong { color: var(--neon); }

/* ===== MAP ===== */
.map-wrap {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-border);
  height: 320px; position: relative; background: var(--bg-card);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) invert(0.9) hue-rotate(180deg); }
[data-theme="light"] .map-wrap iframe { filter: none; }

/* ===== ABOUT - TIMELINE ===== */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 20px 0; }
.timeline::before {
  content: ''; position: absolute; right: 50%; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, transparent, var(--primary), var(--secondary), transparent);
  transform: translateX(50%);
}
.timeline-item { position: relative; width: 50%; padding: 20px 40px; }
.timeline-item:nth-child(odd) { right: 0; text-align: left; }
.timeline-item:nth-child(even) { right: 50%; text-align: right; }
.timeline-dot {
  position: absolute; top: 30px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gradient-main); border: 3px solid var(--bg-dark);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.3); z-index: 2;
}
.timeline-item:nth-child(odd) .timeline-dot { right: -8px; }
.timeline-item:nth-child(even) .timeline-dot { left: -8px; }
.timeline-content {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 24px; transition: var(--transition);
}
.timeline-content:hover { border-color: rgba(108,99,255,0.4); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.2); }
.timeline-year { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.timeline-title { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.timeline-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== ABOUT - VALUES ===== */
.value-card {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 32px; transition: var(--transition);
  display: flex; gap: 20px; align-items: flex-start;
}
.value-card:hover { transform: translateY(-6px); border-color: rgba(108,99,255,0.3); box-shadow: 0 16px 40px rgba(0,0,0,0.2); }
.value-icon {
  width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(108,99,255,0.15), rgba(0,212,255,0.08));
  border: 1px solid rgba(108,99,255,0.2);
}
.value-title { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.value-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== ABOUT - TEAM ===== */
.team-card {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 32px; text-align: center; transition: var(--transition);
}
.team-card:hover { transform: translateY(-8px); border-color: rgba(108,99,255,0.4); box-shadow: var(--shadow-neon); }
.team-avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--gradient-main); display: flex; align-items: center; justify-content: center;
  font-size: 38px; font-weight: 900; color: white; border: 3px solid rgba(108,99,255,0.3);
}
.team-name { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.team-role { font-size: 14px; color: var(--primary); font-weight: 600; }

/* ===== FOUNDER ===== */
.founder-grid { display: grid; grid-template-columns: auto 1fr; gap: 60px; align-items: center; }
.founder-visual { position: relative; width: 280px; }
.founder-avatar {
  width: 220px; height: 220px; border-radius: 50%; margin: 0 auto;
  background: linear-gradient(135deg, #6c63ff, #00d4ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; font-weight: 900; color: white;
  border: 4px solid rgba(108,99,255,0.3);
  box-shadow: 0 0 60px rgba(108,99,255,0.4);
  position: relative; z-index: 1;
  animation: glow 3s ease-in-out infinite;
}
.founder-ring {
  position: absolute; top: 50%; left: 50%; width: 260px; height: 260px;
  border: 2px dashed rgba(108,99,255,0.3); border-radius: 50%;
  transform: translate(-50%, -50%); animation: spin-slow 15s linear infinite;
}
.founder-name { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.founder-title { color: var(--primary); font-size: 16px; font-weight: 600; margin-bottom: 20px; }
.founder-bio { font-size: 16px; line-height: 1.9; color: var(--text-secondary); margin-bottom: 28px; }
.founder-social { display: flex; gap: 12px; flex-wrap: wrap; }
.social-btn {
  padding: 10px 20px; border-radius: 50px; background: var(--glass);
  border: 1px solid var(--glass-border); color: var(--text-secondary);
  text-decoration: none; font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 8px; transition: var(--transition);
}
.social-btn:hover { background: rgba(108,99,255,0.15); border-color: var(--primary); color: var(--primary); }

/* ===== PRIVACY / LEGAL ===== */
.legal-wrap { max-width: 860px; margin: 0 auto; }
.legal-toc {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 28px; margin-bottom: 40px;
}
.legal-toc h3 { font-size: 17px; margin-bottom: 16px; color: var(--text-primary); }
.legal-toc ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.legal-toc a { color: var(--text-secondary); text-decoration: none; font-size: 14px; display: flex; align-items: center; gap: 8px; transition: color 0.3s; }
.legal-toc a:hover { color: var(--primary); }
.legal-toc a svg { color: var(--primary); flex-shrink: 0; }
.legal-block { margin-bottom: 36px; scroll-margin-top: 120px; }
.legal-block h2 { font-size: 22px; margin-bottom: 14px; color: var(--text-primary); display: flex; align-items: center; gap: 12px; }
.legal-block h2 .num {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(108,99,255,0.2), rgba(0,212,255,0.1));
  border: 1px solid rgba(108,99,255,0.2); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800;
}
.legal-block p { font-size: 15px; line-height: 1.9; color: var(--text-secondary); margin-bottom: 12px; }
.legal-block ul { list-style: none; margin: 12px 0; padding: 0; }
.legal-block ul li { font-size: 15px; line-height: 1.9; color: var(--text-secondary); display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.legal-block ul li svg { color: var(--neon); flex-shrink: 0; margin-top: 5px; }
.legal-updated {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted);
  background: var(--glass); border: 1px solid var(--glass-border); padding: 8px 16px; border-radius: 50px;
}

/* ===== CTA SECTION ===== */
.cta-box {
  background: linear-gradient(135deg, rgba(108,99,255,0.1), rgba(0,212,255,0.06));
  border: 1px solid rgba(108,99,255,0.25); border-radius: 24px;
  padding: 56px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(108,99,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-box h2 { margin-bottom: 16px; position: relative; }
.cta-box p { max-width: 520px; margin: 0 auto 28px; position: relative; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg-card); border-top: 1px solid var(--glass-border);
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-desc { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin: 16px 0 24px; }
.footer-title { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.3s; display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--primary); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); }
.footer-contact-item a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-contact-item a:hover { color: var(--primary); }
.trust-badges { display: flex; align-items: center; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.trust-badge {
  display: flex; align-items: center; gap: 8px; padding: 8px 16px;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 10px;
  font-size: 12px; color: var(--text-muted); font-weight: 600;
}
.trust-badge svg { color: var(--neon); }
.footer-bottom { border-top: 1px solid var(--glass-border); padding-top: 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.copyright { font-size: 13px; color: var(--text-muted); }
.footer-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-meta a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-meta a:hover { color: var(--primary); }
.enamad-wrap img { border-radius: 8px; }

/* ===== TOAST ===== */
#toast-container { position: fixed; bottom: 24px; left: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 12px; }
.toast {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4); max-width: 320px;
  animation: toastIn 0.4s ease;
}
.toast.removing { animation: toastOut 0.4s ease forwards; }
.toast-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-main); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: white; flex-shrink: 0; }
.toast-content { flex: 1; }
.toast-title { font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.toast-msg { font-size: 12px; color: var(--text-muted); }
.toast-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--neon); flex-shrink: 0; box-shadow: 0 0 8px var(--neon); }

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: 24px; padding: 40px; max-width: 500px; width: 100%;
  transform: translateY(30px) scale(0.96); transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative; max-height: 90vh; overflow-y: auto;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; left: 16px; width: 36px; height: 36px;
  border-radius: 50%; background: var(--glass); border: 1px solid var(--glass-border);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); transition: var(--transition);
}
.modal-close:hover { background: rgba(255,107,107,0.2); color: var(--accent); }
.modal-title { font-size: 22px; font-weight: 800; margin-bottom: 8px; color: var(--text-primary); }
.modal-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.7; }
.modal-success {
  text-align: center; padding: 20px 0;
  display: none; flex-direction: column; align-items: center; gap: 16px;
}
.success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(0,255,136,0.15); border: 2px solid var(--neon);
  display: flex; align-items: center; justify-content: center;
  color: var(--neon); animation: glow 2s ease-in-out infinite;
}
.success-title { font-size: 22px; font-weight: 800; color: var(--text-primary); }
.success-msg { font-size: 15px; color: var(--text-secondary); }
.zarinpal-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 16px; background: var(--glass); border-radius: var(--radius-sm); border: 1px solid var(--glass-border); }
.zp-badge { background: linear-gradient(135deg, #4BC0AD, #2AA89B); color: white; padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 700; }
.secure-badge { margin-right: auto; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--neon); }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 10001;
  background: rgba(0,0,0,0.9); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-content { max-width: 90vw; max-height: 90vh; border-radius: var(--radius); overflow: hidden; }
.lightbox-close {
  position: absolute; top: 24px; left: 24px; width: 44px; height: 44px;
  border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: white; cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 20px; transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,107,107,0.3); }

/* ===== BACK TO TOP ===== */
#back-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 500;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient-main); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: white;
  opacity: 0; transform: translateY(20px); transition: var(--transition);
  box-shadow: 0 4px 20px rgba(108,99,255,0.5);
}
#back-top.visible { opacity: 1; transform: translateY(0); }
#back-top:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(108,99,255,0.7); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-grid { grid-template-columns: 1fr; text-align: center; }
  .founder-visual { width: 100%; }
  .founder-social { justify-content: center; }
}
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .page-hero { padding: 140px 0 60px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links, .nav-actions .btn { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stat-card::after { display: none; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .legal-toc ul { grid-template-columns: 1fr; }
  .shop-search { min-width: 100%; }
  /* Timeline mobile */
  .timeline::before { right: 8px; }
  .timeline-item { width: 100%; padding-right: 40px; padding-left: 10px; text-align: right !important; right: 0 !important; }
  .timeline-item .timeline-dot { right: 0 !important; left: auto !important; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  #toast-container { left: 12px; right: 12px; bottom: 12px; }
  .toast { max-width: 100%; }
}
/* ===== 3D / INTERACTIVE EFFECTS (shared, added) ===== */
#scroll-progress {
  position: fixed; top: 0; right: 0; height: 3px; width: 0%;
  background: var(--gradient-main, linear-gradient(135deg,#6c63ff,#00d4ff,#00ff88));
  box-shadow: 0 0 12px rgba(108,99,255,0.7);
  z-index: 1000; transition: width 0.1s linear;
}
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 36px; height: 36px;
  margin: -18px 0 0 -18px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,99,255,0.55), rgba(0,212,255,0.15) 60%, transparent 70%);
  pointer-events: none; z-index: 9999; mix-blend-mode: screen;
  transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
  will-change: transform;
}
.cursor-glow--active { width: 70px; height: 70px; margin: -35px 0 0 -35px; }
@media (hover: none) { .cursor-glow { display: none; } }
[data-tilt] {
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.23,1,0.32,1), box-shadow 0.3s;
  will-change: transform; position: relative;
}
[data-tilt]::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(108,99,255,0.22), transparent 55%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
[data-tilt]:hover::after { opacity: 1; }
[data-magnetic] { transition: transform 0.3s cubic-bezier(0.23,1,0.32,1); will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .cursor-glow, #scroll-progress { display: none !important; }
  [data-tilt], [data-magnetic] { transform: none !important; }
}
