/* ==========================================================================
   THE LEGEND — MR. MOHAMED EL GENDY | STANDALONE GTA V PORTFOLIO & APP PORTAL
   100% Visual & Typographic Fidelity to Nano Banana (Design 1)
   Fluid Responsiveness: 320px Mobile -> 768px Design 1 -> 1440p Desktop -> 4K
   ========================================================================== */

/* 1. Local Authentic GTA & Display Font Faces */
@font-face {
  font-family: 'Pricedown Bl';
  src: url('assets/fonts/pricedown-bl.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Anton Local';
  src: url('assets/fonts/Anton-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bebas Neue Local';
  src: url('assets/fonts/bebas-neue-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-obsidian: #08080a;
  --bg-carbon: #111216;
  --bg-panel: #16171c;
  --bg-hud: rgba(22, 19, 16, 0.9);
  --gold-bright: #fff099;
  --gold-primary: #f5b935;
  --gold-mid: #d49b27;
  --gold-border: #c8962e;
  --gold-dark: #7c5812;
  --text-white: #ffffff;
  --text-cream: #f8f1dc;
  --text-muted: #cbd5e1;
  --ink-black: #050507;

  /* Authentic Nano Banana GTA Font Stack */
  --font-gta-pricedown: 'Pricedown Bl', 'Anton Local', Impact, sans-serif;
  --font-gta-title-en: 'Anton Local', 'Bebas Neue Local', Impact, sans-serif;
  --font-gta-hud: 'Barlow Condensed', system-ui, -apple-system, sans-serif;
  --font-ar-display: 'Almarai', 'Cairo', sans-serif;
  --font-ar-body: 'Cairo', 'Almarai', system-ui, -apple-system, sans-serif;

  --container-max: 1440px;
}

@media (min-width: 2000px) {
  :root {
    --container-max: 1960px;
  }
}

@media (min-width: 3000px) {
  :root {
    --container-max: 2680px;
  }
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-white);
  font-family: var(--font-ar-body);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-obsidian);
  color: var(--text-white);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  line-height: 1.5;
  border-inline: 3px solid var(--gold-border);
}

/* ==========================================================================
   AUTHENTIC NANO BANANA DUAL-LAYER COMIC STROKE + METALLIC GRADIENT TYPOGRAPHY
   Base element paints the heavy black comic outline + 3D block shadow first;
   ::after paints the vibrant metallic gold / white fill cleanly ON TOP.
   ========================================================================== */
.gta-stroked-gold,
.gta-stroked-white,
.gta-stroked-gold-ar {
  position: relative;
  display: inline-block;
  z-index: 1;
  color: #050507;
}

.gta-stroked-gold {
  -webkit-text-stroke: clamp(5px, 0.62vw, 11px) #050507;
  paint-order: stroke fill;
  text-shadow:
    0 3px 0 #000000,
    0 6px 0 #000000,
    0 9px 18px rgba(0, 0, 0, 0.95);
}

.gta-stroked-white {
  -webkit-text-stroke: clamp(4.5px, 0.5vw, 9px) #050507;
  paint-order: stroke fill;
  text-shadow:
    0 3px 0 #000000,
    0 5px 0 #000000,
    0 8px 16px rgba(0, 0, 0, 0.95);
}

.gta-stroked-gold-ar {
  -webkit-text-stroke: clamp(5px, 0.58vw, 10px) #050507;
  paint-order: stroke fill;
  text-shadow:
    0 3px 0 #000000,
    0 6px 0 #000000,
    0 9px 18px rgba(0, 0, 0, 0.95);
}

/* Foreground Metallic Gold / Crisp White Layer Painted ON TOP via ::after */
.gta-stroked-gold::after,
.gta-stroked-white::after,
.gta-stroked-gold-ar::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  -webkit-text-stroke: 0 transparent;
  text-shadow: none;
}

.gta-stroked-gold::after {
  background: linear-gradient(180deg, #fffad1 0%, #ffe169 28%, #f5b935 58%, #c47b10 88%, #f7cb52 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.gta-stroked-white::after {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.gta-stroked-gold-ar::after {
  background: linear-gradient(180deg, #fff9c4 0%, #ffe066 32%, #f5b935 65%, #c88214 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ==========================================================================
   1. TOP GTA NAVBAR (Matches Nano Banana Design 1 with Pricedown Font)
   ========================================================================== */
.gta-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  direction: ltr;
  background:
    radial-gradient(circle at 3% 50%, rgba(245, 185, 53, 0.14) 1px, transparent 1.6px),
    radial-gradient(circle at 97% 50%, rgba(245, 185, 53, 0.14) 1px, transparent 1.6px),
    linear-gradient(180deg, #1b1719 0%, #100f13 100%);
  background-size: 10px 10px, 10px 10px, 100% 100%;
  border-bottom: 3px solid var(--gold-border);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.9);
}

.gta-navbar-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(12px, 2.5vw, 44px);
  height: clamp(64px, 6.2vw, 94px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.8vw, 28px);
}

/* Top-Left Bevelled Gold "THE LEGEND" Logo (Pricedown Font) */
.gta-logo-link {
  display: inline-flex;
  align-items: center;
  gap: clamp(4px, 0.45vw, 8px);
  text-decoration: none;
  flex-shrink: 0;
  padding: clamp(3px, 0.35vw, 6px) clamp(8px, 0.8vw, 14px);
  background: linear-gradient(180deg, #2a2115 0%, #120e09 100%);
  border: 2.5px solid var(--gold-border);
  border-radius: 6px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.9),
    inset 0 0 0 1.5px #000000;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.gta-logo-link:hover {
  transform: scale(1.03);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.95),
    0 0 16px rgba(245, 185, 53, 0.55),
    inset 0 0 0 1.5px #000000;
}

.gta-logo-the {
  position: relative;
  z-index: 1;
  font-family: var(--font-gta-pricedown);
  font-size: clamp(18px, 1.85vw, 32px);
  line-height: 1;
  letter-spacing: 0.03em;
  color: #050507;
  -webkit-text-stroke: 4px #050507;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #000000;
}

.gta-logo-the::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: 2;
  -webkit-text-stroke: 0 transparent;
  text-shadow: none;
  background: linear-gradient(180deg, #fff9c4 0%, #f5b935 55%, #b87910 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.gta-logo-leader-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2px, 0.2vw, 4px) clamp(7px, 0.65vw, 12px);
  background: linear-gradient(180deg, #f7cb52 0%, #c88719 100%);
  border: 2px solid #050507;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.gta-logo-leader {
  position: relative;
  z-index: 1;
  font-family: var(--font-gta-pricedown);
  font-size: clamp(20px, 2.05vw, 35px);
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: #050507;
  -webkit-text-stroke: 4.5px #050507;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #000000;
}

.gta-logo-leader::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: 2;
  -webkit-text-stroke: 0 transparent;
  text-shadow: none;
  background: linear-gradient(180deg, #ffffff 0%, #fff3a8 50%, #f5b935 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Desktop Navigation Links (Pricedown Font like Nano Banana) */
.gta-nav-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  max-width: 920px;
  height: 100%;
}

@media (min-width: 2000px) {
  .gta-nav-links {
    max-width: 1320px;
  }
}

.gta-nav-item {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-inline: clamp(6px, 1vw, 18px);
  text-decoration: none;
  font-family: var(--font-gta-pricedown);
  font-size: clamp(16px, 1.72vw, 31px);
  letter-spacing: 0.03em;
  color: #ffffff;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-text-stroke: clamp(3px, 0.32vw, 5.5px) #050507;
  paint-order: stroke fill;
  text-shadow:
    0 2px 0 #000000,
    0 4px 8px rgba(0, 0, 0, 0.9);
  transition: color 0.2s ease, transform 0.2s ease;
}

.gta-nav-item:hover,
.gta-nav-item.active {
  color: var(--gold-bright);
  transform: translateY(-1px);
}

.gta-nav-item::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 8%;
  right: 8%;
  height: 4px;
  background: linear-gradient(90deg, #f5b935, #fff6b3, #f5b935);
  box-shadow: 0 0 12px rgba(245, 185, 53, 0.95);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.gta-nav-item.active::after,
.gta-nav-item:hover::after {
  transform: scaleX(1);
}

/* Mobile Touch Menu Button */
.gta-mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #262118 0%, #14120e 100%);
  border: 2px solid var(--gold-border);
  color: var(--gold-bright);
  border-radius: 8px;
  padding: 8px 14px;
  font-family: var(--font-gta-pricedown);
  font-size: 18px;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.75);
}

/* Mobile Navigation Drawer */
.gta-mobile-drawer {
  display: none;
  background: rgba(12, 12, 16, 0.98);
  border-bottom: 3px solid var(--gold-border);
  padding: 16px 18px 22px;
  direction: rtl;
}

.gta-mobile-drawer.open {
  display: block;
}

.mobile-drawer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(200, 150, 46, 0.45);
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  font-family: var(--font-ar-body);
  font-weight: 800;
  font-size: 14px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: rgba(245, 185, 53, 0.16);
  border-color: var(--gold-bright);
}

/* ==========================================================================
   2. HERO SECTION (100% Design 1 Multi-Layer Composition + 3D Parallax)
   ========================================================================== */
.gta-hero {
  position: relative;
  width: 100%;
  min-height: clamp(540px, 58vw, 1180px);
  background-color: #160c0c;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 4px solid var(--gold-border);
  direction: ltr;
}

/* Layer 1: Sunset Skyline Panorama (Big Ben Left + Sun Center + Cairo Right) */
.hero-layer-skyline {
  position: absolute;
  inset: -2%;
  z-index: 1;
  background-image: url('assets/hero-skyline.webp'), url('assets/hero-skyline.jpg');
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
  transform: translate3d(var(--parallax-bg-x, 0px), var(--parallax-bg-y, 0px), 0) scale(1.03);
  transition: transform 0.15s ease-out;
  will-change: transform;
}

/* Layer 2: Animated Golden Sun Aura */
.hero-layer-sun-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 52% 38%, rgba(255, 245, 165, 0.36) 0%, rgba(245, 168, 25, 0.14) 34%, transparent 64%);
  pointer-events: none;
  animation: sunPulseGlow 5s ease-in-out infinite alternate;
}

@keyframes sunPulseGlow {
  0% { opacity: 0.85; }
  100% { opacity: 1; }
}

/* Layer 3: Mr. Mohamed El Gendy Foreground Cutout */
.hero-layer-character {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate3d(calc(-50% + var(--parallax-char-x, 0px)), var(--parallax-char-y, 0px), 0);
  z-index: 3;
  height: 97%;
  width: auto;
  max-width: 92vw;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.12s ease-out;
  will-change: transform;
}

.hero-layer-character picture {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  width: auto;
}

.hero-character-img {
  height: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  filter:
    drop-shadow(0 -2px 18px rgba(255, 215, 90, 0.38))
    drop-shadow(0 12px 28px rgba(0, 0, 0, 0.92));
  user-select: none;
  -webkit-user-drag: none;
}

/* Layer 4: Dark Comic Halftone Edge Vignette */
.hero-layer-vignette {
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    linear-gradient(180deg, transparent 0%, transparent 56%, rgba(8, 8, 10, 0.65) 78%, rgba(8, 8, 10, 0.95) 100%);
  pointer-events: none;
}

.hero-layer-vignette::before {
  content: '';
  position: absolute;
  inset: 50% 0 0 0;
  background-image: radial-gradient(rgba(212, 155, 39, 0.16) 1.2px, transparent 1.6px);
  background-size: 8px 8px;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 80%);
}

/* Layer 5: Interactive Content Stage */
.hero-content-stage {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: var(--container-max);
  min-height: clamp(540px, 58vw, 1180px);
  margin-inline: auto;
  padding-inline: clamp(16px, 3.2vw, 56px);
  padding-block-start: clamp(24px, 4vw, 64px);
  padding-block-end: clamp(26px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* GTA Mission HUD Box (Top-Left / Mid-Left matching Design 1) */
.gta-mission-hud {
  position: absolute;
  top: clamp(26px, 6.5vw, 108px);
  left: clamp(16px, 3.2vw, 56px);
  width: clamp(240px, 24.5vw, 410px);
  background: linear-gradient(180deg, rgba(32, 27, 22, 0.93) 0%, rgba(15, 13, 11, 0.96) 100%);
  border: 2.5px solid var(--gold-border);
  border-radius: 10px;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.9),
    inset 0 0 0 2px #09090b,
    0 0 20px rgba(245, 185, 53, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  transform: translate3d(var(--parallax-hud-x, 0px), var(--parallax-hud-y, 0px), 0);
  transition: transform 0.15s ease-out, box-shadow 0.25s ease;
}

.hud-header {
  padding: clamp(7px, 0.7vw, 12px) clamp(12px, 1.1vw, 18px);
  background: linear-gradient(90deg, rgba(45, 36, 24, 0.96) 0%, rgba(24, 20, 15, 0.96) 100%);
  border-bottom: 2px solid rgba(200, 150, 46, 0.55);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hud-title {
  font-family: var(--font-gta-hud);
  font-size: clamp(18px, 1.55vw, 27px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.03em;
  line-height: 1;
  text-shadow: 0 2px 4px #000000;
}

.hud-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-bright);
  animation: hudBlink 1.8s infinite ease-in-out;
}

@keyframes hudBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.hud-body {
  padding: clamp(8px, 0.8vw, 14px);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 0.75vw, 13px);
}

.hud-row {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.8vw, 14px);
  padding: clamp(4px, 0.4vw, 7px);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(200, 150, 46, 0.24);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hud-row:hover {
  background: rgba(245, 185, 53, 0.14);
  border-color: var(--gold-bright);
  transform: translateX(3px);
}

.hud-icon-box {
  width: clamp(34px, 2.7vw, 46px);
  height: clamp(34px, 2.7vw, 46px);
  border-radius: 7px;
  background: #141210;
  border: 1.5px solid var(--gold-border);
  box-shadow: inset 0 0 8px rgba(245, 185, 53, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  fill: #f8e3a1;
  color: #f8e3a1;
}

.hud-icon-box svg {
  width: 62%;
  height: 62%;
  fill: currentColor;
}

.hud-stat-content {
  flex: 1;
  min-width: 0;
}

.hud-stat-label {
  font-family: var(--font-gta-hud);
  font-size: clamp(14px, 1.15vw, 20px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-shadow: 0 1px 3px #000000;
  margin-block-end: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bullet-dot {
  color: var(--gold-primary);
  margin-inline-end: 4px;
}

/* 10-Segment Gold Progress Bar */
.hud-segments {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 2.5px;
  background: #090807;
  padding: 2.5px;
  border-radius: 4px;
  border: 1px solid rgba(200, 150, 46, 0.55);
}

.hud-seg {
  height: clamp(7px, 0.55vw, 11px);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1.5px;
  transform: scaleY(0.3);
  opacity: 0.25;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, background 0.35s ease;
}

.hud-seg.filled {
  background: linear-gradient(180deg, #fff3ad 0%, #eab308 55%, #b87e14 100%);
  box-shadow: 0 0 6px rgba(245, 185, 53, 0.7);
  transform: scaleY(1);
  opacity: 1;
}

.hud-tooltip-bar {
  direction: rtl;
  font-family: var(--font-ar-body);
  font-size: clamp(11px, 0.8vw, 13.5px);
  font-weight: 700;
  color: var(--gold-bright);
  background: rgba(8, 8, 12, 0.92);
  border: 1px solid rgba(200, 150, 46, 0.38);
  border-radius: 6px;
  padding: 6px 10px;
  text-align: right;
  line-height: 1.4;
}

/* Hero Lower-Center Headlines & CTA Overlay */
.hero-center-overlay {
  width: 100%;
  max-width: 98%;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block-end: clamp(6px, 1.2vw, 24px);
}

/* Main English Title: THE LEGEND - MR. MOHAMED EL GENDY (Nano Banana Anton Blockbuster Style) */
.hero-main-title {
  font-family: var(--font-gta-title-en);
  font-size: clamp(22px, 4.05vw, 78px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-block-end: clamp(6px, 0.65vw, 12px);
}

/* Arabic Subtitle: الأستاذ محمد الجندي | أسطورة اللغة الإنجليزية للثانوية العامة */
.hero-arabic-subtitle {
  direction: rtl;
  font-family: var(--font-ar-display);
  font-size: clamp(14.5px, 2.15vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
  margin-block-end: clamp(16px, 1.7vw, 30px);
}

/* Dual Direct Download CTA Buttons Row (Matches Nano Banana Design 1 100%) */
.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 36px);
  flex-wrap: wrap;
  width: 100%;
}

/* Left Button: Glowing Gold Direct iPhone (iOS) Install Button */
.btn-gta-ios {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1vw, 18px);
  min-width: clamp(215px, 21vw, 375px);
  padding: clamp(10px, 1vw, 17px) clamp(18px, 1.9vw, 34px);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff8c8 0%, #f8c947 32%, #d9961b 72%, #fde48e 100%);
  border: 2.5px solid #ffffff;
  outline: 2.5px solid #050507;
  box-shadow:
    0 0 26px rgba(245, 185, 53, 0.88),
    0 0 54px rgba(245, 185, 53, 0.42),
    0 8px 20px rgba(0, 0, 0, 0.88),
    inset 0 2px 2px rgba(255, 255, 255, 0.9);
  color: #09090b;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}

.btn-gta-ios::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transform: skewX(-25deg);
  animation: iosBtnShimmer 3.2s infinite;
}

@keyframes iosBtnShimmer {
  0% { left: -120%; }
  45%, 100% { left: 160%; }
}

.btn-gta-ios:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 0 36px rgba(255, 215, 70, 1),
    0 0 70px rgba(245, 185, 53, 0.65),
    0 12px 26px rgba(0, 0, 0, 0.92);
}

.apple-logo-svg {
  width: clamp(28px, 2.35vw, 42px);
  height: clamp(28px, 2.35vw, 42px);
  fill: #050507;
  color: #050507;
  flex-shrink: 0;
}

.ios-btn-text {
  direction: rtl;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: var(--font-ar-display);
  font-weight: 800;
  font-size: clamp(15px, 1.32vw, 23px);
  line-height: 1.2;
  color: #050507;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Right Button: Sleek Carbon Google Play Button */
.btn-gta-android {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1vw, 18px);
  min-width: clamp(215px, 21vw, 375px);
  padding: clamp(10px, 1vw, 17px) clamp(18px, 1.9vw, 34px);
  border-radius: 12px;
  background: linear-gradient(180deg, #17191f 0%, #07080a 100%);
  border: 2.5px solid rgba(255, 255, 255, 0.85);
  outline: 2.5px solid #050507;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.92),
    0 0 18px rgba(245, 185, 53, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, box-shadow 0.22s ease;
}

.btn-gta-android:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--gold-bright);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.95),
    0 0 28px rgba(245, 185, 53, 0.45);
}

.play-logo-svg {
  width: clamp(28px, 2.35vw, 42px);
  height: clamp(28px, 2.35vw, 42px);
  flex-shrink: 0;
}

.android-btn-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.12;
}

.android-btn-sub {
  font-family: var(--font-ar-display);
  font-size: clamp(11.5px, 0.92vw, 16px);
  font-weight: 800;
  color: #e2e8f0;
}

.android-btn-main {
  font-family: var(--font-gta-hud);
  font-size: clamp(19px, 1.75vw, 31px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   3. SECTION 2: TEACHING SYSTEM ("نظام التدريس الأقوى للثانوية العامة")
   ========================================================================== */
.gta-teaching-section {
  position: relative;
  width: 100%;
  padding-block: clamp(16px, 2vw, 32px);
  padding-inline: clamp(10px, 1.8vw, 32px);
  background:
    radial-gradient(rgba(245, 185, 53, 0.1) 1px, transparent 1.5px),
    linear-gradient(180deg, #0b0c0e 0%, #101216 50%, #0b0c0e 100%);
  background-size: 10px 10px, 100% 100%;
  border-top: 2px solid var(--gold-dark);
  border-bottom: 4px solid var(--gold-border);
}

.gta-teaching-frame {
  max-width: var(--container-max);
  margin-inline: auto;
  border: 2.5px solid var(--gold-border);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 185, 53, 0.09) 0%, transparent 60%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 2px, transparent 2px, transparent 8px),
    #121317;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.92),
    inset 0 0 0 2px #000000;
  padding: clamp(22px, 2.6vw, 46px) clamp(14px, 2.4vw, 42px);
}

.section-title-wrap {
  width: 100%;
  text-align: center;
  margin-block-end: clamp(18px, 2.2vw, 34px);
}

.gta-section-title-ar {
  direction: rtl;
  font-family: var(--font-ar-display);
  font-size: clamp(23px, 2.95vw, 54px);
  font-weight: 800;
  line-height: 1.25;
}

/* Academic Stages & Grades Ribbon (Preparatory & Secondary) */
.gta-stages-ribbon {
  direction: rtl;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 18px);
  margin-block-start: clamp(12px, 1.3vw, 20px);
}

.stage-pill-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(10, 11, 14, 0.88);
  border: 1.5px solid rgba(200, 150, 46, 0.55);
  border-radius: 12px;
  padding: 8px 14px;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.75),
    inset 0 0 12px rgba(245, 185, 53, 0.08);
}

.stage-main-tag {
  font-family: var(--font-ar-display);
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 800;
  color: var(--gold-bright);
  margin-inline-end: 4px;
}

.grade-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-ar-body);
  font-size: clamp(11.5px, 0.88vw, 14.5px);
  font-weight: 700;
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 4px 11px;
  border-radius: 999px;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.grade-chip.highlight-chip {
  background: rgba(245, 185, 53, 0.16);
  border-color: rgba(245, 185, 53, 0.55);
  color: #fde68a;
  font-weight: 800;
}

/* 3 Comic Cards Grid — Left-to-Right Order Matching Design 1 */
.teaching-cards-grid {
  direction: ltr;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.8vw, 32px);
}

.gta-feature-card {
  position: relative;
  background: #0c0d10;
  border: 2.5px solid var(--gold-border);
  border-radius: 10px;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.88),
    inset 0 0 0 2px #000000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.gta-feature-card:hover,
.gta-feature-card.active-card {
  transform: translateY(-6px);
  border-color: var(--gold-bright);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.95),
    0 0 26px rgba(245, 185, 53, 0.42),
    inset 0 0 0 2px #000000;
}

.feature-card-top-bar,
.feature-card-bottom-bar {
  direction: rtl;
  background: linear-gradient(180deg, #15171c 0%, #0b0c0f 100%);
  padding: clamp(9px, 1vw, 16px) clamp(6px, 0.8vw, 14px);
  text-align: center;
  font-family: var(--font-ar-display);
  font-size: clamp(13.5px, 1.32vw, 24px);
  font-weight: 800;
  color: #ffffff;
  text-shadow:
    -1.5px -1.5px 0 #000,
    1.5px -1.5px 0 #000,
    -1.5px 1.5px 0 #000,
    1.5px 1.5px 0 #000,
    0 2px 5px #000000;
  line-height: 1.28;
  white-space: nowrap;
}

.feature-card-top-bar {
  border-bottom: 1.5px solid rgba(200, 150, 46, 0.38);
}

.feature-card-bottom-bar {
  border-top: 1.5px solid rgba(200, 150, 46, 0.38);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.feature-card-sub-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ar-body);
  font-size: clamp(11px, 0.85vw, 15px);
  font-weight: 800;
  color: var(--gold-bright);
  background: rgba(245, 185, 53, 0.14);
  border: 1px solid rgba(245, 185, 53, 0.42);
  padding: 3px 12px;
  border-radius: 99px;
  white-space: normal;
  text-shadow: none;
}

.feature-card-art-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.92;
  background: #0d0e12;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card-art-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

.feature-card-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.gta-feature-card:hover .feature-card-art {
  transform: scale(1.06);
}

/* Interactive Educational Blueprint Drawer inside Section 2 */
.teaching-blueprint-drawer {
  direction: rtl;
  margin-block-start: clamp(20px, 2.2vw, 36px);
  background: linear-gradient(135deg, rgba(22, 24, 30, 0.96) 0%, rgba(12, 13, 17, 0.98) 100%);
  border: 2px solid var(--gold-border);
  border-radius: 10px;
  padding: clamp(18px, 2vw, 32px);
  box-shadow: inset 0 0 24px rgba(245, 185, 53, 0.08);
}

.blueprint-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-end: 18px;
  border-bottom: 1px solid rgba(200, 150, 46, 0.32);
  padding-block-end: 14px;
}

.blueprint-tab-btn {
  font-family: var(--font-ar-body);
  font-size: clamp(13px, 1vw, 18px);
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1.5px solid rgba(200, 150, 46, 0.45);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.blueprint-tab-btn.active,
.blueprint-tab-btn:hover {
  background: linear-gradient(135deg, #f5b935 0%, #c88719 100%);
  color: #09090b;
  border-color: #ffffff;
  box-shadow: 0 0 16px rgba(245, 185, 53, 0.5);
}

.blueprint-panel {
  display: none;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(18px, 2.2vw, 36px);
  align-items: center;
  animation: fadeInPanel 0.3s ease-out;
}

.blueprint-panel.active {
  display: grid;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.blueprint-title {
  font-family: var(--font-ar-display);
  font-size: clamp(18px, 1.5vw, 28px);
  font-weight: 800;
  color: var(--gold-bright);
  margin-block-end: 10px;
}

.blueprint-desc {
  font-size: clamp(14px, 1.05vw, 19px);
  color: #e2e8f0;
  line-height: 1.75;
  margin-block-end: 14px;
}

.blueprint-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blueprint-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: clamp(13.5px, 1vw, 18px);
  font-weight: 700;
  color: #ffffff;
}

.blueprint-list li .check-gold {
  color: var(--gold-primary);
  font-weight: 900;
  flex-shrink: 0;
}

.blueprint-example-box {
  background: rgba(9, 9, 12, 0.92);
  border: 1.5px solid rgba(245, 185, 53, 0.5);
  border-radius: 10px;
  padding: clamp(14px, 1.5vw, 24px);
}

.example-tag {
  display: inline-block;
  background: rgba(245, 185, 53, 0.18);
  color: var(--gold-bright);
  border: 1px solid var(--gold-border);
  padding: 3px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  margin-block-end: 10px;
}

.example-code-en {
  direction: ltr;
  text-align: left;
  font-family: monospace;
  background: #14161d;
  border-left: 4px solid var(--gold-primary);
  padding: 10px 14px;
  border-radius: 6px;
  color: #fef08a;
  font-size: clamp(13px, 0.95vw, 17px);
  margin-block-end: 8px;
}

/* ==========================================================================
   4. SECTION 3: LECTURE HALLS & GALLERY ("معرض المحاضرات والقاعات")
      WITH FULL-BODY UNBROKEN CUTOUT OF MR. MOHAMED EL GENDY IN RIGHT PANEL
   ========================================================================== */
.gta-gallery-section {
  position: relative;
  width: 100%;
  padding-block: clamp(24px, 3vw, 56px);
  padding-inline: clamp(12px, 2.2vw, 44px);
  background:
    radial-gradient(rgba(245, 185, 53, 0.09) 1px, transparent 1.5px),
    linear-gradient(180deg, #090a0c 0%, #111216 100%);
  background-size: 10px 10px, 100% 100%;
}

.gta-gallery-container {
  max-width: var(--container-max);
  margin-inline: auto;
}

/* Iconic Diagonal Split Comic Showcase (100% Design 1 Match + Seamless Full-Body Cutout) */
.gta-diagonal-showcase {
  position: relative;
  width: 100%;
  margin-block-start: clamp(22px, 2.6vw, 42px);
  margin-block-end: clamp(32px, 3.5vw, 60px);
  padding-top: clamp(18px, 2.4vw, 38px);
}

.gta-diagonal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6.75;
  min-height: 295px;
  background: #050507;
  border: 3px solid var(--gold-border);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.95),
    0 0 0 2px #000000;
  overflow: visible;
  direction: ltr;
}

/* Left Angled Panel: Packed Classroom */
.diagonal-panel-left {
  position: absolute;
  inset: 8px;
  clip-path: polygon(0% 0%, 58.2% 0%, 41.2% 100%, 0% 100%);
  background: #ffffff;
  padding: 4px;
  z-index: 2;
}

.diagonal-panel-left-inner {
  width: 100%;
  height: 100%;
  clip-path: polygon(0% 0%, 58.0% 0%, 41.0% 100%, 0% 100%);
  position: relative;
  overflow: hidden;
  background: #000000;
}

.diagonal-panel-left-inner img {
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.45s ease, opacity 0.35s ease;
}

/* Right Angled Panel Background: Speed-Lines Burst Inside the Diagonal Frame */
.diagonal-panel-right {
  position: absolute;
  inset: 8px;
  clip-path: polygon(61.8% 0%, 100% 0%, 100% 100%, 44.8% 100%);
  background: #ffffff;
  padding: 4px;
  z-index: 2;
}

.diagonal-panel-right-inner {
  width: 100%;
  height: 100%;
  clip-path: polygon(62.0% 0%, 100% 0%, 100% 100%, 45.0% 100%);
  position: relative;
  overflow: hidden;
  background: #fdf6e6;
  display: flex;
  justify-content: flex-end;
}

.diagonal-panel-right-inner img {
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.45s ease, opacity 0.35s ease;
}

/* Gold & Black Diagonal Slash Divider SVG */
.diagonal-slash-svg {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  pointer-events: none;
  z-index: 6;
}

/* FULL-BODY TRANSPARENT CUTOUT OF MR. MOHAMED EL GENDY (One Unbroken Layer!)
   Anchored cleanly to the bottom inside border of the right panel (bottom: 12px)
   while extending above the top frame (top: -9%) so his head breaks out of the panel
   with ZERO horizontal cut or seam! */
.diagonal-leader-stage {
  position: absolute;
  top: -9%;
  bottom: 12px;
  right: 12px;
  width: 52%;
  z-index: 8;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.diagonal-leader-stage picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.diagonal-leader-cutout-img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
  user-select: none;
  -webkit-user-drag: none;
}

/* Interactive Toggle Pill on Each Diagonal Panel (GTA Art <-> Real Photo) */
.panel-mode-btn {
  position: absolute;
  bottom: 18px;
  z-index: 12;
  direction: rtl;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 10, 14, 0.92);
  border: 2px solid var(--gold-primary);
  color: var(--gold-bright);
  font-family: var(--font-ar-body);
  font-size: clamp(11px, 0.9vw, 15px);
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.88);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.panel-mode-btn:hover {
  background: var(--gold-primary);
  color: #09090b;
  transform: scale(1.04);
}

.panel-mode-btn.left-btn {
  left: 22px;
}

.panel-mode-btn.right-btn {
  right: 22px;
}

/* Real Photos Curated Gallery Subbar & Filters */
.real-gallery-subbar {
  direction: rtl;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-block-end: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(200, 150, 46, 0.35);
}

.real-gallery-heading-group h3 {
  font-family: var(--font-ar-display);
  font-size: clamp(20px, 2vw, 34px);
  font-weight: 800;
  color: var(--gold-bright);
}

.real-gallery-heading-group p {
  font-size: clamp(13px, 1vw, 17px);
  color: var(--text-muted);
  font-weight: 600;
}

.gallery-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-filter-btn {
  font-family: var(--font-ar-body);
  font-size: clamp(13px, 0.95vw, 17px);
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1.5px solid var(--gold-border);
  background: #14151a;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background: linear-gradient(135deg, #f5b935 0%, #c88719 100%);
  color: #09090b;
  border-color: #ffffff;
  box-shadow: 0 0 16px rgba(245, 185, 53, 0.5);
}

/* 8 Curated Real Photos Grid */
.real-photos-grid {
  direction: rtl;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 28px);
}

.real-photo-card {
  position: relative;
  background: #101115;
  border: 2.5px solid var(--gold-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.85),
    inset 0 0 0 2px #000000;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.real-photo-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--gold-bright);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.95),
    0 0 22px rgba(245, 185, 53, 0.45);
}

.real-photo-img-wrap {
  position: relative;
  width: 100%;
  height: clamp(190px, 16vw, 250px);
  aspect-ratio: 4 / 3.2;
  flex-shrink: 0;
  overflow: hidden;
  background: #08090c;
  border-bottom: 2px solid var(--gold-border);
}

.real-photo-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.real-photo-card:hover .real-photo-img-wrap img {
  transform: scale(1.08);
}

.real-photo-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(9, 9, 12, 0.88);
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-bright);
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.real-photo-zoom-hint {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: rgba(245, 185, 53, 0.92);
  color: #09090b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.real-photo-caption {
  padding: 12px 14px;
  background: #0d0e12;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.real-photo-caption h4 {
  font-family: var(--font-ar-display);
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 800;
  color: #ffffff;
  margin-block-end: 4px;
}

.real-photo-caption p {
  font-size: clamp(12px, 0.85vw, 15px);
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   5. SECTION 4: HIGH-VALUE STUDENT ROADMAP & OFFICIAL APP DOWNLOAD PORTAL
   ========================================================================== */
.gta-portal-section {
  direction: rtl;
  width: 100%;
  padding-block: clamp(28px, 3.5vw, 64px);
  padding-inline: clamp(14px, 2.5vw, 48px);
  background:
    radial-gradient(circle at 85% 20%, rgba(245, 185, 53, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #101216 0%, #09090b 100%);
  border-top: 3px solid var(--gold-border);
}

.portal-grid {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(20px, 2.8vw, 48px);
  align-items: stretch;
}

.gta-dossier-box {
  background: #121318;
  border: 2.5px solid var(--gold-border);
  border-radius: 12px;
  padding: clamp(20px, 2.4vw, 40px);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.9),
    inset 0 0 0 2px #000000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dossier-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: rgba(245, 185, 53, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-bright);
  padding: 4px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  margin-block-end: 12px;
}

.dossier-title {
  font-family: var(--font-ar-display);
  font-size: clamp(22px, 2.2vw, 38px);
  font-weight: 800;
  color: #ffffff;
  margin-block-end: 16px;
  line-height: 1.3;
}

.strategy-steps-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.strategy-step-card {
  background: #0b0c10;
  border: 1.5px solid rgba(200, 150, 46, 0.4);
  border-radius: 10px;
  padding: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.strategy-step-card:hover {
  border-color: var(--gold-bright);
  transform: translateY(-3px);
}

.step-num-tag {
  font-family: var(--font-gta-title-en);
  font-size: 20px;
  color: var(--gold-primary);
  letter-spacing: 0.05em;
  display: block;
  margin-block-end: 4px;
}

.strategy-step-card h4 {
  font-family: var(--font-ar-display);
  font-size: clamp(15px, 1.1vw, 20px);
  font-weight: 800;
  color: #ffffff;
  margin-block-end: 6px;
}

.strategy-step-card p {
  font-size: clamp(12.5px, 0.9vw, 16px);
  color: var(--text-muted);
  line-height: 1.65;
}

/* Official Direct App Download Portal Card */
.app-portal-card {
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 185, 53, 0.16) 0%, transparent 65%),
    #121318;
  border: 2.5px solid var(--gold-primary);
  border-radius: 12px;
  padding: clamp(20px, 2.4vw, 40px);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.9),
    0 0 28px rgba(245, 185, 53, 0.2),
    inset 0 0 0 2px #000000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.app-portal-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-portal-icon {
  width: clamp(68px, 5.5vw, 96px);
  height: clamp(68px, 5.5vw, 96px);
  border-radius: 16px;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
  flex-shrink: 0;
}

.portal-download-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-block-start: 22px;
}

.portal-action-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-family: var(--font-ar-display);
  font-weight: 800;
  font-size: clamp(14.5px, 1.08vw, 19px);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.portal-action-btn.ios-primary {
  background: linear-gradient(135deg, #fff5b8 0%, #f5b935 50%, #c88719 100%);
  color: #09090b;
  border: 2px solid #ffffff;
  box-shadow: 0 0 20px rgba(245, 185, 53, 0.55);
}

.portal-action-btn.play-secondary {
  background: linear-gradient(180deg, #171920 0%, #0b0c10 100%);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
}

.portal-action-btn:hover {
  transform: translateY(-2px);
}

.portal-contact-strip {
  margin-block-start: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(197, 155, 56, 0.35);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portal-contact-label {
  font-family: var(--font-ar-display);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--gold-bright);
}

.portal-phones-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.portal-phone-pill {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(9, 9, 12, 0.9);
  border: 1.5px solid var(--gold-border);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-gta-pricedown);
  font-size: clamp(16px, 1.25vw, 22px);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.portal-phone-pill:hover {
  background: rgba(245, 185, 53, 0.16);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

/* ==========================================================================
   6. FOOTER BAR (Matches Nano Banana Design 1 Bottom Bar + Pricedown Phone)
   ========================================================================== */
.gta-footer {
  position: relative;
  width: 100%;
  background: #0b0b0e;
  direction: ltr;
  border-top: 3px solid var(--gold-border);
}

.gta-footer-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: clamp(14px, 1.5vw, 26px) clamp(18px, 3vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1vw, 18px);
}

.social-circle-link {
  width: clamp(34px, 2.6vw, 46px);
  height: clamp(34px, 2.6vw, 46px);
  border-radius: 50%;
  background: #ffffff;
  color: #09090b;
  fill: #09090b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 2px solid #000000;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.85);
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-circle-link:hover {
  background: var(--gold-primary);
  transform: translateY(-3px) scale(1.08);
}

.social-circle-link svg {
  width: 54%;
  height: 54%;
  fill: currentColor;
}

.footer-legal-links {
  direction: rtl;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: clamp(12px, 0.9vw, 15px);
  font-weight: 700;
}

/* Right Phone Numbers Block (Pricedown Font like Nano Banana Design 1) */
.footer-phones-group {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.1vw, 18px);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-phone-divider {
  color: var(--gold-primary);
  font-weight: 900;
  font-size: clamp(16px, 1.4vw, 24px);
  opacity: 0.7;
}

.footer-phone-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  fill: #ffffff;
  text-decoration: none;
  font-family: var(--font-gta-pricedown);
  font-size: clamp(18px, 1.5vw, 28px);
  letter-spacing: 0.05em;
  white-space: nowrap;
  -webkit-text-stroke: 1.5px #000000;
  paint-order: stroke fill;
  text-shadow:
    0 2px 0 #000000,
    0 4px 10px rgba(0, 0, 0, 0.9);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-phone-box:hover {
  color: var(--gold-primary);
  fill: var(--gold-primary);
  transform: scale(1.03);
}

.footer-phone-box svg {
  width: clamp(22px, 1.8vw, 32px);
  height: clamp(22px, 1.8vw, 32px);
  fill: currentColor;
}

/* ==========================================================================
   7. INTERACTIVE MODALS (iOS Direct Install Guide & Lightbox)
   ========================================================================== */
.gta-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(5, 5, 8, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  direction: rtl;
}

.gta-modal-backdrop.open {
  display: flex;
  animation: fadeInModal 0.22s ease-out;
}

@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.gta-modal-card {
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  background: #121318;
  border: 3px solid var(--gold-primary);
  border-radius: 14px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.95),
    0 0 40px rgba(245, 185, 53, 0.35);
  padding: clamp(20px, 2.5vw, 34px);
  position: relative;
}

.gta-modal-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 2px solid var(--gold-border);
  background: #1c1d24;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

.ios-steps-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-block: 18px;
}

.ios-non-apple-warning {
  margin-block-start: 14px;
  padding: 18px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.12);
  border: 2px solid #ef4444;
  text-align: center;
}

.ios-warning-title {
  font-family: var(--font-ar-display);
  font-size: 16.5px;
  font-weight: 900;
  color: #fca5a5;
  margin-block-end: 8px;
}

.ios-warning-desc {
  font-size: 14px;
  color: #f1f5f9;
  line-height: 1.75;
}

.ios-step-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #0b0c10;
  border: 1.5px solid rgba(200, 150, 46, 0.45);
  border-radius: 10px;
  padding: 12px 16px;
}

.ios-step-num {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--gold-primary);
  color: #09090b;
  font-family: var(--font-gta-title-en);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Lightbox Modal */
.lightbox-card {
  max-width: 1080px;
  background: #09090c;
  padding: 16px;
  text-align: center;
}

.lightbox-img-stage {
  position: relative;
  width: 100%;
  max-height: 74vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050507;
  border: 2px solid var(--gold-border);
  border-radius: 8px;
  overflow: hidden;
}

.lightbox-img-stage img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  background: rgba(9, 9, 12, 0.88);
  color: var(--gold-bright);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

.lightbox-nav-btn.prev { right: 14px; }
.lightbox-nav-btn.next { left: 14px; }

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS (Mobile 320px -> 768px Design 1 -> Desktop -> 4K)
   ========================================================================== */

/* Tablet & Medium Screens (<= 1080px) */
@media (max-width: 1080px) {
  .real-photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portal-grid {
    grid-template-columns: 1fr;
  }
  .blueprint-panel.active {
    grid-template-columns: 1fr;
  }
}

/* Mobile & Phablet Screens (<= 740px) — Keeps 768px Portrait 100% Identical to Design 1 */
@media (max-width: 740px) {
  .gta-nav-links {
    display: none;
  }
  .gta-mobile-menu-btn {
    display: inline-flex;
  }
  .gta-hero {
    min-height: auto;
    padding-top: 8px;
  }
  .hero-layer-skyline {
    inset: 0 0 auto 0;
    height: 440px;
    background-position: center 20%;
    transform: none !important;
  }
  .hero-layer-character {
    position: relative;
    left: auto;
    transform: none !important;
    height: clamp(310px, 76vw, 460px);
    max-width: 100%;
    margin-inline: auto;
    margin-bottom: -68px;
  }
  .hero-main-title {
    white-space: normal;
    font-size: clamp(24px, 7.2vw, 38px);
  }
  .hero-content-stage {
    min-height: auto;
    padding-top: 0;
  }
  .gta-mission-hud {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
    margin-top: 18px;
    order: 3;
    transform: none !important;
  }
  .hero-center-overlay {
    order: 2;
    padding-bottom: 0;
  }
  .teaching-cards-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  /* Responsive Diagonal Showcase on Mobile with Full-Body Cutout */
  .gta-diagonal-frame {
    aspect-ratio: auto;
    min-height: 480px;
  }
  .diagonal-panel-left {
    clip-path: polygon(0% 0%, 100% 0%, 100% 47%, 0% 54%);
  }
  .diagonal-panel-left-inner {
    clip-path: polygon(0% 0%, 100% 0%, 100% 47%, 0% 54%);
  }
  .diagonal-panel-left-inner img {
    width: 100%;
    height: 55%;
  }
  .diagonal-panel-right {
    clip-path: polygon(0% 55.5%, 100% 48.5%, 100% 100%, 0% 100%);
  }
  .diagonal-panel-right-inner {
    clip-path: polygon(0% 55.5%, 100% 48.5%, 100% 100%, 0% 100%);
    align-items: flex-end;
  }
  .diagonal-panel-right-inner img {
    width: 100%;
    height: 53%;
  }
  .diagonal-slash-svg {
    display: none;
  }
  .diagonal-leader-stage {
    top: 44%;
    bottom: 12px;
    right: 12px;
    left: 12px;
    width: auto;
  }
  .panel-mode-btn.left-btn {
    top: 14px;
    bottom: auto;
    left: 14px;
  }
  .panel-mode-btn.right-btn {
    bottom: 14px;
    right: 14px;
  }
  .strategy-steps-list {
    grid-template-columns: 1fr;
  }
}

/* Compact Phones (<= 520px) */
@media (max-width: 520px) {
  .hero-cta-row {
    flex-direction: column;
    gap: 12px;
  }
  .btn-gta-ios,
  .btn-gta-android {
    width: 100%;
    min-width: 0;
  }
  .real-photos-grid {
    grid-template-columns: 1fr;
  }
  .mobile-drawer-grid {
    grid-template-columns: 1fr;
  }
  .gta-footer-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}
