/* =========================================================
   WebsitesLLC — Premium Agency Site
   Design tokens
   ========================================================= */
:root {
  --bg: #05060a;
  --bg-soft: #0a0c14;
  --bg-elev: #0f1220;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f6ff;
  --text-soft: #aab0c6;
  --text-dim: #6c7390;

  --brand: #7c5cff;     /* violet */
  --brand-2: #22d3ee;   /* cyan */
  --brand-3: #ff5c97;   /* magenta */
  --accent-grad: linear-gradient(120deg, #7c5cff 0%, #5b8cff 38%, #22d3ee 72%, #5eead4 100%);
  --accent-grad-2: linear-gradient(120deg, #ff5c97, #7c5cff 55%, #22d3ee);

  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --glow: 0 0 60px -10px rgba(124, 92, 255, 0.5);

  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* Ambient background gradient field */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(124, 92, 255, 0.18), transparent 60%),
    radial-gradient(800px 600px at 95% 8%, rgba(34, 211, 238, 0.12), transparent 55%),
    radial-gradient(900px 700px at 50% 110%, rgba(255, 92, 151, 0.10), transparent 60%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.4;
  pointer-events: none;
}

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

::selection { background: rgba(124, 92, 255, 0.4); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; line-height: 1.08; font-weight: 600; letter-spacing: -0.02em; }

.grad-text {
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 9999;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

/* =========================================================
   Custom cursor
   ========================================================= */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; border-radius: 50%; }
.cursor {
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1.5px solid rgba(124, 92, 255, 0.7);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.3s;
  backdrop-filter: invert(0);
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--brand-2); }
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(124, 92, 255, 0.12); border-color: rgba(124, 92, 255, 0.9); }
.cursor.is-cta { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(34, 211, 238, 0.12); border-color: rgba(34, 211, 238, 0.8); }
.cursor.is-text { width: 4px; height: 28px; margin: -14px 0 0 -2px; border-radius: 2px; background: var(--brand-2); border-color: transparent; }
.cursor.is-down { transform: scale(0.8); }
body.cursor-ready { cursor: none; }
body.cursor-ready a, body.cursor-ready button, body.cursor-ready [data-cursor] { cursor: none; }
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none !important; }
  body.cursor-ready { cursor: auto; }
}

/* =========================================================
   Scroll progress + preloader
   ========================================================= */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--accent-grad); z-index: 9997;
  box-shadow: 0 0 14px rgba(124, 92, 255, 0.7);
}

.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg); display: grid; place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; width: min(320px, 80vw); }
.preloader__logo { font-family: 'Space Grotesk'; font-size: 1.8rem; font-weight: 700; margin-bottom: 22px; }
.preloader__logo span { color: var(--brand); }
.preloader__bar { height: 3px; background: var(--border); border-radius: 99px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0%; background: var(--accent-grad); transition: width 0.2s var(--ease); }
.preloader__count { margin-top: 12px; font-family: 'JetBrains Mono'; font-size: 0.78rem; color: var(--text-dim); }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, border-color 0.4s, height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8, 9, 16, 0.6);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
  height: 66px;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; font-family: 'Space Grotesk'; font-weight: 700; font-size: 1.22rem; letter-spacing: -0.02em; }
.nav__brand-accent { color: var(--brand); }
.nav__brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--accent-grad);
  box-shadow: 0 0 22px rgba(124, 92, 255, 0.6);
  position: relative; flex: none;
}
.nav__brand-mark::after {
  content: ""; position: absolute; inset: 6px; border-radius: 4px;
  background: var(--bg); opacity: 0.85;
}
.nav__menu { display: flex; align-items: center; gap: 34px; }
.nav__link { font-size: 0.94rem; color: var(--text-soft); position: relative; transition: color 0.25s; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--accent-grad); transition: width 0.3s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }
.nav__cta {
  font-size: 0.9rem; font-weight: 600; padding: 10px 18px; border-radius: 99px;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}
.nav__cta:hover { background: rgba(124,92,255,0.18); box-shadow: var(--glow); transform: translateY(-1px); }

.nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.98rem; padding: 15px 26px; border-radius: 99px;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  will-change: transform;
}
.btn svg { transition: transform 0.3s var(--ease); }
.btn--sm { padding: 12px 20px; font-size: 0.9rem; }
.btn--block { width: 100%; justify-content: center; }
.btn--primary { color: #fff; background: var(--brand); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent-grad); opacity: 1;
  transition: opacity 0.3s;
}
.btn--primary:hover { box-shadow: 0 18px 50px -16px rgba(124, 92, 255, 0.8); transform: translateY(-2px); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost {
  color: var(--text); background: var(--surface);
  border: 1px solid var(--border-strong); backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(124,92,255,0.5); transform: translateY(-2px); box-shadow: var(--glow); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand-2); }
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  padding-top: var(--nav-h);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.9; }
.hero__glow {
  position: absolute; z-index: 0; width: 70vmax; height: 70vmax; left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124, 92, 255, 0.22), transparent 60%);
  filter: blur(20px); pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}

.hero__floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.code-float {
  position: absolute; font-family: 'JetBrains Mono', monospace; font-size: 0.82rem;
  padding: 12px 16px; border-radius: 12px;
  background: rgba(12, 14, 24, 0.6); border: 1px solid var(--border);
  backdrop-filter: blur(10px); box-shadow: var(--shadow); white-space: nowrap;
  opacity: 0; will-change: transform;
}
.code-float--1 { top: 20%; left: 7%; }
.code-float--2 { top: 32%; right: 6%; }
.code-float--3 { bottom: 26%; left: 11%; }
.code-float--4 { bottom: 20%; right: 12%; }
.tok-key { color: #c792ea; } .tok-fn { color: #82aaff; } .tok-str { color: #c3e88d; }
.tok-tag { color: #ff5c97; } .tok-attr { color: #ffcb6b; } .tok-punct { color: #89ddff; }
.tok-comment { color: #5c6478; font-style: italic; }

.hero__content { position: relative; z-index: 2; max-width: 940px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px; font-size: 0.82rem; font-weight: 500;
  padding: 8px 16px; border-radius: 99px; color: var(--text-soft);
  background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(8px);
  margin-bottom: 26px;
}
.hero__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero__title { font-size: clamp(2.6rem, 7.2vw, 5.6rem); font-weight: 700; margin-bottom: 26px; }
.hero__title-brand {
  display: block; font-size: clamp(1rem, 2vw, 1.4rem); letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--brand-2); font-weight: 600; margin-bottom: 14px;
}
.hero__title-line { display: block; }
.hero__title-gradient { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.hero__subtitle { font-size: clamp(1.05rem, 2vw, 1.32rem); color: var(--text-soft); max-width: 620px; margin-bottom: 38px; }

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero__stats { display: flex; gap: 48px; flex-wrap: wrap; }
.hero__stat { display: flex; flex-direction: column; }
.hero__stat strong { font-family: 'Space Grotesk'; font-size: 1.7rem; font-weight: 700; }
.hero__stat span { font-size: 0.86rem; color: var(--text-dim); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim);
}
.hero__scroll-mouse { width: 24px; height: 38px; border: 2px solid var(--border-strong); border-radius: 14px; display: flex; justify-content: center; padding-top: 6px; }
.hero__scroll-mouse span { width: 4px; height: 8px; border-radius: 2px; background: var(--brand-2); animation: scrollWheel 1.8s var(--ease) infinite; }
@keyframes scrollWheel { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* =========================================================
   Marquee
   ========================================================= */
.marquee { padding: 30px 0; border-block: 1px solid var(--border); background: rgba(255,255,255,0.015); overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee__group span { font-family: 'Space Grotesk'; font-size: clamp(1.2rem, 2.4vw, 1.9rem); font-weight: 600; color: var(--text-soft); white-space: nowrap; }
.marquee__group .dot { color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* =========================================================
   Section shells
   ========================================================= */
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section__head { max-width: 760px; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; }
.section__eyebrow {
  display: inline-block; font-family: 'JetBrains Mono'; font-size: 0.78rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brand-2); margin-bottom: 18px;
  padding: 6px 14px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface);
}
.section__title { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 18px; }
.section__lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--text-soft); }

/* =========================================================
   Services
   ========================================================= */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1400px; }
.card {
  position: relative; padding: 32px 28px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--border); overflow: hidden;
  transform-style: preserve-3d; transition: transform 0.2s var(--ease), border-color 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.card:hover { border-color: rgba(124,92,255,0.4); box-shadow: 0 30px 70px -34px rgba(124,92,255,0.6); }
.card__glow {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,0.28), transparent 60%);
  top: var(--my, 50%); left: var(--mx, 50%); transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none; filter: blur(10px);
}
.card:hover .card__glow { opacity: 1; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(124,92,255,0.12); border: 1px solid rgba(124,92,255,0.3);
  color: var(--brand-2); margin-bottom: 22px; transition: transform 0.4s var(--ease);
  transform: translateZ(40px);
}
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon { transform: translateZ(60px) rotateZ(-6deg) scale(1.06); }
.card__title { font-size: 1.3rem; margin-bottom: 10px; transform: translateZ(28px); }
.card__text { color: var(--text-soft); font-size: 0.96rem; margin-bottom: 18px; transform: translateZ(18px); }
.card__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; transform: translateZ(14px); }
.card__list li { font-size: 0.78rem; padding: 5px 11px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft); }

/* =========================================================
   Work / Portfolio
   ========================================================= */
.work__list { display: flex; flex-direction: column; gap: clamp(60px, 9vw, 130px); }
.project { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.project--reverse .project__media { order: 2; }
.project__media { perspective: 1400px; }

.browser-mock {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border-strong);
  background: var(--bg-elev); box-shadow: var(--shadow);
  transform-style: preserve-3d; transition: transform 0.25s var(--ease), box-shadow 0.4s;
  will-change: transform;
}
.browser-mock:hover { box-shadow: 0 50px 110px -40px rgba(124,92,255,0.6); }
.browser-mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--border); }
.browser-mock__bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.browser-mock__url {
  margin-left: 12px; font-family: 'JetBrains Mono'; font-size: 0.74rem; color: var(--text-dim);
  background: var(--bg); padding: 5px 14px; border-radius: 99px; border: 1px solid var(--border); flex: 1;
}
.browser-mock__viewport { aspect-ratio: 16 / 10.5; position: relative; overflow: hidden; }

/* LuckyWebs mock */
.mock-luckywebs { background: radial-gradient(120% 100% at 20% 0%, #161a33, #0a0c14); padding: 22px; }
.mock-lw__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.mock-lw__logo { font-family: 'Space Grotesk'; font-weight: 700; color: #fff; font-size: 0.9rem; }
.mock-lw__links { width: 120px; height: 8px; border-radius: 99px; background: rgba(255,255,255,0.18); }
.mock-lw__hero { max-width: 60%; }
.mock-lw__h1 { height: 18px; border-radius: 6px; background: linear-gradient(90deg,#7c5cff,#22d3ee); margin-bottom: 10px; width: 90%; }
.mock-lw__h2 { height: 10px; border-radius: 6px; background: rgba(255,255,255,0.16); margin-bottom: 8px; width: 70%; }
.mock-lw__btn { margin-top: 16px; width: 92px; height: 30px; border-radius: 99px; background: #7c5cff; box-shadow: 0 8px 24px -6px rgba(124,92,255,0.8); }
.mock-lw__cards { display: flex; gap: 12px; margin-top: 30px; }
.mock-lw__cards span { flex: 1; height: 64px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); }
.mock-lw__orb { position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -40px; top: -30px; background: radial-gradient(circle, rgba(34,211,238,0.5), transparent 65%); filter: blur(6px); }

/* WOP mock */
.mock-wop { display: flex; background: #0a0c14; }
.mock-wop__side { width: 32%; background: rgba(255,255,255,0.03); border-right: 1px solid var(--border); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.mock-wop__avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,#7c5cff,#ff5c97); }
.mock-wop__row { height: 10px; border-radius: 99px; background: rgba(255,255,255,0.1); }
.mock-wop__row:nth-child(3) { width: 80%; } .mock-wop__row:nth-child(4) { width: 60%; }
.mock-wop__chat { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.mock-wop__bubble { max-width: 65%; height: 26px; border-radius: 14px; }
.mock-wop__bubble.in { align-self: flex-start; background: rgba(255,255,255,0.1); }
.mock-wop__bubble.out { align-self: flex-end; background: linear-gradient(120deg,#7c5cff,#22d3ee); }
.mock-wop__bubble.short { width: 40%; }
.mock-wop__input { margin-top: auto; height: 34px; border-radius: 99px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); }

.project__info { display: flex; flex-direction: column; align-items: flex-start; }
.project__index { font-family: 'JetBrains Mono'; font-size: 0.85rem; color: var(--brand); letter-spacing: 0.1em; margin-bottom: 12px; }
.project__title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.project__desc { color: var(--text-soft); margin-bottom: 18px; }
.project__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.project__tags li { font-size: 0.78rem; padding: 6px 13px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); color: var(--text-soft); }

.project--add { grid-template-columns: 1fr; }
.project__add-inner {
  text-align: center; padding: clamp(40px, 6vw, 70px); border-radius: var(--radius-lg);
  border: 1.5px dashed var(--border-strong); background: var(--surface);
}
.project__add-plus { font-size: 2.4rem; color: var(--brand); display: block; margin-bottom: 10px; line-height: 1; }
.project__add-inner h3 { font-size: 1.5rem; margin-bottom: 8px; }
.project__add-inner p { color: var(--text-soft); max-width: 460px; margin: 0 auto 18px; }

/* =========================================================
   Process timeline
   ========================================================= */
.process__timeline { position: relative; margin-top: 30px; }
.process__line { position: absolute; top: 34px; left: 0; right: 0; height: 2px; background: var(--border); border-radius: 2px; }
.process__line-fill { display: block; height: 100%; width: 0%; background: var(--accent-grad); box-shadow: 0 0 16px rgba(124,92,255,0.8); border-radius: 2px; }
.process__steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.pstep { position: relative; padding-top: 64px; }
.pstep::before {
  content: ""; position: absolute; top: 25px; left: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg-elev); border: 2px solid var(--border-strong); transition: all 0.4s var(--ease);
}
.pstep.is-active::before { background: var(--brand); border-color: var(--brand-2); box-shadow: 0 0 0 6px rgba(124,92,255,0.18), 0 0 20px rgba(124,92,255,0.7); }
.pstep__num { font-family: 'JetBrains Mono'; font-size: 0.82rem; color: var(--brand-2); }
.pstep h3 { font-size: 1.18rem; margin: 6px 0 8px; }
.pstep p { font-size: 0.9rem; color: var(--text-soft); }

/* =========================================================
   Stats
   ========================================================= */
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  padding: clamp(40px, 5vw, 60px); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(124,92,255,0.10), rgba(34,211,238,0.04));
  border: 1px solid var(--border); position: relative; overflow: hidden;
}
.stats__grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 200px at 50% -20%, rgba(124,92,255,0.25), transparent 60%);
}
.stat { text-align: center; position: relative; }
.stat__num { font-family: 'Space Grotesk'; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; display: block; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { color: var(--text-soft); font-size: 0.92rem; }

/* =========================================================
   Testimonials
   ========================================================= */
.testi { max-width: 820px; margin: 0 auto; }
.testi__viewport { overflow: hidden; border-radius: var(--radius-lg); }
.testi__track { display: flex; transition: transform 0.7s var(--ease); will-change: transform; }
.testi__card {
  min-width: 100%; padding: clamp(34px, 5vw, 56px);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border); border-radius: var(--radius-lg); backdrop-filter: blur(12px);
}
.testi__card blockquote { font-family: 'Space Grotesk'; font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 500; line-height: 1.5; margin-bottom: 28px; letter-spacing: -0.01em; }
.testi__card figcaption { display: flex; align-items: center; gap: 14px; }
.testi__avatar { width: 50px; height: 50px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; color: #fff; background: var(--accent-grad-2); }
.testi__avatar::after { content: attr(data-initials); }
.testi__card figcaption strong { display: block; }
.testi__card figcaption small { color: var(--text-dim); }
.testi__controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; }
.testi__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface); font-size: 1.4rem; line-height: 1; display: grid; place-items: center; transition: all 0.25s var(--ease); }
.testi__btn:hover { background: rgba(124,92,255,0.18); border-color: var(--brand); transform: translateY(-2px); }
.testi__dots { display: flex; gap: 9px; }
.testi__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); transition: all 0.3s var(--ease); }
.testi__dot.is-active { width: 26px; border-radius: 99px; background: var(--accent-grad); }

/* =========================================================
   Contact
   ========================================================= */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact__intro { position: sticky; top: 110px; }
.contact__intro .section__title { text-align: left; }
.contact__points { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.contact__points li { display: flex; align-items: center; gap: 12px; color: var(--text-soft); }
.contact__points span { width: 22px; height: 22px; border-radius: 50%; background: rgba(124,92,255,0.15); border: 1px solid rgba(124,92,255,0.4); flex: none; position: relative; }
.contact__points span::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.7rem; color: var(--brand-2); }

.glass {
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.contact__form { padding: clamp(28px, 4vw, 42px); border-radius: var(--radius-lg); position: relative; }
.field { margin-bottom: 20px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; }
.field--row .field { margin-bottom: 0; }
.field label { display: block; font-size: 0.86rem; font-weight: 500; margin-bottom: 8px; color: var(--text-soft); }
.field label .opt { color: var(--text-dim); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: 12px; color: var(--text); font-size: 0.95rem;
  background: rgba(0,0,0,0.25); border: 1px solid var(--border);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23aab0c6' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field select option { background: var(--bg-elev); color: var(--text); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(124,92,255,0.18); background: rgba(0,0,0,0.4); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--brand-3); box-shadow: 0 0 0 3px rgba(255,92,151,0.16); }
.field__error { display: block; min-height: 0; font-size: 0.78rem; color: var(--brand-3); margin-top: 6px; opacity: 0; transition: opacity 0.2s; }
.field.is-invalid .field__error { opacity: 1; }

.form-success {
  position: absolute; inset: 0; border-radius: var(--radius-lg); z-index: 5;
  background: linear-gradient(160deg, rgba(14,16,28,0.96), rgba(10,12,20,0.98));
  backdrop-filter: blur(8px); display: grid; place-content: center; text-align: center; padding: 30px;
  animation: fadeScale 0.5s var(--ease);
}
@keyframes fadeScale { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
.form-success__check { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: rgba(74,222,128,0.14); border: 1px solid rgba(74,222,128,0.5); color: #4ade80; }
.form-success__check svg { width: 34px; height: 34px; }
.form-success h3 { font-size: 1.6rem; margin-bottom: 8px; }
.form-success p { color: var(--text-soft); margin-bottom: 16px; max-width: 320px; }
.form-success .link-arrow { justify-self: center; }

/* =========================================================
   Footer
   ========================================================= */
.footer { border-top: 1px solid var(--border); padding-top: 70px; background: rgba(255,255,255,0.015); position: relative; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer__brand p { color: var(--text-soft); margin-top: 16px; max-width: 280px; font-size: 0.94rem; }
.footer__col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-dim); margin-bottom: 18px; }
.footer__col a { display: block; color: var(--text-soft); margin-bottom: 11px; font-size: 0.94rem; transition: color 0.2s, transform 0.2s; }
.footer__col a:hover { color: var(--text); transform: translateX(3px); }
.footer__social { display: flex; gap: 12px; margin-bottom: 18px; }
.footer__social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); margin: 0; transition: all 0.25s var(--ease); }
.footer__social a:hover { background: rgba(124,92,255,0.18); border-color: var(--brand); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__email { font-weight: 600; color: var(--brand-2) !important; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 0.86rem; flex-wrap: wrap; gap: 10px; }

/* =========================================================
   Reveal animation base (fallback if JS/GSAP fails)
   ========================================================= */
.reveal-up, .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.is-revealed .reveal-up, .is-revealed.reveal-up, .reveal-up.is-in, .reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal-up, .no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .process__line { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --nav-h: 66px; }
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); flex-direction: column;
    align-items: flex-start; justify-content: center; gap: 26px; padding: 40px;
    background: rgba(8,9,16,0.92); backdrop-filter: blur(24px); border-left: 1px solid var(--border);
    transform: translateX(100%); transition: transform 0.45s var(--ease); z-index: 999;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__toggle { display: flex; z-index: 1000; }
  .nav__link { font-size: 1.15rem; }
  .nav__cta { font-size: 1.05rem; }

  .hero__stats { gap: 28px; }
  .hero__stat strong { font-size: 1.4rem; }
  .code-float { display: none; }

  .services__grid { grid-template-columns: 1fr; }
  .project, .project--reverse .project__media { grid-template-columns: 1fr; order: 0; }
  .project__media { order: 0 !important; }
  .project__info { order: 1; }
  .process__steps { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__intro { position: static; }
  .contact__intro .section__title { text-align: center; }
  .field--row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 420px) {
  .process__steps { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
}
