/* ============================================
   future. — Digital Agency Website
   Complete Stylesheet
   ============================================ */

/* ---- Custom Properties / Design Tokens ---- */
:root {
  /* ---- Pure White & Dark Color Palette (Ghamer Theme) ---- */
  --night-1: #04050A;
  --night-2: #0A0C16;
  --dusk-1: #111424;
  --dusk-2: #191D33;
  --dawn-1: #222744;
  --dawn-2: #2A1F3D;

  --gold: #F5B942;
  --gold-glow: rgba(245, 185, 66, 0.4);
  --violet: #8B6CFF;
  --violet-glow: rgba(139, 108, 255, 0.4);
  --cyan: #4CE0D2;

  --paper: #FFFFFF;
  --muted: #A5ACC8;
  --subtle: rgba(255, 255, 255, 0.08);

  --font-display: 'Changa', 'IBM Plex Sans Arabic', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', sans-serif;
  --font-utility: 'Space Grotesk', sans-serif;

  /* Spacing */
  --section-padding: clamp(64px, 10vw, 140px);
  --content-max-width: 1200px;
  --side-gutter: clamp(20px, 5vw, 80px);

  /* Easings */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--paper);
  background: var(--night-1);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
  cursor: none;
}

@media (pointer: coarse) {
  body {
    cursor: auto;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

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

@media (pointer: coarse) {
  button {
    cursor: pointer;
  }
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---- Utilities ---- */
.container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--side-gutter);
}

.eyebrow {
  font-family: var(--font-utility);
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet);
  direction: ltr;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* ---- Scroll-Linked Background Gradient Layers ---- */
.bg-gradient-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  will-change: opacity;
}

.bg-night {
  background: linear-gradient(180deg, #030408 0%, #070914 60%, #0E1020 100%);
  opacity: 1;
}

.bg-dusk {
  background: linear-gradient(180deg, #0E1020 0%, #14172B 50%, #1D213B 100%);
  opacity: 0;
}

.bg-dawn {
  background: linear-gradient(
    180deg,
    #1D213B 0%,
    #15182C 40%,
    #0E1020 70%,
    #05060B 100%
  );
  opacity: 0;
}

/* ---- Particle Canvas ---- */
.particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---- Custom Cursor ---- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--violet);
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: screen;
  transition: width 0.3s var(--ease-out),
              height 0.3s var(--ease-out),
              background 0.3s var(--ease-out),
              opacity 0.3s;
  box-shadow: 0 0 20px var(--violet), 0 0 60px rgba(139, 108, 255, 0.3);
  transform: translate(-50%, -50%);
}

.custom-cursor.hovering {
  width: 44px;
  height: 44px;
  background: rgba(139, 108, 255, 0.15);
  border: 1.5px solid rgba(139, 108, 255, 0.6);
}

/* ---- Floating Launch Widget (Fadaa-style) ---- */
.launch-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.4rem;
  background: rgba(27, 20, 64, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 185, 66, 0.35);
  border-radius: 100px;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 185, 66, 0.15);
  transition: transform 0.4s var(--ease-out), border-color 0.4s, opacity 0.5s;
  user-select: none;
}

.launch-widget:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: var(--gold);
  box-shadow: 0 14px 40px rgba(245, 185, 66, 0.3);
}

.launch-ring {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulseLaunch 2s ease-in-out infinite;
}

.launch-icon svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  animation: bounceLaunch 1.8s var(--ease-in-out) infinite;
}

@keyframes pulseLaunch {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

@keyframes bounceLaunch {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.launch-widget.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(139, 108, 255, 0.08);
  pointer-events: none;
  z-index: 9999;
  filter: blur(10px);
  transform: translate(-50%, -50%);
}

@media (pointer: coarse) {
  .custom-cursor,
  .cursor-trail {
    display: none !important;
  }
}

/* ============================================
   HEADER & FLOATING CAPSULE NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1240px;
  height: 72px;
  display: flex;
  align-items: center;
  z-index: 1000;
  background: rgba(6, 8, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 100px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 108, 255, 0.08);
  transition: padding 0.4s, background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.site-header.scrolled {
  background: rgba(4, 5, 10, 0.95);
  border-color: rgba(245, 185, 66, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 185, 66, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  user-select: none;
}

.logo-mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(245, 185, 66, 0.4));
  transition: filter 0.3s, transform 0.4s var(--ease-out);
}

.logo:hover .logo-mark {
  filter: drop-shadow(0 0 16px rgba(245, 185, 66, 0.5));
  transform: rotate(-8deg) scale(1.08);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--paper);
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo-dot {
  color: var(--gold);
  font-size: 2rem;
}

.site-header.scrolled .logo-mark {
  width: 38px;
  height: 38px;
}

/* Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  position: relative;
  transition: color 0.3s;
  padding-bottom: 4px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--paper);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--violet);
  border-radius: 2px;
  transition: width 0.35s var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Nav CTA */
.nav-cta {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.6rem;
  border-radius: 100px;
  background: var(--gold);
  color: var(--night-1);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 30px rgba(245, 185, 66, 0.4);
}

/* Mobile Nav Toggle (hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1001;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav overlay for mobile */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 14, 31, 0.6);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-overlay.visible {
  opacity: 1;
}

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

  .nav-overlay {
    display: block;
    pointer-events: none;
  }

  .nav-overlay.visible {
    pointer-events: auto;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: rgba(13, 14, 31, 0.96);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem;
    transition: right 0.45s var(--ease-out);
    z-index: 1000;
    border-left: 1px solid rgba(139, 108, 255, 0.1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--section-padding) + 80px) var(--side-gutter) var(--section-padding);
  overflow: hidden;
}

/* Photorealistic Sun Hero Background */
.hero-sun-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-sun-bg img {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.7;
  filter: brightness(0.9) contrast(1.2) saturate(1.3);
  pointer-events: none;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-top-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, #030408 0%, rgba(3, 4, 8, 0.85) 45%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.sun-flare-ring {
  position: absolute;
  top: 60%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 185, 66, 0.4) 0%, rgba(245, 185, 66, 0.1) 40%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  opacity: 0.7;
}

/* Realistic Section Transition Dividers */
.realistic-transition-divider {
  width: 100%;
  position: relative;
  margin: -60px 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}

.real-trans-img {
  width: 100%;
  height: auto;
  min-height: 240px;
  max-height: 480px;
  object-fit: cover;
  display: block;
  opacity: 0.75;
  filter: brightness(0.9) contrast(1.1);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  transition: opacity 0.5s, transform 0.1s linear;
}

.real-trans-img.flip-y {
  transform: scaleY(-1);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero .eyebrow {
  margin-bottom: 1.5rem;
  opacity: 1;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
  background: linear-gradient(135deg, #FFFFFF 40%, #D1D5F0 70%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 1;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #D1D5F0;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.9;
  opacity: 1;
}

/* Hero Pillars (Ghamer-inspired) */
.hero-pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 2.5rem 0 3rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pillar-num {
  font-family: var(--font-utility);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
}

.pillar-label {
  font-size: 0.9rem;
  color: #FFFFFF;
  font-weight: 500;
}

.pillar-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
  .hero-pillars {
    flex-direction: column;
    gap: 0.75rem;
    border-radius: 20px;
  }
  .pillar-divider {
    display: none;
  }
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  opacity: 1;
}

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  opacity: 1;
  animation: scrollCueBounce 2.5s var(--ease-in-out) infinite;
  animation-play-state: paused;
}

.scroll-cue.animated {
  animation-play-state: running;
}

.scroll-cue svg {
  width: 20px;
  height: 20px;
  color: var(--violet);
}

@keyframes scrollCueBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* Stars */
.stars-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: var(--paper);
  opacity: 0;
  animation: twinkle var(--duration) var(--delay) ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.05; transform: scale(0.8); }
  50% { opacity: var(--max-opacity, 0.7); transform: scale(1); }
}

/* Hero SVG Illustration */
.hero-illustration {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-illustration svg {
  width: 100%;
  display: block;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.95rem 2.4rem;
  border-radius: 100px;
  background: var(--gold);
  color: var(--night-1);
  transition: transform 0.3s var(--ease-out), box-shadow 0.4s;
  position: relative;
  cursor: none;
}

@media (pointer: coarse) {
  .btn-primary {
    cursor: pointer;
  }
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--gold), var(--violet), var(--gold));
  background-size: 200% 200%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
  animation: gradientBorder 3s ease infinite;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 45px rgba(245, 185, 66, 0.45);
}

.btn-primary:hover::after {
  opacity: 1;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.95rem 2.4rem;
  border-radius: 100px;
  border: 1px solid rgba(139, 108, 255, 0.35);
  color: var(--paper);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
  cursor: none;
}

@media (pointer: coarse) {
  .btn-secondary {
    cursor: pointer;
  }
}

.btn-secondary:hover {
  border-color: var(--violet);
  background: rgba(139, 108, 255, 0.1);
  transform: translateY(-3px);
}

/* ============================================
   TRUST STRIP / MARQUEE
   ============================================ */
.trust-strip {
  padding: 3.5rem 0;
  overflow: hidden;
}

.trust-heading {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 2rem;
}

.marquee-wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 1.25rem;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}

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

.marquee-chip {
  flex-shrink: 0;
  padding: 0.65rem 1.6rem;
  border: 1px solid rgba(139, 108, 255, 0.2);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--paper);
  white-space: nowrap;
  background: rgba(139, 108, 255, 0.05);
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}

.marquee-chip:hover {
  border-color: var(--violet);
  background: rgba(139, 108, 255, 0.12);
  color: var(--violet);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: var(--section-padding) 0;
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

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

.service-card,
.work-card,
.why-card,
.about-card {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  will-change: transform;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, background-color 0.4s, box-shadow 0.4s;
  z-index: 2;
}

.service-card:hover,
.work-card:hover,
.why-card:hover,
.about-card:hover {
  border-color: rgba(245, 185, 66, 0.35);
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 185, 66, 0.08);
}

/* Radial spotlight glow following cursor */
.service-card::before,
.work-card::before,
.why-card::before,
.about-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(245, 185, 66, 0.15),
    rgba(139, 108, 255, 0.08) 50%,
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 1;
}

.service-card:hover::before,
.work-card:hover::before,
.why-card:hover::before,
.about-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(139, 108, 255, 0.08);
  color: var(--violet);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--paper);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.85;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
}

/* ============================================
   STATS
   ============================================ */
.stats {
  padding: var(--section-padding) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  background: rgba(139, 108, 255, 0.03);
  border: 1px solid rgba(139, 108, 255, 0.08);
}

.stat-number {
  font-family: var(--font-utility);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--gold);
  direction: ltr;
  display: inline-block;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ============================================
   PROCESS / JOURNEY
   ============================================ */
.process {
  padding: var(--section-padding) 0;
}

.process-header {
  text-align: center;
  margin-bottom: 5rem;
}

.process-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

/* Vertical connecting line */
.timeline-line {
  position: absolute;
  top: 0;
  right: 39px;
  width: 2px;
  height: 100%;
  z-index: 0;
}

.timeline-line-bg {
  position: absolute;
  inset: 0;
  background: rgba(139, 108, 255, 0.1);
  border-radius: 2px;
}

.timeline-line-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--violet);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(139, 108, 255, 0.4);
  transition: height 0.1s linear;
}

.process-step {
  position: relative;
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  padding-bottom: 4rem;
  padding-right: 70px;
  z-index: 1;
}

.process-step:last-child {
  padding-bottom: 0;
}

/* Dot on the line */
.step-dot {
  position: absolute;
  right: 32px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--night-2);
  border: 2px solid rgba(139, 108, 255, 0.25);
  z-index: 2;
  transition: background 0.5s, border-color 0.5s, box-shadow 0.5s;
}

.process-step.active .step-dot {
  background: var(--violet);
  border-color: var(--violet);
  box-shadow: 0 0 20px rgba(139, 108, 255, 0.5);
}

.step-number {
  font-family: var(--font-utility);
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(139, 108, 255, 0.15);
  line-height: 1;
  min-width: 70px;
  direction: ltr;
  text-align: left;
  transition: color 0.5s;
}

.process-step.active .step-number {
  color: var(--violet);
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--paper);
}

.step-content p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .process-step {
    flex-direction: column;
    gap: 0.75rem;
    padding-right: 50px;
  }

  .step-dot {
    right: 18px;
  }

  .timeline-line {
    right: 25px;
  }

  .step-number {
    font-size: 2rem;
    min-width: auto;
  }
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: var(--section-padding) 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid rgba(139, 108, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(139, 108, 255, 0.02);
  transition: border-color 0.3s, background 0.3s;
}

.faq-item:hover {
  border-color: rgba(139, 108, 255, 0.22);
}

.faq-item.open {
  border-color: rgba(139, 108, 255, 0.25);
  background: rgba(139, 108, 255, 0.04);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 2rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--paper);
  text-align: right;
  cursor: pointer;
  transition: color 0.3s;
}

@media (pointer: coarse) {
  .faq-question {
    cursor: pointer;
  }
}

.faq-question:hover {
  color: var(--violet);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.45s var(--ease-out);
  color: var(--violet);
  margin-right: auto;
  margin-left: 1.25rem;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), opacity 0.4s 0.05s;
  opacity: 0;
}

.faq-item.open .faq-answer {
  opacity: 1;
}

.faq-answer-inner {
  padding: 0 2rem 1.75rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.9;
}

/* ============================================
   CLOSING CTA
   ============================================ */
/* ============================================
   CLOSING CTA & CONTACT FORM
   ============================================ */
.closing-cta {
  padding: calc(var(--section-padding) + 20px) 0;
  position: relative;
}

.cta-box {
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  border-radius: 36px;
  background: rgba(14, 16, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 30px rgba(139, 108, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245, 185, 66, 0.15) 0%, rgba(139, 108, 255, 0.08) 50%, transparent 80%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1rem;
  line-height: 1.25;
  position: relative;
}

.cta-box .cta-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #D1D5F0;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  position: relative;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 5rem 0 2.5rem;
  background: #030408;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-brand .logo {
  margin-bottom: 1.2rem;
  display: inline-flex;
}

.footer-tagline {
  color: #A5ACC8;
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-links a {
  color: #A5ACC8;
  font-size: 0.95rem;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(-4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: #A5ACC8;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 0.85rem;
}

.social-icons a {
  width: 42px;
  height: 42px;
  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;
  color: #FFFFFF;
  transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.social-icons a:hover {
  background: rgba(245, 185, 66, 0.15);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(245, 185, 66, 0.2);
}

.social-icons svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7A82A6;
  font-size: 0.9rem;
}

.back-to-top-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, color 0.3s;
}

.back-to-top-btn:hover {
  background: rgba(245, 185, 66, 0.15);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.back-to-top-btn svg {
  width: 16px;
  height: 16px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.3s, padding-right 0.3s;
}

.footer-links a:hover {
  color: var(--violet);
  padding-right: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-list li {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-contact-list li.ltr {
  direction: ltr;
  text-align: right;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(139, 108, 255, 0.15);
  color: var(--muted);
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}

.social-icons a:hover {
  color: var(--violet);
  border-color: var(--violet);
  background: rgba(139, 108, 255, 0.08);
  transform: translateY(-2px);
}

.social-icons svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(139, 108, 255, 0.06);
  font-family: var(--font-utility);
  font-size: 0.8rem;
  color: var(--muted);
  direction: ltr;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding: var(--section-padding) 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-lead {
  font-size: 1.2rem;
  color: #D1D5F0;
  line-height: 1.9;
  margin-top: 1rem;
}

.about-cards-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-card {
  padding: 2rem;
  border-radius: 20px;
  background: rgba(18, 20, 36, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
}

.about-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.about-card p {
  color: #A5ACC8;
  font-size: 0.95rem;
  line-height: 1.8;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   WORKS / CASE STUDIES (Ghamer-inspired)
   ============================================ */
.works-section {
  padding: var(--section-padding) 0;
}

.works-header {
  margin-bottom: 3.5rem;
}

.works-sub {
  color: #A5ACC8;
  max-width: 600px;
  margin: 0 auto;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.work-card {
  padding: 2.2rem;
  border-radius: 24px;
  background: rgba(18, 20, 36, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 185, 66, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 185, 66, 0.15);
}

.work-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  background: rgba(245, 185, 66, 0.12);
  border: 1px solid rgba(245, 185, 66, 0.4);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.work-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.work-card p {
  color: #A5ACC8;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.work-metrics {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #D1D5F0;
  font-weight: 500;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us-section {
  padding: var(--section-padding) 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.why-card {
  padding: 2.2rem;
  border-radius: 24px;
  background: rgba(18, 20, 36, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.why-card p {
  color: #A5ACC8;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.form-row {
  display: flex;
  gap: 1.25rem;
}

.form-input {
  width: 100%;
  padding: 1rem 1.4rem;
  background: rgba(8, 10, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(245, 185, 66, 0.25);
}

.form-select option {
  background: #0C0E1A;
  color: #FFFFFF;
}

.form-submit-btn {
  width: 100%;
  padding: 1.1rem;
  font-size: 1.05rem;
  margin-top: 0.5rem;
  cursor: pointer;
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}

/* ============================================
   FOCUS STATES (Accessibility)
   ============================================ */
*:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.2s !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee-track {
    animation: none !important;
  }

  .scroll-cue {
    animation: none !important;
  }

  .hero .eyebrow,
  .hero h1,
  .hero-sub,
  .hero-ctas,
  .scroll-cue {
    opacity: 1 !important;
  }
}
