/* ===========================
   Digital ZN — Main Stylesheet
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --orange: #5B4FE8;
  --orange-light: #7B6FF0;
  --orange-dark: #5B4FE840;
  --black: #080808;
  --black-2: #0f0f0f;
  --white: #f8f8f8;
  --white-40: rgba(248,248,248,0.40);
  --white-20: rgba(248,248,248,0.20);
  --white-10: rgba(248,248,248,0.10);
  --white-5: rgba(248,248,248,0.05);
  --font: 'Space Grotesk', 'Inter', sans-serif;
  --radius: 16px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #080808; }
::-webkit-scrollbar-thumb { background: #5B4FE840; border-radius: 2px; }

@keyframes grain {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-2%, -3%); }
  20%  { transform: translate(3%, 1%); }
  30%  { transform: translate(-1%, 2%); }
  40%  { transform: translate(2%, -1%); }
  50%  { transform: translate(-3%, 3%); }
  60%  { transform: translate(1%, -2%); }
  70%  { transform: translate(-2%, 1%); }
  80%  { transform: translate(3%, -3%); }
  90%  { transform: translate(-1%, 2%); }
}

/* ── Cursor Trail ── */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: transform 0.05s;
}
@media (max-width: 768px) { .cursor-dot { display: none; } }

/* ══════════════════════════════
   NAVBAR
══════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 18px 40px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s ease, border-color 0.4s ease;
}
#navbar.scrolled {
  background: rgba(53, 53, 53, 0);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--orange));
}
.nav-logo-box {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 12px; color: #fff;
  letter-spacing: 0.05em;
  filter: drop-shadow(0 0 10px var(--orange));
}
.nav-logo-text { font-weight: 700; font-size: 18px; }
.nav-logo-text span { color: var(--orange); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--white-40);
  font-size: 14px; font-weight: 500;
  position: relative;
  transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 22px;
  background: var(--orange);
  color: #fff !important;
  border-radius: 999px;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: background 0.25s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--orange-light) !important; }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.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-menu {
  display: none;
  position: fixed; inset: 0;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(20px);
  z-index: 490;
  flex-direction: column; align-items: center; justify-content: center; gap: 36px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 32px; font-weight: 800; color: var(--white); transition: color 0.2s; }
.mobile-menu a:hover { color: var(--orange); }

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

/* ══════════════════════════════
   HERO
══════════════════════════════ */
#hero {
  position: relative;
  width: 100%; height: 100vh; min-height: 600px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-video.loaded { opacity: 1; }
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.895) 100%);
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.13; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.22; transform: translate(-50%, -50%) scale(1.1); }
}
.hero-content {
  position: relative; z-index: 10;
  text-align: center;
  padding: 0 24px;
  max-width: 1000px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(91,79,232,0.3);
  background: rgba(91,79,232,0.08);
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgb(176, 176, 176);
  margin-bottom: 32px;
  opacity: 0;
  animation: fade-up 0.7s 0.2s forwards;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: dot-pulse 1.5s ease-in-out infinite;
}
@keyframes dot-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-title {
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-title .word {
  display: inline-block;
  margin-right: 0.25em;
  overflow: hidden;
}
.hero-title .word span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}
.hero-title .orange { color: var(--orange); }

.hero-tagline {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--white-40);
  font-weight: 500;
  margin-bottom: 12px;
  opacity: 0;
  animation: fade-up 0.7s 0.9s forwards;
}
.hero-sub {
  font-size: 14px;
  color: rgba(248,248,248,0.28);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
  opacity: 0;
  animation: fade-up 0.6s 1.1s forwards;
}
.hero-buttons {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.6s 1.3s forwards;
}
.btn-primary {
  position: relative;
  padding: 16px 36px;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
  transition: transform 0.2s;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--orange-light);
  transform: translateY(101%);
  transition: transform 0.3s;
}
.btn-primary:hover::after { transform: translateY(0); }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-2px); }

.btn-secondary {
  padding: 16px 36px;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white-40);
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  transition: border-color 0.3s, color 0.3s, transform 0.2s;
}
.btn-secondary:hover {
  border-color: rgba(91,79,232,0.4);
  color: var(--white);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute; bottom: 100px; left: 45%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0;
  animation: fade-up 0.6s 1.8s forwards;
  cursor: pointer;
}
.scroll-arrow {
  width: 16px; height: 16px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: bounce-down 1.5s ease-in-out infinite;
}
@keyframes bounce-down { 0%,100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(6px) rotate(45deg); } }

.video-ctrl {
  position: absolute; bottom: 28px; right: 28px; z-index: 10;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(8,8,8,0.5);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  transition: color 0.2s, border-color 0.2s;
  cursor: pointer;
}

/* ══════════════════════════════
   MARQUEE
══════════════════════════════ */
.marquee-section {
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}
.marquee-section::before,
.marquee-section::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 100px;
  z-index: 2; pointer-events: none;
}
.marquee-section::before { left: 0; background: linear-gradient(to right, var(--black), transparent); }
.marquee-section::after  { right: 0; background: linear-gradient(to left, var(--black), transparent); }
.marquee-track {
  display: flex; align-items: center; gap: 32px;
  white-space: nowrap;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-item {
  display: flex; align-items: center; gap: 32px;
  flex-shrink: 0;
}
.marquee-item span { font-size: 13px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.18); }
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(91,79,232,0.5); flex-shrink: 0; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════
   SECTION SHARED
══════════════════════════════ */
section { padding: 120px 40px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.eyebrow-num {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow-line { height: 1px; width: 40px; background: rgba(91,79,232,0.4); }
.section-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900; line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub { color: var(--white-40); font-size: 17px; line-height: 1.6; }
.section-divider { height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent); }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s var(--transition), transform 0.75s var(--transition);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════
   SERVICES
══════════════════════════════ */
#services { position: relative; }
#services::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(91,79,232,0.25), transparent);
}
.services-header { margin-bottom: 64px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  transition: border-color 0.4s, background 0.4s, transform 0.35s, box-shadow 0.35s;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--orange), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(91,79,232,0.04);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover {
  border-color: rgba(91,79,232,0.2);
  background: rgba(255,255,255,0.04);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(91,79,232,0.12);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after  { opacity: 1; }

.card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(91,79,232,0.1);
  border: 1px solid rgba(91,79,232,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: background 0.3s;
}
.service-card:hover .card-icon { background: rgba(91,79,232,0.2); }
.card-num {
  font-size: 40px; font-weight: 900;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  transition: color 0.3s;
}
.service-card:hover .card-num { color: rgba(91,79,232,0.15); }
.card-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; transition: color 0.3s; }
.service-card:hover .card-title { color: #fff5ee; }
.card-desc { font-size: 14px; line-height: 1.65; color: var(--white-40); transition: color 0.3s; }
.service-card:hover .card-desc { color: rgba(255,255,255,0.58); }
.card-link {
  display: flex; align-items: center; gap: 6px;
  margin-top: 20px;
  font-size: 13px; font-weight: 700;
  color: var(--orange);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}
.service-card:hover .card-link { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════
   STATS
══════════════════════════════ */
#stats {
  position: relative;
  padding: 80px 40px;
  background: linear-gradient(to bottom, transparent, rgba(91,79,232,0.025), transparent);
}
.stats-header { text-align: center; margin-bottom: 64px; }
.stats-eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 14px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px; margin: 0 auto;
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
.stat-item { text-align: center; }
.stat-value {
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange) 50%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.stat-label { font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); }

/* ══════════════════════════════
   portfolio
══════════════════════════════ */
#work { position: relative; }
.work-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
  margin-bottom: 64px;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}
@media (max-width: 640px) { .work-grid { grid-template-columns: 1fr; } }

.work-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  min-height: 340px;
  transition: transform 0.35s, box-shadow 0.35s;
}
.work-card:nth-child(1) { min-height: 340px; }
.work-card:nth-child(4) { min-height: 340px; }
.work-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.work-bg {
  position: absolute; inset: 0;
  opacity: 0.28; transition: opacity 0.4s;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.work-card:hover .work-bg { opacity: 0.48; }

.work-content {
  position: absolute; inset: 0;
  padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.work-tag {
  font-size: 11px; font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  backdrop-filter: blur(8px);
}
.work-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 6px; }
.work-title { font-size: 20px; font-weight: 800; transition: color 0.3s; }
.work-card:hover .work-title { color: #fff5ee; }
.work-hover-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
}

.work-icon-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  opacity: 0; transform: scale(0.7);
  transition: opacity 0.3s, transform 0.3s;
}
.work-card:hover .work-icon-circle { opacity: 1; transform: scale(1); }

.btn-outline {
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.55);
  transition: border-color 0.3s, color 0.3s;
}
.btn-outline:hover { border-color: rgba(91,79,232,0.4); color: var(--white); }

/* ══════════════════════════════
   ABOUT
══════════════════════════════ */
#about { position: relative; overflow: hidden; }
#about::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(91,79,232,0.2), transparent);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
@media (max-width: 600px) { .about-grid { grid-template-columns: 1fr; gap: 56px; } }
.about-text p { color: var(--white-40); font-size: 17px; line-height: 1.75; margin-bottom: 24px; }
.about-vision { color: var(--orange-light); font-weight: 600; font-style: italic; font-size: 16px; margin-bottom: 36px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pillar {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,0.55);
}
.pillar-check {
  width: 20px; height: 20px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(91,79,232,0.1);
  border: 1px solid rgba(91,79,232,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: var(--orange);
}

/* About visual */
.about-visual { display: flex; align-items: center; justify-content: center; }
.orbital-wrapper {
  position: relative;
  width: 360px; height: 360px;
}
@media (max-width: 480px) { .orbital-wrapper { width: 280px; height: 280px; } }
.orbital-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(91,79,232,0.1);
}
.ring-1 { inset: 20px; animation: spin-cw  30s linear infinite; }
.ring-2 { inset: 60px; animation: spin-ccw 20s linear infinite; }
.ring-3 { inset: 0; border-color: rgba(91,79,232,0.04); background: conic-gradient(from 0deg, transparent, rgba(91,79,232,0.08), transparent); animation: spin-cw 30s linear infinite; }
@keyframes spin-cw  { to { transform: rotate(360deg); } }
@keyframes spin-ccw { to { transform: rotate(-360deg); } }

.orbital-center {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.zn-badge {
  width: 160px; height: 160px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 20px 60px rgba(91,79,232,0.35);
}
.zn-letters { font-size: 52px; font-weight: 900; color: #fff; line-height: 1; }
.zn-sub { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 4px; }

.orbital-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

/* ══════════════════════════════
   CONTACT
══════════════════════════════ */
#contact { position: relative; overflow: hidden; }
#contact::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(91,79,232,0.18), transparent);
}
.contact-glow {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: var(--orange);
  filter: blur(120px);
  opacity: 0.04;
  pointer-events: none;
  border-radius: 50%;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 56px; } }
.contact-info p { color: var(--white-40); font-size: 17px; margin-bottom: 48px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-row { display: flex; align-items: center; gap: 16px; }
.contact-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(91,79,232,0.1);
  border: 1px solid rgba(91,79,232,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.contact-row-label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 2px; }
.contact-row-val { font-size: 15px; font-weight: 500; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-field {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.form-field::placeholder { color: rgba(255,255,255,0.28); }
.form-field:focus { border-color: rgba(91,79,232,0.4); background: rgba(255,255,255,0.07); }
textarea.form-field { resize :vertical; height: 200px; }
.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--orange);
  color: #fff;
  border-radius: 12px;
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background 0.25s, transform 0.2s;
}
.btn-submit:hover { background: var(--orange-light); transform: translateY(-2px); }
.form-success {
  display: none;
  padding: 40px 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(91,79,232,0.2);
  background: rgba(91,79,232,0.05);
  text-align: center;
}
.form-success.show { display: block; }
.success-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
}
.form-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.form-success p  { color: var(--white-40); font-size: 15px; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
#footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 64px 40px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-tagline { font-size: 13px; font-style: italic; color: rgba(255,255,255,0.25); }
.footer-socials { display: flex; gap: 10px; box-shadow: 0 20px 60px rgba(91,79,232,0.12) ;}
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: rgba(255,255,255,0.38);
  transition: color 0.2s, border-color 0.2s;
}
.social-btn:hover { color: var(--orange-light); border-color: rgba(91,79,232,0.3); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.18); }

/* ══════════════════════════════
   LANGUAGE SWITCHER
══════════════════════════════ */
#lang-switcher {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 600;
  display: flex; align-items: center; gap: 4px;
  padding: 8px;
  background: rgba(8,8,8,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.lang-btn {
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.38);
  transition: color 0.25s;
  position: relative;
}
.lang-btn.active {
  color: #fff;
  background: var(--orange);
}

/* ══════════════════════════════
   GRADIENT TEXT UTILITY
══════════════════════════════ */
.gradient-text {
  background: linear-gradient(135deg, #5B4FE8, #4a3fd4, #7B6FF0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  section { padding: 80px 20px; }
  #navbar  { padding: 16px 20px; }
  #footer  { padding: 48px 20px; }
  #stats   { padding: 64px 20px; }
  #lang-switcher { bottom: 16px; }
}
/* ───────── Multi-select service chips ───────── */
.services-select { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 4px; }
.services-select-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 700;
}
.services-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.service-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.78);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
  user-select: none;
}
.service-chip:hover {
  border-color: rgba(91, 79, 232, 0.55);
  color: #fff;
  background: rgba(91, 79, 232, 0.08);
}
.service-chip .chip-check {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: transparent;
  font-size: 11px;
  font-weight: 900;
  transition: all .25s ease;
}
.service-chip.active {
  background: rgba(91, 79, 232, 0.18);
  border-color: rgba(91, 79, 232, 0.85);
  color: #fff;
  box-shadow: 0 4px 18px rgba(91, 79, 232, 0.25);
}
.service-chip.active .chip-check {
  background: #5B4FE8;
  color: #fff;
}
.services-error,
.form-error {
  font-size: 13px;
  font-weight: 600;
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.3);
  padding: 8px 12px;
  border-radius: 8px;
}

/* ───────── Portfolio card as anchor link ───────── */
a.work-card {
  text-decoration: none;
  color: inherit;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  isolation: isolate;
}
.work-card .work-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s cubic-bezier(0.22,1,0.36,1);
  z-index: 0;
}
.work-card:hover .work-bg { transform: scale(1.06); }
.work-card .work-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
.work-card .work-content {
  position: relative;
  z-index: 2;
}
.work-visit {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #5B4FE8;
  opacity: 0;
  transform: translateY(6px);
  transition: all .35s ease;
}
.work-card:hover .work-visit { opacity: 1; transform: translateY(0); }

[dir="rtl"] .services-chips { justify-content: flex-end; }
[dir="rtl"] .work-card { text-align: right; }

/* ───────── About visual fallback (in case original markup variant) ───────── */
.about-visual img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

/* Disabled submit button while sending */
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
