/* ==========================================================================
   Ahmad Muntaser Alamoudi - Silicon Valley Luxury Portfolio
   Design Philosophy: Linear / Vercel / Apple Minimalist Bento Grid
   Palette: Stealth Titanium Void (#07080d), Electric Indigo, Pure Platinum
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Surfaces */
  --bg-primary: #07080d;
  --bg-secondary: #0d0f17;
  --bg-tertiary: #131722;
  --bg-card: rgba(18, 22, 34, 0.45);
  --bg-card-hover: rgba(24, 29, 45, 0.7);
  --bg-card-elevated: rgba(26, 32, 50, 0.85);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-bright: rgba(255, 255, 255, 0.28);
  --border-indigo: rgba(99, 102, 241, 0.4);

  /* Accents */
  --accent-indigo: #6366f1;
  --accent-indigo-light: #818cf8;
  --accent-indigo-glow: rgba(99, 102, 241, 0.22);
  --accent-purple: #a855f7;
  --accent-sky: #38bdf8;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;

  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Typography */
  --font-ar: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-en: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Physics Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-en);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.lang-ar {
  font-family: var(--font-ar);
  direction: rtl;
}

body.lang-en {
  font-family: var(--font-en);
  direction: ltr;
}

::selection {
  background: var(--accent-indigo);
  color: #ffffff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e2433;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-indigo-light);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Atmospheric Subtle Mesh Glow (Never green/matrix, pure stealth indigo) */
.ambient-lighting {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.light-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
  transition: transform 0.5s ease-out;
}
.orb-1 {
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #6366f1, transparent 70%);
}
.orb-2 {
  top: 40%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #38bdf8, transparent 70%);
  opacity: 0.08;
}
.orb-3 {
  bottom: 5%;
  left: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #818cf8, transparent 70%);
  opacity: 0.09;
}

/* Subtle Interactive Canvas */
#interactive-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ==========================================================================
   Typography & Utility Badges
   ========================================================================== */
.text-balance {
  text-wrap: balance;
}

.gradient-title {
  background: linear-gradient(135deg, #ffffff 20%, #e2e8f0 60%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-indigo {
  background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 60%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-gold {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 60%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.3px;
  backdrop-filter: blur(10px);
}
.pulse-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseLive 2.2s infinite ease-in-out;
}
@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* ==========================================================================
   Spotlight Card Architecture (The Core Bento Feature)
   ========================================================================== */
.spotlight-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

/* Dynamic Radial Mouse Light following cursor */
.spotlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    700px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(99, 102, 241, 0.12),
    transparent 45%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.spotlight-card:hover {
  border-color: var(--border-medium);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.7), 0 0 35px -10px rgba(99, 102, 241, 0.15);
}

.spotlight-card:hover::before {
  opacity: 1;
}

.card-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ==========================================================================
   Navigation Bar (Ultra-Clean Glass Pill)
   ========================================================================== */
.header-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 500;
  display: flex;
  justify-content: center;
  padding: 0 24px;
}

.nav-glass-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  max-width: 1080px;
  padding: 10px 20px;
  background: rgba(13, 16, 26, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}
.nav-glass-bar:hover {
  border-color: var(--border-medium);
}

.brand-emblem {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e2438, #111422);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}
.brand-name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.2px;
}

.nav-items {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}
.nav-item-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-fast);
  padding: 6px 4px;
}
.nav-item-link:hover, .nav-item-link.active {
  color: #ffffff;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}
.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-medium);
}

.btn-stealth-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: #ffffff;
  color: #07080d !important;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.2);
  transition: var(--transition-fast);
  white-space: nowrap;
}
.btn-stealth-primary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.35);
}

.btn-stealth-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
  white-space: nowrap;
}
.btn-stealth-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.btn-stealth-indigo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff !important;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 24px -2px rgba(99, 102, 241, 0.45);
  transition: var(--transition-fast);
  white-space: nowrap;
}
.btn-stealth-indigo:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px -2px rgba(99, 102, 241, 0.65);
  filter: brightness(1.08);
}

.menu-mobile-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
}

/* ==========================================================================
   Hero Section (Kinetic Minimalist)
   ========================================================================== */
.hero-section {
  padding-top: 170px;
  padding-bottom: 90px;
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-badge-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-main-title {
  font-size: clamp(2.8rem, 5.2vw, 4.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-role-line {
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 600;
  color: var(--accent-indigo-light);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-lead-text {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 36px;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-fast-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}
.fast-fact-item {
  display: flex;
  flex-direction: column;
}
.fast-fact-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-en);
}
.fast-fact-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 3D Interactive Monogram (Replaces fake AI photo) */
.hero-monogram-stage {
  position: relative;
  width: 360px;
  height: 360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}
@media (min-width: 1024px) {
  .hero-monogram-stage {
    width: 440px;
    height: 440px;
  }
}

.monogram-orbital-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  animation: rotateOrbital 28s linear infinite;
  pointer-events: none;
}
.ring-outer {
  inset: -20px;
  border: 1px solid rgba(99, 102, 241, 0.15);
  animation: rotateOrbital 40s linear infinite reverse;
}
@keyframes rotateOrbital {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.monogram-glass-core {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(30, 37, 60, 0.8), rgba(11, 14, 24, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.8), 0 0 50px -10px rgba(99, 102, 241, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.25s ease-out;
  transform-style: preserve-3d;
}

.monogram-letters {
  font-size: 5.5rem;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 70%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateZ(40px);
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}
.monogram-sub {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-indigo-light);
  transform: translateZ(25px);
  margin-top: 6px;
}

.monogram-floating-pill {
  position: absolute;
  padding: 8px 16px;
  background: rgba(14, 18, 30, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  animation: floatPill 5s ease-in-out infinite alternate;
  z-index: 10;
}
.pill-top { top: 15px; left: -15px; }
.pill-bottom { bottom: 25px; right: -20px; animation-delay: -2.5s; }

@keyframes floatPill {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

/* ==========================================================================
   Bento Grid Section (The Showcase)
   ========================================================================== */
.section-spacer {
  padding: 90px 0;
  position: relative;
  z-index: 2;
}

.section-intro {
  max-width: 680px;
  margin-bottom: 50px;
}
.section-intro.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-category {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-indigo-light);
  margin-bottom: 12px;
  display: block;
}
.section-heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtext {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Bento Grid System */
.bento-showcase {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-span-8 { grid-column: span 8; }
.bento-span-4 { grid-column: span 4; }
.bento-span-6 { grid-column: span 6; }
.bento-span-12 { grid-column: span 12; }

/* Bento Card Internals */
.bento-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}
.bento-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
}
.bento-icon-box.gold {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}
.bento-icon-box.indigo {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.3);
  color: var(--accent-indigo-light);
}

.bento-badge-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.bento-badge-tag.gold {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.bento-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.bento-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Metric Pill Rows inside Bento */
.bento-metric-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}
.bento-metric-col {
  display: flex;
  flex-direction: column;
}
.bento-metric-value {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-en);
  color: #ffffff;
}
.bento-metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Interactive Server Ping Widget inside Softelv Card */
.server-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: #34d399;
  font-family: var(--font-mono);
}

/* ==========================================================================
   Career Roadmap (Minimalist Timeline)
   ========================================================================== */
.career-timeline-wrapper {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}
.career-timeline-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(99, 102, 241, 0.4) 50%, transparent 100%);
}
body.lang-ar .career-timeline-wrapper::before {
  left: auto;
  right: 24px;
}

.timeline-node {
  position: relative;
  padding-left: 64px;
  margin-bottom: 36px;
}
body.lang-ar .timeline-node {
  padding-left: 0;
  padding-right: 64px;
}

.timeline-node-marker {
  position: absolute;
  top: 28px;
  left: 17px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent-indigo);
  box-shadow: 0 0 12px var(--accent-indigo);
  z-index: 2;
  transition: var(--transition-fast);
}
body.lang-ar .timeline-node-marker {
  left: auto;
  right: 17px;
}
.timeline-node:hover .timeline-node-marker {
  background: #ffffff;
  transform: scale(1.3);
}

.timeline-card-content {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(14px);
  transition: var(--transition-smooth);
}
.timeline-card-content:hover {
  border-color: var(--border-medium);
  transform: translateX(4px);
}
body.lang-ar .timeline-card-content:hover {
  transform: translateX(-4px);
}

.timeline-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}
.timeline-role {
  font-size: 1.28rem;
  font-weight: 800;
  color: #ffffff;
}
.timeline-badge-period {
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--accent-indigo-light);
}
.timeline-org {
  font-size: 0.95rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.timeline-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-indigo);
  margin-top: 9px;
  flex-shrink: 0;
}

.timeline-tags-flex {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.minimal-tag {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ==========================================================================
   Technical Arsenal (Modern Clean Tabs)
   ========================================================================== */
.arsenal-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.arsenal-tab-item {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
.arsenal-tab-item:hover, .arsenal-tab-item.active {
  background: #ffffff;
  color: #07080d;
  border-color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

.arsenal-panel {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.arsenal-panel.active {
  display: grid;
  animation: fadeIn 0.4s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.skill-matrix-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.skill-matrix-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.skill-meter-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.skill-meter-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.skill-meter-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.skill-meter-val {
  font-family: var(--font-mono);
  color: #ffffff;
}
.skill-meter-track {
  height: 5px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.skill-meter-bar {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #6366f1, #38bdf8);
  transition: width 1s var(--ease-spring);
}

/* ==========================================================================
   Executive Contact Dispatch
   ========================================================================== */
.contact-section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-channels-card {
  padding: 40px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 32px 0;
}
.channel-item-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition-fast);
}
.channel-item-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-medium);
  transform: translateX(4px);
}
body.lang-ar .channel-item-link:hover {
  transform: translateX(-4px);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #ffffff;
  flex-shrink: 0;
}
.channel-text {
  display: flex;
  flex-direction: column;
}
.channel-label {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.channel-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.contact-form-card {
  padding: 40px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.stealth-input, .stealth-textarea, .stealth-select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(8, 10, 16, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  transition: var(--transition-fast);
  outline: none;
}
.stealth-input:focus, .stealth-textarea:focus, .stealth-select:focus {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.25);
  background: rgba(12, 15, 24, 0.95);
}
.stealth-textarea {
  min-height: 125px;
  resize: vertical;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.stealth-footer {
  padding: 60px 0 36px 0;
  border-top: 1px solid var(--border-subtle);
  background: #05060a;
}
.footer-inner-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.footer-copy {
  font-size: 0.86rem;
  color: var(--text-muted);
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}
.footer-nav-link {
  color: var(--text-muted);
  font-size: 0.86rem;
  text-decoration: none;
  transition: var(--transition-fast);
}
.footer-nav-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   Modal & Toast System
   ========================================================================== */
.stealth-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 9, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.stealth-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.stealth-modal-body {
  max-width: 560px;
  width: 100%;
  background: #0c0f18;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s var(--ease-spring);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.8);
}
.stealth-modal.active .stealth-modal-body {
  transform: translateY(0) scale(1);
}
.modal-x-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}
body.lang-ar .modal-x-btn {
  right: auto;
  left: 20px;
}
.modal-x-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

#toast-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.lang-ar #toast-wrapper {
  right: auto;
  left: 24px;
}
.stealth-toast {
  padding: 12px 20px;
  background: #101422;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  animation: slideToast 0.3s ease forwards;
}
@keyframes slideToast {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-badge-line, .hero-role-line, .hero-actions-row, .hero-fast-facts {
    justify-content: center;
  }
  .hero-lead-text {
    margin-left: auto;
    margin-right: auto;
  }
  .bento-span-8, .bento-span-4, .bento-span-6 {
    grid-column: span 12;
  }
  .arsenal-panel {
    grid-template-columns: 1fr 1fr;
  }
  .contact-section-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-items, .nav-controls .btn-stealth-primary {
    display: none;
  }
  .menu-mobile-btn {
    display: block;
  }
  .hero-main-title {
    font-size: 2.5rem;
  }
  .hero-monogram-stage {
    width: 300px;
    height: 300px;
  }
  .monogram-glass-core {
    width: 220px;
    height: 220px;
  }
  .monogram-letters {
    font-size: 4rem;
  }
  .arsenal-panel {
    grid-template-columns: 1fr;
  }
  .hero-fast-facts {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .spotlight-card {
    padding: 26px 20px;
  }
}
