/* ==========================================================================
   محمد خطاب — Personal Brand Website
   Design System & Editorial Dark Stylesheet
   Palette: Dark (#101317) + Accent Orange/Red (#FC3522)
   Font: IBM Plex Sans Arabic
   ========================================================================== */

:root {
  /* Core Colors */
  --bg-dark: #101317;
  --bg-dark-elevated: #161A20;
  --bg-dark-card: #14171D;
  --bg-dark-subtle: #1C2129;
  
  --primary-orange: #FF3B2E;
  --primary-orange-hover: #E02816;
  --primary-orange-glow: rgba(255, 59, 46, 0.18);
  --primary-orange-border: rgba(255, 59, 46, 0.28);
  
  /* Text Tokens */
  --text-white: #FFFFFF;
  --text-primary: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  /* Borders & Surfaces */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-light: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(255, 59, 46, 0.45);
  
  /* Typography Scale */
  --font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-hero: clamp(2.5rem, 6vw, 4.75rem);
  --font-h2: clamp(1.85rem, 4vw, 2.75rem);
  --font-h3: clamp(1.25rem, 2.5vw, 1.65rem);
  
  /* Layout Spacing */
  --container-max: 1200px;
  --section-spacing: clamp(70px, 9vw, 130px);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  /* Branded Custom Orange Cursor (Zero Latency Hardware SVG Data-URI, No Shadow) */
  --cursor-default: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28' fill='none'%3E%3Cpath d='M2 2 L2 22 L7.5 16.5 L13 25 L16.5 23 L11 14.5 L19 14.5 Z' fill='%23FF3B2E' stroke='%230B0E12' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") 2 2, auto;
  --cursor-pointer: var(--cursor-default);
}

/* --------------------------------------------------------------------------
   01. Base & Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: var(--cursor-default) !important;
}

/* Global Branded Orange Text Selection */
::selection {
  background-color: #FF3B2E !important;
  color: #FFFFFF !important;
}

::-moz-selection {
  background-color: #FF3B2E !important;
  color: #FFFFFF !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  background-color: var(--bg-dark);
  cursor: var(--cursor-default);
}

section[id] {
  scroll-margin-top: 74px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.65;
  direction: rtl;
  text-align: right;
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: var(--cursor-default) !important;
}

a, button, [role="button"], input[type="submit"], input[type="button"], select,
.showoff-reel-card, .showoff-play-btn, .showoff-progress-line, .showoff-mute-btn,
.social-btn, .nav-cta, .btn-primary, .reel-card, [tabindex="0"], [role="slider"] {
  cursor: var(--cursor-default) !important;
}

/* --------------------------------------------------------------------------
   Custom Dark-Themed Native Scrollbar (No Arrows, Pure Brand)
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-button,
::-webkit-scrollbar-button:single-button,
::-webkit-scrollbar-button:vertical:decrement,
::-webkit-scrollbar-button:vertical:increment,
::-webkit-scrollbar-button:horizontal:decrement,
::-webkit-scrollbar-button:horizontal:increment {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  border: none !important;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-track-piece {
  background: #0B0E12 !important;
}

::-webkit-scrollbar-thumb {
  background: #FF3B2E !important;
  border-radius: 4px;
  border: 2px solid #0B0E12 !important;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
  background: #E02816 !important;
}

::-webkit-scrollbar-corner {
  background: #0B0E12 !important;
}

/* Firefox only (prevents Chromium from falling back to native OS scrollbar with arrows) */
@supports (-moz-appearance: none) {
  html {
    scrollbar-width: thin;
    scrollbar-color: #FF3B2E #0B0E12;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

ul, ol {
  list-style: none;
}

/* Accessibility Focus States */
:focus-visible {
  outline: 2px solid var(--primary-orange) !important;
  outline-offset: 3px !important;
}

/* Subtle Global Radial Ambient Glow (Fixed Background) */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 85% 15%, rgba(252, 53, 34, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 15% 75%, rgba(252, 53, 34, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   02. Typography & Section Headers
   -------------------------------------------------------------------------- */
.section-header {
  margin-bottom: clamp(36px, 6vw, 64px);
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--primary-orange);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--primary-orange);
}

.section-title {
  font-size: var(--font-h2);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
  letter-spacing: -0.5px;
  text-align: right;
}

.section-title-single-line {
  font-size: clamp(1.35rem, 2.7vw, 2.3rem) !important;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .section-title-single-line {
    white-space: normal;
  }
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-top: 12px;
  line-height: 1.7;
  text-align: right;
  margin-left: 0;
  margin-right: 0;
}

/* Buttons (Matching Workshop Dimensions, Border-Radius & Hover Animation) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 0.96rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn svg {
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(-4px);
}

.btn-primary {
  background-color: var(--primary-orange);
  color: #FFFFFF;
  box-shadow: 0 4px 18px var(--primary-orange-glow);
}

.btn-primary:hover {
  background-color: var(--primary-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(252, 53, 34, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   03. Navbar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition-smooth);
  background: rgba(16, 19, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(16, 19, 23, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--primary-orange);
  box-shadow: 0 0 10px var(--primary-orange);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.3px;
  transition: var(--transition-smooth);
}

.brand-name.is-hero-active,
.brand-logo:hover .brand-name {
  color: var(--primary-orange);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-orange);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.is-active::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 18px !important;
  font-size: 0.88rem !important;
  font-weight: 700;
  border-radius: 6px !important;
  height: 38px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  z-index: 102;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition-smooth);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   04. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-top: clamp(40px, 8vw, 90px);
  padding-bottom: clamp(60px, 10vw, 120px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(252, 53, 34, 0.08);
  border: 1px solid var(--primary-orange-border);
  color: var(--primary-orange);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-headline {
  font-size: var(--font-hero);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-white);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-description {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Hero Media & Editorial Composition */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  max-width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 53, 34, 0.38) 0%, rgba(252, 53, 34, 0.1) 50%, transparent 72%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 1;
  animation: subtleHaloGlow 7s ease-in-out infinite alternate;
}

@keyframes subtleHaloGlow {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

.hero-image-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 370px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(252, 53, 34, 0.4);
  background: radial-gradient(circle at 50% 28%, #FC3522 0%, rgba(200, 32, 16, 0.88) 45%, #14171E 95%);
  box-shadow: 0 16px 45px rgba(252, 53, 34, 0.28), 0 24px 60px rgba(0, 0, 0, 0.6);
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transform: scale(0.96);
  transform-origin: bottom center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-frame:hover img {
  transform: scale(0.98);
}

.hero-micro-pill {
  position: absolute;
  bottom: 16px;
  right: 50%;
  transform: translateX(50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(16, 19, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(252, 53, 34, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.hero-micro-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--primary-orange);
  box-shadow: 0 0 8px var(--primary-orange);
  flex-shrink: 0;
}

.hero-micro-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.2px;
}

/* --------------------------------------------------------------------------
   05. About Section (من أنا)
   -------------------------------------------------------------------------- */
.about-section {
  padding: var(--section-spacing) 0;
  position: relative;
  border-top: 1px solid var(--border-subtle);
}

.about-stacked-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 42px);
}

.about-lead-wrapper {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}

.about-lead-paragraph {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 500;
  line-height: 1.95;
  color: #D6DCE5;
  position: relative;
  padding-right: 22px;
  border-right: 3px solid var(--primary-orange);
  text-wrap: pretty;
}

.about-lead-paragraph strong {
  color: var(--text-white);
  font-weight: 800;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}

.about-value-item {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-value-item:hover {
  border-color: var(--primary-orange-border);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.about-value-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-orange);
  margin-bottom: 6px;
}

.about-value-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.about-value-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   06. Story & Journey Timeline (رحلتي)
   -------------------------------------------------------------------------- */
.timeline-section {
  padding: var(--section-spacing) 0;
  position: relative;
  border-top: 1px solid var(--border-subtle);
}

.timeline-wrap {
  position: relative;
  width: 100%;
}

/* Structural Timeline Track: Line does NOT overlap badges or cards */
.timeline-track-line {
  position: absolute;
  top: 15px;
  bottom: 15px;
  right: 23px;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
  overflow: hidden;
  border-radius: 2px;
}

.timeline-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-orange) 0%, #D82614 100%);
  transform-origin: top center;
  transform: scaleY(0);
  box-shadow: 0 0 10px rgba(252, 53, 34, 0.6);
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.timeline-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: start;
}

.timeline-marker-col {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 4px;
}

.timeline-node {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-node.is-active,
.timeline-item:hover .timeline-node {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  transform: scale(1.25);
  box-shadow: 0 0 14px rgba(252, 53, 34, 0.7);
}

.timeline-content-card {
  padding: 26px 28px;
  border-radius: var(--radius-md);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.timeline-content-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.timeline-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.timeline-year-tag {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-orange);
  background: rgba(252, 53, 34, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--primary-orange-border);
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
}

.timeline-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   07. Portfolio & Work Section (أعمالي)
   -------------------------------------------------------------------------- */
.portfolio-section {
  padding: var(--section-spacing) 0;
  position: relative;
  border-top: 1px solid var(--border-subtle);
}

/* Featured Cinematic Work */
.featured-project {
  margin-bottom: 48px;
}

.featured-project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-dark-elevated);
  cursor: pointer;
  group: "";
}

.featured-thumbnail-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.featured-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: brightness(0.9);
}

.featured-project-card:hover .featured-thumbnail-img {
  transform: scale(1.03);
  filter: brightness(1);
}

.video-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(16, 19, 23, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid var(--primary-orange);
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(252, 53, 34, 0.4);
  transition: var(--transition-smooth);
}

.video-play-badge svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  margin-right: -2px; /* optical balance */
}

.featured-project-card:hover .video-play-badge {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--primary-orange);
  color: #FFF;
}

.featured-info-bar {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
}

.featured-info-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.featured-info-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.featured-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-orange);
  background: rgba(252, 53, 34, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

/* Reels & Shorts Editorial Grid */
.reels-grid-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.reels-grid,
.showoff-reels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

@media (max-width: 1100px) {
  .showoff-reels-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .showoff-reels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .reels-grid,
  .showoff-reels-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 100% !important;
    gap: 10px !important;
    margin-left: 0;
    margin-right: 0;
  }
}

.showoff-reel-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #0B0E14;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
  user-select: none;
}

.showoff-reel-card:hover {
  transform: translateY(-6px);
  border-color: rgba(252, 53, 34, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(252, 53, 34, 0.2);
}

.showoff-reel-card.is-playing {
  border-color: #FC3522;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.75), 0 0 30px rgba(252, 53, 34, 0.38);
}

.showoff-reel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.showoff-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-color: #000000;
}

.showoff-poster-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.showoff-reel-card.is-playing .showoff-poster-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Once video has started, keep poster image and backdrop hidden even when paused so video frame is visible */
.showoff-reel-card.has-started .showoff-poster-img,
.showoff-reel-card.has-started .showoff-poster-backdrop {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* When paused after starting, overlay becomes transparent so center play button is available */
.showoff-reel-card.has-started.is-paused .showoff-poster-overlay {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  background: transparent !important;
}

.showoff-reel-card.has-started.is-paused .showoff-play-btn {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.showoff-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.showoff-reel-card:hover .showoff-poster-img {
  transform: scale(1.05);
}

.showoff-poster-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(16, 19, 23, 0.05) 0%, rgba(16, 19, 23, 0.55) 100%);
}

.showoff-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(252, 53, 34, 0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 10px 28px rgba(252, 53, 34, 0.55), 0 0 18px rgba(252, 53, 34, 0.7);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease;
  z-index: 3;
}

.showoff-reel-card:hover .showoff-play-btn {
  transform: translate(-50%, -50%) scale(1.14);
  background-color: #E02816;
  box-shadow: 0 14px 36px rgba(252, 53, 34, 0.75), 0 0 24px rgba(252, 53, 34, 0.9);
}

.showoff-play-ripple {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #FC3522;
  animation: showoffPulseRipple 2.2s infinite cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

@keyframes showoffPulseRipple {
  0% { transform: scale(0.95); opacity: 0.85; }
  60% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

.showoff-play-svg {
  width: 24px;
  height: 24px;
  fill: #FFFFFF;
  margin-right: -2px;
}

/* Controls overlay during playback */
.showoff-controls-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  opacity: 1;
}

.showoff-mute-btn {
  align-self: flex-start;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(14, 18, 24, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0;
  transition: all 0.2s ease;
}

.showoff-reel-card:hover .showoff-mute-btn,
.showoff-reel-card.is-playing .showoff-mute-btn,
.showoff-reel-card.is-paused .showoff-mute-btn {
  opacity: 1;
}

.showoff-mute-btn:hover {
  background: #FC3522;
  border-color: #FC3522;
  transform: scale(1.1);
}

.showoff-mute-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.showoff-reel-card.is-muted .showoff-icon-unmuted { display: none !important; }
.showoff-reel-card.is-muted .showoff-icon-muted { display: block !important; }
.showoff-reel-card:not(.is-muted) .showoff-icon-unmuted { display: block !important; }
.showoff-reel-card:not(.is-muted) .showoff-icon-muted { display: none !important; }

/* Show-off progress line: Hidden before playback starts */
.showoff-progress-line {
  position: relative;
  width: 100%;
  height: 24px;
  display: flex;
  align-items: center;
  cursor: pointer;
  pointer-events: none !important;
  touch-action: none;
  direction: rtl !important;
  margin-top: auto;
  padding: 6px 0;
  user-select: none;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

/* Once video has started, progress line stays visible even when paused */
.showoff-reel-card.has-started .showoff-progress-line {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.showoff-progress-rail {
  position: relative;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.38);
  border-radius: 4px;
  overflow: visible;
  transition: height 0.15s ease;
  opacity: 1 !important;
  visibility: visible !important;
}

.showoff-progress-line:hover .showoff-progress-rail,
.showoff-progress-line.is-scrubbing .showoff-progress-rail {
  height: 7px;
}

.showoff-progress-bar {
  position: absolute;
  right: 0 !important;
  left: auto !important;
  top: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(270deg, #E02816 0%, #FC3522 100%);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(252, 53, 34, 0.7);
  transition: none;
}

.showoff-progress-handle {
  position: absolute;
  left: -6px;
  right: auto;
  top: 50%;
  transform: translateY(-50%) scale(0.85);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 2.5px solid #FC3522;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
  transition: transform 0.15s ease;
  pointer-events: none;
  opacity: 0.9;
}

.showoff-progress-line:hover .showoff-progress-handle,
.showoff-progress-line.is-scrubbing .showoff-progress-handle {
  transform: translateY(-50%) scale(1.15);
  opacity: 1;
}

.showoff-time-tooltip {
  position: absolute;
  bottom: calc(100% + 4px);
  right: 0;
  left: auto;
  transform: translateX(50%);
  background: rgba(12, 15, 22, 0.96);
  border: 1px solid rgba(252, 53, 34, 0.5);
  color: #FFFFFF;
  font-family: 'IBM Plex Sans Arabic', -apple-system, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 2px 7px;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7), 0 0 8px rgba(252, 53, 34, 0.2);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  white-space: nowrap;
  z-index: 15;
}

.showoff-time-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: rgba(252, 53, 34, 0.5) transparent transparent transparent;
}

.showoff-progress-line:hover .showoff-time-tooltip,
.showoff-progress-line.is-scrubbing .showoff-time-tooltip {
  opacity: 1;
  visibility: visible;
}

.reel-play-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(16, 19, 23, 0.75);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.reel-card:hover .reel-play-btn {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  transform: scale(1.14);
  box-shadow: 0 0 16px rgba(252, 53, 34, 0.6);
}

.reel-play-btn:active {
  transform: scale(0.95);
}

.reel-play-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   07. Clients Section (عملائي)
   -------------------------------------------------------------------------- */
.clients-section {
  padding: var(--section-spacing) 0;
  position: relative;
  border-top: 1px solid var(--border-subtle);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.client-card {
  padding: 18px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: var(--transition-smooth);
}

.client-card:hover {
  border-color: var(--primary-orange-border);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(252, 53, 34, 0.1);
}

.client-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition-smooth);
}

.client-card:hover .client-avatar {
  border-color: var(--primary-orange);
  transform: scale(1.05);
}

.client-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

/* --------------------------------------------------------------------------
   08. Courses Section (كورساتي)
   -------------------------------------------------------------------------- */
.courses-section {
  padding: var(--section-spacing) 0;
  position: relative;
  border-top: 1px solid var(--border-subtle);
}

.course-featured-wrapper {
  margin-bottom: 32px;
}

/* The entire card is clickable & accessible */
.course-featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
}

.course-featured-card:hover {
  border-color: var(--primary-orange-border);
  box-shadow: 0 20px 50px rgba(252, 53, 34, 0.12);
}

.courses-youtube-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 660px;
  margin-right: 0 !important;
  margin-left: auto !important;
  width: 100%;
}

.course-yt-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.course-yt-card:hover {
  border-color: var(--primary-orange-border);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(252, 53, 34, 0.12);
}

.course-yt-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.course-yt-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-yt-card:hover .course-yt-img {
  transform: scale(1.04);
}

.course-yt-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(16, 19, 23, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--primary-orange-border);
  color: var(--primary-orange);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.course-yt-content {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.course-yt-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
  line-height: 1.35;
}

.course-yt-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.course-yt-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-orange);
  margin-top: auto;
  transition: var(--transition-smooth);
}

.course-yt-card:hover .course-yt-cta svg {
  transform: translateX(-4px);
}

@media (max-width: 768px) {
  .courses-youtube-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   09. Collaboration Section (تعاون معي)
   -------------------------------------------------------------------------- */
.collab-section {
  padding: var(--section-spacing) 0;
  position: relative;
  border-top: 1px solid var(--border-subtle);
}

.collab-box {
  background: radial-gradient(circle at 85% 0%, rgba(252, 53, 34, 0.14) 0%, rgba(20, 23, 29, 0.95) 70%);
  border: 1px solid rgba(252, 53, 34, 0.28);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 7vw, 64px) clamp(24px, 5vw, 48px);
  text-align: right;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.collab-headline {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
  margin-bottom: 14px;
  text-align: right;
}

.collab-copy {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 0 32px 0;
  text-align: right;
}

.collab-actions-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 12px;
}

.collab-actions-row .btn,
.collab-actions-row .btn-whatsapp,
.collab-actions-row .btn-secondary {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
  padding: 14px 20px !important;
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.btn-whatsapp {
  background: #25D366;
  color: #0B2414;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   10. Footer (Unified Warsha-Matching Design)
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 52px 0 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #0c0e11;
}

.footer-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 0 16px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-brand-title {
  display: inline-block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.25s ease;
  cursor: pointer !important;
  text-align: center;
}

.footer-brand-title:hover {
  color: var(--primary-orange) !important;
}

.footer-social-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.footer-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-btn:hover {
  background: rgba(255, 59, 46, 0.12);
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  transform: translateY(-2px);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-btn svg.email-icon-svg {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
}

.footer-copy-text {
  font-size: 0.86rem;
  color: #94A3B8;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

.footer-designer-credit {
  font-size: 0.82rem;
  color: #8492A6;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  margin-top: -6px;
}

/* --------------------------------------------------------------------------
   11. Video Lightbox Modal (Cinematic Dark Experience)
   -------------------------------------------------------------------------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal.is-active {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 13, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.video-modal-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.video-modal-close {
  position: absolute;
  top: -46px;
  left: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.video-modal-close:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
}

.video-modal-iframe-shell {
  width: 100%;
  height: 100%;
}

.video-modal-iframe-shell iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --------------------------------------------------------------------------
   12. Responsive Design (Mobile First & Breakpoints)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  
  .hero-visual-wrapper {
    order: -1;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
  
  .hero-halo {
    width: 100%;
    max-width: 90vw;
    height: 90vw;
    max-height: 340px;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .about-lead-paragraph {
    font-size: 1.05rem;
    padding-right: 16px;
    border-right-width: 2.5px;
  }
  
  .course-featured-card {
    grid-template-columns: 1fr;
  }
  
  .reels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .site-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
  }

  .site-header .nav-container {
    position: static;
  }

  section[id] {
    scroll-margin-top: 68px;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #101317 !important;
    background-color: #101317 !important;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
    gap: 6px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
    display: none;
  }
  
  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-white);
    border-radius: var(--radius-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color 0.2s ease, color 0.2s ease;
    text-align: right;
  }

  .nav-menu .nav-link:last-child {
    border-bottom: none;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link:active,
  .nav-menu .nav-link.is-active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--primary-orange);
  }

  .nav-menu .nav-link::after {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .nav-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 6px 14px !important;
    font-size: 0.84rem !important;
    font-weight: 700;
    border-radius: 6px !important;
    height: 36px;
    white-space: nowrap;
  }
}

@media (max-width: 600px) {
  .about-values-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-item {
    grid-template-columns: 36px 1fr;
    gap: 16px;
  }
  
  .timeline-track-line {
    right: 17px;
  }
  
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .site-footer {
    padding: 36px 0 28px 0 !important;
  }

  .footer-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 14px !important;
    padding: 0 16px !important;
  }

  .footer-brand {
    order: 1 !important;
    align-items: center !important;
    text-align: center !important;
  }

  .footer-brand-title {
    font-size: 1.2rem !important;
  }

  .footer-social-wrapper {
    order: 2 !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .footer-social-links {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .social-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 8px !important;
  }

  .footer-copy-text {
    order: 3 !important;
    font-size: 0.8rem !important;
    color: #94A3B8 !important;
    text-align: center !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }

  .footer-designer-credit {
    order: 4 !important;
    font-size: 0.78rem !important;
    color: #8492A6 !important;
    text-align: center !important;
    line-height: 1.5 !important;
    margin-top: -4px !important;
  }
}

@media (max-width: 480px) {
  .hero-micro-pill {
    position: absolute;
    bottom: 12px;
    right: 12px;
    left: 12px;
    transform: none;
    width: calc(100% - 24px);
    max-width: none;
    border-radius: var(--radius-md);
    padding: 10px 14px;
    justify-content: center;
    background: rgba(16, 19, 23, 0.94);
    border: 1px solid rgba(252, 53, 34, 0.45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  }

  .hero-micro-text {
    font-size: clamp(0.78rem, 2.6vw, 0.92rem);
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
  }

  .reels-grid {
    gap: 12px;
  }

  .reel-overlay {
    padding: 12px 10px;
  }

  .reel-title {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .reel-stats {
    font-size: 0.72rem;
  }

  .reel-play-btn {
    width: 30px;
    height: 30px;
    top: 10px;
    left: 10px;
  }

  .reel-play-btn svg {
    width: 12px;
    height: 12px;
  }

  .video-modal {
    padding: 12px;
  }

  .video-modal-close {
    top: -40px;
    left: 4px;
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
  }
}

@media (max-width: 350px) {
  .hero-headline {
    font-size: 2.25rem;
  }

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

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

/* --------------------------------------------------------------------------
   13. Reduced Motion Accessibility
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
