/* ============================================
   FAIQ — BASE STYLES v3
   Written from scratch. Black #0a0a0a + Gold #D4AF37
   ============================================ */

:root {
  --black: #0a0a0a;
  --black-light: #111111;
  --black-lighter: #1a1a1a;
  --gold: #D4AF37;
  --gold-light: #E8C547;
  --gold-dark: #B89628;
  --gold-faint: rgba(212, 175, 55, 0.1);
  --gold-border: rgba(212, 175, 55, 0.3);
  --white: #ffffff;
  --white-90: rgba(255, 255, 255, 0.9);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-05: rgba(255, 255, 255, 0.05);
  --error: #e74c3c;
  --success: #2ecc71;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-arch: 40px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --font-display: 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', sans-serif;
  --font-body: 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; direction: rtl; }

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--white-90);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; display: block; }

button { border: none; background: none; cursor: pointer; font-family: inherit; }

ul, ol { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: 100px 0; position: relative; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: var(--gold);
  margin-bottom: 16px; text-align: center; letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem); color: var(--white-70);
  text-align: center; max-width: 600px; margin: 0 auto 60px; line-height: 1.8;
}

.gold-line { width: 80px; height: 2px; background: var(--gold); margin: 0 auto 24px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-arch);
  font-size: 1rem; font-weight: 600; transition: all var(--transition-normal); cursor: pointer;
}

.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(212, 175, 55, 0.3); }

.btn-outline { border: 1px solid var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold-faint); transform: translateY(-2px); }

.card {
  background: var(--black-light); border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg); padding: 32px; transition: all var(--transition-normal);
}
.card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(212, 175, 55, 0.1); }

.arch-shape { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
.glow-gold { box-shadow: 0 0 60px rgba(212, 175, 55, 0.15); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--white-50); }
.text-center { text-align: center; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
  50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.6); }
}

.animate-fadeInUp { animation: fadeInUp 0.8s ease forwards; }
.animate-pulse-gold { animation: pulse-gold 2s ease-in-out infinite; }
