@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #222240;
  --accent-gold: #c9a84c;
  --accent-gold-light: #e8d48b;
  --accent-purple: #7c3aed;
  --accent-purple-light: #a78bfa;
  --text-primary: #f0f0f5;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border-color: rgba(201, 168, 76, 0.15);
  --border-hover: rgba(201, 168, 76, 0.4);
  --gradient-gold: linear-gradient(135deg, #c9a84c, #e8d48b, #c9a84c);
  --gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #12121a 100%);
  --gradient-card: linear-gradient(145deg, rgba(26,26,46,0.8), rgba(18,18,26,0.9));
  --shadow-gold: 0 0 30px rgba(201, 168, 76, 0.1);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.3);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', 'Tajawal', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-gold); border-radius: 3px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}
.navbar.scrolled { padding: 10px 0; background: rgba(10, 10, 15, 0.95); }
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 1.4rem; font-weight: 800;
  background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  transition: var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--accent-gold);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--accent-gold); }
.nav-links a:hover::after { width: 100%; }
.nav-lang {
  padding: 8px 20px; border: 1px solid var(--border-color);
  border-radius: 100px; background: transparent;
  color: var(--accent-gold); font-size: 0.85rem;
  cursor: pointer; transition: var(--transition);
  font-family: 'Tajawal', sans-serif;
}
.nav-lang:hover { background: rgba(201,168,76,0.1); border-color: var(--accent-gold); }
.mobile-menu-btn {
  display: none; background: none; border: none;
  color: var(--text-primary); font-size: 1.5rem; cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 24px 80px;
  background: var(--gradient-hero);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -30%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.05) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}
.hero-container {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 100px;
  background: rgba(201,168,76,0.1); border: 1px solid var(--border-color);
  font-size: 0.85rem; color: var(--accent-gold);
  margin-bottom: 24px; width: fit-content;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900; line-height: 1.1;
  margin-bottom: 16px; letter-spacing: -1px;
}
.hero h1 .gold {
  background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.15rem; color: var(--text-secondary);
  margin-bottom: 32px; max-width: 500px; line-height: 1.8;
}
.hero-cta {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.btn-primary {
  padding: 14px 32px; border-radius: 100px;
  background: var(--gradient-gold); color: var(--bg-primary);
  font-weight: 700; font-size: 0.95rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: var(--transition); display: inline-flex;
  align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,168,76,0.3); }
.btn-secondary {
  padding: 14px 32px; border-radius: 100px;
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border-color);
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer;
  transition: var(--transition); display: inline-flex;
  align-items: center; gap: 8px;
}
.btn-secondary:hover { border-color: var(--accent-gold); color: var(--accent-gold); }
.hero-stats {
  display: flex; gap: 40px; margin-top: 48px;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.2rem; font-weight: 900;
  background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.hero-visual {
  position: relative; display: flex;
  align-items: center; justify-content: center;
}
.hero-glow {
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, rgba(124,58,237,0.06) 50%, transparent 70%);
  position: absolute; filter: blur(40px);
  animation: float 6s ease-in-out infinite;
}
.hero-image-wrapper {
  width: 320px; height: 320px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-purple));
  padding: 3px; position: relative; z-index: 1;
}
.hero-image-inner {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem; overflow: hidden;
}
.hero-image-inner img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 24px; position: relative;
}
.section-container { max-width: 1200px; margin: 0 auto; }
.section-header {
  text-align: center; margin-bottom: 64px;
}
.section-tag {
  display: inline-block; padding: 6px 18px;
  border-radius: 100px; font-size: 0.8rem;
  background: rgba(201,168,76,0.1); color: var(--accent-gold);
  border: 1px solid var(--border-color);
  margin-bottom: 16px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-title .gold {
  background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-desc {
  font-size: 1.05rem; color: var(--text-secondary);
  max-width: 600px; margin: 0 auto;
}

/* ===== BOOKS ===== */
.books-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.book-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); position: relative;
}
.book-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-gold);
}
.book-cover {
  width: 100%; aspect-ratio: 2/3;
  overflow: hidden; position: relative;
}
.book-cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.book-card:hover .book-cover img { transform: scale(1.05); }
.book-info { padding: 24px; }
.book-series {
  font-size: 0.75rem; color: var(--accent-gold);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 8px; font-weight: 600;
}
.book-title {
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 8px; line-height: 1.4;
}
.book-subtitle {
  font-size: 0.85rem; color: var(--text-secondary);
  margin-bottom: 16px; line-height: 1.6;
}
.book-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.book-tag {
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.7rem; background: rgba(201,168,76,0.08);
  color: var(--accent-gold-light); border: 1px solid rgba(201,168,76,0.15);
}
.book-year {
  font-size: 0.75rem; color: var(--text-muted);
  margin-top: 12px; display: flex; align-items: center; gap: 6px;
}

/* ===== VENTURES ===== */
.ventures-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.venture-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); position: relative;
}
.venture-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-gold);
}
.venture-screenshot {
  width: 100%; aspect-ratio: 16/10;
  overflow: hidden; position: relative;
}
.venture-screenshot img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform 0.5s ease;
}
.venture-card:hover .venture-screenshot img { transform: scale(1.05); }
.venture-status {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 14px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
}
.venture-status.launched { background: rgba(34,197,94,0.2); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.venture-status.dev { background: rgba(201,168,76,0.2); color: var(--accent-gold); border: 1px solid rgba(201,168,76,0.3); }
.venture-info { padding: 24px; }
.venture-type {
  font-size: 0.75rem; color: var(--accent-purple-light);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 8px; font-weight: 600;
}
.venture-name {
  font-size: 1.3rem; font-weight: 800; margin-bottom: 4px;
}
.venture-name-ar {
  font-size: 0.9rem; color: var(--text-muted);
  font-family: 'Tajawal', sans-serif; margin-bottom: 12px;
}
.venture-desc {
  font-size: 0.9rem; color: var(--text-secondary);
  margin-bottom: 16px; line-height: 1.7;
  font-family: 'Tajawal', sans-serif; direction: rtl;
}
.venture-metrics {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px;
}
.venture-metric {
  padding: 6px 14px; border-radius: var(--radius-sm);
  background: rgba(124,58,237,0.1);
  font-size: 0.78rem; color: var(--accent-purple-light);
  border: 1px solid rgba(124,58,237,0.2);
}
.venture-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-gold); font-size: 0.85rem; font-weight: 600;
  text-decoration: none; transition: var(--transition);
}
.venture-link:hover { gap: 10px; }

/* ===== EXPERIENCE TIMELINE ===== */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-gold), var(--accent-purple), transparent);
}
.timeline-item {
  position: relative; margin-bottom: 40px;
  padding: 28px; background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius); transition: var(--transition);
}
.timeline-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-gold);
}
.timeline-item::before {
  content: ''; position: absolute; left: -33px; top: 32px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent-gold);
  border: 3px solid var(--bg-primary);
}
.timeline-period {
  font-size: 0.8rem; color: var(--accent-gold);
  font-weight: 600; margin-bottom: 6px;
}
.timeline-role {
  font-size: 1.15rem; font-weight: 700; margin-bottom: 4px;
}
.timeline-company {
  font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 12px;
}
.timeline-highlights {
  list-style: none; display: flex; flex-direction: column; gap: 6px;
}
.timeline-highlights li {
  font-size: 0.85rem; color: var(--text-muted);
  padding-left: 16px; position: relative;
}
.timeline-highlights li::before {
  content: '▸'; position: absolute; left: 0;
  color: var(--accent-gold); font-size: 0.8rem;
}

/* ===== SKILLS ===== */
.skills-cloud {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; max-width: 800px; margin: 0 auto;
}
.skill-chip {
  padding: 10px 24px; border-radius: 100px;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  font-size: 0.88rem; color: var(--text-primary);
  transition: var(--transition); cursor: default;
  font-weight: 500;
}
.skill-chip:hover {
  border-color: var(--accent-gold);
  background: rgba(201,168,76,0.08);
  color: var(--accent-gold-light);
  transform: translateY(-3px);
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px; transition: var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gradient-gold);
  transform: scaleX(0); transition: var(--transition);
  transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-gold);
}
.service-icon { font-size: 2.5rem; margin-bottom: 20px; }
.service-name {
  font-size: 1.2rem; font-weight: 700; margin-bottom: 8px;
}
.service-tagline {
  font-size: 0.9rem; color: var(--text-secondary);
  margin-bottom: 20px; line-height: 1.7;
  font-family: 'Tajawal', sans-serif; direction: rtl;
}
.service-list {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 24px;
}
.service-list li {
  font-size: 0.82rem; color: var(--text-muted);
  padding-left: 20px; position: relative;
  font-family: 'Tajawal', sans-serif; direction: rtl;
  padding-left: 0; padding-right: 20px;
}
.service-list li::before {
  content: '✦'; position: absolute; right: 0;
  color: var(--accent-gold); font-size: 0.65rem;
}

/* ===== CONTACT / ORDER FORM ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 40px;
}
.contact-info-card h3 {
  font-size: 1.5rem; font-weight: 800; margin-bottom: 24px;
}
.contact-detail {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--border-color);
}
.contact-detail:last-child { border-bottom: none; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(201,168,76,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-detail-text { flex: 1; }
.contact-detail-label {
  font-size: 0.75rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
}
.contact-detail-value {
  font-size: 0.95rem; color: var(--text-primary);
  text-decoration: none; display: block;
}
.contact-detail-value:hover { color: var(--accent-gold); }
.order-form {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 40px;
}
.order-form h3 {
  font-size: 1.5rem; font-weight: 800; margin-bottom: 24px;
  font-family: 'Tajawal', sans-serif; direction: rtl;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 0.85rem; color: var(--text-secondary);
  margin-bottom: 8px; font-weight: 500;
  font-family: 'Tajawal', sans-serif; direction: rtl;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary); font-size: 0.9rem;
  font-family: 'Tajawal', 'Inter', sans-serif;
  transition: var(--transition); direction: rtl;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--bg-card); color: var(--text-primary); }
.form-submit {
  width: 100%; padding: 16px;
  background: var(--gradient-gold);
  border: none; border-radius: var(--radius-sm);
  color: var(--bg-primary); font-size: 1rem;
  font-weight: 700; cursor: pointer;
  transition: var(--transition);
  font-family: 'Tajawal', sans-serif;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,168,76,0.3); }
.form-success {
  display: none; text-align: center; padding: 40px;
}
.form-success.show { display: block; }
.form-success .check { font-size: 3rem; margin-bottom: 16px; }
.form-success p {
  font-family: 'Tajawal', sans-serif; direction: rtl;
  color: var(--text-secondary); font-size: 1rem;
}

/* ===== SOCIAL LINKS (contact section) ===== */
.social-links {
  display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap;
}
.social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600;
  text-decoration: none; transition: var(--transition);
  border: 1px solid var(--border-color);
}
.social-btn.whatsapp {
  background: rgba(37,211,102,0.1); color: #25d366;
  border-color: rgba(37,211,102,0.25);
}
.social-btn.whatsapp:hover {
  background: rgba(37,211,102,0.2); transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37,211,102,0.2);
}
.social-btn.linkedin {
  background: rgba(10,102,194,0.1); color: #0a66c2;
  border-color: rgba(10,102,194,0.25);
}
.social-btn.linkedin:hover {
  background: rgba(10,102,194,0.2); transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(10,102,194,0.2);
}
.social-btn.twitter {
  background: rgba(255,255,255,0.05); color: var(--text-secondary);
  border-color: rgba(255,255,255,0.1);
}
.social-btn.twitter:hover {
  background: rgba(255,255,255,0.1); color: var(--text-primary);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 24px 30px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}
.footer-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 20px;
}
.footer-brand {
  font-size: 1.2rem; font-weight: 800;
  background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.85rem; transition: var(--transition);
}
.footer-links a:hover { color: var(--accent-gold); }
.footer-social {
  display: flex; align-items: center; gap: 16px;
}
.footer-social-link {
  color: var(--text-muted); text-decoration: none;
  transition: var(--transition); display: flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
}
.footer-social-link:hover {
  color: var(--accent-gold); border-color: var(--accent-gold);
  background: rgba(201,168,76,0.08);
}
.footer-copy {
  width: 100%; text-align: center; margin-top: 30px;
  padding-top: 20px; border-top: 1px solid var(--border-color);
  font-size: 0.8rem; color: var(--text-muted);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition); text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}
.rtl .whatsapp-float { right: auto; left: 28px; }

/* ===== RTL OVERRIDES ===== */
.rtl .timeline { padding-left: 0; padding-right: 40px; }
.rtl .timeline::before { left: auto; right: 15px; }
.rtl .timeline-item::before { left: auto; right: -33px; }
.rtl .timeline-highlights li { padding-left: 0; padding-right: 16px; }
.rtl .timeline-highlights li::before { left: auto; right: 0; }
.rtl .service-list li { padding-right: 0; padding-left: 20px; }
.rtl .service-list li::before { right: auto; left: 0; }
.rtl .service-card::before { transform-origin: right; }
.rtl .hero-content { text-align: right; }
.rtl .hero-subtitle { margin-right: 0; margin-left: auto; }
.rtl .hero-cta { justify-content: flex-start; }
.rtl .section-desc { text-align: right; margin-right: 0; }

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .books-grid, .ventures-grid, .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,10,15,0.98); padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
  }
  .books-grid, .ventures-grid, .services-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 24px; }
  .hero-image-wrapper { width: 240px; height: 240px; }
  .timeline { padding-left: 30px; }
}
