:root {
  --bg-void: #00020a;
  --bg-deep: #000d1a;
  --bg-panel: rgba(0, 20, 40, 0.7);
  --cyan: #00f5ff;
  --cyan-dim: rgba(0, 245, 255, 0.12);
  --cyan-glow: rgba(0, 245, 255, 0.6);
  --amber: #ffaa00;
  --amber-dim: rgba(255, 170, 0, 0.1);
  --green: #00ff88;
  --red: #ff2d55;
  --border: rgba(0, 245, 255, 0.18);
  --text: #c8e6f0;
  --text-muted: rgba(200, 230, 240, 0.45);
  --grid-color: rgba(0, 245, 255, 0.05);
  --nav-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-void);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  overflow-x: hidden;
}

/* ─── GLOBAL BACKGROUND — DEEP SPACE ENTERPRISE ─── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    /* CRT scanlines — very subtle */
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0, 0, 0, 0.03) 3px, rgba(0, 0, 0, 0.03) 6px),
    /* Hero spotlight — draws focus to centre */
    radial-gradient(ellipse 70% 55% at 50% 5%, rgba(0, 80, 200, 0.1) 0%, transparent 100%),
    /* Deep vignette — darkens edges for depth */
    radial-gradient(ellipse 120% 100% at 50% 50%, transparent 40%, rgba(0, 0, 8, 0.55) 100%);
  pointer-events: none;
  z-index: 2;
}

/* ─── AMBIENT — DEEP ELECTRIC BLUE ─── */
.ambient {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

/* Indigo depth cloud — top‑left, very large and soft */
.amb-1 {
  width: 900px;
  height: 900px;
  border-radius: 50%;
  filter: blur(180px);
  background: radial-gradient(circle, rgba(20, 60, 220, 0.28) 0%, rgba(0, 20, 120, 0.10) 55%, transparent 100%);
  top: -380px;
  left: -260px;
  animation: pulseA 10s ease-in-out infinite;
}

/* Sapphire accent — bottom‑right, cooler tone */
.amb-2 {
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(150px);
  background: radial-gradient(circle, rgba(0, 100, 220, 0.22) 0%, rgba(0, 50, 140, 0.08) 60%, transparent 100%);
  bottom: -240px;
  right: -180px;
  animation: pulseB 13s ease-in-out infinite;
}

/* Aurora ribbon — sweeps slowly across the upper third */
.amb-3 {
  width: 120%;
  height: 320px;
  border-radius: 50%;
  filter: blur(100px);
  background: linear-gradient(105deg,
      rgba(0, 50, 180, 0.18) 0%,
      rgba(0, 180, 255, 0.10) 35%,
      rgba(0, 245, 255, 0.07) 55%,
      rgba(0, 100, 200, 0.12) 80%,
      rgba(0, 30, 120, 0.18) 100%);
  top: -60px;
  left: -10%;
  animation: auroraFlow 16s ease-in-out infinite;
}

@keyframes pulseA {

  0%,
  100% {
    opacity: .55;
    transform: scale(1);
  }

  50% {
    opacity: .85;
    transform: scale(1.10);
  }
}

@keyframes pulseB {

  0%,
  100% {
    opacity: .40;
    transform: scale(1.08);
  }

  50% {
    opacity: .70;
    transform: scale(1);
  }
}

@keyframes auroraFlow {

  0%,
  100% {
    opacity: .7;
    transform: translateX(0) scaleX(1);
  }

  33% {
    opacity: 1;
    transform: translateX(3%) scaleX(1.04);
  }

  66% {
    opacity: .8;
    transform: translateX(-2%) scaleX(0.98);
  }
}

/* ─── CORNER MARKS ─── */
.corner {
  position: fixed;
  width: 80px;
  height: 80px;
  z-index: 2;
  opacity: .4;
}

.corner::before,
.corner::after {
  content: "";
  position: absolute;
  background: var(--cyan);
}

.c-tl {
  top: 20px;
  left: 20px;
}

.c-tl::before {
  top: 0;
  left: 0;
  width: 2px;
  height: 40px
}

.c-tl::after {
  top: 0;
  left: 0;
  height: 2px;
  width: 40px
}

.c-tr {
  top: 20px;
  right: 20px;
}

.c-tr::before {
  top: 0;
  right: 0;
  width: 2px;
  height: 40px
}

.c-tr::after {
  top: 0;
  right: 0;
  height: 2px;
  width: 40px
}

.c-bl {
  bottom: 20px;
  left: 20px;
}

.c-bl::before {
  bottom: 0;
  left: 0;
  width: 2px;
  height: 40px
}

.c-bl::after {
  bottom: 0;
  left: 0;
  height: 2px;
  width: 40px
}

.c-br {
  bottom: 20px;
  right: 20px;
}

.c-br::before {
  bottom: 0;
  right: 0;
  width: 2px;
  height: 40px
}

.c-br::after {
  bottom: 0;
  right: 0;
  height: 2px;
  width: 40px
}

/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(0, 5, 15, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  z-index: 100;
}

.nav-logo {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 22px;
  color: var(--cyan);
  letter-spacing: 4px;
  text-shadow: 0 0 24px var(--cyan-glow);
  text-decoration: none;
}

.nav-logo span {
  color: var(--amber);
}

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

.nav-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 4px;
  transition: all .25s;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--cyan);
  background: var(--cyan-dim);
}

.nav-links .nav-sep {
  width: 1px;
  height: 20px;
  background: var(--border);
  margin: 0 8px;
}

.nav-btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 7px 16px;
  border-radius: 4px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all .25s;
  text-transform: uppercase;
}

.nav-btn-login {
  color: var(--text-muted);
}

.nav-btn-login:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}

.nav-btn-lang {
  color: var(--text-muted);
  border-color: transparent;
  padding: 7px 10px;
}

.nav-btn-lang:hover {
  color: var(--cyan);
}

.nav-btn-panel {
  color: var(--bg-void);
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 500;
  box-shadow: 0 0 16px rgba(0, 245, 255, 0.35);
}

.nav-btn-panel:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 28px rgba(0, 245, 255, 0.55);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cyan);
  margin: 5px 0;
  transition: .3s;
}

/* ─── HERO ─── */
#hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 40px 80px;
  text-align: center;
  overflow: hidden;
}

.hero-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--amber);
  border: 1px solid rgba(255, 170, 0, 0.3);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
  animation: fadeUp .8s ease both;
}

.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 2px;
  margin-bottom: 24px;
  animation: fadeUp .9s .1s ease both;
}

.hero-title .line-cyan {
  color: var(--cyan);
  text-shadow: 0 0 40px var(--cyan-glow);
}

.hero-title .line-white {
  color: #fff;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 44px;
  animation: fadeUp 1s .2s ease both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 1s .3s ease both;
}

.btn-primary {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  background: var(--cyan);
  color: var(--bg-void);
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 0 24px rgba(0, 245, 255, 0.4);
  transition: all .25s;
}

.btn-primary:hover {
  box-shadow: 0 0 40px rgba(0, 245, 255, 0.7);
  transform: translateY(-2px);
}

.btn-outline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s;
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}

.hero-stats {
  display: flex;
  gap: 60px;
  margin-top: 72px;
  animation: fadeUp 1s .5s ease both;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 900;
  color: var(--cyan);
  text-shadow: 0 0 20px var(--cyan-glow);
}

.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
  animation: fadeUp 1s .7s ease both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: .4
  }

  50% {
    opacity: 1
  }
}

/* ─── SECTION BASE ─── */
section {
  position: relative;
  z-index: 1;
  padding: 100px 40px;
}

.section-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
}

.divider-line-h {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0;
}

/* ─── SERVICES ─── */
#services {
  background: linear-gradient(to bottom, transparent, rgba(0, 20, 40, 0.3), transparent);
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header .section-sub {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all .3s;
  cursor: default;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.service-card:hover {
  border-color: rgba(0, 245, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 245, 255, 0.08);
}

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

.service-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--cyan-dim);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.5;
}

.service-name {
  font-family: 'Orbitron', monospace;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 10px;
}

.service-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--border);
  letter-spacing: 1px;
}

/* ─── HOW WE WORK ─── */
#process {
  text-align: center;
}

.process-header {
  margin-bottom: 64px;
}

.process-header .section-sub {
  margin: 0 auto;
}

.process-steps {
  display: flex;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), var(--border), transparent);
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
}

.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', monospace;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--cyan);
  text-shadow: 0 0 12px var(--cyan-glow);
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.15);
}

.step-title {
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  margin-bottom: 8px;
}

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

/* ─── PORTFOLIO ─── */
#portfolio {
  background: linear-gradient(to bottom, transparent, rgba(0, 10, 25, 0.4), transparent);
}

.portfolio-header {
  text-align: center;
  margin-bottom: 64px;
}

.portfolio-header .section-sub {
  margin: 0 auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.port-card {
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: all .3s;
  display: flex;
  align-items: flex-end;
}

.port-card:nth-child(1) {
  grid-column: span 2;
  aspect-ratio: auto;
  min-height: 260px;
}

.port-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', monospace;
  font-size: 4rem;
  font-weight: 900;
  opacity: .04;
  color: var(--cyan);
  letter-spacing: 8px;
  transition: opacity .3s;
}

.port-card:hover .port-bg {
  opacity: .07;
}

.port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 10, 25, 0.95) 0%, transparent 60%);
}

.port-info {
  position: relative;
  z-index: 1;
  padding: 24px 28px;
}

.port-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 6px;
}

.port-title {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.port-card:hover {
  border-color: rgba(0, 245, 255, 0.35);
  box-shadow: 0 0 40px rgba(0, 245, 255, 0.06);
}

/* grid visual placeholders */
.port-visual {
  position: absolute;
  inset: 0;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.port-visual-grid {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 245, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* ─── TECH STACK ─── */
#stack {
  text-align: center;
}

.stack-header {
  margin-bottom: 52px;
}

.stack-header .section-sub {
  margin: 0 auto;
}

.stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.stack-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 8px 20px;
  border-radius: 40px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-panel);
  backdrop-filter: blur(10px);
  transition: all .25s;
  cursor: default;
}

.stack-chip:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}

.stack-chip.featured {
  border-color: rgba(0, 245, 255, 0.4);
  color: var(--cyan);
}

/* ─── WHY US ─── */
#why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 40px;
}

.why-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
}

.why-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.wr1 {
  width: 320px;
  height: 320px;
  animation: spin 8s linear infinite;
  border-color: rgba(0, 245, 255, 0.3);
}

.wr2 {
  width: 220px;
  height: 220px;
  animation: spin 5s linear infinite reverse;
  border-color: rgba(255, 170, 0, 0.35);
}

.wr3 {
  width: 130px;
  height: 130px;
  animation: spin 3s linear infinite;
  border-color: rgba(0, 245, 255, 0.5);
}

@keyframes spin {
  from {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(360deg)
  }
}

.why-core {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.3), var(--bg-deep));
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.4), 0 0 60px rgba(0, 245, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.why-core-dot {
  width: 20px;
  height: 20px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--cyan);
}

.why-ring-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.why-ring-dot.amber {
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
}

.why-perks {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.perk {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  backdrop-filter: blur(15px);
  transition: all .3s;
}

.perk:hover {
  border-color: rgba(0, 245, 255, 0.35);
}

.perk-icon {
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.perk-title {
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  margin-bottom: 4px;
}

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

/* ─── TESTIMONIALS ─── */
#testimonials {
  text-align: center;
}

.testi-header {
  margin-bottom: 56px;
}

.testi-header .section-sub {
  margin: 0 auto;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.testi-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  backdrop-filter: blur(20px);
  text-align: left;
  transition: all .3s;
}

.testi-card:hover {
  border-color: rgba(0, 245, 255, 0.3);
}

.testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--amber);
  font-size: 14px;
}

.testi-text {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

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

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  color: var(--cyan);
}

.testi-name {
  font-weight: 700;
  font-size: .88rem;
  color: #fff;
}

.testi-role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ─── CONTACT ─── */
#contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info .section-sub {
  max-width: 400px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  backdrop-filter: blur(15px);
  transition: all .3s;
  text-decoration: none;
}

.contact-item:hover {
  border-color: rgba(0, 245, 255, .4);
}

.ci-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ci-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.5;
}

.ci-icon svg[fill="#25D366"] {
  fill: #25D366;
  stroke: none;
}

.ci-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.ci-value {
  font-size: .95rem;
  color: #fff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input,
.field textarea,
.field select {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  outline: none;
  transition: border-color .25s;
  backdrop-filter: blur(10px);
  resize: none;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(0, 245, 255, .5);
}

.field textarea {
  min-height: 120px;
}

.form-submit {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px;
  border-radius: 6px;
  background: var(--cyan);
  color: var(--bg-void);
  border: none;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 0 24px rgba(0, 245, 255, 0.35);
  transition: all .25s;
}

.form-submit:hover {
  box-shadow: 0 0 40px rgba(0, 245, 255, .6);
  transform: translateY(-2px);
}

/* ─── FOOTER ─── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 40px;
  background: rgba(0, 5, 15, 0.8);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 4px;
  color: var(--cyan);
  text-shadow: 0 0 20px var(--cyan-glow);
  text-decoration: none;
}

.footer-logo span {
  color: var(--amber);
}

.footer-copy {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s;
}

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

/* ─── FLOATING CONTACT BUTTONS ─── */
.float-btn-group {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 200;
}

.float-btn {
  width: 56px;
  height: 56px;
  background: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: 0 0 24px rgba(0, 245, 255, .5), 0 8px 24px rgba(0, 0, 0, .4);
  transition: box-shadow .3s;
  border: none;
  animation: floatBounce 2s ease-in-out infinite;
}

.wa-btn {
  background: #25D366;
  box-shadow: 0 0 24px rgba(37, 211, 102, .5), 0 8px 24px rgba(0, 0, 0, .4);
  animation-delay: 0.5s;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(0, 245, 255, .7), 0 8px 32px rgba(0, 0, 0, .5);
  animation: none;
}

.wa-btn:hover {
  box-shadow: 0 0 40px rgba(37, 211, 102, .7), 0 8px 32px rgba(0, 0, 0, .5);
}

.float-btn svg {
  width: 24px;
  height: 24px;
  stroke: var(--bg-void);
  stroke-width: 2;
}

.float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  border-radius: 6px;
  padding: 8px 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: all .2s;
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes floatBounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── 3D INTERACTIVE CARD ─── */
.card-interactive {
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: transform 0.15s linear, box-shadow 0.3s ease;
}

/* ─── MOBILE ─── */
@media (max-width: 900px) {
  nav {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(0, 5, 15, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    gap: 4px;
  }

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

  .nav-links a,
  .nav-btn {
    padding: 10px 16px;
    font-size: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-sep {
    display: none !important;
  }

  #hero {
    padding: calc(var(--nav-h) + 40px) 16px 60px;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }

  section {
    padding: 60px 16px;
  }

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

  .port-card:nth-child(1) {
    grid-column: span 2;
  }

  #why {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 16px;
  }

  .why-visual {
    height: 260px;
  }

  .wr1 {
    width: 220px;
    height: 220px;
  }

  .wr2 {
    width: 150px;
    height: 150px;
  }

  .wr3 {
    width: 90px;
    height: 90px;
  }

  #contact {
    grid-template-columns: 1fr;
    padding: 60px 16px;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .process-steps {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }

  .process-steps::before {
    display: none;
  }

  footer {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .float-btn-group {
    bottom: 20px;
    right: 20px;
  }

  .c-tl,
  .c-tr,
  .c-bl,
  .c-br {
    display: none;
  }
}

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

  .port-card:nth-child(1) {
    grid-column: span 1;
  }
}

/* ─── LANGUAGE DROPDOWN ─── */
.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropdown .nav-btn-lang {
  background: transparent;
  cursor: pointer;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  border-radius: 6px;
  padding: 8px 0;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .2s;
  z-index: 100;
}

.lang-dropdown:hover .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text);
  text-decoration: none;
  padding: 8px 16px;
  transition: .2s;
  text-transform: uppercase;
}

.lang-menu a:hover,
.lang-menu a.active {
  color: var(--cyan);
  background: var(--cyan-dim);
}

/* ─── ARABIC TYPOGRAPHY ─── */
html[lang="ar"] body,
html[lang="ar"] .field input,
html[lang="ar"] .field textarea,
html[lang="ar"] .field select {
  font-family: 'Cairo', 'Syne', sans-serif;
}

/* ─── TOUCH OPTIMISATION ─── */
a,
button,
.stack-chip,
.filter-btn,
.card-interactive,
.float-btn,
.btn-primary,
.btn-outline,
.nav-btn {
  touch-action: manipulation;
}

/* ─── PARTICLES ─── */
@keyframes floatP {
  0% {
    transform: translateY(100vh);
    opacity: 0;
  }

  8% {
    opacity: .7;
  }

  85% {
    opacity: .45;
  }

  100% {
    transform: translateY(-80px);
    opacity: 0;
  }
}

.ptcl {
  position: fixed;
  top: 0;
  width: 4px;
  height: 4px;
  background: #ffaa00;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  /* above body::after (z-index:2) */
  opacity: 0;

  animation-name: floatP;
  animation-timing-function: linear;
  /* duration & delay set per-element by JS */
}

/* ─── ACCESSIBILITY ─── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  /* .ptcl is never created when reduced-motion is active (JS checks first) */
}