/* ============================================================
   OCI DevOps — Bilingual Website Styles
   Supports: LTR (English) & RTL (Arabic)
   Author: Antigravity
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Cairo:wght@300;400;500;600;700;800&display=swap');

/* ── Design Tokens ── */
:root {
  --color-primary:      #C74634;
  --color-primary-dark: #A33929;
  --color-primary-glow: rgba(199, 70, 52, 0.25);
  --color-secondary:    #4A90D9;
  --color-accent:       #F5A623;

  --color-bg:           #0D1117;
  --color-bg-surface:   #161B27;
  --color-bg-card:      rgba(255, 255, 255, 0.04);
  --color-bg-card-hover:rgba(255, 255, 255, 0.08);

  --color-border:       rgba(255, 255, 255, 0.08);
  --color-border-glow:  rgba(199, 70, 52, 0.4);

  --color-text:         #E8EAF0;
  --color-text-muted:   #8B929E;
  --color-text-light:   #FFFFFF;

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

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

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(199, 70, 52, 0.15);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-en);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Arabic font override */
body.lang-ar {
  font-family: var(--font-ar);
  direction: rtl;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 3px; }

/* ── Utility Classes ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: 56px;
}

body.lang-ar .section-subtitle {
  margin-inline-start: 0;
}

.tag {
  display: inline-block;
  background: var(--color-primary-glow);
  color: var(--color-primary);
  border: 1px solid rgba(199, 70, 52, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  box-shadow: 0 4px 20px var(--color-primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(199, 70, 52, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}

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

/* ── Animated gradient background blob ── */
.bg-blob {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.bg-blob-1 {
  background: var(--color-primary);
  top: -200px;
  left: -200px;
  animation: blobFloat 12s ease-in-out infinite alternate;
}

.bg-blob-2 {
  background: var(--color-secondary);
  bottom: -200px;
  right: -200px;
  animation: blobFloat 15s ease-in-out infinite alternate-reverse;
}

@keyframes blobFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.1); }
}

/* ================================================================
   NAVIGATION
================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--color-primary), #E8593A);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: white;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 14px var(--color-primary-glow);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-top {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-logo-bottom {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-light);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--color-text-light);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Nav right controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 4px;
  gap: 2px;
  backdrop-filter: blur(8px);
}

.lang-btn {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  color: var(--color-text-muted);
  font-family: inherit;
}

.lang-btn.active {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 2px 10px var(--color-primary-glow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 24px;
  gap: 6px;
  z-index: 999;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.mobile-nav a:hover { color: var(--color-primary); }

/* ================================================================
   HERO SECTION
================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(199,70,52,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(74,144,217,0.08) 0%, transparent 70%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-surface) 100%);
  z-index: 0;
}

.hero-image-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero.png');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

body:not(.lang-ar) .hero-content { margin-right: auto; }
body.lang-ar .hero-content { margin-left: auto; text-align: right; }

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--color-text-light);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title span {
  background: linear-gradient(135deg, var(--color-primary), #F5A623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}

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

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  flex-wrap: wrap;
}

.hero-stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-text-light);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Floating badges */
.hero-badges {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1;
}

body.lang-ar .hero-badges {
  right: auto;
  left: 0;
}

.hero-badge {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: badgeFloat var(--dur, 4s) ease-in-out infinite alternate;
  box-shadow: var(--shadow-card);
  min-width: 200px;
}

.hero-badge:nth-child(1) { --dur: 3.8s; }
.hero-badge:nth-child(2) { --dur: 4.5s; animation-delay: 0.5s; }
.hero-badge:nth-child(3) { --dur: 4.1s; animation-delay: 1s; }

@keyframes badgeFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-12px); }
}

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.badge-icon.red   { background: rgba(199,70,52,0.15); }
.badge-icon.blue  { background: rgba(74,144,217,0.15); }
.badge-icon.green { background: rgba(52,199,89,0.15); }

.badge-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-light);
}

.badge-text span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ================================================================
   PIPELINE ANIMATION SECTION
================================================================ */
.pipeline-section {
  padding: 80px 0;
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.pipeline-track {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  flex-wrap: nowrap;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.pipeline-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  position: relative;
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

.pipeline-step-icon::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.pipeline-step:hover .pipeline-step-icon::after { opacity: 1; }

.pipeline-step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
}

.pipeline-step.active .pipeline-step-icon {
  border-color: var(--color-primary);
  box-shadow: 0 0 24px var(--color-primary-glow);
}

.pipeline-step.active .pipeline-step-label { color: var(--color-primary); }

.pipeline-connector {
  flex: 1;
  max-width: 80px;
  height: 2px;
  position: relative;
  margin-bottom: 28px;
}

.pipeline-connector-line {
  position: absolute;
  inset: 0;
  background: var(--color-border);
  border-radius: 1px;
}

.pipeline-connector-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 1px;
  width: 0%;
  transition: width 1s ease;
}

body.lang-ar .pipeline-connector-fill {
  left: auto; right: 0;
  background: linear-gradient(270deg, var(--color-primary), var(--color-secondary));
}

.pipeline-connector.filled .pipeline-connector-fill { width: 100%; }

/* Pipeline dots animation */
.pipeline-dot {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
  animation: pipelineDot 2s linear infinite;
}

body.lang-ar .pipeline-dot {
  animation: pipelineDotRTL 2s linear infinite;
}

@keyframes pipelineDot {
  0%   { left: -4px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: calc(100% - 4px); opacity: 0; }
}

@keyframes pipelineDotRTL {
  0%   { right: -4px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { right: calc(100% - 4px); opacity: 0; }
}

/* ================================================================
   SERVICES SECTION
================================================================ */
.services-section {
  padding: 100px 0;
}

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

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: var(--transition);
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, var(--color-primary-glow) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(199, 70, 52, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  background: var(--color-bg-card-hover);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.icon-red    { background: rgba(199,70,52,0.15);  border: 1px solid rgba(199,70,52,0.3);  }
.icon-blue   { background: rgba(74,144,217,0.15); border: 1px solid rgba(74,144,217,0.3); }
.icon-green  { background: rgba(52,199,89,0.15);  border: 1px solid rgba(52,199,89,0.3);  }
.icon-purple { background: rgba(147,51,234,0.15); border: 1px solid rgba(147,51,234,0.3); }
.icon-orange { background: rgba(245,166,35,0.15); border: 1px solid rgba(245,166,35,0.3); }
.icon-teal   { background: rgba(20,184,166,0.15); border: 1px solid rgba(20,184,166,0.3); }

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.service-tag {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-weight: 500;
}

body.lang-ar .service-tags { justify-content: flex-start; }

/* ================================================================
   DEPLOYMENT TARGETS SECTION
================================================================ */
.deploy-section {
  padding: 100px 0;
  background: var(--color-bg-surface);
}

.deploy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.deploy-visual {
  position: relative;
}

.deploy-center {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 0 60px var(--color-primary-glow);
  z-index: 1;
  animation: centerPulse 3s ease-in-out infinite;
}

@keyframes centerPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(199,70,52,0.3); }
  50%       { box-shadow: 0 0 80px rgba(199,70,52,0.6); }
}

.deploy-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--color-border);
}

.deploy-ring:nth-child(2) {
  width: 220px;
  height: 220px;
  border-color: rgba(199,70,52,0.2);
  animation: ringRotate 20s linear infinite;
}

.deploy-ring:nth-child(3) {
  width: 330px;
  height: 330px;
  border-color: rgba(74,144,217,0.15);
  animation: ringRotate 30s linear infinite reverse;
}

@keyframes ringRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.deploy-targets-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.deploy-target-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: var(--transition);
}

.deploy-target-item:hover {
  border-color: rgba(199,70,52,0.3);
  transform: translateX(6px);
}

body.lang-ar .deploy-target-item:hover {
  transform: translateX(-6px);
}

.deploy-target-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.deploy-target-info strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-light);
}

.deploy-target-info span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ================================================================
   STATS / WHY OCI SECTION
================================================================ */
.why-section {
  padding: 100px 0;
  position: relative;
}

.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(199,70,52,0.05) 0%, transparent 70%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.stat-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: rgba(199,70,52,0.3);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Benefits list */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(52,199,89,0.15);
  border: 1px solid rgba(52,199,89,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.benefit-text span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ================================================================
   CTA SECTION
================================================================ */
.cta-section {
  padding: 100px 0;
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
}

.cta-card {
  background: linear-gradient(135deg, rgba(199,70,52,0.12), rgba(74,144,217,0.08));
  border: 1px solid rgba(199,70,52,0.25);
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(199,70,52,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-brand strong {
  color: var(--color-text);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--color-primary); }

/* ================================================================
   ANIMATIONS (Scroll Triggered)
================================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }
.animate-on-scroll.delay-6 { transition-delay: 0.6s; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
  .deploy-grid      { grid-template-columns: 1fr; }
  .deploy-visual    { display: none; }
  .hero-badges      { display: none; }
}

@media (max-width: 768px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }

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

  .pipeline-track   { overflow-x: auto; padding: 20px; justify-content: flex-start; }
  .pipeline-section { padding: 48px 0; }

  .cta-card { padding: 48px 24px; }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  body.lang-ar .hero-actions { align-items: flex-end; }

  .hero-stats { gap: 32px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .pipeline-connector { max-width: 40px; }
}

/* ================================================================
   RTL SPECIFIC OVERRIDES
================================================================ */
body.lang-ar {
  text-align: right;
}

body.lang-ar .section-subtitle {
  margin-right: 0;
  margin-left: auto;
}

body.lang-ar .nav-links a::after {
  left: auto;
  right: 0;
}

body.lang-ar .hero-stat {
  text-align: right;
}

body.lang-ar .benefit-item {
  flex-direction: row-reverse;
}

body.lang-ar .deploy-target-item {
  flex-direction: row-reverse;
}

body.lang-ar .nav-inner {
  flex-direction: row-reverse;
}

/* Language visibility control */
.content-en { display: block; }
.content-ar { display: none; }

body.lang-ar .content-en { display: none; }
body.lang-ar .content-ar { display: block; }

/* Inline spans */
span.content-en { display: inline; }
span.content-ar { display: none; }
body.lang-ar span.content-en { display: none; }
body.lang-ar span.content-ar { display: inline; }
