:root {
  --bg-dark: #121214;
  --bg-dark-2: #1a1a1f;
  --bg-light: #f4f1fb;
  --ink: #16161a;
  --ink-soft: #55525e;
  --white: #fff;
  --green: #2bf5a0;
  --green-dark: #12d988;
  --pink: #ff7ad9;
  --violet: #9b7bff;
  --blue: #4ec5ff;
  --mint: #3ef0b8;
  --glass-bg: rgba(255, 255, 255, .07);
  --glass-border: rgba(255, 255, 255, .14);
  --radius-lg: 32px;
  --radius-md: 20px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Manrope", system-ui, sans-serif;
  --font-display: "Unbounded", "Manrope", sans-serif;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
img, svg { display: block; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1360px, 100% - 48px); margin-inline: auto; position: relative; z-index: 2; }
.container--narrow { width: min(1040px, 100% - 48px); }

/* ---------- Buttons ---------- */
.btn {
  --pad: 14px 28px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: var(--pad);
  border: 0; border-radius: 100px;
  font-weight: 700; font-size: 16px; line-height: 1.2;
  cursor: pointer; white-space: nowrap; overflow: hidden;
  transition: background-color .3s, color .3s, transform .3s var(--ease), box-shadow .3s;
  will-change: transform;
}
.btn--sm { --pad: 10px 20px; font-size: 14px; }
.btn--full { width: 100%; }
.btn--green { background: var(--green); color: var(--ink); box-shadow: 0 8px 30px -10px rgba(43, 245, 160, .6); }
.btn--green:hover { background: var(--green-dark); box-shadow: 0 12px 40px -8px rgba(43, 245, 160, .75); }
.btn--glass {
  color: var(--ink); background: rgba(255, 255, 255, .45);
  border: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .75); }
.arrow { width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px) rotate(45deg); }
.shine::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .6s;
}
.shine:hover::after, .pcard:hover .shine::after { transform: translateX(130%); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 clamp(16px, 3vw, 40px);
  color: var(--ink);
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  background: rgba(255, 255, 255, .25);
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  transition: background-color .4s, color .4s, border-color .4s, transform .5s var(--ease);
}
.header.is-dark { color: #fff; background: rgba(18, 18, 20, .45); border-color: rgba(255, 255, 255, .08); }
.header.is-hidden { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -.02em; }
.logo svg { width: 30px; height: 30px; transition: transform .6s var(--ease); }
.logo:hover svg { transform: scale(1.12) rotate(-8deg); }
.nav { display: flex; gap: clamp(16px, 2.4vw, 36px); font-weight: 500; }
.nav a { position: relative; padding: 6px 0; opacity: .85; transition: opacity .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__right { display: flex; align-items: center; gap: 16px; }
.lang {
  position: relative; display: flex; padding: 4px; border-radius: 100px;
  background: rgba(255, 255, 255, .25); border: 1px solid rgba(255, 255, 255, .4);
}
.is-dark .lang { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.lang button { position: relative; z-index: 1; width: 42px; padding: 6px 0; border: 0; background: none; font-weight: 700; font-size: 13px; cursor: pointer; transition: color .3s; }
.lang button.is-active { color: var(--ink); }
.lang__pill { position: absolute; top: 4px; left: 4px; width: 42px; bottom: 4px; border-radius: 100px; background: var(--green); transition: transform .45s var(--ease); }
.lang[data-active="en"] .lang__pill { transform: translateX(42px); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: max(100svh, 760px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 140px;
  background: radial-gradient(120% 90% at 70% 40%, #fbe3f6 0%, #efe8fd 45%, #f6f4fb 100%);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; animation: float 18s ease-in-out infinite; }
.b1 { width: 46vw; height: 46vw; right: -6vw; top: -8vw; background: radial-gradient(circle, rgba(255, 122, 217, .55), transparent 65%); }
.b2 { width: 36vw; height: 36vw; left: -10vw; bottom: -12vw; background: radial-gradient(circle, rgba(78, 197, 255, .45), transparent 65%); animation-delay: -6s; }
.b3 { width: 28vw; height: 28vw; left: 40%; top: 30%; background: radial-gradient(circle, rgba(155, 123, 255, .4), transparent 65%); animation-delay: -12s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(4vw, -3vw) scale(1.08); }
  66% { transform: translate(-3vw, 2vw) scale(.94); }
}
.hero__scene { position: absolute; z-index: 1; right: -8vw; top: 50%; width: min(76vw, 1240px); aspect-ratio: 1; transform: translateY(-44%); pointer-events: none; }
.hero__scene canvas { width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.2s; }
.hero__scene.is-ready canvas { opacity: 1; }
.hero__fallback {
  position: absolute; inset: 18%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ffd1f1, #c9b8ff, #a8ecff, #c1ffe4, #ffd1f1);
  filter: blur(2px); opacity: .7;
  box-shadow: inset -30px -40px 80px rgba(255, 255, 255, .8), inset 30px 30px 60px rgba(155, 123, 255, .4);
  animation: spin 24s linear infinite;
  transition: opacity .8s;
}
.hero__scene.is-ready .hero__fallback { opacity: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__inner { display: flex; flex-direction: column; align-items: flex-start; width: min(1500px, 100% - 2 * clamp(24px, 8vw, 140px)); }
.hero__title {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(38px, 4.9vw, 104px); line-height: 1.08; letter-spacing: -.035em;
  margin-bottom: 28px;
}
@media (min-width: 1025px) { .hero__title .line { white-space: nowrap; } }
.hero__title .grad { padding-right: .04em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.is-loaded .hero__title .line > span { transform: none; }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .1s; }
.is-loaded .hero__title .line:nth-child(3) > span { transition-delay: .2s; }
.grad { background: linear-gradient(90deg, #b48cf0, #ff7ad9 50%, #b48cf0); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
.grad--2 { background-image: linear-gradient(90deg, #6aa8e8, #9b7bff 50%, #6aa8e8); background-size: 200% 100%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.hero__lead { max-width: 520px; font-size: clamp(17px, 1.5vw, 22px); color: var(--ink-soft); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 220px)); gap: 14px; }
.glass-chip {
  padding: 18px 22px; border-radius: 20px;
  background: rgba(255, 255, 255, .32); border: 1px solid rgba(255, 255, 255, .75);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 10px 40px -20px rgba(80, 50, 140, .35);
  transition: transform .4s var(--ease), background-color .4s, border-color .4s;
}
.glass-chip:hover { transform: translateY(-4px); background: rgba(43, 245, 160, .14); border-color: var(--green-dark); }
.glass-chip b { font-family: var(--font-display); font-size: 32px; font-weight: 600; }
.glass-chip > span { font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.glass-chip em { font-style: normal; font-size: 18px; }
.glass-chip small { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-soft); }
.scroll-hint { position: absolute; z-index: 2; left: 50%; bottom: 52px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(22, 22, 26, .35); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 3; overflow: hidden; padding: 22px 0; background: var(--green); color: var(--ink); transform: rotate(-1.5deg) scale(1.02); margin: -18px 0; }
.marquee__track { display: flex; gap: 32px; width: max-content; animation: marquee 32s linear infinite; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2vw, 28px); text-transform: uppercase; white-space: nowrap; }
.marquee i { font-style: normal; opacity: .5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 160px) 0; overflow: hidden; }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--light { background: var(--bg-light); }
.section__title {
  font-family: var(--font-display); font-weight: 600; text-align: center;
  font-size: clamp(40px, 6vw, 88px); letter-spacing: -.03em; line-height: 1.05;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section__title--dark { color: var(--ink); }
.glow { position: absolute; z-index: 0; width: 1100px; height: 1100px; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.glow--pink { left: -500px; top: 10%; background: radial-gradient(circle, rgba(255, 122, 217, .28), transparent 65%); }
.glow--violet { right: -500px; top: 20%; background: radial-gradient(circle, rgba(155, 123, 255, .26), transparent 65%); }
.glow--green { left: 50%; top: -400px; margin-left: -550px; background: radial-gradient(circle, rgba(43, 245, 160, .16), transparent 65%); }

/* ---------- Glass card (pointer-follow) ---------- */
.glass-card {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px rgba(255, 255, 255, .2), 0 20px 50px -20px rgba(0, 0, 0, .5);
  transition: box-shadow .4s, transform .5s var(--ease);
}
.glass-card::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx) var(--my), rgba(183, 255, 227, .16), rgba(196, 165, 245, .1) 35%, transparent 65%);
  opacity: 0; transition: opacity .4s;
}
.glass-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .14));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass-card.is-hover::before { opacity: 1; }
.glass-card.is-hover::after { background: radial-gradient(400px circle at var(--mx) var(--my), rgba(218, 255, 241, .7), rgba(213, 193, 246, .25) 45%, rgba(255, 255, 255, .08) 80%); }

/* ---------- Projects ---------- */
.projects { display: grid; grid-template-columns: 1fr 400px; gap: 24px; }
.projects__col { display: flex; flex-direction: column; gap: 24px; }
.pcard { display: flex; gap: 32px; padding: 32px; border-radius: var(--radius-lg); transform-style: preserve-3d; }
.pcard__media { flex: 0 0 300px; height: 260px; border-radius: 20px; overflow: hidden; position: relative; transition: transform .5s var(--ease); }
.pcard:hover .pcard__media { transform: scale(1.02); }
.pcard__body { display: flex; flex-direction: column; align-items: flex-start; }
.pcard h3 { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 14px; }
.pcard__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 18px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 8px 24px -6px var(--c1); }
.pcard p { color: rgba(255, 255, 255, .78); font-size: clamp(16px, 1.3vw, 19px); margin-bottom: 20px; max-width: 56ch; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.tags li, .labels li {
  padding: 7px 14px; border-radius: 10px; font-size: 14px; font-weight: 500;
  border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .04);
  transition: border-color .3s, background-color .3s, color .3s;
}
.tags li:hover, .labels li:hover { border-color: var(--green); color: var(--green); background: rgba(43, 245, 160, .08); }
.pcard__body .btn { margin-top: auto; }
.pcard--all { flex-direction: column; }
.pcard--all .pcard__media { flex: 1 1 auto; min-height: 320px; }
.pcard--all h3 { font-size: clamp(28px, 2.6vw, 40px); }

/* CSS mockups */
.mock { background: linear-gradient(135deg, #2a2340, #1b1b26); }
.mock--shop { background: linear-gradient(140deg, #ffe1f4, #e3d9ff); padding: 14px; }
.mock__bar { display: flex; gap: 6px; margin-bottom: 12px; }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(22, 22, 26, .2); }
.mock__hero { height: 96px; border-radius: 14px; padding: 14px; color: #fff; background: linear-gradient(120deg, #ff7ad9, #9b7bff); display: flex; flex-direction: column; justify-content: flex-end; margin-bottom: 10px; }
.mock__hero b { font-family: var(--font-display); font-size: 22px; letter-spacing: .1em; }
.mock__hero span { font-size: 12px; opacity: .85; }
.mock__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mock__grid i { height: 92px; border-radius: 10px; background: rgba(255, 255, 255, .75); animation: rise 3.5s var(--ease) infinite; }
.mock__grid i:nth-child(2) { animation-delay: .2s; } .mock__grid i:nth-child(3) { animation-delay: .4s; } .mock__grid i:nth-child(4) { animation-delay: .6s; }
@keyframes rise { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.mock--crm { display: flex; gap: 10px; padding: 14px; background: linear-gradient(140deg, #d8fff0, #d6ecff); }
.mock__side { width: 44px; border-radius: 12px; background: #16161a; padding: 10px 8px; display: flex; flex-direction: column; gap: 10px; }
.mock__side i { height: 24px; border-radius: 7px; background: rgba(255, 255, 255, .15); }
.mock__side i:first-child { background: var(--green); }
.mock__board { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock__board div { border-radius: 12px; background: rgba(255, 255, 255, .55); padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.mock__board i { height: 40px; border-radius: 8px; background: #fff; box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .25); }
.mock__board div:nth-child(2) i:first-child { animation: hop 4s var(--ease) infinite; background: linear-gradient(120deg, #3ef0b8, #4ec5ff); }
@keyframes hop { 0%, 30% { transform: translateX(0); } 50%, 80% { transform: translateX(calc(100% + 24px)); } 100% { transform: translateX(0); } }
.mock--ai { padding: 18px; background: radial-gradient(circle at 80% 20%, rgba(155, 123, 255, .6), transparent 55%), linear-gradient(140deg, #1d1830, #13131a); }
.mock__chat { display: flex; flex-direction: column; gap: 10px; }
.mock__chat p { height: 36px; border-radius: 14px; width: 70%; }
.mock__chat .q { align-self: flex-end; background: rgba(255, 255, 255, .16); width: 58%; }
.mock__chat .q.short { width: 40%; }
.mock__chat .a { background: linear-gradient(120deg, rgba(155, 123, 255, .9), rgba(62, 240, 184, .75)); }
.mock__chat .typing { width: 76px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.mock__chat .typing i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: typing 1.2s infinite; }
.mock__chat .typing i:nth-child(2) { animation-delay: .15s; } .mock__chat .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.mock--stack { perspective: 900px; background: radial-gradient(circle at 30% 20%, rgba(255, 122, 217, .45), transparent 55%), radial-gradient(circle at 80% 80%, rgba(62, 240, 184, .35), transparent 55%), #1b1a24; }
.mock--stack i {
  position: absolute; left: 14%; right: 14%; height: 42%;
  top: calc(12% + var(--i) * 11%);
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, .3);
  background: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .04));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transform: rotateX(52deg) rotateZ(-18deg) translateZ(calc(var(--i) * 26px));
  transition: transform .8s var(--ease);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
}
.pcard--all:hover .mock--stack i { transform: rotateX(48deg) rotateZ(-12deg) translateZ(calc(var(--i) * 46px)); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  --tone: rgba(255, 122, 217, .22);
  position: relative; overflow: hidden; min-height: 400px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(28px, 3vw, 44px); border-radius: var(--radius-lg);
  background: radial-gradient(120% 120% at 100% 100%, var(--tone), #fff 70%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 30px 60px -40px rgba(60, 30, 120, .35);
  transition: transform .6s var(--ease), box-shadow .6s;
  outline: none;
}
.svc:hover, .svc:focus-visible { transform: translateY(-8px); box-shadow: 0 40px 80px -40px rgba(60, 30, 120, .5); }
.svc--wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 32px; }
.svc--full { grid-column: 1 / -1; min-height: 340px; }
.svc--full .svc__text { max-width: 620px; }
.svc--pink { --tone: rgba(255, 122, 217, .28); }
.svc--violet { --tone: rgba(155, 123, 255, .28); }
.svc--blue { --tone: rgba(78, 197, 255, .3); }
.svc--mint { --tone: rgba(62, 240, 184, .3); }
.svc--peach { --tone: rgba(255, 170, 120, .3); }
.svc__text { position: relative; z-index: 2; max-width: 460px; }
.svc { container-type: inline-size; }
.svc h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 8.2cqi, 42px); overflow-wrap: break-word; hyphens: auto; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 16px; }
.svc p { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-soft); font-weight: 400; }
.svc .btn { margin-top: 28px; }

/* Glass shapes */
.shape { position: relative; z-index: 1; flex: 0 0 auto; width: 200px; height: 200px; align-self: flex-end; transition: transform .8s var(--ease); }
.svc--wide .shape { width: 280px; height: 280px; align-self: center; margin-left: auto; }
.svc:hover .shape { transform: scale(1.08) rotate(-6deg); }
.iri { background: linear-gradient(135deg, #ffd6f3, #d5c6ff 35%, #bde9ff 65%, #c6ffe9); }

.shape--cube { perspective: 900px; display: grid; place-items: center; }
.cube { position: relative; width: 140px; height: 140px; transform-style: preserve-3d; animation: cube 14s linear infinite; }
.cube i {
  position: absolute; inset: 0; border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .9);
  background: linear-gradient(135deg, rgba(255, 214, 243, .75), rgba(213, 198, 255, .55) 45%, rgba(189, 233, 255, .6));
  box-shadow: inset 0 0 30px rgba(255, 255, 255, .7);
}
.cube i:nth-child(1) { transform: translateZ(70px); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(70px); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(70px); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(70px); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(70px); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(70px); }
@keyframes cube { from { transform: rotateX(-24deg) rotateY(0); } to { transform: rotateX(-24deg) rotateY(360deg); } }

.shape--ring i { position: absolute; inset: 10%; border-radius: 50%; border: 26px solid transparent; background: conic-gradient(from 0deg, #ff9be3, #b8a1ff, #8fdcff, #9effd6, #ff9be3) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); animation: spin 10s linear infinite; filter: drop-shadow(0 14px 20px rgba(155, 123, 255, .35)); }
.shape--ring i:last-child { inset: 22%; border-width: 14px; animation-direction: reverse; animation-duration: 7s; transform: rotateX(60deg); opacity: .85; }

.shape--orb i { position: absolute; border-radius: 50%; }
.shape--orb i:nth-child(1) { inset: 8%; background: radial-gradient(circle at 32% 28%, #fff 0 6%, transparent 30%), conic-gradient(from 90deg, #ffc4ef, #b9a7ff, #9be3ff, #b8ffe5, #ffc4ef); box-shadow: inset -20px -30px 50px rgba(110, 80, 200, .35), 0 30px 60px -20px rgba(78, 197, 255, .6); animation: spin 18s linear infinite; }
.shape--orb i:nth-child(2), .shape--orb i:nth-child(3) { width: 26%; height: 26%; background: radial-gradient(circle at 30% 30%, #fff, #c9b8ff 60%, #8fdcff); animation: orbit 6s linear infinite; left: 37%; top: 37%; }
.shape--orb i:nth-child(3) { width: 14%; height: 14%; left: 43%; top: 43%; animation-duration: 4s; animation-direction: reverse; }
@keyframes orbit { from { transform: rotate(0) translateX(120px) rotate(0); } to { transform: rotate(360deg) translateX(120px) rotate(-360deg); } }

.shape--stack { perspective: 700px; }
.shape--stack i { position: absolute; left: 10%; right: 10%; height: 26%; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .95); background: linear-gradient(135deg, rgba(198, 255, 233, .85), rgba(189, 233, 255, .7)); box-shadow: 0 18px 30px -18px rgba(18, 120, 90, .5); transform: rotateX(58deg) rotateZ(-30deg); animation: stack 4s var(--ease) infinite; }
.shape--stack i:nth-child(1) { top: 58%; } .shape--stack i:nth-child(2) { top: 42%; animation-delay: .15s; } .shape--stack i:nth-child(3) { top: 26%; animation-delay: .3s; } .shape--stack i:nth-child(4) { top: 10%; animation-delay: .45s; background: linear-gradient(135deg, #3ef0b8, #4ec5ff); }
@keyframes stack { 0%, 100% { transform: rotateX(58deg) rotateZ(-30deg) translateZ(0); } 50% { transform: rotateX(58deg) rotateZ(-30deg) translateZ(18px); } }

.shape--prism i { position: absolute; inset: 6% 12%; clip-path: polygon(50% 0, 100% 86%, 0 86%); background: linear-gradient(160deg, #ffe0c9, #ffb3e6 40%, #c2b0ff 70%, #a8e6ff); animation: prism 8s ease-in-out infinite; filter: drop-shadow(0 20px 30px rgba(255, 140, 120, .4)); }
.shape--prism i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .75) 50%, transparent 60%); background-size: 250% 100%; animation: sheen 3.5s ease-in-out infinite; }
@keyframes prism { 0%, 100% { transform: rotate(0) translateY(0); } 50% { transform: rotate(8deg) translateY(-10px); } }
@keyframes sheen { 0% { background-position: 150% 0; } 100% { background-position: -150% 0; } }

.shape--wave { display: flex; align-items: center; justify-content: center; gap: 10px; }
.shape--wave i { width: 22px; height: 60%; border-radius: 20px; background: linear-gradient(180deg, #ffc4ef, #b9a7ff 50%, #9be3ff); box-shadow: inset 0 0 10px rgba(255, 255, 255, .8); animation: eq 1.6s ease-in-out infinite; }
.shape--wave i:nth-child(2) { animation-delay: -.2s; } .shape--wave i:nth-child(3) { animation-delay: -.4s; } .shape--wave i:nth-child(4) { animation-delay: -.6s; } .shape--wave i:nth-child(5) { animation-delay: -.8s; } .shape--wave i:nth-child(6) { animation-delay: -1s; } .shape--wave i:nth-child(7) { animation-delay: -1.2s; }
@keyframes eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

/* ---------- Tech ---------- */
.tech { display: flex; flex-direction: column; gap: 20px; }
.tcard { display: flex; align-items: center; gap: 32px; padding: 36px 40px; border-radius: var(--radius-md); }
.tcard:first-child { flex-direction: column; text-align: center; }
.tcard h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 36px); margin-bottom: 18px; }
.tcard:first-child .labels { justify-content: center; }
.labels { display: flex; flex-wrap: wrap; gap: 12px; }
.labels li { font-size: 15px; border-color: rgba(255, 255, 255, .7); }
.tcard__icon { flex: 0 0 120px; height: 120px; border-radius: 50%; position: relative; }
.tcard__icon::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: spin 12s linear infinite; }
.tcard__icon--1::before { background: conic-gradient(#ff9be3, #b8a1ff, #8fdcff, #ff9be3); -webkit-mask: radial-gradient(circle, transparent 38%, #000 40%); mask: radial-gradient(circle, transparent 38%, #000 40%); }
.tcard__icon--2::before { border-radius: 24px; inset: 14px; background: linear-gradient(135deg, #9effd6, #8fdcff); transform: rotate(45deg); animation-duration: 16s; box-shadow: inset 0 0 20px rgba(255, 255, 255, .6); }
.tcard__icon--3::before { background: radial-gradient(circle at 30% 30%, #fff 0 5%, transparent 25%), conic-gradient(#b8a1ff, #ff9be3, #9effd6, #b8a1ff); box-shadow: 0 0 40px rgba(155, 123, 255, .5); }
.tcard__icon--4::before { background: repeating-conic-gradient(#8fdcff 0 15deg, transparent 15deg 30deg); -webkit-mask: radial-gradient(circle, transparent 30%, #000 32%); mask: radial-gradient(circle, transparent 30%, #000 32%); animation-duration: 20s; }
.tcard__icon--5::before { inset: 10px; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: linear-gradient(160deg, #ffe0c9, #ffb3e6, #c2b0ff); border-radius: 0; animation-duration: 18s; }
.tcard__icon--6::before { background: radial-gradient(circle, #9effd6 0 18%, transparent 19%), radial-gradient(circle, transparent 40%, rgba(158, 255, 214, .6) 41% 44%, transparent 45%), radial-gradient(circle, transparent 60%, rgba(143, 220, 255, .5) 61% 64%, transparent 65%); animation: breathe 3s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 32px 28px 36px; border-radius: var(--radius-md); background: rgba(255, 255, 255, .7); border: 1px solid #fff; box-shadow: 0 20px 50px -35px rgba(60, 30, 120, .4); transition: transform .5s var(--ease), background-color .5s; }
.step:hover { transform: translateY(-6px); background: #fff; }
.step__n { display: inline-block; font-family: var(--font-display); font-size: 48px; font-weight: 600; line-height: 1; margin-bottom: 24px; background: linear-gradient(135deg, var(--pink), var(--violet), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--ink-soft); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 56px; right: -20px; width: 20px; height: 2px; background: linear-gradient(90deg, var(--violet), transparent); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 16px; }
.faq__item { border-radius: var(--radius-md); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 36px; font-family: var(--font-display); font-weight: 500; font-size: clamp(17px, 1.8vw, 24px); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { flex: 0 0 14px; height: 14px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .4s var(--ease), color .3s; }
.faq__item[open] summary i { transform: rotate(-135deg); color: var(--green); }
.faq__item summary:hover { color: var(--green); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > p { overflow: hidden; padding: 0 36px; color: rgba(255, 255, 255, .75); font-size: 17px; }
.faq__item.is-open .faq__a > p { padding-bottom: 30px; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; background: linear-gradient(180deg, var(--bg-dark), #1c1b22); color: #fff; }
.contact__inner { display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: center; }
.contact h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 5.4vw, 80px); letter-spacing: -.03em; line-height: 1.05; margin-bottom: 24px; }
.contact__lead { display: flex; align-items: center; gap: 20px; font-size: 22px; margin-bottom: 56px; }
.contact__arrow { width: 120px; height: 16px; color: var(--green); animation: nudge 2s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(10px); } }
.contact__mail { font-size: 19px; margin-bottom: 8px; color: rgba(255, 255, 255, .75); }
.contact__mail a { color: var(--green); font-weight: 700; }
.contact__mail a:hover { text-decoration: underline; }
.form { display: flex; flex-direction: column; gap: 18px; padding: 36px; border-radius: var(--radius-lg); }
.field span, .chips legend { display: block; margin-bottom: 8px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; outline: none;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06);
  transition: border-color .3s, background-color .3s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .38); }
.field input:hover, .field textarea:hover { border-color: rgba(43, 245, 160, .5); }
.field input:focus, .field textarea:focus { border-color: var(--green); background: rgba(255, 255, 255, .1); }
.field.is-error input { border-color: #ff5d7a; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 16px; border-radius: 100px; font-size: 14px; font-weight: 600; border: 1px solid rgba(255, 255, 255, .25); transition: all .3s var(--ease); }
.chips label:hover span { border-color: var(--green); }
.chips input:checked + span { background: var(--green); border-color: var(--green); color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 12px; font-size: 13px; color: rgba(255, 255, 255, .7); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: 0 0 22px; height: 22px; margin: 0; border-radius: 6px; background: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .3s; }
.check input::before { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) scale(0); transition: transform .25s var(--ease); margin-top: -2px; }
.check input:checked { background: var(--green); }
.check input:checked::before { transform: rotate(-45deg) scale(1); }
.check.is-error input { box-shadow: 0 0 0 2px #ff5d7a; }
.form__status { min-height: 1.4em; font-size: 14px; text-align: center; }
.form__status.ok { color: var(--green); }
.form__status.err { color: #ff8da1; }

/* ---------- Footer ---------- */
.footer { padding: 48px 0; color: #fff; background: radial-gradient(circle at 50% 100%, #36343f, #1a1a1f 70%); border-top: 1px solid rgba(255, 255, 255, .06); }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer__muted { margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer__nav, .footer__contacts { display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.footer__nav a:hover, .footer__contacts a:hover { color: var(--green); }
.footer__up { margin-top: 8px; color: rgba(255, 255, 255, .5); }

/* ---------- Cursor glow ---------- */
.cursor-glow { position: fixed; z-index: 1; top: 0; left: 0; width: 480px; height: 480px; margin: -240px 0 0 -240px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(155, 123, 255, .14), transparent 60%); opacity: 0; transition: opacity .5s; mix-blend-mode: screen; }
.has-pointer .cursor-glow { opacity: 1; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.tilt { transform-style: preserve-3d; }

/* ---------- Service cards (home) ---------- */
.svc[data-href] { cursor: pointer; }

/* ---------- Service landing pages ---------- */
.page-hero {
  --tone: rgba(255, 122, 217, .35);
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 110px)) 0 clamp(64px, 8vw, 120px);
  background: radial-gradient(90% 100% at 85% 50%, var(--tone), transparent 60%), radial-gradient(120% 90% at 20% 0%, #efe8fd, #f6f4fb 70%);
}
.page-hero--violet { --tone: rgba(155, 123, 255, .35); }
.page-hero--blue { --tone: rgba(78, 197, 255, .35); }
.page-hero--mint { --tone: rgba(62, 240, 184, .35); }
.page-hero--peach { --tone: rgba(255, 170, 120, .38); }
.page-hero__inner { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 40px; }
.crumbs { display: flex; gap: 10px; margin-bottom: 24px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.page-hero__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 6vw, 92px); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 24px; }
.page-hero__lead { max-width: 620px; font-size: clamp(18px, 1.6vw, 24px); color: var(--ink-soft); margin-bottom: 36px; }
.page-hero .hero__actions { margin-bottom: 40px; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; }
.toc a {
  display: inline-block; padding: 8px 16px; border-radius: 100px; font-size: 14px; font-weight: 600;
  background: rgba(255, 255, 255, .45); border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.toc a:hover { background: rgba(43, 245, 160, .18); border-color: var(--green-dark); transform: translateY(-2px); }
.page-hero__shape { display: grid; place-items: center; }
.page-hero__shape .shape { width: min(400px, 32vw); height: min(400px, 32vw); align-self: center; margin: 0; transform: none; }
.page-hero__shape .cube { width: 220px; height: 220px; }
.page-hero__shape .cube i:nth-child(1) { transform: translateZ(110px); }
.page-hero__shape .cube i:nth-child(2) { transform: rotateY(180deg) translateZ(110px); }
.page-hero__shape .cube i:nth-child(3) { transform: rotateY(90deg) translateZ(110px); }
.page-hero__shape .cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(110px); }
.page-hero__shape .cube i:nth-child(5) { transform: rotateX(90deg) translateZ(110px); }
.page-hero__shape .cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(110px); }
.page-hero__shape .shape--ring i { border-width: 44px; }
.page-hero__shape .shape--ring i:last-child { border-width: 22px; }
.page-hero__shape .shape--wave i { width: 34px; }

.section--tight { padding: clamp(64px, 8vw, 110px) 0; }
.section__title--left { text-align: left; }
.section__title--sub { font-size: clamp(28px, 3.4vw, 52px); margin: clamp(64px, 8vw, 110px) 0 clamp(32px, 4vw, 56px); }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card {
  padding: 32px; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .75); border: 1px solid #fff;
  box-shadow: 0 20px 50px -35px rgba(60, 30, 120, .4);
  font-size: clamp(17px, 1.4vw, 21px); font-weight: 500; line-height: 1.45;
  transition: transform .5s var(--ease), background-color .5s;
}
.info-card:hover { transform: translateY(-6px); background: #fff; }
.info-card__n { display: block; font-family: var(--font-display); font-weight: 600; font-size: 40px; line-height: 1; margin-bottom: 20px; background: linear-gradient(135deg, var(--pink), var(--violet), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.info-card__check { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 50%; background: var(--green); box-shadow: 0 8px 24px -8px rgba(43, 245, 160, .8); }
.info-card__check::before { content: ""; width: 14px; height: 8px; margin-top: -3px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-45deg); }

.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why__item { padding: 36px; border-radius: var(--radius-md); }
.why__item h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2vw, 28px); margin-bottom: 12px; }
.why__item p { color: rgba(255, 255, 255, .75); font-size: 17px; }
.why__dot { display: block; width: 48px; height: 48px; margin-bottom: 24px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff 0 8%, transparent 30%), conic-gradient(#ff9be3, #b8a1ff, #8fdcff, #9effd6, #ff9be3); box-shadow: 0 0 30px rgba(155, 123, 255, .45); }

.timeline { position: relative; display: flex; flex-direction: column; gap: 16px; }
.timeline__item {
  position: relative; display: flex; align-items: center; gap: 32px;
  padding: 26px 32px; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .75); border: 1px solid #fff;
  box-shadow: 0 20px 50px -35px rgba(60, 30, 120, .4);
  transition: transform .5s var(--ease), background-color .5s;
}
.timeline__item:hover { transform: translateX(8px); background: #fff; }
.timeline__item .step__n { flex: 0 0 56px; margin: 0; font-size: 36px; }
.timeline__item h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; margin-bottom: 4px; }
.timeline__item p { color: var(--ink-soft); }

.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { padding: 32px; background: rgba(255, 255, 255, .6); }
.stat b { display: block; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.05; background: linear-gradient(135deg, var(--pink), var(--violet), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat small { font-size: 16px; }

.others { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.other { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 160px; padding: 24px; border-radius: var(--radius-md); }
.other__title { font-family: var(--font-display); font-weight: 500; font-size: 19px; line-height: 1.25; }
.other__arrow { align-self: flex-end; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--ink); transition: transform .4s var(--ease); }
.other:hover .other__arrow { transform: rotate(-45deg) scale(1.08); }
.other .arrow { margin-left: -3px; }

/* ---------- Case studies ---------- */
.pcard[data-href], .case-card[data-href] { cursor: pointer; }
.page-hero--compact { padding-bottom: clamp(48px, 6vw, 80px); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters button {
  padding: 10px 18px; border-radius: 100px; cursor: pointer;
  font-weight: 600; font-size: 15px;
  background: rgba(255, 255, 255, .45); border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.filters button:hover { transform: translateY(-2px); border-color: var(--green-dark); }
.filters button.is-active { background: var(--green); border-color: var(--green); }
.filters sup { margin-left: 4px; font-size: 11px; opacity: .6; }

.section--cases { padding-top: clamp(56px, 6vw, 96px); }
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cases-grid--3 { grid-template-columns: repeat(3, 1fr); }
.case-card { display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius-lg); transition: box-shadow .4s, transform .5s var(--ease), opacity .4s; }
.case-card.is-hidden { display: none; }
.case-card__media { height: 300px; border-radius: 20px; overflow: hidden; position: relative; margin-bottom: 24px; transition: transform .5s var(--ease); }
.case-card:hover .case-card__media { transform: scale(1.015); }
.case-card__media .mock { position: absolute; inset: 0; }
.case-card__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 0 8px 8px; }
.case-card__meta { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 12px; }
.case-card h3 { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.2vw, 32px); margin-bottom: 12px; }
.case-card p:not(.case-card__meta) { color: rgba(255, 255, 255, .78); font-size: 17px; margin-bottom: 20px; }
.case-card .btn { margin-top: auto; }
.cases-grid--3 .case-card__media { height: 220px; }
.cases-grid--3 .case-card p:not(.case-card__meta) { font-size: 15px; }

.mock__hero { background: linear-gradient(120deg, var(--m1, #ff7ad9), var(--m2, #9b7bff)); }
.mock--brand {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .7), transparent 50%), linear-gradient(140deg, #fff1e6, #ffe0f3);
}
.mock--brand b { font-family: var(--font-display); font-size: 44px; font-weight: 600; letter-spacing: -.03em; background: linear-gradient(120deg, var(--m1), var(--m2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mock__mark { width: 90px; height: 90px; border-radius: 50% 50% 50% 8px; background: linear-gradient(135deg, var(--m1), var(--m2)); box-shadow: 0 18px 40px -12px var(--m2); animation: prism 6s ease-in-out infinite; }

.page-hero__inner--case { grid-template-columns: 1fr 1fr; }
.case-hero__media { position: relative; height: clamp(300px, 34vw, 480px); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(60, 30, 120, .55); border: 1px solid rgba(255, 255, 255, .8); }
.case-hero__media .mock { position: absolute; inset: 0; }
.case-hero__media .mock--shop { padding: 22px; }
.case-hero__media .mock__hero { height: 46%; }
.case-hero__media .mock__grid i { height: auto; aspect-ratio: 3 / 4; }
.case-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; }
.case-meta div { padding: 12px 18px; border-radius: 16px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.case-meta dt { font-size: 12px; color: var(--ink-soft); }
.case-meta dd { margin: 0; font-weight: 700; }
.page-hero .tags li { color: var(--ink); border-color: rgba(22, 22, 26, .25); background: rgba(255, 255, 255, .4); }

.case-split { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.case-split .section__title { margin-bottom: 0; }
.case-split__text { font-size: clamp(19px, 1.8vw, 26px); line-height: 1.5; font-weight: 500; }
.case-solution__text { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: rgba(255, 255, 255, .85) !important; }
.why__item .step__n { margin-bottom: 18px; }
.case-stack { margin-top: clamp(48px, 6vw, 80px); }
.case-stack h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; margin-bottom: 18px; }
.labels--dark li { border-color: rgba(22, 22, 26, .3); background: #fff; }
.labels--dark li:hover { color: var(--ink); border-color: var(--green-dark); background: rgba(43, 245, 160, .15); }
.section__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); }
.section__head .section__title { margin-bottom: 0; }
.btn--glass-dark { color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); }
.btn--glass-dark:hover { background: rgba(255, 255, 255, .16); }

.pcard__media > .mock, .pcard__media > .case-cover { position: absolute; inset: 0; }
.case-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .projects { grid-template-columns: 1fr; }
  .pcard--all { flex-direction: row; }
  .pcard--all .pcard__media { flex: 0 0 300px; min-height: 260px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .svc--wide { grid-column: span 2; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .contact__inner { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 240px)); }
  .others { grid-template-columns: repeat(3, 1fr); }
  .cases-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cases-grid--3 .case-card:nth-child(3) { display: none; }
}
@media (max-width: 900px) {
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__shape { order: -1; }
  .page-hero__shape .shape { width: 240px; height: 240px; }
  .page-hero__shape .cube { width: 140px; height: 140px; }
  .page-hero__shape .cube i:nth-child(1) { transform: translateZ(70px); }
  .page-hero__shape .cube i:nth-child(2) { transform: rotateY(180deg) translateZ(70px); }
  .page-hero__shape .cube i:nth-child(3) { transform: rotateY(90deg) translateZ(70px); }
  .page-hero__shape .cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(70px); }
  .page-hero__shape .cube i:nth-child(5) { transform: rotateX(90deg) translateZ(70px); }
  .page-hero__shape .cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(70px); }
  .page-hero__shape .shape--ring i { border-width: 26px; }
  .page-hero__shape .shape--ring i:last-child { border-width: 14px; }
  .cards3, .stats3, .why, .cases-grid, .cases-grid--3, .case-split { grid-template-columns: 1fr; }
  .page-hero__inner--case { grid-template-columns: 1fr; }
  .case-hero__media { order: 0; }
  .case-split { gap: 20px; }
  .others { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .nav { position: fixed; inset: var(--header-h) 12px auto; flex-direction: column; gap: 4px; padding: 16px; border-radius: 24px; background: rgba(18, 18, 20, .85); color: #fff; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255, 255, 255, .1); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity .35s, transform .45s var(--ease); }
  .nav a { padding: 12px 8px; font-size: 18px; }
  .menu-open .nav { opacity: 1; pointer-events: auto; transform: none; }
  .burger { display: block; }
  .header__right > .btn { display: none; }
  .hero__scene { width: 110vw; right: -40vw; top: 38%; opacity: .7; }
}
@media (max-width: 767px) {
  :root { --header-h: 68px; }
  .container, .container--narrow { width: calc(100% - 32px); }
  .hero { align-items: flex-end; padding-bottom: 72px; }
  .hero__scene { width: 120vw; right: -30vw; top: 22%; }
  .hero__actions { margin-bottom: 40px; }
  .scroll-hint { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); width: 100%; gap: 10px; }
  .glass-chip { padding: 14px; }
  .glass-chip b { font-size: 26px; }
  .pcard, .pcard--all { flex-direction: column; padding: 20px; gap: 20px; border-radius: 24px; }
  .pcard__media, .pcard--all .pcard__media { flex: none; width: 100%; height: 220px; min-height: 0; }
  .pcard .btn { width: 100%; }
  .services { grid-template-columns: 1fr; }
  .svc--wide { grid-column: auto; flex-direction: column; align-items: stretch; }
  .svc--wide .shape, .shape { width: 180px; height: 180px; align-self: center; margin: 24px auto 0; }
  .svc { min-height: 0; }
  .tcard { flex-direction: column; text-align: center; padding: 28px 20px; }
  .tcard .labels { justify-content: center; }
  .tcard__icon { flex-basis: 90px; width: 90px; height: 90px; }
  .process { grid-template-columns: 1fr; }
  .faq__item summary { padding: 20px; }
  .faq__a > p { padding: 0 20px; }
  .faq__item.is-open .faq__a > p { padding-bottom: 20px; }
  .form { padding: 24px 20px; }
  .contact__lead { font-size: 18px; margin-bottom: 32px; }
  .contact__arrow { width: 60px; }
  .lang button { width: 38px; }
  .lang__pill { width: 38px; }
  .lang[data-active="en"] .lang__pill { transform: translateX(38px); }
  .cursor-glow { display: none; }
  .timeline__item { gap: 16px; padding: 20px; align-items: flex-start; }
  .timeline__item .step__n { flex-basis: 36px; font-size: 26px; }
  .info-card, .why__item, .stat { padding: 24px; }
  .other { min-height: 130px; padding: 18px; }
  .other__title { font-size: 16px; }
  .case-card { padding: 16px; border-radius: 24px; }
  .case-card__media, .cases-grid--3 .case-card__media { height: 220px; }
  .case-card .btn { width: 100%; }
  .section__head { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
}
