/* ── FIXEL DISPLAY FONT ─────────────────────────────────── */
@font-face { font-family: 'Fixel'; src: url('fonts/FixelDisplay-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fixel'; src: url('fonts/FixelDisplay-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fixel'; src: url('fonts/FixelDisplay-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fixel'; src: url('fonts/FixelDisplay-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fixel'; src: url('fonts/FixelDisplay-ExtraBold.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fixel'; src: url('fonts/FixelDisplay-Black.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --bg: #0D0D0D;
  --surface: #131313;
  --surface-2: #1A1A1A;
  --text: #F5F5F5;
  --text-secondary: #A1A1AA;
  --pink: #FF2D78;
  --cyan: #00F5D4;
  --purple: #B026FF;
  --border: rgba(255, 255, 255, .08);
  --glow-pink: 0 0 14px rgba(255, 45, 120, .35);
  --glow-cyan: 0 0 14px rgba(0, 245, 212, .25);
  --font-display: 'Rubik', sans-serif;
  --font-body:    'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;
  --font-main:    var(--font-body);
}

/* ═══════════════════════════════
   DEPTH LAYER SYSTEM
   L1  body bg          z 0
   L2  grid (body bg-image)
   L2  noise (body::before) z 1
   L3  ambient glows    z 2
   L4  content          z 10
   L5  particles        z 12  (within hero stacking context)
   nav                  z 100
═══════════════════════════════ */

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}

/* LAYER 2 — noise grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* LAYER 3 — ambient glows */
.glow-layer {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  animation: glow-breathe ease-in-out infinite;
}

/* Pink — верхний правый угол, перекрывает hero */
.glow--1 {
  width: 90vw; height: 90vw;
  background: radial-gradient(ellipse at center,
    rgba(255, 45, 120, .13) 0%,
    rgba(255, 45, 120, .05) 35%,
    transparent 70%);
  top: -30vw; right: -25vw;
  animation-duration: 11s;
  animation-delay: 0s;
}

/* Purple — центр-левый, между секциями */
.glow--2 {
  width: 80vw; height: 80vw;
  background: radial-gradient(ellipse at center,
    rgba(176, 38, 255, .09) 0%,
    rgba(176, 38, 255, .03) 40%,
    transparent 70%);
  top: 35vh; left: -30vw;
  animation-duration: 15s;
  animation-delay: -6s;
}

/* Cyan — нижний правый, подсвечивает contact */
.glow--3 {
  width: 85vw; height: 85vw;
  background: radial-gradient(ellipse at center,
    rgba(0, 245, 212, .08) 0%,
    rgba(0, 245, 212, .03) 40%,
    transparent 70%);
  bottom: -25vw; right: -25vw;
  animation-duration: 13s;
  animation-delay: -9s;
}

@keyframes glow-breathe {
  0%, 100% { opacity: .75; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.05); }
}

/* LAYER 4 — content sits above glows */
.hero,
.section,
.motion-section,
.footer {
  position: relative;
  z-index: 10;
}

/* ── UTILITIES ── */

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.muted {
  color: var(--text-secondary);
}

.label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--purple);
  border: 1px solid rgba(176, 38, 255, .3);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 20px;
}

/* ── BUTTONS ── */

.btn-primary {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  box-shadow: var(--glow-pink);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--cyan);
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 13px 32px;
  border-radius: 4px;
  border: 1px solid rgba(0, 245, 212, .4);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn-secondary:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-1px);
}

/* ── NAV ── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  transition: background 0.3s ease, border-bottom 0.3s ease;
}

.nav.scrolled {
  background: rgba(13, 13, 13, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pink);
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  color: var(--pink) !important;
  border: 1px solid rgba(255, 45, 120, .4);
  padding: 7px 18px;
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-cta:hover {
  border-color: var(--pink) !important;
  box-shadow: var(--glow-pink);
}

/* ── HERO SPLIT ── */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: 48px;
  padding: 90px 56px 60px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible;
  z-index: 10;
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 45, 120, .06) 0%, transparent 65%);
  pointer-events: none;
}

/* ── HERO VISUAL (right column) ── */

.hero-visual {
  position: relative;
  height: 500px;
}

.v-rings {
  position: absolute;
  inset: -40px;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  pointer-events: none;
  animation: rings-spin 40s linear infinite;
  z-index: 0;
}

@keyframes rings-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Terminal */
.v-terminal {
  position: relative;
  z-index: 2;
  background: #090f1c;
  border: 1px solid rgba(0, 245, 212, .14);
  border-radius: 10px;
  overflow: hidden;
  transform: perspective(1000px) rotateY(-14deg) rotateX(4deg);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, .6),
    0 0 0 1px rgba(0, 245, 212, .05),
    inset 0 1px 0 rgba(255, 255, 255, .04);
  animation: terminal-float 7s ease-in-out infinite;
}

@keyframes terminal-float {
  0%, 100% { transform: perspective(1000px) rotateY(-14deg) rotateX(4deg) translateY(0px); }
  50%       { transform: perspective(1000px) rotateY(-14deg) rotateX(4deg) translateY(-10px); }
}

.v-terminal__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #0c1525;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.v-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.v-dot--pink   { background: var(--pink);   opacity: .75; }
.v-dot--yellow { background: #ffd60a;       opacity: .45; }
.v-dot--cyan   { background: var(--cyan);   opacity: .45; }

.v-terminal__title {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .22);
  text-transform: uppercase;
}

.v-terminal__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.v-line {
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.v-prompt { color: var(--pink); }
.v-muted  { color: rgba(255, 255, 255, .3); }
.v-online { color: var(--cyan); }

.v-spacer { height: 6px; }

.v-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.v-name {
  width: 62px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, .65);
}

.v-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, .06);
  border-radius: 2px;
  overflow: hidden;
}

.v-fill        { height: 100%; border-radius: 2px; }
.v-fill--pink  { background: var(--pink); }
.v-fill--cyan  { background: var(--cyan); }
.v-fill--purple{ background: var(--purple); }

.v-price {
  width: 28px;
  text-align: right;
  color: rgba(255, 255, 255, .28);
  font-size: 10px;
  flex-shrink: 0;
}

.v-cursor {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 14px;
  margin-top: 2px;
  animation: cursor-blink 1.2s step-end infinite;
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Floating cards */
.v-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  z-index: 3;
}

.v-card--stat {
  bottom: 20px;
  left: -44px;
  transform: perspective(1000px) rotateY(-8deg) rotateX(3deg);
  border-color: rgba(255, 45, 120, .2);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(255,45,120,.07);
  animation: card-float-1 9s ease-in-out infinite;
  animation-delay: -2s;
}

@keyframes card-float-1 {
  0%, 100% { transform: perspective(1000px) rotateY(-8deg) rotateX(3deg) translateY(0); }
  50%       { transform: perspective(1000px) rotateY(-8deg) rotateX(3deg) translateY(-8px); }
}

.v-card--chips {
  top: 24px;
  right: -16px;
  transform: perspective(1000px) rotateY(-20deg) rotateX(7deg);
  border-color: rgba(0, 245, 212, .15);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(0,245,212,.06);
  display: flex;
  flex-direction: column;
  gap: 7px;
  animation: card-float-2 11s ease-in-out infinite;
  animation-delay: -5s;
}

@keyframes card-float-2 {
  0%, 100% { transform: perspective(1000px) rotateY(-20deg) rotateX(7deg) translateY(0); }
  50%       { transform: perspective(1000px) rotateY(-20deg) rotateX(7deg) translateY(-12px); }
}

.v-card__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.v-card__value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pink);
  line-height: 1;
}

.v-card__value span {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, .5);
}

.v-card__sub {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 5px;
}

/* LAYER 5 — floating particles */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.p {
  position: absolute;
  display: block;
  animation: p-float var(--dur, 10s) var(--delay, 0s) ease-in-out infinite;
}

@keyframes p-float {
  0%         { opacity: 0;    transform: translateY(10px); }
  20%, 80%   { opacity: .45; }
  100%       { opacity: 0;    transform: translateY(-14px); }
}

@keyframes p-float-rot {
  0%         { opacity: 0;    transform: translateY(10px) rotate(45deg); }
  20%, 80%   { opacity: .4; }
  100%       { opacity: 0;    transform: translateY(-14px) rotate(90deg); }
}

.p-cross { width: 14px; height: 14px; }
.p-cross::before,
.p-cross::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}
.p-cross::before { width: 100%; height: 1.5px; top: 50%; left: 0; transform: translateY(-50%); }
.p-cross::after  { width: 1.5px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }

.p-dot    { width: 4px; height: 4px; background: currentColor; border-radius: 50%; }

.p-diamond {
  width: 7px; height: 7px;
  background: currentColor;
  animation-name: p-float-rot;
}

.p-ring {
  width: 20px; height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
}

.p-pink   { color: var(--pink); }
.p-cyan   { color: var(--cyan); }
.p-purple { color: var(--purple); }

/* LAYER 4 text — above particles */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
}

/* availability badge */
.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 245, 212, .3);
  border-radius: 20px;
  padding: 6px 14px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .7; }
  50%       { transform: scale(1.12); opacity: 1; }
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 104px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 32px;
}

.h1-pink { color: var(--pink); }
.h1-cyan { color: var(--cyan); }

.hero-highlight {
  color: var(--cyan);
  position: relative;
  animation: highlight-pulse 2.8s ease-in-out infinite;
}

@keyframes highlight-pulse {
  0%, 100% { color: var(--cyan); text-shadow: 0 0 0px transparent; }
  50%       { color: #fff; text-shadow: 0 0 18px rgba(0, 245, 212, 0.7); }
}

.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 0.7;
  letter-spacing: 0.01em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── SECTIONS ── */

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 56px;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: .95;
  margin-bottom: 52px;
  color: #fff;
}

/* ── SERVICES ── */

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.service-card {
  grid-column: span 2;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: rgba(255, 45, 120, .3);
  transform: translateY(-2px);
}

.service-card--wide {
  grid-column: span 3;
}

.service-icon {
  color: var(--pink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.service-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid;
}

.chip--pink {
  color: var(--pink);
  background: rgba(255, 45, 120, .1);
  border-color: rgba(255, 45, 120, .3);
}

.chip--cyan {
  color: var(--cyan);
  background: rgba(0, 245, 212, .08);
  border-color: rgba(0, 245, 212, .25);
}

.chip--purple {
  color: var(--purple);
  background: rgba(176, 38, 255, .1);
  border-color: rgba(176, 38, 255, .25);
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.price {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cyan);
}

/* ── MOTION SECTION ── */

.motion-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* orbit background */
.orbit-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 560px;
  height: 560px;
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 45, 120, .07);
  animation: orbit-spin 24s linear infinite;
}

.orbit-ring::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
  top: -2.5px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--pink);
}

.orbit-ring:nth-child(2) {
  inset: 70px;
  border-color: rgba(0, 245, 212, .07);
  animation: orbit-spin 36s linear infinite reverse;
}

.orbit-ring:nth-child(2)::after {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.orbit-ring:nth-child(3) {
  inset: 140px;
  border-color: rgba(176, 38, 255, .07);
  animation: orbit-spin 18s linear infinite;
}

.orbit-ring:nth-child(3)::after {
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple);
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* marquee */
.marquee-wrap {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  animation: marquee-left 20s linear infinite;
  will-change: transform;
}

.marquee-track--reverse {
  animation: marquee-right 26s linear infinite;
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--mq-half, -50%)); }
}

@keyframes marquee-right {
  from { transform: translateX(calc(var(--mq-half, -50%) * -1)); }
  to   { transform: translateX(0); }
}

.marquee-item {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  margin-right: 28px;
  text-transform: uppercase;
  color: var(--pink);
  opacity: .6;
  flex-shrink: 0;
}

.marquee-item--cyan {
  color: var(--cyan);
}

.marquee-sep {
  color: var(--border);
  flex-shrink: 0;
  font-size: 12px;
  margin-right: 28px;
}

/* stats */
.motion-stats {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 100px;
  padding: 64px 48px;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 84px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  transition: color 0.3s ease;
}

.stat:nth-child(1) .stat-num { color: var(--pink); }
.stat:nth-child(2) .stat-num { color: #fff; }
.stat:nth-child(3) .stat-num { color: var(--cyan); }

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

@media (max-width: 600px) {
  .motion-stats { gap: 40px; padding: 48px 24px; }
}

/* ── PROCESS ── */

.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-num {
  color: var(--pink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.step-divider {
  color: var(--cyan);
  font-size: 1.4rem;
  padding-top: 34px;
  flex-shrink: 0;
  opacity: 0.4;
}

/* ── WORKS ── */

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.work-card {
  height: 360px;
  perspective: 1400px;
  cursor: pointer;
}

.work-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card:hover .work-card-inner {
  transform: rotateY(180deg);
}

/* front & back share the same space */
.work-face {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.work-face--front {
  background: var(--bg);
}

.work-face--back {
  transform: rotateY(180deg);
  background: #05080f;
  border-color: rgba(0, 245, 212, .2);
  display: flex;
  flex-direction: column;
}

/* hint text on front */
.work-hint {
  padding: 8px 20px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.18);
  text-align: center;
  border-top: 1px solid var(--border);
}

/* iframe container */
.iframe-clip {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.iframe-clip iframe {
  border: none;
  width: 1200px;
  height: 2800px;
  transform-origin: 0 0;
  transform: scale(0.44);
  pointer-events: none;
  display: block;
  animation: site-scroll 16s ease-in-out infinite;
  animation-play-state: paused;
}

.work-card:hover .iframe-clip iframe {
  animation-play-state: running;
}

@keyframes site-scroll {
  0%,  8%  { transform: scale(0.44) translateY(0); }
  88%, 100% { transform: scale(0.44) translateY(-2000px); }
}

/* open link on back */
.work-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(0, 245, 212, .06);
  border-top: 1px solid rgba(0, 245, 212, .15);
  color: var(--cyan);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.work-open:hover {
  background: rgba(0, 245, 212, .12);
}

.work-preview {
  position: relative;
  overflow: hidden;
  line-height: 0;
  display: flex;
  align-items: stretch;
}

.work-phone-wrap {
  width: 112px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #0c0c1a 0%, #140c1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--border);
}

.work-phone-frame {
  width: 68px;
  height: 140px;
  border: 2px solid rgba(255,255,255,0.14);
  border-radius: 13px;
  overflow: hidden;
  position: relative;
  background: #000;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 10px 28px rgba(0,0,0,0.7),
    0 0 22px rgba(255,45,120,0.12);
}

.work-phone-frame::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  z-index: 3;
}

.work-phone-screen {
  border: none;
  width: 375px;
  height: 3200px;
  transform-origin: 0 0;
  transform: scale(0.181);
  pointer-events: none;
  display: block;
  animation: phone-scroll 18s ease-in-out infinite;
}

@keyframes phone-scroll {
  0%,  8%  { transform: scale(0.181) translateY(0); }
  88%, 100% { transform: scale(0.181) translateY(-2600px); }
}

@media (max-width: 900px) {
  .work-phone-wrap { display: none; }
}

.work-svg {
  width: 100%;
  height: auto;
  display: block;
}

.work-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  color: var(--cyan);
  border: 1px solid rgba(0, 245, 212, .35);
  padding: 4px 10px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(6, 14, 26, 0.7);
  backdrop-filter: blur(4px);
}

.work-info {
  padding: 24px;
  background: var(--surface);
  position: relative;
}


.work-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.work-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── SCROLL PROGRESS ── */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #FF2D78, #B026FF, #00F5D4);
  z-index: 10000;
  box-shadow: 0 0 8px rgba(0,245,212,.6);
  transition: width 0.05s linear;
}

/* ── BACK TO TOP ── */

.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--cyan);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  z-index: 999;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s, border-color 0.2s, box-shadow 0.2s;
  pointer-events: none;
}

.back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-top:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0,245,212,.35);
}

/* ── CUSTOM CURSOR ── */

* { cursor: none !important; }

.cursor-dot {
  position: fixed;
  top: -4px; left: -4px;
  width: 8px; height: 8px;
  background: #00F5D4;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 8px #00F5D4, 0 0 16px rgba(0,245,212,.5);
  transition: width .15s, height .15s, background .15s;
}

.cursor-ring {
  position: fixed;
  top: -20px; left: -20px;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(0,245,212,.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: width .2s, height .2s, border-color .2s, top .2s, left .2s;
}

.cursor-ring--hover {
  width: 56px; height: 56px;
  top: -28px; left: -28px;
  border-color: #FF2D78;
  box-shadow: 0 0 12px rgba(255,45,120,.3);
}

/* ── CLICK SPARKS ── */

.spark {
  position: fixed;
  width: 6px; height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  margin: -3px 0 0 -3px;
  animation: spark-fly 0.55s ease-out forwards;
}

@keyframes spark-fly {
  0%   { transform: translate(0,0) scale(1); opacity: 1; }
  100% { transform: translate(var(--tx),var(--ty)) scale(0); opacity: 0; }
}

/* ── FAQ ── */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: rgba(0, 245, 212, 0.25);
}

.faq-q {
  list-style: none;
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--cyan);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 22px 18px;
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* ── ABOUT ── */

.about-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: center;
}

/* --- photo --- */
.about-photo {
  position: relative;
  width: 300px;
  margin: 0 auto;
  animation: about-float 6s ease-in-out infinite;
}

@keyframes about-float {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-14px) rotate(1deg); }
}

.about-photo__glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at 50% 80%, rgba(255,45,120,.22) 0%, rgba(0,245,212,.10) 50%, transparent 75%);
  filter: blur(24px);
  z-index: 0;
  animation: about-glow 4s ease-in-out infinite alternate;
}

@keyframes about-glow {
  from { opacity: .7; }
  to   { opacity: 1; }
}

.about-photo__img {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(255,45,120,.18));
}

.about-photo__ring {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.about-photo__ring--1 {
  width: 340px; height: 340px;
  top: 50%; left: 50%;
  transform: translate(-50%, -40%);
  border: 1px solid rgba(255,45,120,.12);
  animation: ring-spin 18s linear infinite;
}

.about-photo__ring--1::after {
  content: '';
  position: absolute;
  top: -3px; left: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink);
}

.about-photo__ring--2 {
  width: 240px; height: 240px;
  top: 50%; left: 50%;
  transform: translate(-50%, -40%);
  border: 1px solid rgba(0,245,212,.10);
  animation: ring-spin 12s linear infinite reverse;
}

.about-photo__ring--2::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 50%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.about-photo__star {
  position: absolute;
  bottom: 2%;
  right: 8%;
  font-size: 2rem;
  color: var(--cyan);
  z-index: 3;
  line-height: 1;
  text-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(0,245,212,.5);
  animation: star-spin 4s linear infinite, star-pulse 2s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes star-spin {
  from { transform: rotate(0deg) scale(1); }
  to   { transform: rotate(360deg) scale(1); }
}

@keyframes star-pulse {
  from { text-shadow: 0 0 8px var(--cyan), 0 0 16px rgba(0,245,212,.4); opacity: .8; }
  to   { text-shadow: 0 0 20px var(--cyan), 0 0 40px rgba(0,245,212,.8); opacity: 1; }
}

@keyframes ring-spin {
  from { transform: translate(-50%, -40%) rotate(0deg); }
  to   { transform: translate(-50%, -40%) rotate(360deg); }
}

/* --- right column --- */
.about-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 14px;
  max-width: 520px;
}

.about-tagline {
  color: var(--cyan) !important;
  font-weight: 600;
  font-size: 1rem !important;
  margin-top: 8px;
  letter-spacing: 0.01em;
}

.about-stats {
  display: flex;
  flex-direction: row;
  gap: 32px;
  flex-wrap: wrap;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 16px;
  border-left: 2px solid var(--border);
}

.about-stat__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.about-stat__label {
  font-size: 12px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* ── CONTACT ── */

.section--contact {
  text-align: center;
}

.contact-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 40px;
  margin-top: -28px;
}

.contact-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── PROMO BLOCK ── */

.promo-block {
  max-width: 640px;
  margin: 0 auto 24px;
  background: var(--surface);
  border: 1px solid rgba(255, 45, 120, .28);
  border-radius: 12px;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.promo-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

.promo-slots {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pink);
}

.promo-slots strong { color: #fff; }

.promo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--pink);
  animation: pulse 2s ease-in-out infinite;
}

.promo-bonus {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.promo-bonus strong { color: var(--cyan); }
.promo-gift { font-size: 1.1rem; flex-shrink: 0; }

/* ── CONTACT FORM ── */

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--surface);
  border: 1px solid rgba(255, 45, 120, .18);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,45,120,.05), 0 32px 80px rgba(0,0,0,.4);
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--cyan));
}

.contact-form::after {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 360px; height: 160px;
  background: radial-gradient(ellipse, rgba(255,45,120,.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

.form-field,
.form-services,
.form-consent,
.form-footer {
  position: relative;
  z-index: 1;
}

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

.form-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  outline: none;
  resize: none;
  transition: border-color 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.08);
}

.form-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.svc-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 8px 18px;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.svc-btn:hover {
  border-color: rgba(0, 245, 212, 0.4);
  color: var(--text);
}

.svc-btn.active {
  background: rgba(0, 245, 212, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
}

.form-consent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--cyan);
  flex-shrink: 0;
  cursor: pointer;
}

.form-consent label {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  cursor: pointer;
}

.form-consent label a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-footer {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 4px;
}

/* ── FOOTER ── */

.footer {
  text-align: center;
  padding: 32px 48px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--text-secondary);
}

/* ── SCROLL REVEAL ── */

[data-reveal] {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition:
    opacity   0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── GRADIENT TEXT ANIMATION ── */
@keyframes gradient-shift {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* magnetic: reset transition only after mouse leaves */
.btn-primary, .btn-secondary, .nav-cta {
  transition: box-shadow 0.2s ease, transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ── HAMBURGER & MOBILE NAV ── */

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px 4px;
  z-index: 200;
  flex-shrink: 0;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99;
  background: rgba(13, 13, 13, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 96px 24px 56px;
  min-height: 100dvh;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.nav-mobile.is-open {
  transform: translateY(0);
  pointer-events: auto;
}

.nav-mobile-link {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 7vw, 2.2rem);
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.nav-mobile-link:active { color: var(--text); }

.nav-mobile-cta {
  color: var(--pink) !important;
  border: 1px solid rgba(255, 45, 120, 0.4);
  padding: 12px 40px;
  border-radius: 4px;
  margin-top: 8px;
}

/* ── RESPONSIVE ── */

@media (max-width: 900px) {
  .nav { padding: 18px 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero { grid-template-columns: 1fr; padding: 110px 24px 80px; max-width: 100%; }
  .hero-visual { display: none; }

  .section { padding: 50px 24px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card,
  .service-card--wide { grid-column: span 1; }

  .steps { flex-direction: column; gap: 32px; }
  .step-divider { display: none; }

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

  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { width: 240px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-primary,
  .hero-cta .btn-secondary { text-align: center; }
  .contact-links { flex-direction: column; align-items: center; }
  .form-row { grid-template-columns: 1fr; }
  .about-photo { width: 200px; }
  .about-stats { flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .form-footer { flex-direction: column; }
  .form-footer .btn-primary,
  .form-footer .btn-secondary { text-align: center; }
  .motion-stats { flex-direction: column; gap: 20px; padding: 40px 24px; }
  .contact-form { padding: 24px 20px; border-radius: 12px; }
}

/* ── TOUCH DEVICES ── */

.work-mobile-btn { display: none; }

@media (pointer: coarse) {
  * { cursor: auto !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
  .work-card:hover .work-card-inner { transform: none; }
  .work-hint { display: none; }
  .work-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-top: 1px solid var(--border);
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    background: rgba(0, 245, 212, .04);
    transition: background 0.2s;
    flex-shrink: 0;
  }
  .work-mobile-btn:active { background: rgba(0, 245, 212, .12); }
  .svc-btn { min-height: 44px; }
  .btn-primary, .btn-secondary { min-height: 48px; display: flex; align-items: center; justify-content: center; }
}
