/* ============================================
   HADOOTA — Stories That Stop The Scroll
   Complete Design System
   ============================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #000000;
  --black-soft: #0A0A0A;
  --red: #CC0000;
  --red-bright: #F0332D;
  --white: #FFFFFF;
  --gray-900: #141414;
  --gray-800: #1E1E1E;
  --gray-700: #2A2A2A;
  --gray-600: #3A3A3A;
  --muted: #888888;
  --muted-light: #AAAAAA;
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-arabic-display: 'Cairo', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic: 'Cairo', 'Noto Sans Arabic', sans-serif;
  --max-width: 1280px;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 300;
}

/* Film Grain Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  z-index: 9999;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }

.arabic {
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
}

.arabic-center {
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: center;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  z-index: 10000;
  transition: width 0.1s ease;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition);
}

.nav-scrolled {
  background: rgba(0, 0, 0, 0.95);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo svg {
  height: 42px;
  width: auto;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.hero-logo-img {
  height: 60px;
  width: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
  opacity: 0.85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted-light);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  padding: 8px 0;
}

.nav-link span.ar {
  display: block;
  font-family: var(--font-arabic);
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 50px;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(204, 0, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 24px;
  position: relative;
}

.section-dark {
  background: var(--gray-900);
}

.section-darker {
  background: var(--black-soft);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title-ar {
  font-family: var(--font-arabic-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--muted-light);
  margin-bottom: 24px;
  direction: rtl;
  text-align: left;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.section-subtitle-ar {
  font-family: var(--font-arabic);
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 48px;
  direction: rtl;
  text-align: right;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(204, 0, 0, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-logo {
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.hero-logo svg {
  height: 72px;
  width: auto;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.hero-headline-ar {
  font-family: var(--font-arabic-display);
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  direction: rtl;
  position: relative;
  z-index: 1;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-light);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.hero-sub-ar {
  font-family: var(--font-arabic);
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: var(--muted);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 40px;
  direction: rtl;
  position: relative;
  z-index: 1;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--muted));
  overflow: hidden;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--red-bright);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ===== TWO PATHS / DUAL CARDS ===== */
.paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.path-card {
  background: var(--gray-900);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.path-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.path-card:hover {
  transform: translateY(-6px);
  border-color: rgba(204, 0, 0, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.path-card:hover::before {
  opacity: 1;
}

.path-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(204, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.path-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--red-bright);
}

.path-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.path-title-ar {
  font-family: var(--font-arabic-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--muted-light);
  margin-bottom: 16px;
  direction: rtl;
  text-align: left;
}

.path-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.path-desc-ar {
  font-family: var(--font-arabic);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
  direction: rtl;
  text-align: right;
}

.path-audience {
  list-style: none;
  margin-top: 20px;
}

.path-audience li {
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--muted-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 8px;
}

.path-audience li::before {
  content: '▶';
  color: var(--red);
  font-size: 0.6rem;
}

/* ===== STATS / MARKET ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.stat-item {
  text-align: center;
  padding: 40px 24px;
  background: var(--gray-900);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition);
}

.stat-item:hover {
  border-color: rgba(204, 0, 0, 0.2);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5rem);
  color: var(--red-bright);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--muted-light);
  margin-bottom: 4px;
}

.stat-label-ar {
  font-family: var(--font-arabic);
  font-size: 0.85rem;
  color: var(--muted);
  direction: rtl;
}

/* ===== WHY HADOOTA ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  padding: 36px 28px;
  background: var(--gray-900);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: rgba(204, 0, 0, 0.2);
  background: var(--gray-800);
}

.feature-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: rgba(204, 0, 0, 0.3);
  line-height: 1;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-title-ar {
  font-family: var(--font-arabic);
  font-size: 0.9rem;
  color: var(--muted-light);
  margin-bottom: 12px;
  direction: rtl;
  text-align: left;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== PARTNER LOGOS ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.partner-card {
  background: var(--gray-900);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition);
}

.partner-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.partner-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.partner-type {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gray-700), transparent);
}

.step-item {
  text-align: center;
  position: relative;
}

.step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gray-900);
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red-bright);
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-title-ar {
  font-family: var(--font-arabic);
  font-size: 0.9rem;
  color: var(--muted-light);
  margin-bottom: 12px;
  direction: rtl;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== SECTORS GRID ===== */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.sector-card {
  padding: 32px 28px;
  background: var(--gray-900);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition);
}

.sector-card:hover {
  border-color: rgba(204, 0, 0, 0.2);
  transform: translateY(-4px);
}

.sector-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.sector-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.sector-name-ar {
  font-family: var(--font-arabic);
  font-size: 0.85rem;
  color: var(--muted-light);
  margin-bottom: 10px;
  direction: rtl;
  text-align: left;
}

.sector-example {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== PORTFOLIO GRID ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.script-card {
  background: var(--gray-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.script-card:hover {
  border-color: rgba(204, 0, 0, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.script-preview {
  height: 220px;
  background: linear-gradient(135deg, var(--gray-800), var(--gray-900));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.script-preview::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(204, 0, 0, 0.08), transparent 70%);
}

.script-preview-icon {
  width: 60px;
  height: 60px;
  fill: rgba(255, 255, 255, 0.15);
  transition: fill var(--transition);
}

.script-card:hover .script-preview-icon {
  fill: rgba(204, 0, 0, 0.4);
}

.script-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.script-genre {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-bright);
  background: rgba(204, 0, 0, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.script-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.script-title-ar {
  font-family: var(--font-arabic);
  font-size: 1rem;
  color: var(--muted-light);
  margin-bottom: 8px;
  direction: rtl;
  text-align: left;
}

.script-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.script-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  transition: color var(--transition);
}

.script-link:hover {
  color: var(--red-bright);
}

/* ===== PACKAGES ===== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.package-card {
  background: var(--gray-900);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition);
  position: relative;
}

.package-card.featured {
  border-color: var(--red);
  background: linear-gradient(180deg, rgba(204, 0, 0, 0.05), var(--gray-900));
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
}

.package-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.package-name-ar {
  font-family: var(--font-arabic);
  font-size: 1.1rem;
  color: var(--muted-light);
  margin-bottom: 20px;
  direction: rtl;
  text-align: left;
}

.package-features {
  list-style: none;
  margin-bottom: 28px;
}

.package-features li {
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--muted-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.package-features li::before {
  content: '✓';
  color: var(--red-bright);
  font-weight: 700;
  flex-shrink: 0;
}

.package-price {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ===== CONTACT ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-info {
  padding: 40px;
  background: var(--gray-900);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-email {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--red-bright);
  margin: 16px 0;
  display: inline-block;
}

.contact-path {
  padding: 24px;
  background: var(--gray-800);
  border-radius: var(--radius);
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color var(--transition);
}

.contact-path:hover {
  border-color: rgba(204, 0, 0, 0.2);
}

.contact-path h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.contact-path p {
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-form {
  padding: 40px;
  background: var(--gray-900);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted-light);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group label .ar {
  font-family: var(--font-arabic);
  font-size: 0.8rem;
  color: var(--muted);
  margin-right: 6px;
}

.form-group select,
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--gray-800);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color var(--transition);
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(204, 0, 0, 0.1);
  border: 1px solid var(--red);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.form-success.show {
  display: block;
  animation: fadeInUp 0.4s ease;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black-soft);
  padding: 60px 24px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo svg {
  height: 48px;
  width: auto;
}

.footer-info {
  text-align: right;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--gray-600);
}

.footer-email {
  font-size: 0.85rem;
  color: var(--red-bright);
  margin-top: 4px;
  display: inline-block;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 24px;
  text-align: center;
  background: linear-gradient(180deg, var(--black), var(--gray-900));
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.08), transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.cta-title-ar {
  font-family: var(--font-arabic-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--muted-light);
  margin-bottom: 32px;
  direction: rtl;
  position: relative;
  z-index: 1;
}

/* ===== PARALLAX BG ===== */
.parallax-bg {
  position: relative;
  overflow: hidden;
}

.parallax-bg::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(204, 0, 0, 0.06), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.parallax-bg > * {
  position: relative;
  z-index: 1;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Play icon pulse */
.play-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ===== RESPONSIVE ===== */

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

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

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

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

  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-logo-img { height: 28px; }
  .hero-logo-img { height: 44px; }
  .footer-logo-img { height: 26px; }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 8px 0;
  }

  .hamburger {
    display: flex;
  }

  .section {
    padding: 70px 20px;
  }

  .paths-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

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

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .steps-grid::before {
    display: none;
  }

  .sectors-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 90vh;
    padding: 100px 20px 60px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-info {
    text-align: center;
  }

  .path-card {
    padding: 32px 24px;
  }

  .contact-info,
  .contact-form {
    padding: 28px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-logo svg {
    height: 56px;
  }

  .nav-logo svg {
    height: 36px;
  }

  .nav-logo-img { height: 24px; }
  .hero-logo-img { height: 38px; }
  .footer-logo-img { height: 22px; }

  .stat-number {
    font-size: 3rem;
  }

  .partner-name {
    font-size: 1.1rem;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }
}

/* Very Small */
@media (max-width: 360px) {
  .section {
    padding: 60px 16px;
  }

  .hero-headline {
    font-size: 2.2rem;
  }

  .path-card {
    padding: 24px 20px;
  }
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 100px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover { color: var(--accent); }

.faq-question h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 1px;
  margin: 0;
  padding-right: 30px;
}

.faq-question .ar {
  font-family: 'Cairo', sans-serif;
  font-size: 0.85rem;
  color: #888;
  font-weight: 400;
  display: block;
  margin-top: 4px;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--red-bright);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 24px;
}

.faq-answer p { color: #ccc; line-height: 1.8; margin-bottom: 8px; }
.faq-answer .ar-text { font-family: 'Cairo', sans-serif; direction: rtl; text-align: right; color: #aaa; }

/* ===== EDU SECTION (What is Micro-Drama) ===== */
.edu-section {
  padding: 100px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.edu-content { color: #ccc; line-height: 1.9; font-size: 1.05rem; }
.edu-content .ar-text { font-family: 'Cairo', sans-serif; direction: rtl; text-align: right; margin-top: 20px; color: #aaa; }

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background: #141414;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(204,0,0,0.15);
}

.blog-card-content { padding: 30px; }
.blog-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 1px; margin-bottom: 12px; }
.blog-card p { color: #888; line-height: 1.7; }
.blog-card .tag { color: var(--red-bright); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; display: block; }

/* Nav insights link */
.nav-links li a .ar { display: block; font-size: 0.7rem; opacity: 0.6; }

@media (max-width: 768px) {
  .faq-question h3 { font-size: 1.1rem; }
  .faq-answer { font-size: 0.95rem; }
}
