/* =============================================================================
   ULTRA-MODERN ARABIC & ENGLISH PORTFOLIO DESIGN SYSTEM
   Inspired by Vision Pro Glassmorphism & High-End Minimalist Aesthetics
   ============================================================================= */

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

:root {
  /* Color Palette - Dark Futuristic Theme (Default) */
  --bg-main: #090a0f;
  --bg-stage: #0f1118;
  --bg-card: rgba(18, 21, 30, 0.72);
  --bg-card-hover: rgba(28, 33, 48, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-heavy: rgba(15, 17, 24, 0.88);
  --bg-pill: rgba(255, 255, 255, 0.06);

  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(255, 255, 255, 0.22);
  --border-glow: rgba(56, 189, 248, 0.35);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #090a0f;

  --accent-blue: #38bdf8;
  --accent-cyan: #06b6d4;
  --accent-purple: #818cf8;
  --accent-emerald: #10b981;
  --accent-gold: #fbbf24;

  --gradient-aurora: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(129, 140, 248, 0.08) 50%, rgba(16, 185, 129, 0.06) 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
  --gradient-cta: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);

  --font-arabic: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-latin: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-stage: 0 30px 100px -20px rgba(0, 0, 0, 0.8);
  --shadow-card: 0 12px 36px -10px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 50px -10px rgba(56, 189, 248, 0.25);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.36, 0.5, 1);
}

/* Light Theme Mode */
[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-stage: #ffffff;
  --bg-card: #ffffff;
  --card-bg: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-glass-heavy: rgba(255, 255, 255, 0.98);
  --bg-pill: rgba(15, 23, 42, 0.05);

  --border-subtle: rgba(15, 23, 42, 0.09);
  --border-hover: rgba(15, 23, 42, 0.18);
  --border-glow: rgba(2, 132, 199, 0.35);

  --text-main: #0f172a;
  --text-muted: #334155;
  --text-dim: #64748b;
  --text-inverse: #ffffff;

  --gradient-aurora: linear-gradient(135deg, rgba(56, 189, 248, 0.05) 0%, rgba(129, 140, 248, 0.04) 50%, rgba(16, 185, 129, 0.03) 100%);
  --gradient-text: linear-gradient(135deg, #0f172a 30%, #1e293b 100%);
  --shadow-stage: 0 20px 60px -15px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 10px 30px -8px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-arabic);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-main);
  color: var(--text-main);
}

html[lang="en"] {
  font-family: var(--font-latin);
}

body {
  overflow-x: hidden;
  background-color: var(--bg-main);
  min-height: 100vh;
  position: relative;
}

/* Background Ambient Aurora */
.ambient-aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  animation: floatOrb 20s infinite alternate ease-in-out;
}

.aurora-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #38bdf8 0%, rgba(56, 189, 248, 0) 70%);
  top: -150px;
  right: -100px;
}

.aurora-orb-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #818cf8 0%, rgba(129, 140, 248, 0) 70%);
  top: 40%;
  left: -150px;
  animation-duration: 25s;
}

.aurora-orb-3 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #06b6d4 0%, rgba(6, 182, 212, 0) 70%);
  bottom: -200px;
  right: 20%;
  animation-duration: 30s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* =============================================================================
   NAVIGATION BAR
   ============================================================================= */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  padding: 0 16px;
  margin-bottom: 24px;
}

.nav-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-smooth);
}

.nav-brand,
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 12px var(--accent-blue);
}

.brand-text,
.brand-name {
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 30%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .brand-text,
[data-theme="light"] .brand-name {
  color: #0f172a;
  background: linear-gradient(135deg, #0f172a 30%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-main);
  background: var(--bg-pill);
}

.nav-link.active {
  color: var(--accent-blue);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.14);
}

.nav-link.nav-cta-pill {
  color: var(--text-inverse) !important;
  background: var(--text-main);
  padding: 8px 20px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-link.nav-cta-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
}

.nav-link.nav-cta-pill.active {
  color: var(--text-inverse) !important;
  background: var(--accent-blue);
  border: 1px solid var(--accent-blue);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-icon-toggle {
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  font-size: 0.9rem;
  text-decoration: none;
}

.btn-icon-toggle:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-lang-toggle {
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-lang-toggle:hover {
  background: var(--border-hover);
}

.mobile-only-link {
  display: none;
}

@media (max-width: 992px) {
  .mobile-only-link {
    display: block;
    margin-top: 6px;
    width: 100%;
  }

  .mobile-only-link .nav-cta-pill {
    display: block;
    text-align: center;
    width: 100%;
  }
}

.btn-cta-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff !important;
  color: #0b0f19 !important;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  white-space: nowrap;
}

.btn-cta-nav:hover {
  transform: translateY(-2px);
  background: #f8fafc !important;
  color: #000000 !important;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}

.btn-cta-nav span[aria-hidden="true"] {
  display: inline-block;
  transition: transform var(--transition-fast);
}

[dir="rtl"] .btn-cta-nav:hover span[aria-hidden="true"] {
  transform: translateX(-3px);
}

[dir="ltr"] .btn-cta-nav:hover span[aria-hidden="true"] {
  transform: translateX(3px);
}

[data-theme="light"] .btn-cta-nav {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid rgba(15, 23, 42, 0.16);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .btn-cta-nav:hover {
  background: #f8fafc !important;
  border-color: var(--accent-blue);
  color: var(--accent-blue) !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.18);
}

.btn-cta-nav.active {
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.45), 0 4px 14px rgba(0, 0, 0, 0.25);
  border-color: var(--accent-blue);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-main);
  cursor: pointer;
  padding: 8px 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  transition: all var(--transition-fast);
}

.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

/* =============================================================================
   HERO VISION STAGE
   ============================================================================= */
.hero-stage {
  position: relative;
  background: var(--bg-stage);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 64px 40px 48px;
  overflow: hidden;
  box-shadow: var(--shadow-stage);
  margin-bottom: 24px;
}

.stage-mesh {
  position: absolute;
  inset: 0;
  background: var(--gradient-aurora);
  opacity: 0.6;
  pointer-events: none;
}

.stage-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

/* Status Pill */
.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.status-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  position: relative;
}

.status-dot-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent-emerald);
  opacity: 0.7;
  animation: pulseDot 2s infinite cubic-bezier(0.24, 0, 0.38, 1);
}

@keyframes pulseDot {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Dramatic Hero Name Title */
.forge-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
  line-height: 1.15;
}

.forge-title-top {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text-main);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.forge-title-bottom {
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 700;
  color: var(--accent-blue);
  margin-top: 6px;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.75;
}

/* Hero Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-cta);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 10px 30px -5px rgba(56, 189, 248, 0.4);
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px -5px rgba(56, 189, 248, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-pill);
  color: var(--text-main);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--border-hover);
  transform: translateY(-2px);
}

/* Quick Tech Badges Row */
.hero-tech-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-tech-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
}

.tech-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-latin);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.tech-tag-chip img {
  width: 14px;
  height: 14px;
}

.tech-tag-chip:hover {
  border-color: var(--border-hover);
  color: var(--text-main);
  transform: translateY(-1px);
}

/* =============================================================================
   3D GLASS INTERACTIVE FOLDER (gf-root)
   Exact physics & visual structure from reference website
   ============================================================================= */
.hero-folder-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1400px;
}

.gf-root {
  --gf-px: 0;
  --gf-py: 0;
  --gf-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gf-spring: cubic-bezier(0.34, 1.36, 0.5, 1);
  --gf-hinge: 0deg;
  --gf-lift: 42px;
  --gf-spread: 0px;
  --gf-fan: 0deg;
  --gf-stack: 15px;
  position: relative;
  width: 360px;
  height: 340px;
  cursor: pointer;
  user-select: none;
  isolation: isolate;
  transition: transform var(--transition-smooth);
}

.gf-root:hover, .gf-root.is-hovered {
  --gf-hinge: -12deg;
  --gf-lift: -36px;
  --gf-spread: 12px;
  --gf-fan: 2.2deg;
  --gf-stack: 12px;
}

.gf-root.is-open, .gf-root[data-open="true"] {
  --gf-hinge: -24deg;
  --gf-lift: -96px;
  --gf-spread: 42px;
  --gf-fan: 5deg;
  --gf-stack: 30px;
}

.gf-stage {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
}

.gf-tilt {
  position: absolute;
  inset: 0;
  transform: perspective(1400px) rotateX(calc(var(--gf-py) * -4deg)) rotateY(calc(var(--gf-px) * 6deg));
  transition: transform 0.6s var(--gf-ease);
}

.gf-shadow {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -10px;
  height: 50px;
  border-radius: 40px;
  background: rgba(0, 0, 0, 0.65);
  filter: blur(24px);
  transform: translateX(calc(var(--gf-px) * -10px));
  transition: transform 0.6s var(--gf-ease), opacity 0.6s var(--gf-ease);
}

/* Glass Folder Back */
.gf-back {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #1e2230 0%, #11141e 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.gf-back-art {
  position: absolute;
  inset: 0;
  background-image: url('../assets/folders/glacier-4.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.65;
  filter: saturate(1.2);
}

.gf-back-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
}

/* Stacked Files / Sheets inside folder */
.gf-files {
  position: absolute;
  inset: 0;
  z-index: 5;
  clip-path: inset(-200px -100px 10px -100px);
}

.gf-sheet {
  position: absolute;
  left: 30px;
  top: 70px;
  width: 300px;
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #1a1e2d 0%, #121522 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.6s var(--gf-spring), filter 0.4s ease;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gf-sheet-3 {
  transform: translateY(calc(var(--gf-lift) * 0.3)) rotate(calc(var(--gf-fan) * -1.5)) scale(0.92);
  filter: brightness(0.75);
}

.gf-sheet-2 {
  transform: translateY(calc(var(--gf-lift) * 0.65)) rotate(calc(var(--gf-fan) * 1)) scale(0.96);
  filter: brightness(0.88);
}

.gf-sheet-1 {
  transform: translateY(calc(var(--gf-lift) * 1)) rotate(calc(var(--gf-fan) * -0.5)) scale(1);
  filter: brightness(1);
}

.gf-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gf-sheet-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.18);
  color: var(--accent-blue);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.gf-sheet-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 8px 0 4px;
}

.gf-sheet-sub {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
}

.gf-sheet-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

.gf-sheet-tags {
  display: flex;
  gap: 6px;
}

.gf-tag-micro {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

/* Glass Folder Front Pocket (Frosted) */
.gf-front {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  border-radius: 0 0 28px 28px;
  background: rgba(22, 27, 40, 0.65);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 10;
  transform-origin: 50% 100%;
  transform: rotateX(var(--gf-hinge));
  transition: transform 0.6s var(--gf-spring);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.gf-front-art {
  position: absolute;
  inset: 0;
  background: radial-gradient(100% 100% at 50% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 80%);
  pointer-events: none;
}

.gf-front-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.gf-front-subtitle {
  font-size: 0.82rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gf-front-subtitle span {
  color: var(--accent-blue);
  font-weight: 700;
}

/* =============================================================================
   HERO BENTO GRID (Lower Panels)
   ============================================================================= */
.hero-lower-panels {
  display: grid;
  grid-template-columns: 2.3fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 64px;
}

.hero-lower-panel {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  text-decoration: none;
  color: var(--text-main);
}

.hero-lower-panel:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.hero-lower-panel-wide {
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.hero-project-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.hero-panel-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 8px;
}

.hero-project-copy h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 8px;
}

.hero-project-copy p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hero-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-blue);
}

.hero-project-preview {
  width: 48%;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transform: rotate(-3deg) translate(-10px, 15px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform var(--transition-smooth);
}

.hero-lower-panel:hover .hero-project-preview {
  transform: rotate(0deg) translate(0, 0) scale(1.03);
}

.hero-project-preview img {
  width: 100%;
  height: auto;
  display: block;
}

/* Stats Panel */
.hero-stat-number {
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.hero-stat-label {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.hero-stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Invitation Panel */
.hero-invitation-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* =============================================================================
   SERVICES / SOLUTIONS SECTION
   ============================================================================= */
.section-wrapper,
section[id] {
  margin-bottom: 80px;
  scroll-margin-top: 100px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

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

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-num {
  font-family: var(--font-latin);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dim);
}

.service-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-blue);
}

.service-card h4 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.service-card h5 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* =============================================================================
   PROJECTS SHOWCASE SECTION
   ============================================================================= */
.projects-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--text-main);
  color: var(--text-inverse);
  border-color: transparent;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.project-thumb-box {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0d1118;
}

.project-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
}

.project-card:hover .project-thumb-box img {
  transform: scale(1.05);
}

.project-overlay-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

html[dir="ltr"] .project-overlay-badge {
  right: auto;
  left: 14px;
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.project-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
  line-height: 1.4;
}

.project-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.btn-project-detail {
  background: transparent;
  border: none;
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-project-detail:hover {
  text-decoration: underline;
}

.project-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-ext-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.project-ext-link:hover {
  border-color: var(--border-hover);
  color: var(--accent-blue);
  transform: translateY(-2px);
}

/* =============================================================================
   PROJECT MODAL (DETAIL VIEW)
   ============================================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--bg-stage);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  width: 100%;
  max-width: 840px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-smooth);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
}

.modal-backdrop.is-active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

html[dir="ltr"] .modal-close-btn {
  left: auto;
  right: 20px;
}

.modal-close-btn:hover {
  background: var(--border-hover);
}

.modal-hero-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  background: #0f131a;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-content-body {
  padding: 32px;
}

.modal-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin: 24px 0;
  text-align: center;
}

.modal-stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-blue);
}

.modal-stat-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =============================================================================
   WORKFLOW / HOW WE WORK
   ============================================================================= */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  position: relative;
}

.workflow-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 32px 24px;
  position: relative;
  transition: all var(--transition-smooth);
}

.workflow-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.workflow-step-num {
  font-family: var(--font-latin);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-blue);
  opacity: 0.8;
  margin-bottom: 16px;
  line-height: 1;
}

.workflow-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-main);
}

.workflow-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =============================================================================
   TESTIMONIALS SECTION
   ============================================================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.testimonial-stars {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--accent-blue);
}

/* =============================================================================
   WHY WAIT / CALL TO ACTION & CONTACT
   ============================================================================= */
.cta-stage {
  background: linear-gradient(135deg, rgba(22, 27, 40, 0.8) 0%, rgba(13, 16, 24, 0.95) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
  margin-bottom: 64px;
  box-shadow: var(--shadow-stage);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  position: relative;
  z-index: 5;
}

.cta-copy h2 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-copy p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.cta-direct-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn-contact-direct {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.btn-contact-direct:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}

.btn-whatsapp-theme {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.btn-whatsapp-theme:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: #34d399;
}

/* Contact Form */
.contact-form-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 32px;
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-stage);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

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

.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-size: 0.9rem;
  display: none;
}

.form-alert.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* =============================================================================
   FOOTER
   ============================================================================= */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  border-color: var(--border-hover);
  color: var(--text-main);
  transform: translateY(-2px);
}

/* Floating WhatsApp Quick Action Button */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 99;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: transform var(--transition-spring);
}

html[dir="ltr"] .floating-whatsapp {
  left: auto;
  right: 28px;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-3px);
}

/* =============================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ============================================================================= */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .forge-title {
    align-items: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-tech-row {
    justify-content: center;
  }

  .hero-lower-panels {
    grid-template-columns: 1fr 1fr;
  }

  .hero-lower-panel-wide {
    grid-column: 1 / -1;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0 10px;
    top: 10px;
  }

  .nav-wrapper {
    height: 56px;
    padding: 0 16px;
  }

  .nav-links {
    display: none; /* In mobile, toggled via menu button */
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 1000;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 16px;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0,0,0,0.7);
  }

  .nav-links.is-open {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-stage {
    padding: 40px 20px 32px;
  }

  .hero-folder-wrapper {
    width: 100%;
    overflow: visible;
  }

  .gf-root {
    width: 300px;
    height: 300px;
  }

  .gf-sheet {
    width: 250px;
    left: 25px;
  }

  .hero-lower-panels {
    grid-template-columns: 1fr;
  }

  .hero-lower-panel-wide {
    flex-direction: column;
    text-align: center;
  }

  .hero-project-preview {
    width: 100%;
    transform: none;
  }

  .hero-lower-panel:hover .hero-project-preview {
    transform: scale(1.02);
  }

  .cta-stage {
    padding: 40px 20px;
  }

  .modal-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   GROWTH MARKETING CONSULTANT SECTIONS & SCANNABLE UI COMPONENTS
   ============================================================================= */

/* 1. Growth Vision & Pillars */
.growth-vision-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 44px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.growth-vision-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.growth-vision-hero-text {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.75;
  color: var(--text-main);
  margin-bottom: 32px;
  position: relative;
  max-width: 960px;
}

.growth-vision-hero-text mark {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(129, 140, 248, 0.25));
  color: var(--accent-blue);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
}

.growth-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

[data-theme="light"] .pillar-card {
  background: rgba(0, 0, 0, 0.02);
}

.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pillar-icon-pill {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent-blue);
}

.pillar-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pillar-badge.roas {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.pillar-badge.cac {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-blue);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.pillar-badge.ltv {
  background: rgba(251, 191, 36, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.pillar-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.pillar-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Vision Comparison Box */
.vision-comparison-box {
  margin-top: 28px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

[data-theme="light"] .vision-comparison-box {
  background: rgba(0, 0, 0, 0.02);
}

.comp-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.comp-col-header.bad {
  color: #f87171;
}

.comp-col-header.good {
  color: var(--accent-emerald);
}

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

.comp-item {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.5;
}

/* 2. Objectives Grid */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.objective-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.objective-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.objective-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.objective-icon {
  font-size: 2rem;
  line-height: 1;
}

.objective-metric-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent-blue);
}

.objective-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.4;
}

.objective-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.68;
}

.objective-points-list {
  list-style: none;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.objective-point {
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.objective-point span.check {
  color: var(--accent-emerald);
  font-weight: 700;
}

/* 3. Platforms & Ecosystem in KSA */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ecosystem-column {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.ecosystem-col-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 12px;
}

.ecosystem-col-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.ecosystem-col-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.ecosystem-col-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.ecosystem-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ecosystem-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all var(--transition-smooth);
}

[data-theme="light"] .ecosystem-item {
  background: rgba(0, 0, 0, 0.02);
}

.ecosystem-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateX(-3px);
}

[dir="ltr"] .ecosystem-item:hover {
  transform: translateX(3px);
}

.ecosystem-item-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ecosystem-item-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ecosystem-item-body {
  flex: 1;
}

.ecosystem-item-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.ecosystem-badge-micro {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-blue);
  font-weight: 600;
}

.ecosystem-item-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 4. Growth Framework - 5 Steps */
.framework-steps-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.framework-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 24px;
  position: relative;
  transition: all var(--transition-smooth);
}

.framework-step-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.step-num-box {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(129, 140, 248, 0.12));
  border: 1px solid var(--border-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent-blue);
  font-family: var(--font-latin);
}

.step-content-box h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-en-subtitle {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  font-family: var(--font-latin);
}

.step-content-box p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.step-deliverables-pill {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-blue);
  white-space: nowrap;
}

/* 5. Core Growth Skills */
.skills-wrapper-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}

.skills-cloud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.skill-growth-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--transition-smooth);
  cursor: default;
}

[data-theme="light"] .skill-growth-badge {
  background: rgba(0, 0, 0, 0.02);
}

.skill-growth-badge:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px -6px rgba(56, 189, 248, 0.25);
}

.skill-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.skill-badge-info h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.skill-badge-info span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Growth CTA Bridge transitioning to #contact */
.growth-cta-bridge {
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(129, 140, 248, 0.1) 50%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.growth-cta-bridge h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
}

.growth-cta-bridge p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  line-height: 1.7;
}

/* Media Queries for Growth Sections */
@media (max-width: 991px) {
  .growth-pillars-grid,
  .objectives-grid,
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .vision-comparison-box {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .framework-step-card {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }

  .step-deliverables-pill {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .btn-cta-nav {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .btn-cta-nav {
    display: none;
  }
}

  .forge-title-top {
    font-size: 2.2rem;
  }

  .forge-title-bottom {
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .growth-vision-card,
  .skills-wrapper-box,
  .growth-cta-bridge {
    padding: 24px 18px;
  }

  .growth-vision-hero-text {
    font-size: 1.1rem;
  }

  .framework-step-card {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .step-num-box {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

/* =============================================================================
   2026/2027 HIGH-END ANIMATION SYSTEM & MOBILE SAFARI 60FPS OPTIMIZATION
   ============================================================================= */

/* 1. Blur-Fade Reveal System (Apple / Linear style) */
.blur-reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(24px) scale(0.985);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.blur-reveal.is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

/* Staggered reveals for child elements */
.stagger-container > *:nth-child(1) { transition-delay: 0.04s; }
.stagger-container > *:nth-child(2) { transition-delay: 0.10s; }
.stagger-container > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-container > *:nth-child(4) { transition-delay: 0.22s; }
.stagger-container > *:nth-child(5) { transition-delay: 0.28s; }
.stagger-container > *:nth-child(6) { transition-delay: 0.34s; }
.stagger-container > *:nth-child(7) { transition-delay: 0.40s; }
.stagger-container > *:nth-child(8) { transition-delay: 0.46s; }

/* 2. Spotlight & 3D Tilt Cards (Desktop Only) */
@media (hover: hover) and (min-width: 992px) {
  .spotlight-card {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s ease,
                box-shadow 0.35s ease;
  }

  .spotlight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
      450px circle at var(--spotlight-x, -999px) var(--spotlight-y, -999px),
      rgba(56, 189, 248, 0.14),
      transparent 65%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 1;
  }

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

  /* Glowing dynamic border following cursor */
  .spotlight-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(
      320px circle at var(--spotlight-x, -999px) var(--spotlight-y, -999px),
      rgba(56, 189, 248, 0.8),
      rgba(129, 140, 248, 0.35) 35%,
      transparent 65%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
  }

  .spotlight-card:hover::after {
    opacity: 1;
  }
}

/* 3. Interactive Marquee Section */
.interactive-marquee-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 40px 0 20px;
  padding: 10px 0;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: marqueeScrollRTL 38s linear infinite;
  will-change: transform;
}

.marquee-track-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScrollRTL {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(50%, 0, 0); }
}

[dir="ltr"] .marquee-track {
  animation: marqueeScrollLTR 38s linear infinite;
}

@keyframes marqueeScrollLTR {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.marquee-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
  transition: all var(--transition-fast);
  cursor: default;
}

.marquee-pill-item img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.marquee-pill-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.25);
  transform: translateY(-2px);
}

/* 4. Scroll-Driven Progress Line in Framework */
.framework-steps-container {
  position: relative;
}

.framework-timeline-spine {
  position: absolute;
  top: 40px;
  bottom: 40px;
  right: 65px;
  width: 3px;
  pointer-events: none;
  z-index: 1;
}

[dir="ltr"] .framework-timeline-spine {
  right: auto;
  left: 65px;
}

.spine-track {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

[data-theme="light"] .spine-track {
  background: rgba(0, 0, 0, 0.08);
}

.spine-glow-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0%;
  background: linear-gradient(180deg, var(--accent-blue) 0%, var(--accent-purple) 60%, var(--accent-emerald) 100%);
  border-radius: 999px;
  box-shadow: 0 0 14px var(--accent-blue);
  transition: height 0.15s ease-out;
}

/* Framework Active Card Elevation */
.framework-step-card {
  z-index: 2;
  position: relative;
}

.framework-step-card.is-active-step {
  border-color: var(--accent-blue);
  box-shadow: 0 0 32px -6px rgba(56, 189, 248, 0.35);
  transform: translateY(-4px);
}

.framework-step-card.is-active-step .step-num-box {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(129, 140, 248, 0.25));
  border-color: var(--accent-blue);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

.framework-step-card.is-active-step .step-deliverables-pill {
  border-color: var(--accent-blue);
  background: rgba(56, 189, 248, 0.12);
  color: #ffffff;
}

/* 5. Shimmer Border & Magnetic CTA */
.btn-shimmer-glow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: none !important;
}

.btn-shimmer-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 80deg,
    rgba(56, 189, 248, 0.95) 120deg,
    rgba(129, 140, 248, 0.95) 160deg,
    transparent 220deg,
    transparent 360deg
  );
  animation: rotateShimmer 4s linear infinite;
  z-index: -2;
}

.btn-shimmer-glow::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  background: var(--gradient-cta);
  border-radius: inherit;
  z-index: -1;
  transition: opacity var(--transition-fast);
}

.btn-shimmer-glow:hover::after {
  opacity: 0.92;
}

@keyframes rotateShimmer {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Magnetic CTA element smoothness */
.btn-magnetic-cta {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
  will-change: transform;
}

/* =============================================================================
   MOBILE (IOS SAFARI / IPHONE) PERFORMANCE & TOUCH INTERACTION POLISH
   ============================================================================= */
@media (hover: none), (max-width: 991px) {
  /* 1. Instant GPU visibility on mobile: prevents any blank flashes during rapid thumb scrolling */
  .blur-reveal {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.12s ease !important;
  }

  /* 2. Touch Scale Feedback on tap (iOS app-like feel) */
  .objective-card:active,
  .ecosystem-item:active,
  .framework-step-card:active,
  .pillar-card:active,
  .skill-growth-badge:active,
  .btn-primary:active,
  .btn-secondary:active,
  .btn-contact-direct:active,
  .hero-lower-panel:active,
  .marquee-pill-item:active {
    transform: scale(0.975) !important;
    transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  /* 3. Auto-Glow on Scroll: Cards automatically highlight when centered in viewport */
  .mobile-in-focus {
    border-color: rgba(56, 189, 248, 0.7) !important;
    box-shadow: 0 0 28px -4px rgba(56, 189, 248, 0.35) !important;
    transform: translateY(-2px) !important;
  }

  /* 4. GPU Acceleration for compositor-only silky 60fps scrolling */
  .marquee-track,
  .framework-step-card,
  .growth-vision-card,
  .objective-card,
  .site-header {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  /* 5. Reduce heavy filter blur by 50% on mobile for flawless iPhone rendering */
  .growth-vision-card,
  .objective-card,
  .ecosystem-column,
  .framework-step-card,
  .skills-wrapper-box,
  .nav-wrapper,
  .marquee-pill-item {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }

  .ambient-aurora {
    opacity: 0.55;
  }

  .aurora-orb {
    filter: blur(40px) !important;
  }
}

/* Mobile RTL Polish & Timeline positioning on screens <= 768px */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    overflow-x: clip;
    width: 100%;
  }

  .framework-timeline-spine {
    top: 25px;
    bottom: 25px;
    right: 32px;
    width: 2px;
  }

  [dir="ltr"] .framework-timeline-spine {
    right: auto;
    left: 32px;
  }

  .framework-step-card {
    padding: 22px 18px 22px 20px;
    gap: 16px;
  }

  .step-num-box {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    border-radius: 14px;
  }

  .step-content-box h4 {
    font-size: 1.15rem;
    flex-wrap: wrap;
    gap: 6px;
  }

  .interactive-marquee-section {
    margin: 28px 0 16px;
  }

  .marquee-pill-item {
    padding: 8px 16px;
    font-size: 0.82rem;
  }
}

/* =========================================================================
   CLOUDY-GRADE ANIMATION ENGINE & DYNAMIC ISLAND NOTCH (مستوى الاحتراف 2027)
   Inspired by cloudy.ahmedali.online & Apple Dynamic Island
   ========================================================================= */

/* 1. Core Living Keyframes */
@keyframes iconFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes iconFloatRev {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(5px) rotate(-2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes auraBreathe {
  0%, 100% { opacity: 0.35; transform: scale(0.92); }
  50% { opacity: 0.8; transform: scale(1.12); }
}

@keyframes iconSheenSweep {
  0% { left: -140%; opacity: 0; }
  35% { opacity: 0.85; }
  100% { left: 220%; opacity: 0; }
}

@keyframes waveEqualizer {
  0%, 100% { transform: scaleY(0.25); }
  50% { transform: scaleY(1); }
}

@keyframes notchBreathe {
  0%, 100% { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1); }
  50% { box-shadow: 0 14px 50px rgba(16, 185, 129, 0.2), 0 0 0 1px rgba(16, 185, 129, 0.35); }
}

@keyframes livePulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.4; }
}

@keyframes liquidGlowSweep {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 2. Interactive Growth Notch / Dynamic Island */
.growth-notch-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto 32px;
  position: relative;
  z-index: 50;
}

.growth-notch {
  position: relative;
  background: rgba(12, 16, 26, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 12px 38px -6px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  transition: all 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  user-select: none;
  cursor: pointer;
}

/* Compact Pill (Idle State) */
.notch-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 18px 6px 16px;
  height: 42px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

.notch-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notch-live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  display: inline-block;
  position: relative;
}

.notch-live-pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #10B981;
  animation: livePulseDot 2s infinite ease-out;
}

.notch-compact-title {
  color: var(--text-main);
  letter-spacing: -0.2px;
}

/* Equalizer Wave Visualizer */
.notch-wave-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
  padding: 0 4px;
}

.wave-bar {
  width: 3px;
  height: 14px;
  background: var(--accent-blue);
  border-radius: 99px;
  transform-origin: bottom;
  animation: waveEqualizer 1.2s ease-in-out infinite alternate;
}

.wb-1 { animation-delay: 0.1s; height: 10px; background: #10B981; }
.wb-2 { animation-delay: 0.35s; height: 16px; background: #38BDF8; }
.wb-3 { animation-delay: 0.2s; height: 12px; background: #818CF8; }
.wb-4 { animation-delay: 0.5s; height: 8px; background: #EC4899; }

.notch-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notch-metric-chip {
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10B981;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.notch-expand-chevron {
  font-size: 0.75rem;
  color: var(--text-dim);
  transition: transform 0.35s ease;
}

.growth-notch:hover {
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px -8px rgba(56, 189, 248, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.growth-notch:hover .notch-expand-chevron {
  transform: translateY(2px);
  color: var(--text-main);
}

/* Expanded State (The Live Growth Command Center) */
.growth-notch.is-expanded {
  border-radius: 28px;
  background: rgba(10, 14, 24, 0.96);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 24px 70px -10px rgba(0, 0, 0, 0.85), 0 0 30px rgba(56, 189, 248, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  cursor: default;
  width: 540px;
  max-width: calc(100vw - 32px);
}

.growth-notch.is-expanded .notch-compact {
  display: none;
}

.notch-expanded {
  display: none;
  padding: 22px 24px 20px;
  animation: ldrIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.growth-notch.is-expanded .notch-expanded {
  display: block;
}

@keyframes ldrIn {
  0% { opacity: 0; transform: scale(0.96) translateY(-8px); filter: blur(6px); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

.notch-exp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notch-exp-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.notch-exp-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notch-mini-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-blue);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.notch-close-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notch-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
  transform: rotate(90deg);
}

/* Notch Tab Navigation */
.notch-tabs {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.notch-tab-btn {
  flex: 1;
  padding: 7px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.notch-tab-btn:hover {
  color: var(--text-main);
}

.notch-tab-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.notch-tab-content {
  display: none;
}

.notch-tab-content.active {
  display: block;
  animation: ldrIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Tab 1: Live Stats */
.notch-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.notch-stat-box {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: center;
  transition: transform 0.3s ease;
}

.notch-stat-box:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.3);
}

.nstat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.nstat-value {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 4px;
}

.nstat-value.text-emerald { color: #10B981; text-shadow: 0 0 14px rgba(16, 185, 129, 0.35); }
.nstat-value.text-cyan { color: #38BDF8; text-shadow: 0 0 14px rgba(56, 189, 248, 0.35); }
.nstat-value.text-purple { color: #C084FC; text-shadow: 0 0 14px rgba(192, 132, 252, 0.35); }

.nstat-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Tab 2: Interactive ROAS Calculator */
.notch-calc-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.calc-slider-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.calc-label-row strong {
  color: #38BDF8;
  font-size: 1rem;
}

.calc-range-input {
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.calc-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.calc-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-range-limits {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 6px;
}

.calc-result-badge {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(56, 189, 248, 0.12));
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: center;
}

.calc-res-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.calc-res-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: #10B981;
  text-shadow: 0 0 18px rgba(16, 185, 129, 0.4);
  line-height: 1.2;
}

.calc-res-profit {
  font-size: 0.74rem;
  color: #38BDF8;
  margin-top: 4px;
}

/* Tab 3: Active Channels */
.notch-channels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.notch-channel-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.ch-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-left: 6px;
}
.ch-dot.snap { background: #FFFC00; box-shadow: 0 0 6px #FFFC00; }
.ch-dot.tiktok { background: #00F2FE; box-shadow: 0 0 6px #00F2FE; }
.ch-dot.meta { background: #0081FB; box-shadow: 0 0 6px #0081FB; }
.ch-dot.google { background: #34A853; box-shadow: 0 0 6px #34A853; }

.notch-channel-pill strong {
  font-size: 0.7rem;
  color: #10B981;
}

/* Notch Footer CTA */
.notch-footer-cta {
  display: flex;
}

.notch-cta-btn {
  width: 100%;
  padding: 11px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.35);
  transition: all 0.3s ease;
}

.notch-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(6, 182, 212, 0.5);
  color: #fff;
}

/* 3. Cloudy-Style Glass Tiles (Mesh & Gloss Overlays) */
.gt-mesh {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s ease;
}

.pillar-card:nth-child(1) .gt-mesh,
.objective-card:nth-child(1) .gt-mesh {
  background: radial-gradient(65% 75% at 15% 10%, #10B981 0%, transparent 60%),
              radial-gradient(60% 70% at 85% 90%, #06B6D4 0%, transparent 65%);
}

.pillar-card:nth-child(2) .gt-mesh,
.objective-card:nth-child(2) .gt-mesh {
  background: radial-gradient(65% 75% at 15% 10%, #38BDF8 0%, transparent 60%),
              radial-gradient(60% 70% at 85% 90%, #6366F1 0%, transparent 65%);
}

.pillar-card:nth-child(3) .gt-mesh,
.objective-card:nth-child(3) .gt-mesh {
  background: radial-gradient(65% 75% at 15% 10%, #A855F7 0%, transparent 60%),
              radial-gradient(60% 70% at 85% 90%, #EC4899 0%, transparent 65%);
}

.pillar-card:hover .gt-mesh,
.objective-card:hover .gt-mesh {
  opacity: 0.32;
}

.gt-gloss {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

.gt-edge {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18);
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.spotlight-card:hover .gt-edge {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.32), 0 0 24px rgba(56, 189, 248, 0.16);
}

/* 4. Living Icon Physics & Brand Neon Aura */
.ecosystem-item-logo {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  perspective: 800px;
}

.ecosystem-item-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 3;
}

.ecosystem-item:hover .ecosystem-item-logo::before {
  animation: iconSheenSweep 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ecosystem-item-logo::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

/* Specific Brand Halo Auras on Hover */
.ecosystem-item[data-brand="snapchat"]:hover .ecosystem-item-logo::after { background: #FFFC00; opacity: 0.6; transform: scale(1.2); }
.ecosystem-item[data-brand="tiktok"]:hover .ecosystem-item-logo::after { background: linear-gradient(135deg, #00F2FE, #FE2C55); opacity: 0.7; transform: scale(1.2); }
.ecosystem-item[data-brand="meta"]:hover .ecosystem-item-logo::after { background: #0081FB; opacity: 0.6; transform: scale(1.2); }
.ecosystem-item[data-brand="google"]:hover .ecosystem-item-logo::after { background: linear-gradient(135deg, #4285F4, #FBBC04, #34A853); opacity: 0.65; transform: scale(1.2); }
.ecosystem-item[data-brand="x"]:hover .ecosystem-item-logo::after { background: #ffffff; opacity: 0.4; transform: scale(1.2); }
.ecosystem-item[data-brand="salla"]:hover .ecosystem-item-logo::after { background: #00E396; opacity: 0.65; transform: scale(1.2); }
.ecosystem-item[data-brand="zid"]:hover .ecosystem-item-logo::after { background: #AF72FF; opacity: 0.65; transform: scale(1.2); }
.ecosystem-item[data-brand="shopify"]:hover .ecosystem-item-logo::after { background: #95BF47; opacity: 0.65; transform: scale(1.2); }
.ecosystem-item[data-brand="ga4"]:hover .ecosystem-item-logo::after { background: #F9AB00; opacity: 0.65; transform: scale(1.2); }
.ecosystem-item[data-brand="gtm"]:hover .ecosystem-item-logo::after { background: #24C1E0; opacity: 0.65; transform: scale(1.2); }
.ecosystem-item[data-brand="heatmaps"]:hover .ecosystem-item-logo::after { background: #FF3C00; opacity: 0.65; transform: scale(1.2); }

.ecosystem-item-logo img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  animation: iconFloat 4.2s ease-in-out infinite alternate;
}

.ecosystem-item:nth-child(even) .ecosystem-item-logo img {
  animation: iconFloatRev 4.8s ease-in-out infinite alternate;
  animation-delay: 0.4s;
}

.ecosystem-item:hover .ecosystem-item-logo {
  transform: translateY(-4px) scale(1.08);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.ecosystem-item:hover .ecosystem-item-logo img {
  transform: scale(1.18) rotate(3deg);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

/* Sound Toggle Button in Header */
.btn-sound-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1rem;
}

.btn-sound-toggle:hover {
  border-color: var(--border-hover);
  color: var(--text-main);
  transform: translateY(-1px);
}

/* Responsive Polish for Notch */
@media (max-width: 600px) {
  .growth-notch.is-expanded {
    width: 100%;
    padding: 16px 14px 16px;
    border-radius: 22px;
  }
  .notch-stats-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .notch-channels-grid {
    grid-template-columns: 1fr;
  }
  .notch-compact {
    padding: 6px 14px;
    gap: 10px;
    font-size: 0.8rem;
  }
  .nstat-value {
    font-size: 1.25rem;
  }
}

/* =============================================================================
   MULTI-PAGE ARCHITECTURE & SUB-PAGE BANNERS
   ============================================================================= */
.page-hero-banner {
  padding: 130px 0 50px;
  text-align: center;
  position: relative;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-blue);
  background: rgba(56, 189, 248, 0.1);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.22);
  margin-bottom: 18px;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.quick-nav-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.quick-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.quick-nav-pill:hover {
  color: var(--text-main);
  border-color: var(--accent-blue);
  background: rgba(56, 189, 248, 0.08);
  transform: translateY(-2px);
}

/* =============================================================================
   PRICING PACKAGES (صفحة الباقات والأسعار)
   ============================================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: stretch;
  margin: 40px 0 70px;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border-radius: 24px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(56, 189, 248, 0.15);
}

/* Featured: Full Growth Package */
.pricing-card.featured {
  border: 1.5px solid rgba(56, 189, 248, 0.6);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.08) 0%, rgba(15, 23, 42, 0.6) 100%);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 40px rgba(56, 189, 248, 0.2);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 50px rgba(56, 189, 248, 0.3);
}

.pricing-badge-popular {
  position: absolute;
  top: 16px;
  left: 20px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
  letter-spacing: 0.02em;
  animation: livePulseDot 2s infinite ease-in-out;
}

html[dir="ltr"] .pricing-badge-popular {
  left: auto;
  right: 20px;
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: inline-block;
}

.pricing-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.35;
}

.pricing-target {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  min-height: 42px;
}

.pricing-cost-row {
  margin: 20px 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.pricing-cost {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.pricing-currency {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-period {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pricing-old-cost {
  text-decoration: line-through;
  color: #ef4444;
  font-size: 1.05rem;
  font-weight: 600;
  margin-right: 6px;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.pricing-feature-item .pcheck {
  color: var(--accent-emerald);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-feature-item.highlight {
  color: var(--text-main);
  font-weight: 600;
}

.pricing-feature-item.note {
  font-size: 0.82rem;
  color: #94a3b8;
  font-style: italic;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 10px;
  margin-top: 4px;
}

.btn-pricing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-pricing-cta.primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

.btn-pricing-cta.primary:hover {
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.55);
  transform: translateY(-2px);
}

.btn-pricing-cta.secondary {
  background: var(--bg-pill);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-pricing-cta.secondary:hover {
  border-color: var(--accent-blue);
  background: rgba(56, 189, 248, 0.1);
  transform: translateY(-2px);
}

/* Comparison Table */
.comparison-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  margin: 60px 0;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 0.94rem;
}

html[dir="ltr"] .comparison-table {
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  color: var(--text-main);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table td {
  color: var(--text-muted);
}

.comparison-table tr:hover td {
  background: rgba(56, 189, 248, 0.03);
}

.comparison-table .yes {
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 1.1rem;
}

.comparison-table .no {
  color: #64748b;
  font-size: 1.1rem;
}

/* FAQ Section */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto 80px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.is-open {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  text-align: right;
}

html[dir="ltr"] .faq-question {
  text-align: left;
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-pill);
  font-size: 1.1rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-right: 12px;
}

html[dir="ltr"] .faq-toggle-icon {
  margin-right: 0;
  margin-left: 12px;
}

.faq-item.is-open .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* =============================================================================
   SERVICES DEEP DIVE (صفحة الخدمات وطرق التسويق)
   ============================================================================= */
.service-axis-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 44px;
  margin-bottom: 50px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-axis-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
}

.service-axis-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.service-axis-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.service-axis-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-blue);
  background: rgba(56, 189, 248, 0.12);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.service-axis-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.service-axis-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 800px;
}

.service-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 32px 0 28px;
}

.service-sub-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 24px;
  transition: all var(--transition-fast);
}

.service-sub-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-3px);
}

.service-sub-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: inline-block;
}

.service-sub-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.service-sub-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Campaign Phases Stepper */
.campaign-phases-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.campaign-phase-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 22px 18px;
}

.phase-step-pill {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 10px;
}

.phase-1 { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.phase-2 { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.phase-3 { background: rgba(192, 132, 252, 0.15); color: #c084fc; }

.phase-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.phase-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 850px) {
  .campaign-phases-row {
    grid-template-columns: 1fr;
  }
  .service-axis-card {
    padding: 24px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }
}

/* =============================================================================
   COURSES & ACADEMY PAGE STYLES
   ============================================================================= */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin: 40px 0 60px;
}

.course-card {
  position: relative;
  background: var(--card-bg, rgba(20, 24, 39, 0.7));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-2xl, 24px);
  padding: 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 30px -5px rgba(56, 189, 248, 0.15);
}

.course-card.featured {
  border-color: rgba(56, 189, 248, 0.5);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.07) 0%, rgba(15, 23, 42, 0.8) 100%);
  box-shadow: 0 10px 30px -10px rgba(56, 189, 248, 0.25);
  grid-column: 1 / -1;
}

.course-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  margin-bottom: 16px;
  width: fit-content;
}

.course-card.featured .course-badge {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #ffffff;
  border: none;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

.course-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main, #ffffff);
  line-height: 1.4;
  margin-bottom: 10px;
}

.course-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.6;
  margin-bottom: 18px;
}

.course-target-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.06);
  padding: 8px 14px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.course-meta-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: var(--text-muted, #94a3b8);
}

.course-meta-tag {
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-modules-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.course-module-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-main, #e2e8f0);
  line-height: 1.5;
}

.course-module-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #10b981;
}

.course-footer-row {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.course-price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.course-price-val {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  font-family: var(--font-mono, monospace);
}

.course-price-curr {
  font-size: 0.95rem;
  font-weight: 700;
  color: #38bdf8;
}

.course-old-val {
  font-size: 0.95rem;
  color: var(--text-dim, #64748b);
  text-decoration: line-through;
}

/* =============================================================================
   ARTICLES & BLOG PAGE STYLES
   ============================================================================= */
.articles-filter-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 32px 0 44px;
}

.filter-chip {
  padding: 8px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted, #94a3b8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.filter-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main, #ffffff);
  border-color: rgba(255, 255, 255, 0.16);
}

.filter-chip.active {
  background: #38bdf8;
  color: #0b0f19;
  border-color: #38bdf8;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 60px;
}

.article-card {
  position: relative;
  background: var(--card-bg, rgba(20, 24, 39, 0.7));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-2xl, 22px);
  padding: 26px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.4), 0 0 25px -5px rgba(56, 189, 248, 0.1);
}

.article-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.article-category-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.article-read-time {
  font-size: 0.78rem;
  color: var(--text-dim, #64748b);
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main, #ffffff);
  line-height: 1.5;
  margin-bottom: 12px;
}

.article-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.65;
  margin-bottom: 20px;
}

.article-tags-wrap {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.article-tag {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim, #94a3b8);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.article-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.article-author-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.article-author-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main, #e2e8f0);
}

.article-cta-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: gap 0.2s ease, color 0.2s ease;
  font-family: inherit;
}

.article-cta-link:hover {
  color: #7dd3fc;
  gap: 8px;
}

/* =============================================================================
   100 SAR CONSULTATION CALLOUT & BADGES
   ============================================================================= */
.consultation-offer-box {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 2px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-2xl, 24px);
  padding: 32px 36px;
  margin: 36px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px -15px rgba(56, 189, 248, 0.2);
}

.consultation-offer-box::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.consultation-badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
  margin-bottom: 14px;
}

.consultation-price-callout {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 12px 0 16px;
}

.consultation-price-now {
  font-size: 2.6rem;
  font-weight: 900;
  color: #ffffff;
  font-family: var(--font-mono, monospace);
}

.consultation-currency-now {
  font-size: 1.15rem;
  font-weight: 800;
  color: #10b981;
}

.consultation-price-before {
  font-size: 1.1rem;
  color: var(--text-dim, #64748b);
  text-decoration: line-through;
}

@media (max-width: 900px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .consultation-offer-box {
    padding: 24px 20px;
  }
  .consultation-price-now {
    font-size: 2.1rem;
  }
}

/* =============================================================================
   ABDALLAH BAKHIT STYLE: BLOG ARCHIVE & CARDS
   ============================================================================= */
.blogArchive__hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  margin-bottom: 28px;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 40%),
    linear-gradient(135deg, rgba(14, 165, 233, 0.22) 0%, rgba(15, 23, 42, 0.95) 70%, rgba(11, 15, 25, 1) 100%);
  color: #fff;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6), 0 0 35px -10px rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.blogArchive__eyebrow {
  display: inline-block;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blogArchive__hero h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 12px;
  color: #ffffff;
}

.blogArchive__hero p {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--text-muted, #94a3b8);
  max-width: 820px;
  line-height: 1.75;
  margin: 0;
}

.blogTabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.blogTabs button, .blogTabs a {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--card-bg, rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blogTabs button:hover, .blogTabs a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}

.blogTabs button.is-active, .blogTabs a.is-active {
  background: #38bdf8;
  color: #0b0f19;
  border-color: #38bdf8;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.35);
}

.blogGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 60px;
}

.blogCard {
  position: relative;
  background: var(--card-bg, rgba(20, 24, 39, 0.75));
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  display: flex;
  flex-direction: column;
}

.blogCard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #38bdf8, #10b981, #c084fc);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 3;
}

.blogCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.5), 0 0 30px -8px rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.35);
}

.blogCard:hover::before {
  opacity: 1;
}

.blogCard__img {
  display: block;
  aspect-ratio: 16 / 9;
  background: #090d16;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blogCard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.blogCard:hover .blogCard__img img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.blogCard__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 15, 25, 0.5) 100%);
  opacity: 0.5;
  z-index: 2;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.blogCard:hover .blogCard__img::after {
  opacity: 0.2;
}

.blogCard__cover-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 20px;
  transition: transform 0.35s ease;
}

.blogCard:hover .blogCard__cover-content {
  transform: scale(1.05);
}

.blogCard__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blogCard__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--text-dim, #64748b);
  font-size: 0.8rem;
  font-weight: 700;
}

.blogCard__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.blogCard h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.55;
  font-weight: 800;
}

.blogCard h2 a {
  color: var(--text-main, #ffffff);
  text-decoration: none;
  transition: color 0.18s ease;
}

.blogCard h2 a:hover {
  color: #38bdf8;
}

.blogCard p {
  margin: 0 0 16px;
  color: var(--text-muted, #94a3b8);
  font-size: 0.88rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.blogCard__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #38bdf8;
  font-weight: 800;
  font-size: 0.86rem;
  text-decoration: none;
  transition: gap 0.18s ease, color 0.18s ease;
  margin-top: auto;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

.blogCard__read:hover {
  gap: 10px;
  color: #7dd3fc;
}

/* =============================================================================
   NZMLY STYLE: COURSES, DIGITAL PRODUCTS & SESSIONS STOREFRONT
   ============================================================================= */
.nzmly-store {
  margin-bottom: 70px;
}

.nzmly-profile-card {
  position: relative;
  background: var(--card-bg, rgba(20, 24, 39, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 16px 45px -12px rgba(0, 0, 0, 0.5);
}

.nzmly-profile-cover {
  height: 160px;
  background:
    radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.3), transparent 50%),
    linear-gradient(135deg, #0284c7 0%, #1e1b4b 60%, #0f172a 100%);
  position: relative;
}

.nzmly-profile-info {
  padding: 0 32px 28px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.nzmly-avatar-wrapper {
  margin-top: -60px;
  position: relative;
  display: inline-block;
}

.nzmly-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid var(--bg-main, #0b0f19);
  object-fit: cover;
  background: #1e293b;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.nzmly-verified-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: #38bdf8;
  color: #0b0f19;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-main, #0b0f19);
}

.nzmly-user-details {
  flex: 1;
  min-width: 260px;
  padding-top: 10px;
}

.nzmly-name {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-main, #ffffff);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nzmly-headline {
  font-size: 0.95rem;
  color: #38bdf8;
  font-weight: 700;
  margin-bottom: 6px;
}

.nzmly-bio {
  font-size: 0.88rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.6;
  max-width: 600px;
}

.nzmly-tabs-bar {
  display: flex;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
  gap: 28px;
  margin-bottom: 34px;
}

.nzmly-tab-btn {
  padding: 14px 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted, #94a3b8);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nzmly-tab-btn:hover {
  color: var(--text-main, #ffffff);
}

.nzmly-tab-btn.is-active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
  font-weight: 800;
}

.nzmly-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.nzmly-card {
  position: relative;
  background: var(--card-bg, rgba(20, 24, 39, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.35);
}

.nzmly-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5), 0 0 25px -5px rgba(56, 189, 248, 0.12);
}

.nzmly-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.95));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nzmly-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
  backdrop-filter: blur(8px);
}

.nzmly-card-rating {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.35);
  backdrop-filter: blur(8px);
}

.nzmly-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.nzmly-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main, #ffffff);
  line-height: 1.45;
  margin: 0 0 10px;
}

.nzmly-card-desc {
  font-size: 0.86rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.nzmly-card-specs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-dim, #64748b);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nzmly-card-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nzmly-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.nzmly-price-block {
  display: flex;
  flex-direction: column;
}

.nzmly-price-current {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-main, #ffffff);
  font-family: var(--font-mono, monospace);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.nzmly-price-before-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
}

.nzmly-price-old {
  color: var(--text-dim, #64748b);
  text-decoration: line-through;
}

.nzmly-price-discount {
  color: #10b981;
  font-weight: 800;
}

.nzmly-btn-action {
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 800;
  border-radius: 12px;
  background: #38bdf8;
  color: #0b0f19;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
}

.nzmly-btn-action:hover {
  background: #7dd3fc;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.nzmly-btn-free {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: none;
}

.nzmly-btn-free:hover {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

/* Article Modal Reader */
.article-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.article-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.article-modal-container {
  background: var(--bg-card, #131726);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  width: min(860px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 44px);
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
  color: var(--text-main, #ffffff);
}

.article-modal-close {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.article-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

@media (max-width: 900px) {
  .blogGrid, .nzmly-cards-grid {
    grid-template-columns: 1fr;
  }
  .nzmly-profile-info {
    padding: 0 20px 20px;
  }
  .nzmly-tabs-bar {
    overflow-x: auto;
    white-space: nowrap;
    gap: 16px;
    padding-bottom: 6px;
  }
}

/* =============================================================================
   EDITORIAL ARTICLE PAGE STYLES (MATCHING ABDALLAH BAKHIT STYLE)
   ============================================================================= */
.reading-progress-bar {
  position: fixed;
  top: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #38bdf8, #10b981);
  width: 0%;
  z-index: 99999;
  transition: width 0.1s ease;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim, #64748b);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.article-breadcrumb a {
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-breadcrumb a:hover {
  color: #38bdf8;
}

.article-editorial-header {
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 32px;
}

.article-editorial-title {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 900;
  line-height: 1.35;
  color: var(--text-main, #ffffff);
  margin: 14px 0 18px;
}

.article-editorial-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--text-muted, #94a3b8);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 860px;
}

.article-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.article-author-strip {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-author-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #38bdf8;
}

.article-share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-share-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted, #94a3b8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.article-share-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}

.article-main-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  margin-bottom: 70px;
}

.article-toc-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-toc-card {
  background: var(--card-bg, rgba(20, 24, 39, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 22px;
}

.article-toc-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main, #ffffff);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-toc-link {
  font-size: 0.84rem;
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
  line-height: 1.5;
  display: block;
  padding-right: 10px;
  border-right: 2px solid transparent;
  transition: all 0.2s ease;
}

.article-toc-link:hover, .article-toc-link.is-active {
  color: #38bdf8;
  border-right-color: #38bdf8;
  font-weight: 700;
}

.article-editorial-body {
  font-size: 1.08rem;
  line-height: 1.88;
  color: var(--text-main, #e2e8f0);
}

.article-editorial-body h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 800;
  color: #ffffff;
  margin: 44px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  scroll-margin-top: 100px;
}

.article-editorial-body h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 800;
  color: #38bdf8;
  margin: 32px 0 14px;
  scroll-margin-top: 100px;
}

.article-editorial-body p {
  margin-bottom: 22px;
}

.article-editorial-body ul, .article-editorial-body ol {
  padding-right: 24px;
  margin-bottom: 24px;
  line-height: 1.8;
}

.article-editorial-body li {
  margin-bottom: 10px;
}

.article-editorial-body img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.editorial-callout {
  border-radius: 18px;
  padding: 24px 28px;
  margin: 32px 0;
  border-right: 4px solid;
  position: relative;
}

.editorial-callout.tip {
  background: rgba(16, 185, 129, 0.08);
  border-color: #10b981;
}

.editorial-callout.info {
  background: rgba(56, 189, 248, 0.08);
  border-color: #38bdf8;
}

.editorial-callout.strategy {
  background: rgba(192, 132, 252, 0.08);
  border-color: #c084fc;
}

.editorial-table-wrap {
  overflow-x: auto;
  margin: 32px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.editorial-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 0.92rem;
}

.editorial-table th {
  background: rgba(255, 255, 255, 0.04);
  color: #38bdf8;
  font-weight: 800;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.editorial-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-muted, #94a3b8);
}

.editorial-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.article-author-box {
  background: var(--card-bg, rgba(20, 24, 39, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px;
  margin: 50px 0 40px;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

/* =============================================================================
   LMS COURSE PLAYER & DIRECT LEARNING INTERFACE
   ============================================================================= */
.lms-wrapper {
  margin-top: 20px;
  margin-bottom: 80px;
}

.lms-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.lms-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.lms-back-link:hover {
  color: #38bdf8;
}

.lms-player-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 30px;
}

.lms-main-stage {
  display: flex;
  flex-direction: column;
}

.video-player-container {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7), 0 0 35px -10px rgba(56, 189, 248, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-screen-mock {
  width: 100%;
  height: 100%;
  position: relative;
  background: radial-gradient(circle at center, #1e293b 0%, #0b0f19 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.video-play-huge-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #38bdf8;
  color: #0b0f19;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.5);
}

.video-play-huge-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 45px rgba(56, 189, 248, 0.7);
}

.video-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
}

.video-progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  position: relative;
}

.video-progress-fill {
  height: 100%;
  width: 32%;
  border-radius: 999px;
  background: #38bdf8;
  position: relative;
}

.video-progress-fill::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.video-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  font-size: 0.85rem;
}

.video-ctrl-btn {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.video-ctrl-btn:hover {
  color: #38bdf8;
}

.lesson-navigation-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 20px 0 28px;
  padding: 16px 20px;
  background: var(--card-bg, rgba(20, 24, 39, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  flex-wrap: wrap;
}

.lms-tabs-header {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.lms-tab-nav {
  padding: 12px 4px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted, #94a3b8);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.lms-tab-nav.active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
}

.lms-sidebar-card {
  background: var(--card-bg, rgba(20, 24, 39, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lms-sidebar-header {
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lms-progress-bar-wrap {
  margin-top: 12px;
}

.lms-progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.lms-progress-val {
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, #10b981, #38bdf8);
  border-radius: 999px;
}

.curriculum-accordion {
  overflow-y: auto;
  max-height: 580px;
}

.curriculum-chapter-header {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-main, #ffffff);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.curriculum-lesson-item {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.86rem;
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.curriculum-lesson-item:hover {
  background: rgba(56, 189, 248, 0.06);
  color: #ffffff;
}

.curriculum-lesson-item.active {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  font-weight: 700;
  border-right: 3px solid #38bdf8;
}

/* =============================================================================
   CHECKOUT DRAWER / MODAL EXPERIENCE
   ============================================================================= */
.checkout-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.checkout-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.checkout-modal-box {
  background: var(--bg-card, #131726);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  width: min(580px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 36px);
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
  color: #ffffff;
}

.payment-method-tile {
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 12px;
}

.payment-method-tile.selected {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
}

@media (max-width: 950px) {
  .article-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .article-toc-sidebar {
    position: static;
    max-height: none;
  }
  .lms-player-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   COMPREHENSIVE LIGHT THEME & DUAL-PERSPECTIVE CONTRAST POLISH
   Ensures 100% legibility, crisp contrast (WCAG AAA), and vibrant clarity.
   ============================================================================= */

/* 1. Global Light Mode Overrides */
[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-stage: #ffffff;
  --bg-card: #ffffff;
  --card-bg: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.94);
  --bg-glass-heavy: #ffffff;
  --bg-pill: rgba(15, 23, 42, 0.05);

  --border-subtle: rgba(15, 23, 42, 0.09);
  --border-hover: rgba(15, 23, 42, 0.2);
  --border-glow: rgba(2, 132, 199, 0.35);

  --text-main: #0f172a;
  --text-muted: #334155;
  --text-dim: #64748b;
  --text-inverse: #ffffff;

  --shadow-stage: 0 16px 45px -10px rgba(15, 23, 42, 0.07);
  --shadow-card: 0 8px 24px -4px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] body {
  background-color: #f8fafc;
  color: #0f172a;
}

[data-theme="light"] .ambient-aurora {
  opacity: 0.25;
  filter: blur(140px);
}

/* 2. Apple Dynamic Island / Growth Notch in Light Mode */
[data-theme="light"] .growth-notch {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  color: #0f172a;
}

[data-theme="light"] .notch-compact-title {
  color: #0f172a;
  font-weight: 700;
}

[data-theme="light"] .growth-notch.is-expanded {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

[data-theme="light"] .notch-exp-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .notch-exp-status {
  color: #0f172a;
  font-weight: 700;
}

[data-theme="light"] .notch-mini-tag {
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.09);
}

[data-theme="light"] .notch-tab-btn {
  color: #475569;
}

[data-theme="light"] .notch-tab-btn:hover {
  color: #0f172a;
}

[data-theme="light"] .notch-tab-btn.active {
  background: rgba(15, 23, 42, 0.07);
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .notch-stat-box {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .nstat-label {
  color: #64748b;
}

[data-theme="light"] .nstat-sub {
  color: #64748b;
}

[data-theme="light"] .calc-slider-block {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .calc-label-row {
  color: #0f172a;
}

[data-theme="light"] .calc-res-box {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .calc-res-label {
  color: #64748b;
}

/* 3. 3D Glass Interactive Folder in Light Mode */
[data-theme="light"] .gf-back {
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .gf-back-art {
  opacity: 0.12;
}

[data-theme="light"] .gf-shadow {
  background: rgba(15, 23, 42, 0.15);
  filter: blur(20px);
}

[data-theme="light"] .gf-sheet {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .gf-sheet-title {
  color: #0f172a;
}

[data-theme="light"] .gf-sheet-sub {
  color: #475569;
}

[data-theme="light"] .gf-sheet-footer {
  border-top-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .gf-sheet-footer-badge {
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .gf-tag-micro {
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
}

/* 4. Hero Stack Chips & Bento Lower Panels */
[data-theme="light"] .tech-tag-chip {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #334155;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .tech-tag-chip:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.2);
}

[data-theme="light"] .bento-panel {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .bento-panel:hover {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.1);
}

[data-theme="light"] .bento-stat-num {
  color: #0f172a;
}

[data-theme="light"] .bento-stat-label {
  color: #475569;
}

[data-theme="light"] .bento-title {
  color: #0f172a;
}

[data-theme="light"] .bento-desc {
  color: #334155;
}

/* 5. Vision, Objectives, Platforms & Framework */
[data-theme="light"] .pillar-card {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .pillar-title {
  color: #0f172a;
}

[data-theme="light"] .pillar-desc {
  color: #334155;
}

[data-theme="light"] .vision-comparison-box {
  background: #ffffff !important;
  border: 1px dashed rgba(15, 23, 42, 0.15) !important;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .comp-col-header.bad {
  color: #dc2626;
}

[data-theme="light"] .comp-col-header.good {
  color: #059669;
}

[data-theme="light"] .comp-list li {
  color: #334155;
}

[data-theme="light"] .growth-target-card,
[data-theme="light"] .platform-showcase-card,
[data-theme="light"] .framework-step-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .step-deliverables-pill {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #334155;
}

[data-theme="light"] .framework-step-card.is-active-step .step-deliverables-pill {
  background: rgba(2, 132, 199, 0.08);
  border-color: #0284c7;
  color: #0369a1;
}

/* 6. Quick Nav Pills */
[data-theme="light"] .quick-nav-pill {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #334155;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .quick-nav-pill:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.22);
}

[data-theme="light"] .quick-nav-pill.active {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  border-color: #0284c7;
  font-weight: 800;
}

/* 7. Services Axes & Packages in Light Mode */
[data-theme="light"] .service-axis-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .axis-item-desc {
  color: #475569;
}

[data-theme="light"] .axis-phase-card {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .axis-phase-title {
  color: #0f172a;
}

[data-theme="light"] .axis-phase-desc {
  color: #475569;
}

[data-theme="light"] .pricing-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .pricing-title {
  color: #0f172a;
}

[data-theme="light"] .pricing-desc {
  color: #475569;
}

[data-theme="light"] .pricing-price {
  color: #0f172a;
}

[data-theme="light"] .pricing-currency {
  color: #64748b;
}

[data-theme="light"] .feature-item {
  color: #334155;
}

[data-theme="light"] .pricing-features-title {
  color: #0f172a;
}

[data-theme="light"] .pricing-note {
  color: #64748b;
}

[data-theme="light"] .pricing-card.featured {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border: 2px solid #0284c7;
  box-shadow: 0 18px 45px rgba(2, 132, 199, 0.12);
}

[data-theme="light"] .pricing-card.featured .pricing-title {
  color: #0f172a;
}

[data-theme="light"] .pricing-card.featured .pricing-price {
  color: #0284c7;
}

[data-theme="light"] .pricing-card.featured .feature-item {
  color: #1e293b;
}

[data-theme="light"] .btn-pricing-cta.secondary {
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .comparison-table-wrapper {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .comparison-table th {
  background: #f8fafc;
  color: #0f172a;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .comparison-table td {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  color: #334155;
}

[data-theme="light"] .faq-item {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .faq-question {
  color: #0f172a;
}

[data-theme="light"] .faq-answer {
  color: #334155;
}

/* 8. Courses & Articles in Light Mode */
[data-theme="light"] .nzmly-profile-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .nzmly-name {
  color: #0f172a;
}

[data-theme="light"] .nzmly-bio {
  color: #475569;
}

[data-theme="light"] .nzmly-tab-btn {
  color: #64748b;
}

[data-theme="light"] .nzmly-tab-btn:hover {
  color: #0f172a;
}

[data-theme="light"] .nzmly-tab-btn.is-active {
  color: #0284c7;
  border-bottom-color: #0284c7;
}

[data-theme="light"] .nzmly-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .nzmly-card-thumb {
  background: linear-gradient(135deg, #e0f2fe 0%, #f1f5f9 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

[data-theme="light"] .nzmly-card-thumb div {
  color: #0f172a !important;
}

[data-theme="light"] .nzmly-card-title {
  color: #0f172a;
}

[data-theme="light"] .nzmly-card-desc {
  color: #475569;
}

[data-theme="light"] .nzmly-price-current {
  color: #0f172a;
}

[data-theme="light"] .academy-pass-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%) !important;
  border: 2px solid #86efac !important;
  box-shadow: 0 12px 36px rgba(16, 185, 129, 0.09) !important;
}

[data-theme="light"] .academy-pass-card h2 {
  color: #0f172a !important;
}

[data-theme="light"] .blogCard {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .blogCard__img {
  background: linear-gradient(135deg, #e0f2fe 0%, #f1f5f9 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

[data-theme="light"] .blogCard__cover-content div {
  color: #0f172a !important;
}

[data-theme="light"] .blogCard h2 a {
  color: #0f172a;
}

[data-theme="light"] .blogCard p {
  color: #475569;
}

/* 9. Article Reader in Light Mode */
[data-theme="light"] .article-editorial-title {
  color: #0f172a;
}

[data-theme="light"] .article-editorial-lead {
  color: #334155;
}

[data-theme="light"] .article-editorial-body {
  color: #334155;
}

[data-theme="light"] .article-editorial-body h2 {
  color: #0f172a !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .article-editorial-body h3 {
  color: #0284c7;
}

[data-theme="light"] .article-editorial-body p,
[data-theme="light"] .article-editorial-body li {
  color: #334155;
}

[data-theme="light"] .article-toc-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .article-toc-title {
  color: #0f172a;
}

[data-theme="light"] .article-toc-link {
  color: #475569;
}

[data-theme="light"] .article-toc-link:hover,
[data-theme="light"] .article-toc-link.is-active {
  color: #0284c7;
  border-right-color: #0284c7;
}

[data-theme="light"] .article-author-box {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .editorial-callout.tip {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
}

[data-theme="light"] .editorial-callout.info {
  background: #f0f9ff;
  border-color: #0284c7;
  color: #0369a1;
}

[data-theme="light"] .editorial-callout.strategy {
  background: #faf5ff;
  border-color: #9333ea;
  color: #581c87;
}

[data-theme="light"] .editorial-table-wrap {
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .editorial-table th {
  background: #f8fafc;
  color: #0284c7;
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .editorial-table td {
  color: #334155;
  border-bottom-color: rgba(15, 23, 42, 0.06);
}

/* 10. Consultation & Contact in Light Mode */
[data-theme="light"] .consultation-offer-box {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%) !important;
  border: 1px solid #bae6fd !important;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.08) !important;
}

[data-theme="light"] .consultation-price-now {
  color: #0284c7;
}

[data-theme="light"] .consultation-currency-now {
  color: #0369a1;
}

[data-theme="light"] .cta-stage {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .btn-contact-direct {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.09);
  color: #0f172a;
}

[data-theme="light"] .btn-contact-direct:hover {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.18);
}

[data-theme="light"] .contact-form-box {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] .form-label {
  color: #1e293b;
  font-weight: 700;
}

/* =============================================================================
   ENGLISH (LTR) TYPOGRAPHY & LAYOUT PERFECTION
   ============================================================================= */
html[dir="ltr"] {
  text-align: left;
}

html[dir="ltr"] .hero-actions,
html[dir="ltr"] .pricing-features,
html[dir="ltr"] .article-editorial-body ul,
html[dir="ltr"] .article-editorial-body ol,
html[dir="ltr"] .comp-list {
  text-align: left;
}

html[dir="ltr"] .article-editorial-body ul,
html[dir="ltr"] .article-editorial-body ol {
  padding-right: 0;
  padding-left: 24px;
}

html[dir="ltr"] .btn-primary:hover span[aria-hidden="true"],
html[dir="ltr"] .btn-secondary:hover span[aria-hidden="true"],
html[dir="ltr"] .btn-pricing-cta:hover span[aria-hidden="true"] {
  transform: translateX(4px);
}

html[dir="ltr"] .article-toc-link {
  padding-right: 0;
  padding-left: 10px;
  border-right: none;
  border-left: 2px solid transparent;
}

html[dir="ltr"] .article-toc-link:hover,
html[dir="ltr"] .article-toc-link.is-active {
  border-right-color: transparent;
  border-left-color: #0284c7;
}

html[dir="ltr"] .editorial-callout {
  border-right: none;
  border-left: 4px solid;
}

html[dir="ltr"] .editorial-table {
  text-align: left;
}


/* Additional Light Theme Specific Polish */
[data-theme="light"] .blogArchive__hero {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.15), transparent 45%),
    linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 60%, #ffffff 100%) !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .blogArchive__hero h1 {
  color: #0f172a !important;
}

[data-theme="light"] .blogArchive__hero p {
  color: #334155 !important;
}

[data-theme="light"] .blogTabs button {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #334155;
}

[data-theme="light"] .blogTabs button:hover {
  background: #f1f5f9;
  color: #0f172a;
}

[data-theme="light"] .blogTabs button.is-active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

[data-theme="light"] .nzmly-profile-cover {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 50%, #2563eb 100%);
}

[data-theme="light"] .nzmly-avatar {
  border-color: #ffffff;
  background: #f1f5f9;
}

[data-theme="light"] .nzmly-verified-badge {
  border-color: #ffffff;
}

[data-theme="light"] .editorial-callout,
[data-theme="light"] .key-takeaway-box {
  color: #1e293b;
}

[data-theme="light"] .editorial-callout p,
[data-theme="light"] .key-takeaway-box p {
  color: #334155;
}



/* =============================================================================
   CLIENTS SLIDER & GROWTH PROJECTS SYSTEM (مشاريعنا وعملاؤنا)
   ============================================================================= */

.clients-slider-section {
  position: relative;
  width: 100%;
  padding: 24px 0 16px;
  overflow: hidden;
  margin: 20px 0 32px;
}

.clients-slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.clients-slider-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.clients-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
}

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

.clients-slider-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.clients-slider-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.clients-slider-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.clients-slider-link:hover {
  color: #ffffff;
  transform: translateX(-3px);
}

html[dir="ltr"] .clients-slider-link:hover {
  transform: translateX(3px);
}

.clients-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  padding: 6px 0;
}

.clients-marquee-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: marqueeScrollRTL 32s linear infinite;
  will-change: transform;
}

html[dir="ltr"] .clients-marquee-track {
  animation: marqueeScrollLTR 32s linear infinite;
}

.clients-marquee-wrapper:hover .clients-marquee-track {
  animation-play-state: paused;
}

.client-brand-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
  min-width: 290px;
  flex-shrink: 0;
}

.client-brand-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.2);
}

.client-brand-logo-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.client-brand-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-brand-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.client-brand-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.client-brand-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
}

.client-brand-platform {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  white-space: nowrap;
}

.client-brand-metric {
  font-size: 0.78rem;
  font-weight: 700;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Clients Grid on Projects Page */
.clients-grid-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.client-grid-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.client-grid-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.case-study-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.case-study-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.case-stat-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.case-stat-value {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-main);
  font-family: monospace;
}

[data-theme="light"] .client-brand-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .client-brand-card:hover {
  background: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.2);
}

[data-theme="light"] .client-grid-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .case-study-stats-grid {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}

/* =============================================================================
   CASE STUDY DETAILS & DELIVERABLES GALLERY STYLES
   ============================================================================= */

.project-client-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--accent-blue);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 999px;
  padding: 3px 10px;
  font-weight: 700;
}

.project-has-deliverables-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 999px;
  padding: 2px 8px;
}

.modal-client-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 999px;
  padding: 4px 12px;
}

/* Comparison Before vs After Grid */
.modal-comparison-wrapper {
  margin: 24px 0;
}

.modal-comparison-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.modal-compare-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-compare-metric-name {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 700;
}

.modal-compare-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.modal-val-before {
  font-size: 0.95rem;
  color: #ef4444;
  text-decoration: line-through;
  opacity: 0.8;
}

.modal-val-after {
  font-size: 1.25rem;
  font-weight: 900;
  color: #10b981;
}

.modal-val-change {
  font-size: 0.75rem;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 7px;
  border-radius: 6px;
  align-self: flex-start;
  margin-top: 6px;
  display: inline-block;
}

/* Deep Dive Sections (Challenge, Strategy, Results) */
.modal-deepdive-sections {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.modal-case-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  transition: all var(--transition-fast);
}

.modal-case-box:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.03);
}

.modal-case-box-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.modal-case-box-icon {
  font-size: 1.25rem;
}

.modal-case-box-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.modal-case-box-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
  white-space: pre-line;
}

/* Deliverables & Creatives Showcase in Modal */
.modal-deliverables-section {
  margin: 32px 0 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.modal-deliverables-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-deliverables-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.modal-deliverables-hint {
  font-size: 0.8rem;
  color: var(--accent-blue);
}

.modal-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.deliverable-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.deliverable-item-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.15);
}

.deliverable-img-wrap {
  width: 100%;
  height: 200px;
  position: relative;
  background: #090d16;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deliverable-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.deliverable-item-card:hover .deliverable-img-wrap img {
  transform: scale(1.04);
}

.deliverable-zoom-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.deliverable-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.deliverable-type-badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.deliverable-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.deliverable-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Lightbox Modal for Full Resolution Deliverables */
.deliverable-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.deliverable-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content-box {
  position: relative;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.9);
}

.lightbox-img-full {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: #020617;
}

.lightbox-caption-bar {
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #0f172a;
}

.lightbox-caption-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.lightbox-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
}

/* =============================================================================
   WHY MAYSARA? (THE ANTI-AGENCY MANIFESTO & OPERATOR MODEL)
   ============================================================================= */

.why-hero-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.why-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  backdrop-filter: blur(12px);
}

.why-hero-badge span:first-child {
  font-size: 1.1rem;
}

/* Side by Side Comparison Grid */
.comparison-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.matrix-column-card {
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.matrix-column-card.traditional {
  background: rgba(239, 68, 68, 0.03);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.matrix-column-card.traditional:hover {
  border-color: rgba(239, 68, 68, 0.4);
}

.matrix-column-card.maysara {
  background: rgba(16, 185, 129, 0.04);
  border: 2px solid #10b981;
  box-shadow: 0 15px 45px rgba(16, 185, 129, 0.12);
}

.matrix-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.matrix-col-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.matrix-col-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.matrix-column-card.traditional .matrix-col-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.matrix-column-card.maysara .matrix-col-icon {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.matrix-col-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 0;
}

.matrix-col-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.matrix-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.matrix-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main);
}

.matrix-item-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.matrix-column-card.traditional .matrix-item-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.matrix-column-card.maysara .matrix-item-icon {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

/* Specialized Execution Team Grid */
.team-engine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.team-role-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-role-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.15);
}

.team-role-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.team-role-icon {
  font-size: 2rem;
}

.team-role-count {
  font-size: 0.8rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.team-role-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.team-role-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Gold Guarantee Card */
.golden-guarantee-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.05) 100%);
  border: 2px solid #f59e0b;
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  margin-top: 48px;
  box-shadow: 0 20px 60px rgba(245, 158, 11, 0.15);
}

.golden-guarantee-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.golden-badge-seal {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
  flex-shrink: 0;
}

.golden-badge-seal span:first-child {
  font-size: 1.6rem;
}

.golden-badge-seal span:last-child {
  font-size: 0.72rem;
  text-transform: uppercase;
}

.golden-guarantee-content {
  flex: 1;
  min-width: 280px;
}

.golden-guarantee-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #f59e0b;
  margin-bottom: 10px;
}

.golden-guarantee-text {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.8;
  margin: 0;
}

/* Capacity Cap Banner */
.capacity-cap-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.capacity-cap-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.capacity-pulse-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 12px #10b981;
  animation: pulseCap 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseCap {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.capacity-cap-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.capacity-cap-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}


