:root {
  --bg: #0A0A0C;
  --surface: #131318;
  --surface-2: #1A1A22;
  --surface-3: #21212B;
  --text: #F1F1F5;
  --muted: #A6A6B2;
  --faint: #8C8C99;
  --accent: #7C5CFF;
  --accent-2: #C2B2FF;
  --accent-dark: #5B3FE0;
  --hairline: rgba(255,255,255,0.09);
  --hairline-2: rgba(255,255,255,0.16);
  --font-display: 'Space Grotesk', 'Unbounded', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --container: 1200px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s6: 24px;
  --s8: 32px; --s12: 48px; --s16: 64px; --s24: 96px; --s32: 128px;
  --radius: 14px; --radius-lg: 20px; --radius-pill: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s6); }

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.accent-word { color: var(--accent-2); position: relative; }

/* cursor glow */
.cursor-glow {
  position: fixed;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,0.10), transparent 65%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-9999px,-9999px);
  transition: opacity 0.4s;
  filter: blur(20px);
}
.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), background 0.25s, box-shadow 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn .arr { transition: transform 0.25s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 28px -8px rgba(124,92,255,0.55);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 14px 40px -8px rgba(124,92,255,0.7); }
.btn-ghost {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-color: var(--hairline-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); background: rgba(124,92,255,0.06); }
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--s8);
  background: rgba(10,10,12,0.6);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, padding 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--hairline); padding: 12px var(--s8); background: rgba(10,10,12,0.85); }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: 'Space Grotesk', 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 23px;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: #fff;
  color: #0A0A0C;
  font-family: 'Space Grotesk', 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 19px;
  box-shadow: 0 8px 22px -4px rgba(124,92,255,0.65), 0 0 0 3px rgba(124,92,255,0.18);
  transition: transform 0.3s, box-shadow 0.3s;
}
.logo:hover .logo-mark {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 12px 28px -4px rgba(124,92,255,0.85), 0 0 0 4px rgba(124,92,255,0.25);
}
.logo-name {
  background: linear-gradient(180deg, #ffffff 0%, #C2B2FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.logo-foot { font-size: 28px; }
.logo-foot .logo-mark { width: 44px; height: 44px; font-size: 24px; border-radius: 10px; }
.logo-dot { color: var(--accent); }
.nav-links { display: flex; gap: var(--s8); }
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--muted);
  text-decoration: none; transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px;
  background: var(--accent); transition: width 0.25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px var(--s6) var(--s16);
  overflow: hidden;
}
.hero-aurora {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 900px;
  background:
    radial-gradient(ellipse 40% 50% at 30% 40%, rgba(124,92,255,0.28), transparent 70%),
    radial-gradient(ellipse 40% 40% at 70% 30%, rgba(91,63,224,0.22), transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 70%, rgba(185,166,255,0.10), transparent 70%);
  filter: blur(40px);
  animation: aurora 16s ease-in-out infinite;
  pointer-events: none;
}
@keyframes aurora {
  0%,100% { transform: translateX(-50%) scale(1) rotate(0deg); opacity: 0.9; }
  50% { transform: translateX(-50%) scale(1.1) rotate(6deg); opacity: 1; }
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 75%);
}
.hero-inner { position: relative; z-index: 3; text-align: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border: 1px solid var(--hairline-2);
  border-radius: var(--radius-pill); background: rgba(255,255,255,0.02);
  margin-bottom: var(--s8); color: var(--text);
  font-size: 11px;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(124,92,255,0.6); animation: pdot 2s infinite;
}
@keyframes pdot {
  0% { box-shadow: 0 0 0 0 rgba(124,92,255,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(124,92,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(124,92,255,0); }
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 7.5vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: var(--s6);
}
.underline-stroke {
  position: absolute; left: 0; right: 0; bottom: 0.08em; height: 0.09em;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  animation: underline 0.9s 0.7s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.hero-sub {
  font-size: clamp(15px, 1.5vw, 20px);
  color: var(--muted);
  max-width: 640px; margin: 0 auto var(--s12);
  line-height: 1.65;
}
.hero-ctas { display: flex; gap: var(--s4); justify-content: center; flex-wrap: wrap; margin-bottom: var(--s24); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s4); max-width: 900px; margin: 0 auto;
  border-top: 1px solid var(--hairline); padding-top: var(--s8);
}
.hstat { display: flex; flex-direction: column; gap: 6px; }
.hstat-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 3.5vw, 44px); color: var(--accent-2);
  letter-spacing: -0.02em; line-height: 1;
}
.hstat-label { font-size: 10px; line-height: 1.4; }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none; z-index: 3;
}
.scroll-hint .mono { font-size: 9px; color: var(--faint); }
.scroll-line {
  width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent);
  animation: scrollline 2s ease-in-out infinite;
}
@keyframes scrollline { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ===== MARQUEE ===== */
.marquee-sec { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: var(--s6) 0; background: var(--surface); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent); }
.marquee-track { display: flex; align-items: center; gap: var(--s8); width: max-content; animation: marq 38s linear infinite; }
@keyframes marq { to { transform: translateX(-50%); } }
.marquee-track span {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: var(--muted); white-space: nowrap; letter-spacing: -0.01em;
}
.marquee-track .m-dot { color: var(--accent); font-size: 12px; }

/* ===== SECTIONS ===== */
.section { padding: var(--s32) 0; position: relative; }
.sec-head { margin-bottom: var(--s16); max-width: 720px; }
.sec-num { display: inline-block; margin-bottom: var(--s4); color: var(--accent); }
.sec-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 4.5vw, 56px); line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: var(--s4);
}
.sec-lede { font-size: clamp(15px,1.3vw,18px); color: var(--muted); line-height: 1.65; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.svc-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); padding: var(--s8);
  position: relative; overflow: hidden;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), border-color 0.35s, background 0.35s;
}
.svc-card::before {
  content:''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s;
}
.svc-card:hover { transform: translateY(-6px); border-color: var(--hairline-2); background: var(--surface-2); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card-hl { border-color: rgba(124,92,255,0.4); background: linear-gradient(180deg, rgba(124,92,255,0.06), var(--surface) 50%); }
.svc-badge {
  position: absolute; top: var(--s6); right: var(--s6);
  background: var(--accent); color: #fff; font-size: 9px; font-weight: 700;
  padding: 4px 10px; border-radius: var(--radius-pill); letter-spacing: 0.1em;
}
.svc-ico {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(124,92,255,0.12); border: 1px solid rgba(124,92,255,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s6); color: var(--accent-2);
}
.svc-ico svg { width: 26px; height: 26px; }
.svc-tag { display: block; margin-bottom: var(--s3); color: var(--accent); }
.svc-title { font-family: var(--font-display); font-weight: 700; font-size: 24px; margin-bottom: var(--s3); letter-spacing: -0.02em; }
.svc-desc { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: var(--s6); }
.svc-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: var(--s8); }
.svc-list li { font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.svc-list li::before { content: '+'; color: var(--accent); font-weight: 800; flex-shrink: 0; }
.svc-price { padding-top: var(--s4); border-top: 1px solid var(--hairline); font-size: 13px; color: var(--muted); }
.svc-price strong { color: var(--text); font-size: 17px; font-family: var(--font-display); }

/* ===== WORKS ===== */
.works-list { display: flex; flex-direction: column; gap: var(--s24); }
.work { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--s12); align-items: center; }
.work-rev .work-preview { order: 2; }
.work-preview { position: relative; }
.browser-frame {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--hairline-2);
  background: var(--surface-2);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.6);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s;
}
.work:hover .browser-frame { transform: translateY(-6px); box-shadow: 0 40px 90px -20px rgba(124,92,255,0.25); }
.browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: var(--surface-3); border-bottom: 1px solid var(--hairline);
}
.bdot { width: 10px; height: 10px; border-radius: 50%; background: #3a3a44; }
.bdot:nth-child(1) { background: #ff5f57; } .bdot:nth-child(2) { background: #febc2e; } .bdot:nth-child(3) { background: #28c840; }
.browser-url { margin-left: 10px; font-size: 10px; color: var(--faint); }
.iframe-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg); }
.iframe-wrap iframe {
  position: absolute; top: 0; left: 0;
  width: 1440px; height: 900px;
  transform: scale(0.48); transform-origin: top left;
  border: 0; pointer-events: none;
}
.iframe-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(10,10,12,0) 40%, rgba(10,10,12,0.5));
  opacity: 0; transition: opacity 0.3s; text-decoration: none;
}
.work:hover .iframe-overlay { opacity: 1; }
.open-btn {
  background: var(--accent); color: #fff; font-weight: 700; font-size: 14px;
  padding: 13px 22px; border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px -8px rgba(124,92,255,0.6);
  display: inline-flex; gap: 8px; align-items: center;
  transform: translateY(10px); transition: transform 0.3s;
}
.work:hover .open-btn { transform: translateY(0); }
.work-num { color: var(--accent); }
.work-meta { display: block; margin-bottom: var(--s4); }
.work-demo { color: var(--accent-2); }
.work-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px,3.5vw,48px); letter-spacing: -0.03em; margin-bottom: var(--s4); }
.work-desc { color: var(--muted); font-size: 15px; line-height: 1.65; margin-bottom: var(--s6); }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s6); }
.wtag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  padding: 5px 11px; border: 1px solid var(--hairline-2); border-radius: var(--radius-pill);
  color: var(--muted); text-transform: uppercase;
}
.work-link {
  font-weight: 700; font-size: 15px; color: var(--accent-2); text-decoration: none;
  display: inline-flex; gap: 8px; align-items: center;
}
.work-link .arr { transition: transform 0.25s; }
.work-link:hover .arr { transform: translateX(5px); }

/* ===== WIDGET DEMO ===== */
.widget-demo { background: var(--surface); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.demo-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s12); align-items: center; }
.demo-tabs { display: flex; flex-direction: column; gap: var(--s3); margin-bottom: var(--s8); }
.demo-tab {
  display: flex; align-items: center; gap: var(--s4);
  padding: var(--s4) var(--s6); border-radius: var(--radius);
  background: var(--surface-2); border: 1px solid var(--hairline);
  cursor: pointer; text-align: left; color: var(--text);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
  font-family: var(--font-body);
}
.demo-tab:hover { border-color: var(--hairline-2); transform: translateX(4px); }
.demo-tab.active { border-color: var(--accent); background: rgba(124,92,255,0.08); }
.dt-ico {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: rgba(124,92,255,0.12); display: flex; align-items: center; justify-content: center;
  color: var(--accent-2);
}
.dt-ico svg { width: 22px; height: 22px; }
.dt-txt { display: flex; flex-direction: column; }
.dt-txt strong { font-size: 16px; font-weight: 700; }
.dt-txt em { font-style: normal; font-size: 12px; color: var(--muted); }
.demo-note { display: flex; flex-direction: column; gap: 10px; padding-top: var(--s6); border-top: 1px solid var(--hairline); }
.dn-row { font-size: 13px; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.dn-check { color: var(--accent); font-weight: 800; }

.demo-phone {
  background: var(--bg); border: 1px solid var(--hairline-2);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; height: 520px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(124,92,255,0.08);
}
.dp-chat-header {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; border-bottom: 1px solid var(--hairline); background: var(--surface);
}
.dp-dot { width: 8px; height: 8px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 3px rgba(40,200,64,0.2); }
.dp-title { font-weight: 700; font-size: 15px; }
.dp-body { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.dp-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--hairline); background: var(--surface); }
.dp-input input {
  flex: 1; background: var(--surface-2); border: 1px solid var(--hairline-2);
  color: var(--text); padding: 11px 14px; border-radius: 10px; outline: none;
  font-family: var(--font-body); font-size: 14px;
}
.dp-input input:focus { border-color: var(--accent); }
.dp-send {
  background: var(--accent); color: #fff; border: none; width: 44px; border-radius: 10px;
  cursor: pointer; font-size: 18px; font-weight: 700;
}

/* chat bubbles (shared by demo + widget) */
.msg { max-width: 85%; padding: 11px 15px; border-radius: 14px; font-size: 14px; line-height: 1.5; animation: msgin 0.3s ease-out; }
@keyframes msgin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.msg.bot { background: var(--surface-2); border: 1px solid var(--hairline); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--accent); color: #fff; align-self: flex-end; font-weight: 500; border-bottom-right-radius: 4px; }
.opts { display: flex; flex-direction: column; gap: 8px; align-self: stretch; }
.opt {
  text-align: left; background: transparent; border: 1px solid var(--hairline-2);
  color: var(--text); padding: 10px 14px; border-radius: 10px; cursor: pointer;
  font-family: var(--font-body); font-size: 14px; transition: all 0.2s;
}
.opt:hover { border-color: var(--accent); color: var(--accent-2); background: rgba(124,92,255,0.06); }

/* ===== PROCESS ===== */
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.proc-step {
  padding: var(--s8); border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--hairline); transition: border-color 0.3s, transform 0.3s; position: relative;
}
.proc-step:hover { border-color: var(--hairline-2); transform: translateY(-4px); }
.proc-num {
  font-family: var(--font-display); font-weight: 900; font-size: 40px;
  color: transparent; -webkit-text-stroke: 1px var(--accent);
  margin-bottom: var(--s6); letter-spacing: -0.04em;
}
.proc-step h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-bottom: var(--s3); }
.proc-step p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ===== APPROACH ===== */
.approach { background: var(--surface); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.approach-inner { max-width: 980px; margin: 0 auto; text-align: center; }
.approach-quote {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px, 3vw, 40px); line-height: 1.3; letter-spacing: -0.02em;
  margin: var(--s6) 0 var(--s16);
}
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); text-align: left; }
.appr-item { padding: var(--s6); border-left: 2px solid var(--accent); }
.appr-ico { font-family: var(--font-display); color: var(--accent); font-size: 20px; margin-bottom: var(--s3); font-weight: 800; }
.appr-item h4 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: var(--s2); }
.appr-item p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ===== PRICING ===== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); padding: var(--s8);
  display: flex; flex-direction: column; position: relative;
  transition: transform 0.35s, border-color 0.35s;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--hairline-2); }
.price-hl { border-color: var(--accent); background: linear-gradient(180deg, rgba(124,92,255,0.08), var(--surface) 45%); }
.pc-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 9px; font-weight: 700;
  padding: 5px 14px; border-radius: var(--radius-pill); letter-spacing: 0.1em;
}
.pc-name { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.pc-desc { color: var(--muted); font-size: 13px; margin: 4px 0 var(--s6); }
.pc-price { display: flex; align-items: baseline; gap: 4px; padding-bottom: var(--s6); margin-bottom: var(--s6); border-bottom: 1px solid var(--hairline); }
.pc-num { font-family: var(--font-display); font-weight: 800; font-size: 42px; letter-spacing: -0.03em; }
.pc-cur { color: var(--muted); font-size: 18px; }
.pc-feat { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: var(--s8); flex: 1; }
.pc-feat li { font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.pc-feat li::before { content: '✓'; color: var(--accent); font-weight: 800; flex-shrink: 0; }
.pc-accent { color: var(--accent-2); font-weight: 600; }
.price-foot { text-align: center; margin-top: var(--s8); color: var(--faint); font-size: 11px; }

/* ===== FAQ ===== */
.faq-container { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--hairline); }
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer; color: var(--text);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(16px,1.8vw,20px);
  text-align: left; padding: var(--s6) 0; display: flex; justify-content: space-between;
  gap: var(--s6); align-items: center; letter-spacing: -0.01em; transition: color 0.2s;
}
.faq-q:hover { color: var(--accent-2); }
.faq-t { color: var(--accent); font-size: 26px; font-weight: 400; transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-t { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.open .faq-a { max-height: 240px; padding-bottom: var(--s6); }
.faq-a p { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ===== CONTACT ===== */
.contact { position: relative; overflow: hidden; text-align: center; }
.contact-aurora {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(124,92,255,0.18), transparent 70%);
  filter: blur(60px); pointer-events: none;
}
.contact-inner { position: relative; z-index: 2; max-width: 720px; }
.contact-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(34px,5.5vw,72px); line-height: 1.02; letter-spacing: -0.03em; margin: var(--s4) 0 var(--s6); }
.contact-sub { color: var(--muted); font-size: clamp(15px,1.3vw,18px); margin-bottom: var(--s12); max-width: 560px; margin-left: auto; margin-right: auto; }
.contact-form { text-align: left; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: var(--s8); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.cf-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--s6); }
.cf-field label { font-size: 10px; }
.cf-field input, .cf-field textarea {
  background: var(--bg); border: 1px solid var(--hairline-2); color: var(--text);
  padding: 13px 15px; border-radius: 10px; outline: none; font-family: var(--font-body); font-size: 15px;
  transition: border-color 0.2s; resize: vertical;
}
.cf-field input:focus, .cf-field textarea:focus { border-color: var(--accent); }
.cf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chip {
  background: var(--bg); border: 1px solid var(--hairline-2); color: var(--muted);
  padding: 9px 16px; border-radius: var(--radius-pill); cursor: pointer; font-family: var(--font-body);
  font-size: 14px; font-weight: 600; transition: all 0.2s;
}
.cf-chip:hover { border-color: var(--accent); color: var(--text); }
.cf-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.cf-result { text-align: center; margin-top: var(--s4); font-weight: 600; min-height: 22px; color: var(--accent-2); }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--hairline); padding: var(--s16) 0 var(--s8); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s8); padding-bottom: var(--s12); border-bottom: 1px solid var(--hairline); }
.logo-foot { font-size: 28px; }
.foot-tag { color: var(--muted); margin-top: var(--s3); font-size: 14px; max-width: 240px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-label { margin-bottom: 4px; }
.foot-col a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.foot-col a:hover { color: var(--accent-2); }
.footer-bottom { padding-top: var(--s8); color: var(--faint); font-size: 10px; }

/* ===== CHAT WIDGET ===== */
.chat-toggle {
  position: fixed; bottom: 24px; right: 24px; width: 62px; height: 62px;
  border-radius: 50%; background: var(--accent); color: #fff; border: none; cursor: pointer;
  z-index: 90; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px -8px rgba(124,92,255,0.6); transition: transform 0.2s;
}
.chat-toggle::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent); animation: cpulse 2.6s ease-out infinite; opacity: 0; }
@keyframes cpulse { 0% { opacity: 0.8; transform: scale(0.95); } 100% { opacity: 0; transform: scale(1.5); } }
.chat-toggle:hover { transform: scale(1.08); }
.chat-toggle svg { width: 27px; height: 27px; }
.chat-window {
  position: fixed; bottom: 100px; right: 24px; width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 140px)); background: var(--bg); border: 1px solid var(--accent);
  z-index: 90; display: none; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 64px -12px rgba(0,0,0,0.6); animation: msgin 0.25s ease-out;
}
.chat-window.open { display: flex; }
.chat-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--hairline); background: var(--surface); }
.chat-title { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.chat-title-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pdot 1.6s infinite; }
.chat-close { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 18px; }
.chat-close:hover { color: var(--accent-2); }
.chat-body { flex: 1; padding: 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.chat-input-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--hairline); background: var(--surface); }
.chat-input { flex: 1; background: var(--surface-2); border: 1px solid var(--hairline-2); color: var(--text); padding: 10px 14px; border-radius: 10px; outline: none; font-family: var(--font-body); font-size: 14px; }
.chat-input:focus { border-color: var(--accent); }
.chat-send { background: var(--accent); color: #fff; border: none; padding: 0 18px; border-radius: 10px; cursor: pointer; font-size: 18px; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(.2,.8,.2,1), transform 0.7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav { padding: 14px var(--s4); }
  .services-grid { grid-template-columns: 1fr; }
  .work, .work-rev .work-preview { grid-template-columns: 1fr; }
  .work-rev .work-preview { order: 0; }
  .work { gap: var(--s8); }
  .demo-wrap { grid-template-columns: 1fr; gap: var(--s8); }
  .proc-grid { grid-template-columns: 1fr 1fr; }
  .approach-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .price-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: var(--s24) 0; }
}
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .demo-phone { height: 460px; }
  .hero { padding-top: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   V2 OVERRIDES + NEW COMPONENTS
   ============================================================ */

/* lang toggle */
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--hairline-2);
  border-radius: var(--radius-pill); padding: 7px 13px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--muted); cursor: pointer; transition: border-color 0.2s;
}
.lang-toggle:hover { border-color: var(--accent); }
.lang-toggle .active { color: var(--accent-2); }
.lang-sep { opacity: 0.4; }
.nav-tg { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.03); border: 1px solid var(--hairline-2); color: var(--muted); transition: border-color 0.2s, color 0.2s; }
.nav-tg:hover { border-color: var(--accent); color: var(--accent-2); }
.nav-tg svg { width: 18px; height: 18px; }

/* HERO -> split layout */
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s16);
  align-items: center; text-align: left !important;
}
.hero-left { display: flex; flex-direction: column; align-items: flex-start; }
.hero-title { font-size: clamp(36px, 5.2vw, 78px) !important; }
.hero-sub { margin: 0 0 var(--s8) 0 !important; max-width: 540px; }
.hero-ctas { justify-content: flex-start !important; margin-bottom: var(--s12) !important; }
.hero-stats {
  grid-template-columns: repeat(3, 1fr) !important; margin: 0 !important;
  width: 100%; max-width: 560px; text-align: left;
}
.hero-stats .hstat-num { font-size: clamp(24px, 2.6vw, 34px); }

/* HERO animated widget preview */
.hero-right { position: relative; display: flex; justify-content: center; }
.hero-demo { position: relative; width: 100%; max-width: 380px; }
.hd-glow {
  position: absolute; inset: -40px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,0.3), transparent 70%);
  filter: blur(40px); z-index: 0; animation: aurora 10s ease-in-out infinite;
}
.hd-window {
  position: relative; z-index: 2;
  background: var(--surface); border: 1px solid var(--hairline-2);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 90px -25px rgba(0,0,0,0.7), 0 0 0 1px rgba(124,92,255,0.1);
  height: 460px; display: flex; flex-direction: column;
}
.hd-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid var(--hairline); background: var(--surface-2);
}
.hd-status { width: 9px; height: 9px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 3px rgba(40,200,64,0.2); }
.hd-title { font-weight: 700; font-size: 14px; flex: 1; }
.hd-live { font-size: 9px; color: var(--accent-2); border: 1px solid rgba(124,92,255,0.4); padding: 3px 8px; border-radius: var(--radius-pill); letter-spacing: 0.15em; }
.hd-body { flex: 1; padding: 18px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.hd-tag {
  position: absolute; z-index: 3; background: var(--bg); border: 1px solid var(--hairline-2);
  padding: 8px 12px; border-radius: 10px; font-size: 10px; color: var(--accent-2);
  box-shadow: 0 12px 28px -10px rgba(0,0,0,0.6); animation: floaty 4s ease-in-out infinite;
}
.hd-tag-1 { top: 24px; right: -18px; animation-delay: 0s; }
.hd-tag-2 { bottom: 70px; left: -14px; animation-delay: 1.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* typing indicator */
.typing { display: inline-flex; gap: 4px; padding: 12px 15px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typed 1.2s infinite; }
.typing span:nth-child(2){ animation-delay: 0.2s; } .typing span:nth-child(3){ animation-delay: 0.4s; }
@keyframes typed { 0%,60%,100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* examples foot */
.examples-foot { text-align: center; margin-top: var(--s16); padding-top: var(--s8); border-top: 1px solid var(--hairline); }
.examples-foot .mono { color: var(--faint); font-size: 11px; }
/* fix iframe top alignment */
.iframe-wrap iframe { width: 1280px; height: 800px; transform: scale(0.54); }
/* screenshot-based preview (real external sites) */
.shot-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.work:hover .shot-wrap img { filter: brightness(1.04); }
.work-real { color: var(--accent-2); font-weight: 700; }

/* MODE SWITCH */
.mode-switch {
  display: inline-flex; gap: 6px; padding: 6px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-pill); margin-bottom: var(--s12);
}
.mode-btn {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 10px 22px; border-radius: var(--radius-pill); border: none;
  background: transparent; color: var(--muted); cursor: pointer;
  font-family: var(--font-body); transition: all 0.25s; text-align: left;
}
.mode-btn strong { font-size: 15px; font-weight: 700; }
.mode-btn em { font-style: normal; font-size: 11px; opacity: 0.8; }
.mode-btn.active { background: var(--accent); color: #fff; box-shadow: 0 8px 22px -8px rgba(124,92,255,0.6); }
.mode-btn.active em { opacity: 0.9; }

/* AI panel */
.dl-label { display: block; margin-bottom: var(--s4); color: var(--accent); }
.cap-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: var(--s6); }
.cap { display: flex; gap: 14px; align-items: flex-start; }
.cap-ico { color: var(--accent); font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.cap strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.cap span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.ai-note { font-size: 10px; color: var(--faint); line-height: 1.6; padding: 12px; border: 1px dashed var(--hairline-2); border-radius: 10px; }

/* image bubble for AI demo */
.msg-img {
  width: 180px; height: 120px; border-radius: 10px; margin-top: 6px;
  background: linear-gradient(135deg, #2a2150, #5B3FE0 60%, #B9A6FF);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: rgba(255,255,255,0.7); font-family: var(--font-mono);
  position: relative; overflow: hidden;
}
.msg-img::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), transparent 50%); }

/* VALUE SECTIONS (sites / widgets) */
.value-sec { border-top: 1px solid var(--hairline); }
.value-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s16); align-items: center; }
.value-grid-rev .value-card { order: 0; } .value-grid-rev .value-text { order: 1; }
.value-lede { color: var(--muted); font-size: clamp(15px,1.3vw,18px); line-height: 1.7; margin: var(--s4) 0 var(--s8); }
.value-points { display: flex; flex-direction: column; gap: var(--s4); margin-bottom: var(--s8); }
.vp { display: flex; gap: var(--s4); align-items: flex-start; }
.vp-ico {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(124,92,255,0.1); border: 1px solid rgba(124,92,255,0.25);
  display: flex; align-items: center; justify-content: center; color: var(--accent-2);
}
.vp-ico svg { width: 22px; height: 22px; }
.vp strong { display: block; font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.vp span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.value-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); padding: var(--s12); position: relative;
}
.value-card-hl { border-color: var(--accent); background: linear-gradient(180deg, rgba(124,92,255,0.08), var(--surface) 45%); }
.vc-badge {
  position: absolute; top: -11px; left: var(--s12);
  background: var(--accent); color: #fff; font-size: 9px; font-weight: 700;
  padding: 5px 12px; border-radius: var(--radius-pill); letter-spacing: 0.1em;
}
.vc-label { color: var(--accent); display: block; margin-bottom: var(--s4); }
.vc-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: var(--s2); flex-wrap: wrap; }
.vc-from { color: var(--muted); }
.vc-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px,5vw,56px); letter-spacing: -0.03em; }
.vc-cur { color: var(--muted); font-size: 18px; }
.vc-type { color: var(--faint); font-size: 10px; margin-bottom: var(--s6); padding-bottom: var(--s6); border-bottom: 1px solid var(--hairline); display: block; }
.vc-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.vc-list li { font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.vc-list li::before { content: '✓'; color: var(--accent); font-weight: 800; flex-shrink: 0; }
.vc-accent { color: var(--accent-2); font-weight: 600; }

/* price 2-col */
.price-grid-2 { grid-template-columns: 1fr 1fr; max-width: 760px; margin: 0 auto; }
.pc-from { color: var(--muted); margin-right: 4px; }

/* RESPONSIVE v2 */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s12); }
  .hero-right { order: -1; }
  .hero-demo { max-width: 340px; }
  .value-grid { grid-template-columns: 1fr; gap: var(--s8); }
  .value-grid-rev .value-card { order: 1; } .value-grid-rev .value-text { order: 0; }
  .value-card { padding: var(--s8); }
  .price-grid-2 { grid-template-columns: 1fr; max-width: 440px; }
  .mode-switch { width: 100%; }
  .mode-btn { flex: 1; align-items: center; padding: 10px 12px; }
}
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr 1fr !important; }
}

/* ============================================================
   V3: WORKS GRID · CONTRAST · EN FONT · CINEMATIC HERO SCENE
   ============================================================ */

/* contrast bump for faint small text */
:root { --faint: #8C8C99; }
.price-foot { color: var(--muted) !important; font-size: 13px !important; max-width: 640px; margin-left: auto; margin-right: auto; }
.vc-type { color: var(--muted); }
.examples-foot .mono { color: var(--muted); }
.ai-note { color: var(--muted); }
.browser-url { color: var(--muted); }
.foot-col a { color: var(--muted); }

/* Display font: Space Grotesk (Latin) + Onest (Cyrillic fallback per-glyph). */
html[lang="en"] .hero-title, html[lang="en"] .sec-title, html[lang="en"] .contact-title,
html[lang="en"] .work-title, html[lang="en"] .cc-title, html[lang="en"] .vc-num,
html[lang="en"] .pc-num, html[lang="en"] .pc-name, html[lang="en"] .hstat-num,
html[lang="en"] .logo, html[lang="en"] .logo-foot { font-style: italic; letter-spacing: -0.01em; }

/* WORKS -> responsive grid of screenshot cards */
.works-list { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: var(--s8); }
.work { display: flex !important; flex-direction: column; gap: var(--s6); align-items: stretch; }
.work-rev .work-preview { order: 0 !important; }
.work-preview { order: 0; }
.work-info { order: 1; display: flex; flex-direction: column; }
.work-title { font-size: clamp(24px, 2.4vw, 32px) !important; margin-bottom: var(--s3) !important; }
.work-desc { font-size: 14px !important; margin-bottom: var(--s4) !important; }
.work-tags { margin-bottom: var(--s4) !important; }
.browser-frame { box-shadow: 0 20px 50px -22px rgba(0,0,0,0.6); }
.work:hover .browser-frame { box-shadow: 0 30px 70px -22px rgba(124,92,255,0.28); }
.iframe-overlay { opacity: 0 !important; background: linear-gradient(180deg, rgba(10,10,12,0) 45%, rgba(10,10,12,0.6)); }
.work:hover .iframe-overlay { opacity: 1 !important; }
/* real project highlight */
.work:has(.work-real) .browser-frame { border-color: rgba(124,92,255,0.5); }
@media (max-width: 760px) { .works-list { grid-template-columns: 1fr; } }

/* ===== CINEMATIC HERO SCENE ===== */
.hero-right { perspective: 1400px; }
.scene {
  position: relative; width: 100%; max-width: 540px; aspect-ratio: 1/1;
  margin: 0 auto;
}
.scene-glow {
  position: absolute; inset: -30px; z-index: 0;
  background: radial-gradient(circle at 60% 40%, rgba(124,92,255,0.3), transparent 70%);
  filter: blur(40px); animation: aurora 12s ease-in-out infinite;
}
/* mini site */
.scene-site {
  position: absolute; inset: 0; z-index: 1;
  background: var(--surface); border: 1px solid var(--hairline-2);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7);
  transform: rotateY(-6deg) rotateX(2deg); transform-style: preserve-3d;
}
.ss-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: var(--surface-3); border-bottom: 1px solid var(--hairline); }
.ss-dot { width: 8px; height: 8px; border-radius: 50%; background: #3a3a44; }
.ss-url { margin-left: 8px; font-size: 9px; color: var(--faint); }
.ss-body { padding: 16px; }
.ss-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.ss-logo { width: 46px; height: 12px; border-radius: 4px; background: var(--accent); }
.ss-spacer { flex: 1; }
.ss-link { width: 34px; height: 8px; border-radius: 4px; background: var(--surface-3); }
.ss-pill { width: 60px; height: 22px; border-radius: 999px; background: var(--surface-3); }
.ss-eyebrow { width: 90px; height: 9px; border-radius: 4px; background: rgba(124,92,255,0.4); margin-bottom: 14px; }
.ss-h1 { width: 100%; height: 20px; border-radius: 5px; background: rgba(255,255,255,0.16); margin-bottom: 9px; }
.ss-h1.w70 { width: 66%; }
.ss-text { width: 100%; height: 8px; border-radius: 4px; background: var(--surface-3); margin-bottom: 7px; margin-top: 14px; }
.ss-text.w80 { width: 78%; }
.ss-cta { width: 120px; height: 34px; border-radius: 999px; background: var(--accent); margin-top: 20px; }
.ss-cards { display: flex; gap: 10px; margin-top: 26px; }
.ss-cards span { flex: 1; height: 54px; border-radius: 10px; background: var(--surface-3); }

/* chat launcher on site */
.scene-bubble {
  position: absolute; bottom: 16px; right: 16px; z-index: 4;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: default;
  background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(124,92,255,0.7); transition: transform 0.25s;
}
.scene-bubble svg { width: 22px; height: 22px; }
.scene-bubble.clicked { transform: scale(0.82); }
.scene-bubble.hidden { opacity: 0; transform: scale(0.5); pointer-events: none; transition: opacity 0.3s, transform 0.3s; }

/* chat panel */
.scene-chat {
  position: absolute; bottom: 14px; right: 14px; z-index: 5;
  width: 60%; max-width: 280px; height: 66%; max-height: 320px;
  background: var(--bg); border: 1px solid var(--accent);
  border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7);
  opacity: 0; transform: translateY(20px) scale(0.9); transform-origin: bottom right;
  transition: opacity 0.4s cubic-bezier(.2,.8,.2,1), transform 0.4s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.scene-chat.open { opacity: 1; transform: translateY(0) scale(1); }
.sc-head { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: var(--surface); border-bottom: 1px solid var(--hairline); }
.sc-dot { width: 7px; height: 7px; border-radius: 50%; background: #28c840; }
.sc-title { font-size: 12px; font-weight: 700; }
.sc-body { flex: 1; padding: 12px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }
.sc-body .msg { font-size: 11.5px; padding: 8px 11px; border-radius: 11px; max-width: 88%; }
.sc-body .typing { padding: 9px 12px; }
.sc-body .typing span { width: 5px; height: 5px; }

/* fake cursor - offset so the arrow TIP (not top-left of svg box) lands on target */
.scene-cursor {
  position: absolute; z-index: 8; width: 22px; height: 22px;
  left: 40%; top: 45%; pointer-events: none;
  margin: -3px 0 0 -3px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
  transition: left 1s cubic-bezier(.5,0,.2,1), top 1s cubic-bezier(.5,0,.2,1), transform 0.2s;
}
.scene-cursor svg { width: 100%; height: 100%; }
.scene-cursor.tap { transform: scale(0.8); }

/* telegram notification */
.scene-tg {
  position: absolute; top: 14px; left: -8px; z-index: 9;
  display: flex; align-items: center; gap: 11px;
  background: var(--bg); border: 1px solid var(--hairline-2);
  border-radius: 14px; padding: 11px 14px; min-width: 220px;
  box-shadow: 0 24px 50px -16px rgba(0,0,0,0.7);
  opacity: 0; transform: translateX(-30px) scale(0.95); pointer-events: none;
  transition: opacity 0.5s cubic-bezier(.2,.8,.2,1), transform 0.5s cubic-bezier(.2,.8,.2,1);
}
.scene-tg.show { opacity: 1; transform: translateX(0) scale(1); }
.tg-ico { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, #2AABEE, #229ED9); color: #fff; display: flex; align-items: center; justify-content: center; }
.tg-ico svg { width: 20px; height: 20px; }
.tg-txt { display: flex; flex-direction: column; line-height: 1.3; }
.tg-txt strong { font-size: 13px; }
.tg-txt span { font-size: 11px; color: var(--muted); }
.tg-badge { margin-left: auto; background: #FF3B30; color: #fff; font-size: 10px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

@media (max-width: 980px) {
  .scene { max-width: 400px; }
  .scene-site { transform: none; }
}
@media (max-width: 420px) {
  .scene-tg { min-width: 180px; left: 0; }
}

/* ============================================================
   V5: SHADER BG · BIGGER SCENE · READY LANE · BEFORE/AFTER
   ============================================================ */

/* hero shader background */
.hero-shader { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.85; }
.hero-shader-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,10,12,0.85) 0%, rgba(10,10,12,0.45) 45%, rgba(10,10,12,0.25) 100%),
    linear-gradient(180deg, rgba(10,10,12,0.4), rgba(10,10,12,0) 30%, rgba(10,10,12,0.6) 100%);
}
@media (max-width: 980px) {
  .hero-shader-veil { background: linear-gradient(180deg, rgba(10,10,12,0.5), rgba(10,10,12,0.2) 40%, rgba(10,10,12,0.75)); }
}

/* bigger hero scene, level with text */
.scene { max-width: 600px; }
.hero-inner { grid-template-columns: 1fr 1fr; gap: var(--s12); }
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; } .scene { max-width: 440px; } }

/* READY PROJECTS as horizontal lane (placeholder first) */
.ready-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 1fr);
  gap: var(--s6); overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(-1 * var(--s6)); padding: 0 var(--s6) var(--s4);
  scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
}
.ready-row::-webkit-scrollbar { height: 6px; }
.ready-row::-webkit-scrollbar-thumb { background: var(--hairline-2); border-radius: 3px; }
@media (min-width: 981px) { .ready-row { grid-auto-columns: minmax(0, 1fr); } }
.ready-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--s4); }

/* "your future project" placeholder card */
.future-card {
  scroll-snap-align: start; min-height: 100%;
  border: 1.5px dashed var(--hairline-2); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: var(--s4); padding: var(--s12) var(--s8);
  background: radial-gradient(ellipse at 50% 40%, rgba(124,92,255,0.08), transparent 70%);
  text-decoration: none; transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.future-card:hover { border-color: var(--accent); transform: translateY(-5px); background: radial-gradient(ellipse at 50% 40%, rgba(124,92,255,0.15), transparent 70%); }
.future-plus { width: 56px; height: 56px; border-radius: 50%; border: 1.5px dashed var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.future-title { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 24px; color: var(--text); letter-spacing: -0.01em; }
.future-sub { color: var(--muted); font-size: 14px; max-width: 240px; }
.future-cta { color: var(--accent-2); font-weight: 700; font-size: 14px; }

/* BEFORE/AFTER transformation slider */
.ba-sec { background: var(--bg); }
.ba-wrap {
  position: relative; aspect-ratio: 16/9; max-width: 980px; margin: var(--s12) auto 0;
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hairline-2);
  box-shadow: 0 30px 70px -25px rgba(0,0,0,0.7); user-select: none; cursor: ew-resize;
}
.ba-pane { position: absolute; inset: 0; overflow: hidden; }
.ba-pane-new { z-index: 1; }
.ba-pane-old { z-index: 2; clip-path: inset(0 50% 0 0); }
.ba-mock { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 4; width: 44px; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center; cursor: ew-resize;
}
.ba-handle::before { content: ''; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--accent); box-shadow: 0 0 16px rgba(124,92,255,0.7); }
.ba-knob { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: 0 8px 24px -6px rgba(124,92,255,0.7); z-index: 2; }
.ba-tag { position: absolute; top: 14px; z-index: 5; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em; padding: 5px 10px; border-radius: var(--radius-pill); text-transform: uppercase; }
.ba-tag-old { left: 14px; background: rgba(0,0,0,0.6); color: #c9c9d0; border: 1px solid var(--hairline-2); }
.ba-tag-new { right: 14px; background: var(--accent); color: #fff; }

/* OLD ugly mock site */
.mock-old { background: #e8e8e8; color: #222; font-family: Arial, sans-serif; padding: 22px 26px; }
.mock-old .mo-nav { display: flex; gap: 14px; align-items: center; border-bottom: 2px solid #999; padding-bottom: 10px; margin-bottom: 18px; }
.mock-old .mo-logo { font-weight: 700; font-size: 17px; color: #0033aa; text-decoration: underline; }
.mock-old .mo-link { font-size: 12px; color: #0033aa; text-decoration: underline; }
.mock-old h3 { font-size: 22px; margin-bottom: 10px; font-weight: 700; }
.mock-old p { font-size: 12px; color: #444; line-height: 1.5; margin-bottom: 8px; max-width: 80%; }
.mock-old .mo-btn { margin-top: 12px; display: inline-block; background: linear-gradient(#fafafa,#ccc); border: 1px solid #888; color: #222; font-size: 12px; padding: 6px 14px; border-radius: 3px; }
.mock-old .mo-img { margin-top: 14px; width: 130px; height: 80px; background: repeating-linear-gradient(45deg,#ddd,#ddd 8px,#ccc 8px,#ccc 16px); border: 1px solid #aaa; display: flex; align-items: center; justify-content: center; color: #888; font-size: 10px; }

/* NEW nice mock site */
.mock-new { background: radial-gradient(ellipse at 70% 0%, rgba(124,92,255,0.25), transparent 60%), #0c0c12; color: #fff; padding: 22px 26px; overflow: hidden; }
.mock-new .mn-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.mock-new .mn-logo { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 18px; }
.mock-new .mn-sp { flex: 1; }
.mock-new .mn-link { font-size: 11px; color: var(--muted); }
.mock-new .mn-pill { font-size: 11px; background: var(--accent); color: #fff; padding: 6px 14px; border-radius: 999px; font-weight: 600; }
.mock-new .mn-eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--accent-2); margin-bottom: 10px; }
.mock-new h3 { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(22px,3vw,34px); line-height: 1.05; margin-bottom: 12px; letter-spacing: -0.02em; }
.mock-new p { font-size: 12.5px; color: var(--muted); max-width: 70%; line-height: 1.5; margin-bottom: 16px; }
.mock-new .mn-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 10px 18px; border-radius: 999px; box-shadow: 0 10px 26px -8px rgba(124,92,255,0.6); }
.mock-new .mn-orbit { position: absolute; right: -40px; top: 30px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(124,92,255,0.3); animation: ring-spin-cw 14s linear infinite; }
.mock-new .mn-orbit::after { content: ''; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 16px var(--accent); }
.mock-new .mn-orbit2 { position: absolute; right: 10px; top: 80px; width: 90px; height: 90px; border-radius: 50%; border: 1px solid rgba(124,92,255,0.25); animation: ring-spin-ccw 9s linear infinite; }
.mock-new .mn-orbit2::after { content: ''; position: absolute; bottom: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #16C672; box-shadow: 0 0 14px #16C672; }
.ba-hint { text-align: center; margin-top: var(--s6); color: var(--faint); }
@media (max-width: 640px) {
  .ba-wrap { aspect-ratio: 3/4; }
  .mock-old p, .mock-new p { max-width: 95%; }
  .mock-new .mn-orbit, .mock-new .mn-orbit2 { display: none; }
}

/* ============================================================
   V6: RICH BEFORE/AFTER MOCKS · RECT SCENE · OBLIQUE HERO
   ============================================================ */

/* hero title - slight right lean for RU/EN */
.hero-title { transform: skewX(-3.5deg); transform-origin: left bottom; }

/* hero scene more rectangular (like a real browser), aligned */
.scene { aspect-ratio: 1 / 0.74; max-width: 600px; }
.hero-inner { align-items: center; }
@media (max-width: 980px) { .scene { aspect-ratio: 1 / 0.8; max-width: 460px; } }

/* BA block full grid width, less square, slider reaches ends */
.ba-wrap { max-width: none; aspect-ratio: 16 / 9; cursor: ew-resize; }
@media (max-width: 760px) { .ba-wrap { aspect-ratio: 4 / 5; } }

/* ---- OLD dated site (rich) ---- */
.mock-old { background: #eef0f2; color: #222; font-family: Arial, Helvetica, sans-serif; display: flex; flex-direction: column; padding: 0; }
.mo-top { background: #d6dbe1; font-size: 10px; color: #455; padding: 5px 16px; display: flex; gap: 18px; border-bottom: 1px solid #b9c0c8; }
.mo-top .mo-cart { margin-left: auto; }
.mo-nav { background: linear-gradient(#4d6ea8, #314f86); padding: 9px 16px; display: flex; align-items: center; gap: 12px; }
.mock-old .mo-logo { color: #fff; font-weight: 700; font-size: 13px; text-shadow: 0 1px 0 rgba(0,0,0,0.3); }
.mo-sp { flex: 1; }
.mock-old .mo-link { color: #e3ebf7; font-size: 11px; text-decoration: underline; }
.mo-body { display: flex; gap: 16px; padding: 16px 18px; flex: 1; }
.mo-main { flex: 1; }
.mock-old h3 { font-size: 19px; color: #16386a; margin-bottom: 9px; font-weight: 700; }
.mock-old p { font-size: 11.5px; color: #3f4750; line-height: 1.5; margin-bottom: 8px; }
.mo-list { font-size: 11.5px; color: #3a424b; margin: 0 0 12px 20px; }
.mo-list li { margin-bottom: 4px; }
.mo-btn { display: inline-block; background: linear-gradient(#fbfbfb, #ccd2d9); border: 1px solid #8a939f; color: #243; font-size: 11px; padding: 5px 13px; border-radius: 3px; }
.mo-img { margin-top: 12px; height: 64px; background: repeating-linear-gradient(45deg, #dfe3e8, #dfe3e8 8px, #d3d8de 8px, #d3d8de 16px); border: 1px solid #aab2bb; display: flex; align-items: center; justify-content: center; color: #8a929b; font-size: 10px; }
.mo-side { width: 150px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; }
.mo-box { border: 1px solid #bcc4cd; background: #f7f9fb; font-size: 10px; color: #455; }
.mo-box-h { background: #dde4ec; padding: 5px 9px; font-weight: 700; color: #16386a; }
.mo-box p { padding: 6px 9px; line-height: 1.45; border-top: 1px dotted #cdd4dc; margin: 0; font-size: 10px; color: #556; }
.mo-counter { padding: 10px 9px; text-align: center; color: #667; line-height: 1.6; }

/* ---- NEW premium site (Pulse-style) ---- */
.mock-new { background: radial-gradient(ellipse at 78% -10%, rgba(124,92,255,0.32), transparent 55%), #0b0b12; color: #fff; padding: 18px 26px; overflow: hidden; }
.mock-new .mn-nav { margin-bottom: 0; }
.mn-hero { max-width: 60%; margin-top: 26px; position: relative; z-index: 2; }
.mn-ac { color: var(--accent-2); }
.mock-new .mn-eyebrow { color: var(--accent-2); }
.mn-btns { display: flex; gap: 10px; align-items: center; margin: 4px 0 18px; flex-wrap: wrap; }
.mn-btn2 { border: 1px solid var(--hairline-2); color: #fff; font-size: 12px; padding: 9px 16px; border-radius: 999px; }
.mn-stats { display: flex; gap: 20px; }
.mn-stat b { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--accent-2); display: block; line-height: 1; }
.mn-stat span { font-size: 10px; color: var(--muted); }
/* orbits removed - too noisy, made the mock look messy */
.mock-new .mn-orbit, .mock-new .mn-orbit2 { display: none !important; }
.mn-dash { position: absolute; right: 22px; top: 66px; width: clamp(170px, 30%, 240px); background: linear-gradient(160deg, rgba(124,92,255,0.14), rgba(255,255,255,0.04)); border: 1px solid rgba(124,92,255,0.3); border-radius: 14px; padding: 14px; z-index: 1; box-shadow: 0 18px 40px -18px rgba(0,0,0,0.6); }
.mn-dash::before { content: 'Аналитика в реальном времени'; display: block; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 10px; }
.mn-dash-bar { display: flex; gap: 6px; align-items: flex-end; height: 76px; }
.mn-dash-bar i { flex: 1; background: linear-gradient(180deg, #6F8BFF, var(--accent)); border-radius: 3px 3px 0 0; animation: wave-bar 1.8s ease-in-out infinite; }
.mn-dash-bar i:nth-child(odd) { animation-delay: .3s; }
.mn-bubble { position: absolute; bottom: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px -6px rgba(124,92,255,0.75); z-index: 7; transition: transform .2s; }
.mn-bubble:hover { transform: scale(1.08); }
.mn-bubble svg { width: 20px; height: 20px; }
.mn-bubble::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent); animation: cpulse 2.6s ease-out infinite; opacity: 0; }
.mn-chat { position: absolute; bottom: 14px; right: 14px; width: min(220px, 60%); max-height: 0; opacity: 0; overflow: hidden; background: #11111a; border: 1px solid var(--accent); border-radius: 14px; z-index: 8; transition: max-height .35s cubic-bezier(.2,.8,.2,1), opacity .3s; display: flex; flex-direction: column; box-shadow: 0 20px 50px -16px rgba(0,0,0,0.7); }
.mn-chat.open { max-height: 220px; opacity: 1; }
.mn-chat-head { font-size: 11px; font-weight: 700; padding: 9px 12px; border-bottom: 1px solid var(--hairline); display: flex; gap: 7px; align-items: center; background: var(--surface); }
.mn-chat-dot { width: 6px; height: 6px; border-radius: 50%; background: #28c840; }
.mn-chat-body { padding: 10px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.mn-chat-body .msg { font-size: 11px; padding: 7px 10px; border-radius: 10px; max-width: 92%; }
@media (max-width: 760px) {
  .mn-hero { max-width: 100%; }
  .mn-dash { display: none; }
  .mo-side { display: none; }
}

/* ============================================================
   V7: NAV CENTERING · SCENE CENTER · SLIDER HANDLE-ONLY · MOCK LIFE
   ============================================================ */

/* nav links centered to viewport */
.nav { display: grid !important; grid-template-columns: 1fr auto 1fr; }
.nav > .logo { justify-self: start; }
.nav > .nav-links { justify-self: center; }
.nav > .nav-right { justify-self: end; }
/* small screens: nav CTA overflows next to logo+lang — hide it (hero CTAs + floating chat remain) */
@media (max-width: 600px) {
  .nav-right .btn-primary { display: none; }
}

/* hero scene: flat (no 3D tilt) + vertically centered */
.scene-site { transform: none !important; }
.hero-right { display: flex; align-items: center; justify-content: center; }
.scene { margin: 0 auto; }

/* slider drags ONLY by the handle; the rest of the mock is interactive */
.ba-wrap { cursor: default; }
.ba-handle { cursor: grab; width: 52px; }
.ba-handle:active { cursor: grabbing; }
.ba-knob { transition: transform .2s, box-shadow .2s; }
.ba-handle:hover .ba-knob { transform: scale(1.12); box-shadow: 0 10px 28px -6px rgba(124,92,255,0.85); }
.ba-pane-new { pointer-events: auto; }
.mock-new .mn-btn, .mock-new .mn-btn2, .mock-new .mn-pill { cursor: pointer; }

/* extra life in the NEW mock */
.mn-livechip {
  position: absolute; top: 16px; right: 24px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(18,18,26,0.85); border: 1px solid rgba(124,92,255,0.4);
  padding: 6px 11px; border-radius: 999px; font-size: 10px; color: var(--accent-2);
  font-family: var(--font-mono); letter-spacing: 0.04em;
  animation: floaty 3.5s ease-in-out infinite; backdrop-filter: blur(6px);
}
.mn-livechip .lc-dot { width: 6px; height: 6px; border-radius: 50%; background: #16C672; box-shadow: 0 0 0 0 rgba(22,198,114,0.6); animation: pdot 1.8s infinite; }
@media (max-width: 760px) { .mn-livechip { display: none; } }
.mn-dash { animation: floaty 5s ease-in-out infinite; }
.mn-pill { position: relative; overflow: hidden; }
.mn-pill::after { content: ''; position: absolute; top: 0; left: -60%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent); animation: shine 3s ease-in-out infinite; }
@keyframes shine { 0% { left: -60%; } 60%, 100% { left: 140%; } }

/* ============================================================
   V8: YESEVA · SCENE TOP-ALIGN · SITE BORDER · BA TAGS IN PANES · CONTACT SHADER
   ============================================================ */

/* Yeseva is upright - drop the skew */
.hero-title { transform: none !important; }
/* Yeseva One is weight 400 only - let large size carry it */
html:not([lang="en"]) .hero-title,
html:not([lang="en"]) .sec-title,
html:not([lang="en"]) .contact-title { font-weight: 400; }

/* scene top aligned with the headline (desktop) */
@media (min-width: 981px) {
  .hero-inner { align-items: start; }
  .hero-right { align-items: flex-start; padding-top: 66px; }
}

/* site value-card: same blue accent treatment as widget */
.value-sec.sites .value-card {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(124,92,255,0.08), var(--surface) 45%);
}

/* BA tags now live INSIDE each pane (clip with their own site) */
.ba-tag { top: 50%; transform: translateY(-50%); z-index: 20; font-size: 11px; padding: 6px 12px; }
.ba-tag-old { left: 16px; right: auto; }
.ba-tag-new { right: 16px; left: auto; }
.mock-old, .mock-new { position: absolute; inset: 0; }

/* livechip moved into hero flow (no longer under the AFTER tag) */
.mn-livechip { position: static; display: inline-flex; margin-bottom: 12px; animation: none; }
.mn-livechip .lc-dot { animation: pdot 1.8s infinite; }

/* CONTACT shader background */
.contact { overflow: hidden; }
.contact-shader { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.9; }
.contact-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(10,10,12,0.55), rgba(10,10,12,0.82) 80%); }
.contact .contact-inner { position: relative; z-index: 2; }

/* ============================================================
   V4: SECTION VARIETY · CONCEPT RIBBON · LIVE FRAMES · DEMO CTA
   ============================================================ */

/* brighter readable paragraphs */
.value-lede, .hero-sub, .sec-lede { color: var(--muted); }

/* section background variety (not all pitch black) */
.examples { background: var(--bg); }
.concepts {
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(124,92,255,0.07), transparent 60%),
    var(--surface);
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.value-sec.sites {
  background:
    radial-gradient(ellipse 60% 60% at 12% 30%, rgba(124,92,255,0.08), transparent 65%),
    var(--bg);
}
.value-sec.widgets {
  background:
    radial-gradient(ellipse 60% 60% at 88% 50%, rgba(124,92,255,0.1), transparent 65%),
    var(--surface);
}
.process { background: var(--bg); }
.pricing {
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(124,92,255,0.07), transparent 60%),
    var(--surface);
  border-top: 1px solid var(--hairline);
}

/* READY PROJECTS grid stays; live iframe base */
.live-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg); }
.live-wrap iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: top left; pointer-events: none; }
.live-wrap .iframe-overlay { opacity: 0; }
.concept-card:hover .iframe-overlay, .work:hover .iframe-overlay { opacity: 1; }

/* CONCEPTS as horizontal ribbon (scales to many) */
.concept-row {
  overflow: hidden;
  padding-bottom: var(--s4); margin: 0 calc(-1 * var(--s6)); padding-left: var(--s6); padding-right: var(--s6);
}
.concept-track { display: flex; gap: var(--s6); width: max-content; will-change: transform; }
.concept-track .concept-card { flex: 0 0 360px; width: 360px; }
/* dragging the ribbon must not select text or ghost-drag images */
.concept-row, .concept-track { user-select: none; -webkit-user-select: none; -ms-user-select: none; }
.concept-track img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
@media (max-width: 520px) { .concept-track .concept-card { flex-basis: 300px; width: 300px; } }
.concept-row { scrollbar-width: none; -ms-overflow-style: none; }
.concept-row::-webkit-scrollbar { display: none; height: 0; width: 0; }
/* always a horizontal ribbon - works for any number of concepts */
.concept-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--s4); }
.concept-card .browser-frame { box-shadow: 0 20px 50px -22px rgba(0,0,0,0.6); transition: transform 0.4s, box-shadow 0.4s; }
.concept-card:hover .browser-frame { transform: translateY(-5px); box-shadow: 0 28px 64px -22px rgba(124,92,255,0.28); }
.cc-meta { display: block; margin-bottom: 6px; }
.cc-title { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.cc-desc { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-bottom: 10px; }
.cc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
html[lang="en"] .cc-title { font-style: italic; }

/* concepts hint */
.concepts-hint { display: flex; align-items: center; gap: 8px; margin-top: var(--s8); color: var(--faint); }
.concepts-hint .ch-arrow { color: var(--accent); }

/* WIDGET DEMO -> CTA under it */
.demo-cta-wrap { text-align: center; margin-top: var(--s12); }
.demo-cta-note { color: var(--muted); font-size: 14px; margin-bottom: var(--s4); }

/* speed highlight stat */
.hstat-num.accent-stat { color: var(--accent-2); }

/* ============================================================
   BEFORE/AFTER — NEW SITE MOCK (modern SaaS landing "Aura")
   ============================================================ */
.mock-new {
  background:
    radial-gradient(900px 380px at 82% -8%, rgba(124,92,255,0.30), transparent 60%),
    radial-gradient(700px 360px at 0% 110%, rgba(99,102,241,0.16), transparent 55%),
    #0a0a10 !important;
  color: #fff; padding: clamp(16px, 2.4vw, 28px) clamp(18px, 3vw, 40px) !important; overflow: hidden;
}
.mn2-glow { position: absolute; top: -30%; right: -10%; width: 60%; height: 80%; background: radial-gradient(circle, rgba(124,92,255,0.22), transparent 70%); filter: blur(20px); pointer-events: none; }
.mn2-nav { display: flex; align-items: center; gap: 18px; position: relative; z-index: 2; }
.mn2-logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(16px, 1.8vw, 21px); letter-spacing: -0.02em; }
.mn2-logo b { color: var(--accent); }
.mn2-links { display: flex; gap: 16px; margin-left: 10px; }
.mn2-links span { font-size: clamp(10px, 1vw, 12.5px); color: rgba(255,255,255,0.62); }
.mn2-cta { margin-left: auto; font-size: clamp(10px, 1vw, 12.5px); font-weight: 600; color: #fff; background: var(--accent); padding: 8px 16px; border-radius: 999px; box-shadow: 0 8px 22px -8px rgba(124,92,255,0.8); white-space: nowrap; }
.mn2-hero { display: grid; grid-template-columns: 1fr 0.92fr; gap: clamp(16px, 2.5vw, 36px); align-items: center; margin-top: clamp(18px, 3vw, 40px); position: relative; z-index: 2; }
.mn2-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: clamp(9px, 0.9vw, 11px); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-2); border: 1px solid rgba(124,92,255,0.35); background: rgba(124,92,255,0.1); padding: 5px 11px; border-radius: 999px; }
.mn2-eb-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2); }
.mock-new h3 {
  font-family: var(--font-body) !important; font-style: normal !important;
  font-weight: 800; font-size: clamp(24px, 3.6vw, 46px); line-height: 1.05;
  letter-spacing: -0.03em; margin: clamp(12px, 1.6vw, 18px) 0 clamp(8px, 1vw, 12px);
}
.mock-new h3 .mn-ac { background: linear-gradient(100deg, #C2B2FF, #7C5CFF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mock-new .mn2-copy p { font-size: clamp(11px, 1.15vw, 14px); color: rgba(255,255,255,0.66); line-height: 1.55; max-width: 92%; margin: 0 0 clamp(14px, 1.8vw, 20px); }
.mn2-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mn2-btn { background: #fff; color: #0a0a10; font-weight: 700; font-size: clamp(11px, 1.1vw, 13px); padding: 10px 18px; border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(255,255,255,0.4); }
.mn2-btn2 { border: 1px solid rgba(255,255,255,0.25); color: #fff; font-weight: 600; font-size: clamp(11px, 1.1vw, 13px); padding: 9px 16px; border-radius: 999px; }
.mn2-logos { display: flex; gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(16px, 2.4vw, 28px); opacity: 0.5; }
.mn2-logos span { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(11px, 1.2vw, 15px); letter-spacing: 0.02em; color: #fff; }

/* glass app card */
.mn2-app { background: linear-gradient(165deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03)); border: 1px solid rgba(255,255,255,0.14); border-radius: 16px; box-shadow: 0 30px 70px -24px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.12); backdrop-filter: blur(8px); overflow: hidden; }
.mn2-app-head { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mn2-app-head .mn2-d { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.mn2-app-head .mn2-d:first-child { background: #ff5f57; } .mn2-app-head .mn2-d:nth-child(2) { background: #febc2e; } .mn2-app-head .mn2-d:nth-child(3) { background: #28c840; }
.mn2-app-head em { margin-left: auto; font-family: var(--font-mono); font-style: normal; font-size: 9px; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); text-transform: uppercase; }
.mn2-app-body { padding: clamp(12px, 1.6vw, 18px); display: flex; flex-direction: column; gap: clamp(10px, 1.4vw, 16px); }
.mn2-kpi { display: flex; flex-direction: column; gap: 2px; }
.mn2-kpi-l { font-size: clamp(9px, 0.95vw, 11px); color: rgba(255,255,255,0.5); }
.mn2-kpi-v { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(20px, 2.6vw, 32px); letter-spacing: -0.02em; }
.mn2-kpi-up { font-size: clamp(9px, 0.95vw, 11px); color: #28c840; font-weight: 600; }
.mn2-chart { display: flex; align-items: flex-end; gap: clamp(5px, 0.8vw, 9px); height: clamp(50px, 8vw, 92px); }
.mn2-chart i { flex: 1; height: var(--h); background: linear-gradient(180deg, #8B7BFF, #7C5CFF); border-radius: 4px 4px 0 0; box-shadow: 0 0 14px -4px rgba(124,92,255,0.8); }
.mn2-chart i:last-child { background: linear-gradient(180deg, #C2B2FF, #8B7BFF); }
.mn2-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(6px, 0.9vw, 10px); }
.mn2-tile { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: clamp(7px, 1vw, 11px); }
.mn2-tile b { display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(13px, 1.5vw, 18px); }
.mn2-tile span { font-size: clamp(8px, 0.85vw, 10px); color: rgba(255,255,255,0.5); }
.mn2-notif { position: absolute; left: clamp(18px, 3vw, 40px); bottom: clamp(14px, 2vw, 22px); z-index: 3; display: inline-flex; align-items: center; gap: 8px; background: rgba(20,20,28,0.85); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(6px); padding: 8px 14px; border-radius: 999px; font-size: clamp(10px, 1vw, 12px); color: #fff; box-shadow: 0 14px 34px -12px rgba(0,0,0,0.7); }
.mn2-notif-dot { width: 7px; height: 7px; border-radius: 50%; background: #28c840; box-shadow: 0 0 10px #28c840; animation: pdot 1.8s infinite; }

@media (max-width: 760px) {
  .mn2-links { display: none; }
  .mn2-hero { grid-template-columns: 1fr; gap: 14px; }
  .mn2-app { display: none; }
  .mn2-logos { display: none; }
}

/* hero stats relocated under the widget animation (right column) */
.hero-right { flex-direction: column; align-items: center; gap: var(--s6); }
.hero-stats-right { width: 100%; max-width: 520px; }
@media (max-width: 980px) {
  /* on mobile: pitch first, then scene + stats */
  .hero-right { order: 0; }
}

/* ============================================================
   PACKAGE / PRICING
   ============================================================ */
.pkg-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s6); margin-top: var(--s12); align-items: stretch; }
.pkg-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: var(--s8); }
.pkg-card-hl {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(124,92,255,0.16), rgba(124,92,255,0.04) 55%), var(--surface);
  border-color: rgba(124,92,255,0.5);
  box-shadow: 0 24px 60px -28px rgba(124,92,255,0.6);
  display: flex; flex-direction: column;
}
.pkg-badge { display: inline-block; align-self: flex-start; background: var(--accent); color: #fff; padding: 5px 12px; border-radius: var(--radius-pill); font-size: 10px; margin-bottom: var(--s4); }
.pkg-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px,3vw,32px); letter-spacing: -0.02em; }
.pkg-desc { color: var(--muted); font-size: 14px; margin-top: 4px; }
.pkg-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: var(--s6) 0; padding-bottom: var(--s6); border-bottom: 1px solid var(--hairline); }
.pkg-price b { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--text); letter-spacing: -0.01em; }
.pkg-pf { color: var(--faint); }
.pkg-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 0 0 var(--s8); flex: 1; }
.pkg-list li { position: relative; padding-left: 26px; font-size: 14px; color: var(--text); }
.pkg-list li::before { content: '✓'; position: absolute; left: 0; top: -1px; color: var(--accent); font-weight: 700; }
.pkg-list li.pkg-accent { color: var(--accent-2); font-weight: 600; }
.pkg-list li.pkg-accent::before { content: '★'; }

.pkg-side { display: flex; flex-direction: column; gap: var(--s4); }
.pkg-or { color: var(--faint); text-align: center; }
.pkg-card-sm { padding: var(--s6); display: flex; flex-direction: column; gap: var(--s3); }
.pkg-name-sm { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.pkg-price-sm { display: flex; align-items: baseline; gap: 8px; }
.pkg-price-sm b { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.pkg-unit { color: var(--faint); }
.pkg-note { font-size: 13px; color: var(--muted); line-height: 1.5; }
.pkg-tiers { display: flex; flex-direction: column; gap: 8px; }
.pkg-tier { border: 1px solid var(--hairline); border-radius: var(--radius); padding: 10px 12px; }
.pkg-tier-hl { border-color: rgba(124,92,255,0.45); background: rgba(124,92,255,0.06); }
.pt-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pt-name { font-weight: 700; font-size: 14px; }
.pt-price { font-family: var(--font-mono); font-size: 12px; color: var(--accent-2); }
.pt-note { display: block; font-size: 12px; color: var(--faint); margin-top: 4px; }
.pkg-card-sm .btn { margin-top: auto; }
.pkg-foot { text-align: center; color: var(--faint); margin-top: var(--s8); letter-spacing: 0.04em; }

@media (max-width: 860px) {
  .pkg-grid { grid-template-columns: 1fr; }
}
.package-sec { background: radial-gradient(ellipse 80% 45% at 50% 0%, rgba(124,92,255,0.08), transparent 60%), var(--surface); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }

/* merged value section: why-site + why-widget in two columns */
.value-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); margin-top: var(--s12); }
.value-col { padding: var(--s8); border: 1px solid var(--hairline); border-radius: var(--radius-lg); background: var(--surface); }
.vcol-tag { display: inline-block; color: var(--faint); margin-bottom: var(--s3); }
.vcol-tag-accent { color: var(--accent-2); }
.vcol-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(21px,2.4vw,28px); letter-spacing: -0.02em; margin-bottom: var(--s3); }
.vcol-lede { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-bottom: var(--s6); }
.value-merged-cta { text-align: center; margin-top: var(--s12); }
@media (max-width: 760px) { .value-duo { grid-template-columns: 1fr; gap: var(--s4); } }

/* "разбор" link on project cards */
.cc-case-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-2); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.cc-case-link:hover { border-color: var(--accent-2); }

/* ============================================================
   CASE STUDY PAGE
   ============================================================ */
:root { --case-accent: var(--accent); }
.case-back { margin-left: auto; color: var(--muted); text-decoration: none; transition: color .2s; }
.case-back:hover { color: var(--text); }
.case-hero { padding: calc(var(--s24) + 40px) 0 var(--s16); position: relative; }
.case-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% -10%, color-mix(in srgb, var(--case-accent) 22%, transparent), transparent 60%); pointer-events: none; z-index: -1; }
.case-badge { display: inline-block; background: color-mix(in srgb, var(--case-accent) 22%, transparent); color: var(--text); border: 1px solid color-mix(in srgb, var(--case-accent) 50%, transparent); padding: 5px 12px; border-radius: var(--radius-pill); font-size: 10px; margin-bottom: var(--s4); }
.case-tag { color: var(--faint); margin-bottom: var(--s3); }
.case-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 8vw, 92px); letter-spacing: -0.03em; line-height: 0.98; margin-bottom: var(--s6); }
.case-lead { font-size: clamp(17px, 2vw, 21px); color: var(--muted); line-height: 1.6; max-width: 680px; margin-bottom: var(--s8); }
.case-hero-cta { display: flex; flex-wrap: wrap; gap: var(--s4); margin-bottom: var(--s8); }
.case-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.case-body { padding: var(--s12) 0 var(--s24); }
.case-section-label { color: var(--case-accent); margin-bottom: var(--s3); }
.case-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.02em; margin-bottom: var(--s12); }
.case-steps { display: flex; flex-direction: column; gap: var(--s8); max-width: 820px; }
.case-step { display: grid; grid-template-columns: 64px 1fr; gap: var(--s6); align-items: start; padding-bottom: var(--s8); border-bottom: 1px solid var(--hairline); }
.case-step:last-child { border-bottom: none; }
.case-step-num { font-size: 28px; font-weight: 700; color: var(--case-accent); padding-top: 2px; }
.case-step-body h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 2.4vw, 24px); margin-bottom: 10px; letter-spacing: -0.01em; }
.case-step-body p { color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.case-result { margin: var(--s16) 0; padding: var(--s8); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--case-accent) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--case-accent) 30%, transparent); max-width: 820px; }
.case-result-label { color: var(--case-accent); margin-bottom: var(--s3); }
.case-result p { font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2.4vw, 26px); line-height: 1.35; letter-spacing: -0.01em; }
.case-foot { margin-top: var(--s16); text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s4); }
.case-foot h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 32px); letter-spacing: -0.02em; }
.case-back-link { color: var(--faint); text-decoration: none; margin-top: var(--s2); }
.case-back-link:hover { color: var(--text); }
.case-404 { padding: 160px 0; text-align: center; }
.case-404 h1 { font-family: var(--font-display); font-size: 40px; margin-bottom: var(--s4); }
.case-404 p { color: var(--muted); margin-bottom: var(--s6); }
@media (max-width: 600px) {
  .case-step { grid-template-columns: 1fr; gap: var(--s3); }
  .case-step-num { font-size: 22px; }
}
