/* ============================================================
   SkyPro Landing Page — style.css
   Premium RTL Arabic Design
   ============================================================ */

/* ---- Design Tokens ---- */
:root {
  --clr-bg:          #040D1B;
  --clr-bg-2:        #061426;
  --clr-surface:     #0A1929;
  --clr-surface-2:   #0D2137;
  --clr-border:      rgba(79, 172, 254, 0.10);
  --clr-border-2:    rgba(124, 58, 237, 0.12);

  --clr-primary:     #4FACFE;
  --clr-primary-dk:  #1E78D4;
  --clr-purple:      #7C3AED;
  --clr-purple-lt:   #A855F7;
  --clr-teal:        #00C2A8;
  --clr-cyan:        #00F0FF;
  --clr-amber:       #F59E0B;
  --clr-pink:        #EC4899;

  --clr-text:        #E2EAF4;
  --clr-text-muted:  #8097B0;
  --clr-text-faint:  #4A6080;
  --clr-white:       #FFFFFF;

  --grad-primary:    linear-gradient(135deg, #4FACFE 0%, #7C3AED 100%);
  --grad-glow:       linear-gradient(135deg, rgba(79,172,254,.15) 0%, rgba(124,58,237,.15) 100%);
  --grad-dark:       linear-gradient(180deg, #040D1B 0%, #061426 100%);

  --shadow-sm:       0 2px 12px rgba(0,0,0,0.25);
  --shadow-md:       0 8px 32px rgba(0,0,0,0.35);
  --shadow-lg:       0 20px 60px rgba(0,0,0,0.5);
  --shadow-glow-b:   0 0 40px rgba(79,172,254,0.18);
  --shadow-glow-p:   0 0 40px rgba(124,58,237,0.18);

  --radius-sm:       8px;
  --radius-md:       14px;
  --radius-lg:       20px;
  --radius-xl:       28px;
  --radius-full:     9999px;

  --font-ar:         'Tajawal', sans-serif;
  --font-en:         'Inter', sans-serif;

  --ease-smooth:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h:           72px;
  --section-py:      96px;
  --container-max:   1200px;
  --container-px:    24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ar);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- Utility ---- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Scroll Reveal (animation-based, content always visible as fallback) ---- */
/* Elements START visible, then get animated via JS when observed */
.reveal {
  /* visible by default - JS will override below */
}

/* JS adds this class to body BEFORE observing */
body.animations-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}
body.animations-ready .reveal-delay-1 { transition-delay: 0.1s; }
body.animations-ready .reveal-delay-2 { transition-delay: 0.2s; }
body.animations-ready .reveal-delay-3 { transition-delay: 0.32s; }
body.animations-ready .reveal-delay-4 { transition-delay: 0.44s; }
body.animations-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-ar);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.3s;
}
.btn:hover::before { background: rgba(255,255,255,0.06); }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 24px rgba(79,172,254,0.30);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79,172,254,0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border: 1.5px solid rgba(79,172,254,0.4);
}
.btn-outline:hover {
  background: rgba(79,172,254,0.08);
  border-color: var(--clr-primary);
  transform: translateY(-2px);
}

.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---- Section Common ---- */
.section { padding-block: var(--section-py); position: relative; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: rgba(79,172,254,0.08);
  border: 1px solid rgba(79,172,254,0.2);
  color: var(--clr-primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--clr-white);
  margin-bottom: 20px;
}

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

.section-body {
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 900;
  height: var(--nav-h);
  transition: background 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth),
              backdrop-filter 0.4s;
}
.site-header.scrolled {
  background: rgba(4, 13, 27, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--clr-border), var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon { flex-shrink: 0; }

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 8px;
}
.brand-ar {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--clr-white);
}
.brand-en {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--clr-primary);
  font-family: var(--font-en);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--clr-white);
  background: rgba(255,255,255,0.06);
}

.nav-cta { margin-inline-start: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
  margin-inline-start: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text-muted);
  border-radius: 2px;
  transition: all 0.3s var(--ease-smooth);
  transform-origin: center;
}
.hamburger.open span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:last-child  { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--nav-h) + 60px) 80px;
  overflow: hidden;
}

/* Background FX */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,172,254,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,172,254,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 {
  width: 600px; height: 600px;
  top: -200px; inset-inline-start: -150px;
  background: radial-gradient(circle, rgba(79,172,254,0.14) 0%, transparent 70%);
  animation: floatOrb 10s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  top: -100px; inset-inline-end: -200px;
  background: radial-gradient(circle, rgba(124,58,237,0.14) 0%, transparent 70%);
  animation: floatOrb 14s ease-in-out infinite reverse;
}
.orb-3 {
  width: 400px; height: 400px;
  bottom: -100px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0,194,168,0.10) 0%, transparent 70%);
  animation: floatOrb 12s ease-in-out infinite 2s;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-40px) scale(1.05); }
}

/* Hero dots pattern */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(79,172,254,0.12) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 80%, transparent 40%, black 100%);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(79,172,254,0.06);
  border: 1px solid rgba(79,172,254,0.25);
  color: var(--clr-primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--clr-teal);
  box-shadow: 0 0 10px var(--clr-teal);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 8px var(--clr-teal); opacity: 1; }
  50%       { box-shadow: 0 0 20px var(--clr-teal); opacity: 0.7; }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--clr-white);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--clr-text-muted);
  line-height: 1.85;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 44px;
}
.hero-subtitle strong { color: var(--clr-primary); }

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 28px 40px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-number {
  font-size: 2rem;
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}
.stat-suffix {
  font-size: 1.6rem;
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-inline-start: 2px;
  vertical-align: super;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  font-weight: 500;
}
.stat-divider {
  width: 1px; height: 48px;
  background: var(--clr-border);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  animation: scrollBounce 2.5s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50%       { transform: translateX(-50%) translateY(8px); opacity: 0.25; }
}
.scroll-text { font-size: 0.7rem; letter-spacing: 0.08em; color: var(--clr-text-faint); }
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--clr-text-faint), transparent);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual { position: relative; }
.about-card-stack { position: relative; }
.about-illustration {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow-b);
}
.about-illustration svg { width: 100%; height: auto; }

.about-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: rgba(10, 25, 41, 0.9);
  border: 1px solid var(--clr-border);
  backdrop-filter: blur(16px);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-text);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: cardFloat 6s ease-in-out infinite;
}
.about-card svg { width: 20px; height: 20px; }
.about-card-1 {
  top: -20px; inset-inline-end: -20px;
  color: var(--clr-primary);
  border-color: rgba(79,172,254,0.25);
  animation-delay: 0s;
}
.about-card-1 svg { stroke: var(--clr-primary); }
.about-card-2 {
  bottom: 40px; inset-inline-end: -24px;
  color: var(--clr-purple-lt);
  border-color: rgba(124,58,237,0.25);
  animation-delay: 2s;
}
.about-card-2 svg { stroke: var(--clr-purple-lt); }
.about-card-3 {
  bottom: -20px; inset-inline-start: -20px;
  color: var(--clr-teal);
  border-color: rgba(0,194,168,0.25);
  animation-delay: 4s;
}
.about-card-3 svg { stroke: var(--clr-teal); }

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.about-text { padding-inline-start: 16px; }
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.tag {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--clr-border);
  background: rgba(79,172,254,0.05);
  color: var(--clr-primary);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.25s;
}
.tag:hover {
  background: rgba(79,172,254,0.12);
  border-color: rgba(79,172,254,0.35);
}

/* ============================================================
   VISION & MISSION
   ============================================================ */
.vm-section {
  background: linear-gradient(180deg, transparent 0%, rgba(10,25,41,0.6) 50%, transparent 100%);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.vm-card {
  padding: 44px;
  border-radius: var(--radius-xl);
  background: rgba(10, 25, 41, 0.7);
  border: 1px solid var(--clr-border);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth),
              border-color 0.35s;
}
.vm-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  opacity: 0;
  transition: opacity 0.35s;
}
.vm-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow-b);
  border-color: rgba(79,172,254,0.25);
}
.vm-card:hover::before { opacity: 1; }

.vm-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.vm-icon-wrap svg { width: 26px; height: 26px; }

.vm-icon-blue {
  background: rgba(79,172,254,0.12);
  border: 1px solid rgba(79,172,254,0.2);
  color: var(--clr-primary);
}
.vm-icon-blue svg { stroke: var(--clr-primary); }

.vm-icon-purple {
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.2);
  color: var(--clr-purple-lt);
}
.vm-icon-purple svg { stroke: var(--clr-purple-lt); }

.vm-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: 10px;
  position: relative; z-index: 1;
}

.vm-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.4;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}

.vm-body {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.85;
  position: relative; z-index: 1;
}

/* ============================================================
   VALUES
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: rgba(10, 25, 41, 0.6);
  border: 1px solid var(--clr-border);
  backdrop-filter: blur(10px);
  transition: all 0.35s var(--ease-smooth);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.value-card::after {
  content: '';
  position: absolute;
  bottom: 0; inset-inline-start: 0; inset-inline-end: 0;
  height: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-smooth);
}
.value-card:hover, .value-card:focus {
  transform: translateY(-6px);
  border-color: rgba(79,172,254,0.2);
  box-shadow: var(--shadow-md), 0 0 30px rgba(79,172,254,0.08);
  outline: none;
}
.value-card:hover::after, .value-card:focus::after { transform: scaleX(1); transform-origin: left; }

.value-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--icon-color) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--icon-color) 20%, transparent);
  margin-bottom: 20px;
  transition: all 0.3s;
}
.value-icon-wrap svg { width: 24px; height: 24px; stroke: var(--icon-color); }
.value-card:hover .value-icon-wrap {
  background: color-mix(in srgb, var(--icon-color) 20%, transparent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--icon-color) 30%, transparent);
}

.value-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 12px;
}

.value-body {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
  background: rgba(6, 20, 38, 0.5);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  background: rgba(10, 25, 41, 0.7);
  border: 1px solid var(--clr-border);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: all 0.4s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover, .service-card:focus {
  transform: translateY(-8px);
  border-color: rgba(79,172,254,0.25);
  box-shadow: var(--shadow-lg), var(--shadow-glow-b);
  outline: none;
}
.service-card:hover::before, .service-card:focus::before { opacity: 1; }

.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: rgba(79,172,254,0.08);
  border: 1px solid rgba(79,172,254,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-primary);
  position: relative; z-index: 1;
  transition: all 0.3s;
  flex-shrink: 0;
}
.service-icon-wrap svg { width: 26px; height: 26px; stroke: var(--clr-primary); }
.service-card:hover .service-icon-wrap {
  background: rgba(79,172,254,0.15);
  box-shadow: var(--shadow-glow-b);
}

.service-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--clr-text-faint);
  font-family: var(--font-en);
  position: absolute;
  top: 28px;
  inset-inline-end: 28px;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.35;
  position: relative; z-index: 1;
}

.service-body {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  flex: 1;
  position: relative; z-index: 1;
}

.service-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-primary);
  position: relative; z-index: 1;
  transition: all 0.3s var(--ease-smooth);
  align-self: flex-start;
  margin-top: 4px;
}
.service-arrow svg { width: 16px; height: 16px; stroke: var(--clr-primary); }
.service-card:hover .service-arrow {
  background: var(--grad-primary);
  border-color: transparent;
  transform: translateX(-4px);
}
.service-card:hover .service-arrow svg { stroke: white; }

/* ============================================================
   WHY US
   ============================================================ */
.why-section {
  background: linear-gradient(135deg, rgba(79,172,254,0.03) 0%, rgba(124,58,237,0.03) 100%);
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.why-header-col { position: sticky; top: 120px; }
.why-header-col .section-title { text-align: right; }
.why-header-col .section-body { text-align: right; }
.why-header-col .btn { margin-top: 8px; }

.why-features-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.why-feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease-smooth);
  cursor: default;
}
.why-feature:hover, .why-feature:focus {
  background: rgba(10, 25, 41, 0.6);
  border-color: var(--clr-border);
  outline: none;
  transform: translateX(-6px);
}

.wf-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: rgba(79,172,254,0.08);
  border: 1px solid rgba(79,172,254,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}
.wf-icon svg { width: 22px; height: 22px; stroke: var(--clr-primary); }
.why-feature:hover .wf-icon, .why-feature:focus .wf-icon {
  background: rgba(79,172,254,0.15);
  box-shadow: var(--shadow-glow-b);
}

.wf-content { flex: 1; }
.wf-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 6px;
}
.wf-body {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  background: linear-gradient(180deg, transparent 0%, rgba(10,25,41,0.4) 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(10, 25, 41, 0.7);
  border: 1px solid var(--clr-border);
}

.contact-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(79,172,254,0.1);
  border: 1px solid rgba(79,172,254,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon-wrap svg { width: 24px; height: 24px; stroke: var(--clr-primary); }

.contact-details { display: flex; flex-direction: column; gap: 4px; }
.contact-label { font-size: 0.78rem; color: var(--clr-text-faint); font-weight: 600; }
.contact-email {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-primary);
  font-family: var(--font-en);
  direction: ltr;
  text-align: right;
  transition: color 0.2s;
}
.contact-email:hover { color: var(--clr-cyan); }

.btn-copy { border-color: rgba(79,172,254,0.25); }

.contact-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--clr-text-faint);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
}
.contact-note svg { width: 16px; height: 16px; stroke: var(--clr-teal); flex-shrink: 0; }

/* Contact Form */
.contact-form-wrap {
  padding: 44px;
  border-radius: var(--radius-xl);
  background: rgba(10, 25, 41, 0.75);
  border: 1px solid var(--clr-border);
  backdrop-filter: blur(16px);
}

.form-header { margin-bottom: 32px; }
.form-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: 6px;
}
.form-subtitle { font-size: 0.88rem; color: var(--clr-text-muted); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-text);
}
.required { color: var(--clr-primary); }

.form-input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  color: var(--clr-text);
  font-size: 0.92rem;
  font-family: var(--font-ar);
  transition: all 0.25s;
  outline: none;
  direction: rtl;
}
.form-input::placeholder { color: var(--clr-text-faint); }
.form-input:focus {
  border-color: rgba(79,172,254,0.5);
  background: rgba(79,172,254,0.04);
  box-shadow: 0 0 0 3px rgba(79,172,254,0.08);
}
.form-input.error { border-color: rgba(239, 68, 68, 0.5); }

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238097B0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  -webkit-appearance: none;
  appearance: none;
}
.form-select option { background: var(--clr-surface); color: var(--clr-text); }

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

.form-error {
  font-size: 0.78rem;
  color: #F87171;
  min-height: 18px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(0,194,168,0.08);
  border: 1px solid rgba(0,194,168,0.25);
  color: var(--clr-teal);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
}
.form-success.active { display: flex; }
.form-success svg { width: 20px; height: 20px; stroke: var(--clr-teal); flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: rgba(4, 10, 20, 0.95);
  border-top: 1px solid var(--clr-border);
  padding-top: 72px;
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-logo { margin-bottom: 20px; }

.footer-tagline {
  font-size: 0.9rem;
  color: var(--clr-text-faint);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--clr-primary);
  font-family: var(--font-en);
  transition: color 0.2s;
  direction: ltr;
}
.footer-email svg { width: 16px; height: 16px; stroke: var(--clr-primary); }
.footer-email:hover { color: var(--clr-cyan); }

.footer-col-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: 0.88rem;
  color: var(--clr-text-faint);
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.footer-link:hover { color: var(--clr-primary); transform: translateX(-4px); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--clr-border);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy, .footer-tagline-sm {
  font-size: 0.82rem;
  color: var(--clr-text-faint);
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  inset-inline-end: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(79,172,254,0.35);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.35s var(--ease-smooth);
  pointer-events: none;
  z-index: 500;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top-btn:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(79,172,254,0.5); }
.scroll-top-btn svg { width: 20px; height: 20px; stroke: white; }

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

/* Tablet */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-text { padding-inline-start: 0; }
  .about-visual { max-width: 480px; margin-inline: auto; }

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

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

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

  .why-layout { grid-template-columns: 1fr; gap: 48px; }
  .why-header-col { position: static; text-align: center; }
  .why-header-col .section-title,
  .why-header-col .section-body { text-align: center; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --section-py: 56px; --nav-h: 64px; }

  /* Nav */
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    inset-inline: 0;
    background: rgba(4, 13, 27, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--clr-border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.4s var(--ease-smooth);
    z-index: 800;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-link { padding: 12px 16px; font-size: 1rem; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding-block: calc(var(--nav-h) + 40px) 60px; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-stats { gap: 24px; padding: 20px 24px; flex-direction: column; }
  .stat-divider { width: 60%; height: 1px; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-cta-group .btn { justify-content: center; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Why feature */
  .why-feature:hover { transform: none; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 16px; }
  .hero-badge { font-size: 0.78rem; }
}
