/* =============================================================
   Web Development Page — Hosn Theme
   Flagship experience: cinematic motion, layered depth, premium UX
   ============================================================= */

:root {
  --wd-gold: #f3ce34;
  --wd-gold-soft: rgba(243, 206, 52, 0.12);
  --wd-gold-dim: rgba(243, 206, 52, 0.35);
  --wd-dark: #0a0a0a;
  --wd-dark-2: #111111;
  --wd-dark-3: #161616;
  --wd-line: rgba(255, 255, 255, 0.08);
  --wd-text: #f5f5f5;
  --wd-text-dim: rgba(245, 245, 245, 0.72);
  --wd-text-mute: rgba(245, 245, 245, 0.5);
  --wd-ease: cubic-bezier(0.34, 1.56, 0.64, 1);
  --wd-ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

.wd-page-wrap {
  background: var(--wd-dark);
  color: var(--wd-text);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  width: 100%;
}

.wd-page-wrap .gold { color: var(--wd-gold); }

.wd-page-wrap section { width: 100%; position: relative; }

section {
  padding: 100px 80px 0;
  position: relative;
  overflow: hidden;
}

/* Decorative diamonds — match careers/service pages */
.wd-page-wrap .top-left-image,
.wd-page-wrap .top-right-ai-image {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  animation: wdOrbDrift 14s ease-in-out infinite;
}
.wd-page-wrap .top-left-image { left: 0; top: 30%; }
.wd-page-wrap .top-right-ai-image {
  right: 5%; top: 40%; animation-delay: -3s; animation-duration: 16s;
}
.wd-page-wrap .top-left-image img,
.wd-page-wrap .top-right-ai-image img { display: block; height: auto; max-width: 100%; }
@keyframes wdOrbDrift {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-12px) rotate(1.5deg); }
}

/* =============================================================
   SHARED PILL / BADGE
   ============================================================= */
.wd-pill,
.wd-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--wd-gold-dim);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--wd-gold);
  background: var(--wd-gold-soft);
  text-transform: uppercase;
  width: max-content;
}
.wd-pill-dot,
.wd-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--wd-gold);
  box-shadow: 0 0 10px var(--wd-gold);
  animation: wdPulse 2s ease-in-out infinite;
}
@keyframes wdPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(1.3); }
}

/* =============================================================
   BUTTONS
   ============================================================= */
.wd-btn-primary,
.wd-btn-outline,
.wd-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--wd-ease), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.wd-btn-primary {
  background: var(--wd-gold);
  color: var(--wd-dark);
  box-shadow: 0 8px 24px rgba(243, 206, 52, 0.18);
}
.wd-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(243, 206, 52, 0.36);
  background: #ffd84a;
}
.wd-btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s var(--wd-ease-smooth);
}
.wd-btn-primary:hover::after { left: 100%; }

.wd-btn-outline {
  background: transparent;
  color: var(--wd-text);
  border-color: rgba(255, 255, 255, 0.18);
}
.wd-btn-outline:hover {
  border-color: var(--wd-gold);
  color: var(--wd-gold);
  transform: translateY(-3px);
  background: rgba(243, 206, 52, 0.05);
}
.wd-btn-outline .material-symbols-outlined { font-size: 18px; }

.wd-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--wd-text);
  border-color: var(--wd-line);
}
.wd-btn-ghost:hover {
  border-color: var(--wd-gold);
  color: var(--wd-gold);
  transform: translateY(-3px);
}
.wd-btn-ghost .material-symbols-outlined { font-size: 18px; }

.wd-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--wd-ease);
}
.wd-btn-primary:hover .wd-btn-arrow { transform: translate(3px, -3px); }

/* =============================================================
   HERO
   ============================================================= */
.wd-hero {
  position: relative;
  padding: 140px 80px 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.wd-hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(243, 206, 52, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 206, 52, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  z-index: 0;
  animation: wdGridDrift 30s linear infinite;
}
@keyframes wdGridDrift {
  from { background-position: 0 0; }
  to   { background-position: 60px 60px; }
}

.wd-blob {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
  background: var(--wd-gold);
}
.wd-blob-a { top: -160px; left: -160px; animation: wdBlob 14s ease-in-out infinite; }
.wd-blob-b { top: -160px; right: -160px; animation: wdBlob 16s ease-in-out infinite reverse; }
@keyframes wdBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, 30px) scale(1.08); }
}

.wd-hero-wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  align-items: center;
}

.wd-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.wd-hero-title {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  color: #fff;
  text-align: left;
}
.wd-hero-title .gold { font-weight: 700; }
.wd-hero-title .wd-stroke {
  font-weight: 700;
  -webkit-text-stroke: 1.5px var(--wd-gold);
  color: transparent;
  position: relative;
  display: inline-block;
}

.wd-hero-desc {
  font-size: 18px;
  line-height: 1.65;
  color: var(--wd-text-dim);
  max-width: 540px;
  margin: 0;
  font-weight: 300;
}

.wd-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.wd-hero-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--wd-line);
  flex-wrap: wrap;
}
.wd-meta-item { display: flex; flex-direction: column; gap: 2px; }
.wd-meta-num {
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.5px;
}
.wd-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--wd-text-mute);
}
.wd-meta-sep {
  width: 1px; height: 36px;
  background: var(--wd-line);
}

/* === Hero RIGHT — code window === */
.wd-hero-right {
  position: relative;
  perspective: 1200px;
}

.wd-code-window {
  position: relative;
  background: linear-gradient(145deg, #131313, #0c0c0c);
  border: 1px solid var(--wd-line);
  border-radius: 16px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 0 60px rgba(243, 206, 52, 0.08);
  overflow: visible;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.6s var(--wd-ease-smooth);
  animation: wdWindowFloat 6s ease-in-out infinite;
}
.wd-code-window:hover { transform: rotateY(-2deg) rotateX(1deg) translateY(-6px); }
@keyframes wdWindowFloat {
  0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
  50%      { transform: rotateY(-8deg) rotateX(4deg) translateY(-10px); }
}

.wd-code-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--wd-line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px 16px 0 0;
}
.wd-code-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.wd-dot-r { background: #ff5f57; }
.wd-dot-y { background: #ffbd2e; }
.wd-dot-g { background: #28c941; }
.wd-code-file {
  margin-left: 14px;
  font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
  font-size: 12px;
  color: var(--wd-text-mute);
}

.wd-code-body {
  padding: 22px 24px 28px;
  font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
  font-size: 13.5px;
  line-height: 1.85;
  color: #d8d8d8;
  min-height: 320px;
  counter-reset: ln;
}
.wd-code-line {
  display: block;
  opacity: 0;
  transform: translateY(6px);
  animation: wdLineIn 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
  position: relative;
}
.wd-code-line::before {
  counter-increment: ln;
  content: counter(ln);
  display: inline-block;
  width: 26px;
  margin-right: 14px;
  color: rgba(255, 255, 255, 0.18);
  text-align: right;
  user-select: none;
}
.wd-code-blank::before { color: transparent; }
.wd-indent-1::before { padding-right: 0; }
.wd-indent-1 { padding-left: 18px; }
.wd-indent-2 { padding-left: 36px; }

.wd-tk-key { color: #c084fc; }
.wd-tk-var { color: #60a5fa; }
.wd-tk-str { color: var(--wd-gold); }
.wd-tk-fn  { color: #34d399; }
.wd-tk-tag { color: #f87171; }
.wd-tk-attr{ color: #fbbf24; }
.wd-tk-num { color: #f59e0b; }
.wd-tk-comment { color: #6b7280; font-style: italic; }

.wd-caret {
  display: inline-block;
  width: 8px; height: 16px;
  background: var(--wd-gold);
  vertical-align: middle;
  margin-left: 2px;
  animation: wdCaret 1s steps(2) infinite;
}
@keyframes wdCaret { 50% { opacity: 0; } }
@keyframes wdLineIn { to { opacity: 1; transform: translateY(0); } }

/* Floating tech chips */
.wd-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid var(--wd-line);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.3px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 3;
}
.wd-chip-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--wd-gold);
  box-shadow: 0 0 8px var(--wd-gold);
}
.wd-chip-react { top: -16px; left: -20px; animation: wdChipFloat 6s ease-in-out infinite; }
.wd-chip-next  { top: 20%; right: -36px; animation: wdChipFloat 7s ease-in-out infinite -1s; }
.wd-chip-node  { bottom: 18%; left: -32px; animation: wdChipFloat 8s ease-in-out infinite -2s; }
.wd-chip-ts    { bottom: -16px; right: 10%; animation: wdChipFloat 6.5s ease-in-out infinite -3s; }
@keyframes wdChipFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Scroll cue */
.wd-scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 5;
}
.wd-scroll-cue-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--wd-gold));
  position: relative;
  overflow: hidden;
}
.wd-scroll-cue-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 50%;
  background: var(--wd-gold);
  animation: wdScrollLine 2s ease-in-out infinite;
}
@keyframes wdScrollLine {
  0%   { top: -50%; }
  100% { top: 100%; }
}
.wd-scroll-cue-text {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--wd-text-mute);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* =============================================================
   TECH MARQUEE
   ============================================================= */
.wd-tech {
  padding: 0;
  background: transparent;
  overflow: hidden;
}
.wd-tech-label {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0 40px;
}
.wd-tech-label h3 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  color: var(--wd-text-dim);
  letter-spacing: -0.3px;
  margin: 0;
  max-width: 720px;
}

.wd-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 10%, black 90%, transparent 100%);
  padding: 18px 0;
}
.wd-marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: wdMarquee 38s linear infinite;
}
.wd-marquee-reverse .wd-marquee-track { animation-direction: reverse; animation-duration: 44s; }
.wd-marquee:hover .wd-marquee-track { animation-play-state: paused; }
.wd-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--wd-line);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--wd-text-dim);
  white-space: nowrap;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.wd-marquee-item:hover {
  border-color: var(--wd-gold-dim);
  color: var(--wd-gold);
  background: var(--wd-gold-soft);
}
.wd-marquee-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--wd-gold);
  box-shadow: 0 0 8px var(--wd-gold);
}
@keyframes wdMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================================
   WHY SECTION
   ============================================================= */
.wd-why {
  padding: 120px 80px;
  position: relative;
}
.wd-why-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Dashboard visual */
.wd-dash {
  position: relative;
  background: linear-gradient(145deg, #141414, #0c0c0c);
  border: 1px solid var(--wd-line);
  border-radius: 22px;
  padding: 36px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(243, 206, 52, 0.08);
  overflow: hidden;
}
.wd-dash-glow {
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: var(--wd-gold);
  filter: blur(120px);
  opacity: 0.16;
  pointer-events: none;
}
.wd-dash-header { margin-bottom: 28px; }
.wd-dash-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  border-radius: 999px;
  text-transform: uppercase;
}
.wd-dash-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: wdPulse 1.5s ease-in-out infinite;
}

.wd-dash-ring {
  position: relative;
  width: 200px; height: 200px;
  margin: 0 auto 32px;
}
.wd-dash-ring svg { width: 100%; height: 100%; }
.wd-ring-progress {
  transition: stroke-dashoffset 2s var(--wd-ease-smooth);
  filter: drop-shadow(0 0 8px rgba(243, 206, 52, 0.5));
}
.wd-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.wd-ring-num {
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -2px;
}
.wd-ring-sub {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--wd-text-mute);
  text-transform: uppercase;
  margin-top: 4px;
}

.wd-dash-bars { display: flex; flex-direction: column; gap: 18px; }
.wd-bar-row {
  display: grid;
  grid-template-columns: 50px 1fr 60px;
  align-items: center;
  gap: 14px;
}
.wd-bar-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--wd-text-mute);
}
.wd-bar-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.wd-bar-fill {
  display: block;
  height: 100%;
  width: var(--fill, 0%);
  background: linear-gradient(90deg, var(--wd-gold), #ffe066);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--wd-ease-smooth);
}
.wd-dash.is-active .wd-bar-fill { transform: scaleX(1); }
.wd-bar-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #fff;
  text-align: right;
}

/* Why right */
.wd-why-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.wd-why-title {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  color: #fff;
}
.wd-why-title .gold { font-weight: 700; }
.wd-why-desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--wd-text-dim);
  margin: 0 0 12px;
  font-weight: 300;
}

.wd-reasons {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-left: 32px;
}
.wd-reason-line {
  position: absolute;
  top: 18px; bottom: 18px;
  left: 23px;
  width: 2px;
  background: linear-gradient(to bottom, var(--wd-gold), rgba(243, 206, 52, 0.15));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.4s var(--wd-ease-smooth);
}
.wd-reasons.is-active .wd-reason-line { transform: scaleY(1); }

.wd-reason {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-left: -32px;
  padding-left: 8px;
}
.wd-reason-icon {
  position: relative;
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--wd-line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.5s var(--wd-ease), border-color 0.5s var(--wd-ease);
}
.wd-reason-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--wd-gold);
  transition: opacity 0.4s, transform 0.4s;
}
.wd-reason-check {
  position: absolute;
  color: var(--wd-dark);
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.5s var(--wd-ease) 0.1s, transform 0.5s var(--wd-ease) 0.1s;
}
.wd-reason.is-active .wd-reason-icon {
  background: var(--wd-gold);
  border-color: var(--wd-gold);
}
.wd-reason.is-active .wd-reason-dot { opacity: 0; transform: scale(0); }
.wd-reason.is-active .wd-reason-check { opacity: 1; transform: scale(1); }

.wd-reason-text h4 {
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 6px;
  transition: color 0.4s ease;
}
.wd-reason.is-active .wd-reason-text h4 { color: var(--wd-gold); }
.wd-reason-text p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--wd-text-mute);
  margin: 0;
}

/* =============================================================
   SECTION HEADER (shared by arsenal / process / stats)
   ============================================================= */
.wd-section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto 70px;
  position: relative;
  z-index: 2;
}
.wd-section-header h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  color: #fff;
  letter-spacing: -0.5px;
}
.wd-section-header h2 .gold { font-weight: 700; }
.wd-section-header p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--wd-text-dim);
  margin: 0;
  font-weight: 300;
}

/* =============================================================
   ARSENAL — Service Cards
   ============================================================= */
.wd-arsenal {
  padding: 120px 80px;
  position: relative;
  background: transparent;
}

.wd-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.wd-service-card {
  position: relative;
  padding: 32px 28px;
  background: linear-gradient(145deg, #131313, #0d0d0d);
  border: 1px solid var(--wd-line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.5s var(--wd-ease-smooth), border-color 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.wd-service-card:hover {
  border-color: var(--wd-gold-dim);
  transform: translateY(-6px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--wd-gold-dim) inset;
}

.wd-service-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 200px; height: 200px;
  background: var(--wd-gold);
  filter: blur(80px);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.wd-service-card:hover .wd-service-glow { opacity: 0.18; }

.wd-service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--wd-gold-soft);
  border: 1px solid var(--wd-gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wd-gold);
  margin-bottom: 22px;
  transition: transform 0.4s var(--wd-ease), background 0.4s ease;
}
.wd-service-icon .material-symbols-outlined { font-size: 26px; }
.wd-service-card:hover .wd-service-icon {
  transform: rotate(-6deg) scale(1.08);
  background: var(--wd-gold);
  color: var(--wd-dark);
}

.wd-service-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #fff;
  letter-spacing: -0.3px;
}
.wd-service-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--wd-text-mute);
  margin: 0 0 18px;
}

.wd-service-tags {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.wd-service-tags li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--wd-line);
  border-radius: 6px;
  color: var(--wd-text-mute);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.wd-service-card:hover .wd-service-tags li {
  color: var(--wd-gold);
  border-color: var(--wd-gold-dim);
}

.wd-service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--wd-gold);
  text-transform: uppercase;
  transition: gap 0.3s var(--wd-ease);
}
.wd-service-link:hover { gap: 14px; }

/* =============================================================
   PROCESS TIMELINE
   ============================================================= */
.wd-process {
  padding: 120px 80px;
  position: relative;
}

.wd-timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  z-index: 2;
}
.wd-timeline-line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent 0%, var(--wd-gold) 8%, var(--wd-gold) 92%, transparent 100%);
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  transition: transform 1.8s var(--wd-ease-smooth);
}
.wd-timeline.is-active .wd-timeline-line { transform: translateX(-50%) scaleY(1); }

.wd-tl-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
  align-items: center;
}
.wd-tl-row:last-child { margin-bottom: 0; }
.wd-tl-left .wd-tl-card { grid-column: 1; text-align: right; }
.wd-tl-right .wd-tl-card { grid-column: 2; text-align: left; }

.wd-tl-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--wd-dark);
  border: 2px solid var(--wd-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s var(--wd-ease), box-shadow 0.4s ease;
  z-index: 3;
}
.wd-tl-dot.is-active {
  transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 0 0 6px rgba(243, 206, 52, 0.12), 0 0 24px rgba(243, 206, 52, 0.5);
}
.wd-tl-dot span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--wd-gold);
}

.wd-tl-card {
  background: linear-gradient(145deg, #131313, #0d0d0d);
  border: 1px solid var(--wd-line);
  border-radius: 16px;
  padding: 28px 28px;
  transition: transform 0.4s var(--wd-ease), border-color 0.4s ease, box-shadow 0.4s ease;
}
.wd-tl-card:hover {
  transform: translateY(-4px);
  border-color: var(--wd-gold-dim);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.wd-tl-icon {
  font-size: 30px !important;
  color: var(--wd-gold);
  margin-bottom: 12px;
  display: block;
}
.wd-tl-left .wd-tl-icon { margin-left: auto; }
.wd-tl-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.2px;
}
.wd-tl-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--wd-text-mute);
  margin: 0;
}

/* =============================================================
   STATS COUNTERS
   ============================================================= */
.wd-stats {
  padding: 120px 80px;
  position: relative;
  overflow: hidden;
  background: transparent;
}
.wd-stats-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(243, 206, 52, 0.08), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(243, 206, 52, 0.05), transparent 50%);
  pointer-events: none;
}
.wd-stats-header {
  text-align: center;
  margin-bottom: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 2;
}
.wd-stats-header h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 400;
  margin: 0;
  color: #fff;
  letter-spacing: -0.5px;
}
.wd-stats-header h2 .gold { font-weight: 700; }

.wd-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.wd-stat {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--wd-line);
  border-radius: 18px;
  transition: transform 0.4s var(--wd-ease), border-color 0.4s ease, background 0.4s ease;
}
.wd-stat:hover {
  transform: translateY(-6px);
  border-color: var(--wd-gold-dim);
  background: linear-gradient(145deg, rgba(243, 206, 52, 0.04), rgba(255, 255, 255, 0.01));
}
.wd-stat-num {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -2px;
  margin-bottom: 12px;
  font-family: 'Outfit', sans-serif;
}
.wd-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--wd-text-mute);
  text-transform: uppercase;
}

/* =============================================================
   CTA — mirrors Social Media Marketing CTA (full-width gold)
   ============================================================= */
.wd-cta-wrapper {
  background: #f3ce34;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.wd-cta-section {
  background: transparent;
  padding: 100px 40px;
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}
.wd-cta-section h2 {
  color: #151515;
  font-size: 48px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  line-height: 1.15;
  margin: 0 0 24px;
  letter-spacing: -0.5px;
}
.wd-cta-section > p {
  color: #151515;
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 36px;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.wd-cta-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}
.wd-cta-btn-dark,
.wd-cta-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.wd-cta-btn-dark {
  background: #151515;
  color: #ffffff;
  border: none;
}
.wd-cta-btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.wd-cta-btn-outline {
  background: transparent;
  color: #151515;
  border: 2px solid #151515;
}
.wd-cta-btn-outline:hover {
  background: #151515;
  color: #f3ce34;
  transform: translateY(-3px);
}

.wd-cta-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  color: #151515;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
}
.wd-cta-status-item {
  display: inline-flex;
  align-items: center;
}
.wd-cta-status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #1f7a34;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 0 3px rgba(31, 122, 52, 0.2);
}
.wd-cta-status-sep {
  opacity: 0.5;
  color: #151515;
}

/* =============================================================
   REVEAL ANIMATIONS
   ============================================================= */
[data-reveal] {
  opacity: 0;
  will-change: opacity, transform;
  transition-property: opacity, transform;
  transition-timing-function: var(--wd-ease);
}
[data-reveal="fade-up"]    { transform: translateY(40px);  transition-duration: 0.8s; }
[data-reveal="fade-down"]  { transform: translateY(-40px); transition-duration: 0.8s; }
[data-reveal="slide-left"] { transform: translateX(-60px); transition-duration: 0.8s; }
[data-reveal="slide-right"]{ transform: translateX(60px);  transition-duration: 0.8s; }
[data-reveal="scale"]      { transform: scale(0.92);       transition-duration: 0.7s; }
[data-reveal].in-view { opacity: 1; transform: none; }

[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
[data-delay="5"] { transition-delay: 0.40s; }
[data-delay="6"] { transition-delay: 0.48s; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1200px) {
  .wd-services-grid { grid-template-columns: repeat(2, 1fr); }
  .wd-page-wrap .top-left-image img,
  .wd-page-wrap .top-right-ai-image img { max-width: 220px; }
}

@media (max-width: 1024px) {
  .wd-hero,
  .wd-why,
  .wd-arsenal,
  .wd-process,
  .wd-stats { padding: 100px 40px; }
  .wd-cta-wrapper { padding: 0; }
  .wd-cta-section { padding: 80px 32px; }
  .wd-cta-section h2 { font-size: 40px; }
  .wd-hero { padding-top: 120px; }
  .wd-why-wrapper { grid-template-columns: 1fr; gap: 60px; }

  /* Hero: stack vertically with code window AFTER the description */
  .wd-hero-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .wd-hero-left { display: contents; }
  .wd-hero-left .wd-badge      { order: 1; margin-bottom: 24px; }
  .wd-hero-left .wd-hero-title { order: 2; margin-bottom: 22px; }
  .wd-hero-left .wd-hero-desc  { order: 3; margin-bottom: 36px; max-width: none; }
  .wd-hero-right               { order: 4; margin: 0 auto 36px; max-width: 600px; width: 100%; }
  .wd-hero-left .wd-hero-actions { order: 5; margin: 0 0 24px; }
  .wd-hero-left .wd-hero-meta    { order: 6; }

  .wd-hero-title { font-size: 54px; }
  .wd-chip { font-size: 11px; padding: 6px 10px; }
  .wd-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .wd-page-wrap .top-left-image,
  .wd-page-wrap .top-right-ai-image { opacity: 0.55; }
  .wd-page-wrap .top-left-image img,
  .wd-page-wrap .top-right-ai-image img { max-width: 170px; }
  .wd-scroll-cue { display: none; }
}

@media (max-width: 768px) {
  .wd-hero,
  .wd-why,
  .wd-arsenal,
  .wd-process,
  .wd-stats { padding: 80px 24px; }
  .wd-cta-wrapper { padding: 0; }
  .wd-cta-section { padding: 60px 24px; }
  .wd-cta-section h2 { font-size: 32px; margin-bottom: 18px; }
  .wd-cta-section > p { font-size: 16px; margin-bottom: 28px; }
  .wd-cta-btn-dark,
  .wd-cta-btn-outline { padding: 14px 28px; font-size: 13px; }
  .wd-cta-status { font-size: 13px; gap: 8px; }
  .wd-hero { padding-top: 110px; }
  .wd-hero-title { font-size: 42px; }
  .wd-hero-desc { font-size: 16px; }

  /* Hide credibility row on mobile */
  .wd-hero-meta { display: none !important; }

  .wd-code-body { font-size: 12px; padding: 18px 16px 22px; }
  .wd-code-line::before { width: 20px; margin-right: 8px; }
  .wd-services-grid { grid-template-columns: 1fr; }
  .wd-tl-row { grid-template-columns: 1fr; gap: 0; padding-left: 60px; }
  .wd-tl-left .wd-tl-card,
  .wd-tl-right .wd-tl-card { grid-column: 1; text-align: left; }
  .wd-tl-left .wd-tl-icon { margin-left: 0; }
  .wd-tl-dot { left: 28px; transform: translate(-50%, 0) scale(0); top: 8px; }
  .wd-tl-dot.is-active { transform: translate(-50%, 0) scale(1); }
  .wd-timeline-line { left: 28px; }
  .wd-dash { padding: 24px; }
  .wd-dash-ring { width: 160px; height: 160px; }
  .wd-ring-num { font-size: 44px; }
  .wd-stats-grid { grid-template-columns: 1fr; gap: 14px; }
  .wd-stat { padding: 30px 20px; }
}

@media (max-width: 640px) {
  .wd-page-wrap .top-left-image,
  .wd-page-wrap .top-right-ai-image { display: none; }
  .wd-chip-react { top: -10px; left: -8px; }
  .wd-chip-next { top: 10%; right: -8px; }
  .wd-chip-node { bottom: 10%; left: -8px; }
  .wd-chip-ts { bottom: -10px; right: 5%; }
  .wd-marquee-item { font-size: 13px; padding: 10px 16px; }
  .wd-tech-label { padding: 0 20px; margin-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .wd-code-line { opacity: 1 !important; transform: none !important; }
}
