/* ===== SIBBET — SHARED STYLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --red: #e63946;
  --red-dark: #b8202c;
  --red-glow: rgba(230,57,70,0.4);
  --green: #06d6a0;
  --green-glow: rgba(6,214,160,0.3);
  --gold: #f0c040;
  --gold-light: #ffd76b;
  --gold-dark: #c49a00;
  --bg-void: #050709;
  --bg-deep: #08090f;
  --bg-card: #0d1120;
  --bg-card2: #111827;
  --bg-hover: #131b30;
  --border: rgba(240,192,64,0.12);
  --border-bright: rgba(240,192,64,0.45);
  --text: #e2e8f5;
  --text-muted: #6b7a99;
  --text-dim: #3a4260;
  --shadow-gold: 0 0 35px rgba(240,192,64,0.15);
  --shadow-card: 0 10px 50px rgba(0,0,0,0.7);
  --radius: 18px;
  --radius-sm: 11px;
  --font: 'Vazirmatn', sans-serif;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg-void); color: var(--text); direction: rtl; overflow-x: hidden; -webkit-font-smoothing: antialiased; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ===== BACKGROUND ===== */
.bg-wrap { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(240,192,64,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(240,192,64,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}
.bg-blob1 { position: absolute; top: -20%; right: -15%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(230,57,70,0.07) 0%, transparent 65%); border-radius: 50%; }
.bg-blob2 { position: absolute; bottom: -30%; left: -20%; width: 80vw; height: 80vw; max-width: 1000px; max-height: 1000px; background: radial-gradient(circle, rgba(240,192,64,0.05) 0%, transparent 65%); border-radius: 50%; }
.bg-blob3 { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 60vw; height: 60vw; max-width: 700px; background: radial-gradient(circle, rgba(6,214,160,0.03) 0%, transparent 65%); border-radius: 50%; }

/* ===== PARTICLES ===== */
.particle {
  position: absolute; border-radius: 50%; background: var(--gold);
  opacity: 0; animation: float-p var(--dur,9s) var(--delay,0s) ease-in-out infinite;
}
@keyframes float-p {
  0% { transform: translateY(110vh) translateX(0); opacity: 0; }
  8% { opacity: var(--op, 0.5); }
  92% { opacity: calc(var(--op, 0.5) * 0.4); }
  100% { transform: translateY(-80px) translateX(var(--drift, 80px)); opacity: 0; }
}

/* ===== HEADER ===== */
header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(5,7,9,0.9); backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  height: 70px; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow var(--transition);
}
header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.5); }

.logo { display: flex; align-items: center; gap: 13px; text-decoration: none; cursor: pointer; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #8B0000, var(--red));
  box-shadow: 0 0 22px var(--red-glow);
  animation: logo-pulse 2.5s ease-in-out infinite;
}
@keyframes logo-pulse {
  0%,100% { box-shadow: 0 0 22px var(--red-glow); }
  50% { box-shadow: 0 0 38px rgba(230,57,70,0.65); }
}
.logo-apple { font-size: 24px; }
.logo-text { font-size: 23px; font-weight: 900; background: linear-gradient(135deg, var(--gold), var(--gold-light), #fff8dc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -0.5px; }
.logo-tagline { font-size: 10px; color: var(--text-muted); font-weight: 400; display: block; margin-top: -3px; }

nav.desktop-nav { display: flex; align-items: center; gap: 4px; }
nav.desktop-nav a {
  color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 9px 18px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: all var(--transition);
}
nav.desktop-nav a:hover { color: var(--gold); background: rgba(240,192,64,0.07); border-color: var(--border); }
nav.desktop-nav a.active { color: var(--gold); background: rgba(240,192,64,0.1); border-color: var(--border-bright); }
.nav-hot {
  background: linear-gradient(135deg, var(--red-dark), var(--red)) !important;
  color: white !important; border-color: transparent !important;
  font-weight: 700 !important; box-shadow: 0 3px 14px var(--red-glow);
  margin-right: 6px;
}
.nav-hot:hover { transform: translateY(-1px); box-shadow: 0 6px 22px var(--red-glow) !important; }

/* Mobile menu */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: var(--text-muted); border-radius: 2px; transition: all var(--transition); display: block; }

#mobile-menu {
  display: none; position: fixed; top: 70px; right: 0; left: 0; z-index: 999;
  background: rgba(5,7,9,0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px; flex-direction: column; gap: 4px;
  transform: translateY(-10px); opacity: 0;
  transition: all var(--transition);
}
#mobile-menu.open { transform: translateY(0); opacity: 1; }
#mobile-overlay { display: none; }
#mobile-menu a {
  color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 600;
  padding: 14px 18px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: all var(--transition);
  display: block;
}
#mobile-menu a:hover { color: var(--gold); background: rgba(240,192,64,0.07); border-color: var(--border); }
#mobile-menu a.active { color: var(--gold); background: rgba(240,192,64,0.1); border-color: var(--border-bright); }

@media(max-width:768px) {
  header { padding: 0 20px; }
  nav.desktop-nav { display: none; }
  .hamburger { display: flex; }
  #mobile-menu { display: flex; }
}

/* ===== BREADCRUMB ===== */
.breadcrumb-wrap { padding: 14px 0; border-bottom: 1px solid var(--border); margin-bottom: 0; background: rgba(0,0,0,0.2); }
.breadcrumb { max-width: 1320px; margin: 0 auto; padding: 0 48px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { font-size: 12px; color: var(--text-muted); text-decoration: none; transition: color var(--transition); cursor: pointer; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { font-size: 12px; color: var(--text-dim); }
.breadcrumb .current { font-size: 12px; color: var(--gold); font-weight: 600; }

/* ===== SECTION ===== */
.section { padding: 90px 48px; max-width: 1320px; margin: 0 auto; position: relative; z-index: 1; }
.section-sm { padding: 60px 48px; max-width: 1320px; margin: 0 auto; position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-badge {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 100px; margin-bottom: 16px;
  background: rgba(240,192,64,0.1); border: 1px solid var(--border-bright); color: var(--gold);
}
.section-title { font-size: clamp(26px,4vw,44px); font-weight: 900; line-height: 1.25; margin-bottom: 14px; }
.section-title .g { background: linear-gradient(135deg, var(--gold), var(--gold-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-title .r { background: linear-gradient(135deg, var(--red), #ff6b7a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-desc { font-size: 15px; color: var(--text-muted); max-width: 520px; margin: 0 auto; line-height: 1.85; }

/* ===== DIVIDER ===== */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-bright), transparent); margin: 0; position: relative; z-index: 1; }

/* ===== BUTTONS ===== */
.btn { padding: 13px 28px; border-radius: 12px; font-family: var(--font); font-size: 14px; font-weight: 700; cursor: pointer; border: none; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all var(--transition); }
.btn-primary { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: #050709; box-shadow: 0 5px 22px rgba(240,192,64,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 9px 32px rgba(240,192,64,0.45); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-bright); }
.btn-ghost:hover { background: rgba(240,192,64,0.07); border-color: var(--gold); color: var(--gold); }
.btn-red { background: linear-gradient(135deg, var(--red-dark), var(--red)); color: white; box-shadow: 0 5px 22px var(--red-glow); }
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 9px 32px rgba(230,57,70,0.55); }

/* ===== SCROLL TOP ===== */
#scroll-top {
  position: fixed; bottom: 28px; left: 28px; width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border: none; border-radius: 13px; cursor: pointer; font-size: 18px; color: #050709;
  box-shadow: 0 4px 18px rgba(240,192,64,0.35); z-index: 999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(12px); transition: all var(--transition);
}
#scroll-top.visible { opacity: 1; transform: translateY(0); }
#scroll-top:hover { transform: translateY(-2px) scale(1.05); }

/* ===== NOTIFICATION ===== */
#notif {
  position: fixed; bottom: 24px; right: 24px; max-width: 300px;
  background: var(--bg-card); border: 1px solid var(--border-bright);
  border-radius: 14px; padding: 14px 18px; z-index: 3000;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--gold);
  box-shadow: var(--shadow-gold), var(--shadow-card);
  transform: translateX(120%); transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
}
#notif.show { transform: translateX(0); }

/* ===== FOOTER ===== */
footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding: 70px 48px 32px; position: relative; z-index: 1; }
.footer-inner { max-width: 1320px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 18px; display: inline-flex; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.85; max-width: 290px; }
.footer-brand .socials { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.05);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer; transition: all var(--transition); text-decoration: none;
}
.social-btn:hover { background: rgba(240,192,64,0.1); border-color: var(--gold); transform: translateY(-2px); }
.footer-col h5 { font-size: 11px; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 13px; color: var(--text-muted); text-decoration: none; cursor: pointer; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 12px; color: var(--text-dim); }
.footer-warning { font-size: 11px; color: var(--text-dim); max-width: 450px; text-align: center; line-height: 1.65; padding: 8px 12px; background: rgba(230,57,70,0.05); border: 1px solid rgba(230,57,70,0.15); border-radius: 8px; }

/* ===== ANIMATE ON SCROLL ===== */
.animate-on-scroll { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(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; }

/* ===== MODAL ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.88); backdrop-filter: blur(10px); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--bg-card); border: 1px solid var(--border-bright); border-radius: 22px; padding: 32px; max-width: 580px; width: 100%; max-height: 88vh; overflow-y: auto; transform: scale(0.88) translateY(20px); transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1); }
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.modal-title { font-size: 21px; font-weight: 900; color: white; }
.modal-close { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: var(--text-muted); font-size: 17px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.modal-close:hover { background: rgba(230,57,70,0.2); color: var(--red); border-color: rgba(230,57,70,0.4); }

/* ===== INNER PAGE HERO ===== */
.inner-hero { padding: 80px 48px 60px; max-width: 1320px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.inner-hero h1 { font-size: clamp(30px,5vw,56px); font-weight: 900; line-height: 1.2; margin-bottom: 18px; }
.inner-hero p { font-size: 16px; color: var(--text-muted); line-height: 1.85; max-width: 580px; margin: 0 auto; }

/* ===== CONTENT CARDS ===== */
.content-area { max-width: 960px; margin: 0 auto; padding: 0 48px 80px; position: relative; z-index: 1; }
.c-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; margin-bottom: 22px; transition: border-color var(--transition); }
.c-card:hover { border-color: var(--border-bright); }
.c-card h2 { font-size: 19px; font-weight: 800; color: var(--gold); margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.c-card p { font-size: 14px; color: var(--text-muted); line-height: 2; margin-bottom: 12px; }
.c-card p:last-child { margin-bottom: 0; }
.c-card ul { list-style: none; }
.c-card ul li { font-size: 14px; color: var(--text-muted); line-height: 2; padding-right: 22px; position: relative; margin-bottom: 4px; }
.c-card ul li::before { content: '◈'; color: var(--gold); position: absolute; right: 0; font-size: 10px; top: 6px; }

/* ===== RESPONSIVE ===== */
@media(max-width:1100px) { .section, .section-sm { padding-right: 32px; padding-left: 32px; } .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } .inner-hero, .content-area { padding-right: 32px; padding-left: 32px; } .breadcrumb { padding: 0 32px; } footer { padding-right: 32px; padding-left: 32px; } }
@media(max-width:768px) { .section, .section-sm { padding: 56px 20px; } .inner-hero { padding: 56px 20px 40px; } .content-area { padding: 0 20px 56px; } .breadcrumb { padding: 0 20px; } footer { padding: 56px 20px 24px; } .footer-grid { grid-template-columns: 1fr; gap: 28px; } .footer-brand p { max-width: 100%; } }
