/* ================= Tokens ================= */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --soft: #eef1f8;
  --ink: #0b1020;
  --ink-2: #1c2338;
  --muted: #5d667c;
  --line: #e2e6ef;

  --primary: #3b5bff;
  --primary-2: #2a44e0;
  --cyan: #1fb6e8;
  --violet: #7a5cff;
  --green: #16b67a;
  --grad: linear-gradient(100deg, #3b5bff 0%, #6a5cff 45%, #1fb6e8 100%);

  --dark: #0a0f1f;
  --dark-2: #121933;
  --dark-line: rgba(255, 255, 255, .1);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 16, 32, .04), 0 2px 8px rgba(11, 16, 32, .04);
  --shadow: 0 1px 2px rgba(11, 16, 32, .04), 0 12px 32px -8px rgba(11, 16, 32, .12);
  --shadow-lg: 0 30px 80px -20px rgba(27, 39, 94, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.025em; font-weight: 700; }
p { margin: 0; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ================= Buttons ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 15px/1 var(--font); padding: 15px 24px; border-radius: 12px; border: 0; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn span[aria-hidden] { transition: transform .25s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(3px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 24px -8px rgba(59, 91, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn--primary:hover { background: var(--primary-2); transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(59, 91, 255, .8); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #222a44; transform: translateY(-1px); }
.btn--ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px #c9cfdd, var(--shadow); transform: translateY(-1px); }
.btn--sm { padding: 11px 16px; font-size: 14px; border-radius: 10px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.link { font-weight: 600; color: var(--primary); }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px/1 var(--font); color: var(--primary); text-transform: uppercase; letter-spacing: .1em;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: #8ea2ff; }

.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font: 500 12.5px/1 var(--font); padding: 7px 10px; border-radius: 8px; background: var(--soft); color: var(--ink-2); }

.badge { font: 600 12px/1 var(--font); padding: 6px 10px; border-radius: 999px; background: rgba(59, 91, 255, .1); color: var(--primary); }

/* ================= Nav ================= */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .3s, box-shadow .3s; }
.nav.is-scrolled { background: rgba(246, 247, 251, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { height: 76px; display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.logo__mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none;
  background: var(--ink); color: #fff; font: 800 14px/1 var(--font); letter-spacing: -.02em; position: relative; overflow: hidden;
}
.logo__mark::after { content: ""; position: absolute; width: 10px; height: 10px; right: 5px; bottom: 5px; border-radius: 3px; background: var(--grad); }
.logo__text { display: flex; flex-direction: column; font: 700 16px/1.15 var(--font); letter-spacing: -.02em; }
.logo__text small { font: 500 12px/1.2 var(--font); color: var(--muted); letter-spacing: 0; }
.nav__links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__mobile-cta { display: none; }
.nav__toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); position: relative; cursor: pointer; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 24px; }
.nav.is-open .nav__toggle span:first-child { top: 20px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 20px; transform: rotate(-45deg); }

/* ================= Hero ================= */
.hero { position: relative; padding: 150px 0 40px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob--1 { width: 520px; height: 520px; background: #c7d1ff; top: -160px; right: 4%; animation: float 16s ease-in-out infinite; }
.blob--2 { width: 420px; height: 420px; background: #bdeeff; top: 160px; right: -120px; animation: float 20s ease-in-out infinite reverse; }
.blob--3 { width: 360px; height: 360px; background: #e2d9ff; top: 40px; left: -140px; opacity: .45; animation: float 18s ease-in-out infinite; }
@keyframes float { 50% { transform: translate(30px, 40px) scale(1.06); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(11, 16, 32, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 16, 32, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  font: 600 13.5px/1 var(--font); color: var(--ink-2);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22, 182, 122, .15); animation: blink 2.2s infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 7px rgba(22, 182, 122, .05); } }
.hero__title { font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; margin: 24px 0 22px; }
.hero__lead { font-size: 18.5px; color: var(--muted); max-width: 560px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero__trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.hero__trust li { display: flex; align-items: center; gap: 7px; }
.hero__trust svg { width: 18px; height: 18px; fill: none; stroke: var(--primary); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; padding: 2px; border-radius: 50%; background: rgba(59, 91, 255, .12); }

/* Hero visual */
.hero__visual { position: relative; height: 470px; }
.device { background: var(--surface); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(11, 16, 32, .06); }
.device--browser { position: absolute; left: 0; right: 40px; top: 20px; border-radius: 14px; overflow: hidden; }
.device--static { position: relative; inset: auto; }
.device__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f3f5fa; border-bottom: 1px solid var(--line); }
.device__bar i { width: 10px; height: 10px; border-radius: 50%; background: #dde1ea; }
.device__bar i:nth-child(1) { background: #ff6b6b; } .device__bar i:nth-child(2) { background: #ffc145; } .device__bar i:nth-child(3) { background: #3ccf8e; }
.device__bar span { margin-left: 12px; flex: 1; max-width: 260px; font: 400 11.5px/1 var(--mono); color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 6px 10px; border-radius: 7px; }
.dash { display: grid; grid-template-columns: 54px 1fr; height: 330px; }
.dash__side { background: var(--dark); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; }
.dash__side b { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); margin-bottom: 8px; }
.dash__side span { width: 22px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.dash__side span.on { background: #fff; }
.dash__main { padding: 18px; display: flex; flex-direction: column; gap: 14px; background: #fbfcfe; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash__kpis div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.dash__kpis small { font-size: 10.5px; color: var(--muted); }
.dash__kpis strong { font-size: 18px; letter-spacing: -.03em; }
.dash__kpis em { font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--green); }
.dash__chart { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 0 0; overflow: hidden; }
.dash__chart svg { width: 100%; height: 100%; display: block; }
.dash__rows { display: grid; gap: 7px; }
.dash__rows span { height: 9px; border-radius: 5px; background: var(--soft); }
.dash__rows span:nth-child(2) { width: 78%; } .dash__rows span:nth-child(3) { width: 56%; }

.device--phone { position: absolute; right: 0; bottom: 0; width: 196px; height: 392px; border-radius: 34px; padding: 10px; background: var(--dark); box-shadow: var(--shadow-lg); }
.phone__notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 64px; height: 18px; border-radius: 12px; background: #000; z-index: 2; }
.phone__screen { height: 100%; border-radius: 26px; background: #f4f6fc; padding: 44px 12px 12px; display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; }
.ph__head small { display: block; font-size: 10px; color: var(--muted); }
.ph__head b { font-size: 14px; letter-spacing: -.02em; }
.ph__card { background: #fff; border-radius: 12px; padding: 10px 12px; display: grid; grid-template-columns: auto 1fr; gap: 0 10px; box-shadow: var(--shadow-sm); }
.ph__card small { grid-row: span 2; font: 500 10px/1.4 var(--mono); color: var(--muted); }
.ph__card b { font-size: 12px; }
.ph__card span { font-size: 10.5px; color: var(--muted); }
.ph__card--accent { background: var(--grad); color: #fff; }
.ph__card--accent small, .ph__card--accent span { color: rgba(255, 255, 255, .8); }
.ph__tab { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-around; background: #fff; border-radius: 14px; padding: 11px; box-shadow: var(--shadow-sm); }
.ph__tab i { width: 16px; height: 16px; border-radius: 5px; background: var(--soft); }
.ph__tab i.on { background: var(--primary); }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-radius: 14px; box-shadow: var(--shadow), 0 0 0 1px rgba(11, 16, 32, .05);
  animation: bob 6s ease-in-out infinite;
}
.float-chip b { display: block; font-size: 13.5px; line-height: 1.2; }
.float-chip small { font-size: 11.5px; color: var(--muted); }
.float-chip--1 { left: -26px; bottom: 70px; }
.float-chip--2 { right: 150px; top: -6px; animation-delay: -3s; }
.chip-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(59, 91, 255, .12); font-size: 16px; }
.chip-ico--green { background: rgba(22, 182, 122, .14); color: var(--green); font-weight: 800; }
@keyframes bob { 50% { transform: translateY(-8px); } }

.stack { margin-top: 70px; padding: 26px 0 10px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 32px; }
.stack__label { font-size: 13.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.stack__list { display: flex; flex-wrap: wrap; gap: 10px 30px; font-size: 16px; font-weight: 700; color: #9aa2b6; letter-spacing: -.01em; }

/* ================= Sections ================= */
.section { padding: 110px 0; }
.section--tight { padding: 0 0 20px; }
.section--soft { background: linear-gradient(180deg, var(--soft), var(--bg)); }
.section__head { max-width: 680px; margin-bottom: 52px; display: flex; flex-direction: column; gap: 14px; }
.section__head h2, .about__content h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; letter-spacing: -.035em; }
.section__head p { color: var(--muted); font-size: 17.5px; }
.section__head--row { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section__head--row > div { display: flex; flex-direction: column; gap: 14px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; overflow: hidden; background: var(--surface); border-radius: var(--r-lg); padding: 30px;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); display: flex; flex-direction: column; gap: 12px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #d3d9e6, var(--shadow); }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .tags { margin-top: auto; padding-top: 8px; }
.card__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(59, 91, 255, .1); margin-bottom: 8px; }
.card__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card--xl { grid-column: span 2; padding-right: 46%; min-height: 300px; }
.card--xl .tags { margin-top: auto; }
.card__art--web { position: absolute; right: -20px; top: 34px; bottom: -20px; width: 42%; border-radius: 16px 0 0 0; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); padding: 40px 20px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.card__art--web::before { content: ""; position: absolute; left: 16px; top: 15px; width: 50px; height: 9px; border-radius: 5px; background: #d5dbea; }
.card__art--web span { height: 62px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm); }
.card__art--web span:first-child { grid-column: span 2; height: 90px; background: var(--grad); opacity: .9; }
.card--tall { grid-row: span 3; }
.card--tall .mini-phone { margin-top: auto; }
.card--dark { background: var(--dark); color: #fff; box-shadow: none; }
.card--dark:hover { box-shadow: var(--shadow-lg); }
.card--dark p { color: #a7b0c8; }
.card--dark .card__icon { background: rgba(255, 255, 255, .08); }
.card--dark .card__icon svg { stroke: #8ea2ff; }
.card--dark .tags li { background: rgba(255, 255, 255, .08); color: #dfe4f3; }
.card--dark .tags { margin-top: 4px; }
.mini-phone { margin: 26px auto -60px; width: 170px; height: 260px; border-radius: 28px; background: var(--dark-2); border: 6px solid #232b47; padding: 26px 12px; display: flex; flex-direction: column; gap: 9px; flex: none; }
.mini-phone span { height: 46px; border-radius: 10px; background: rgba(255, 255, 255, .07); }
.mini-phone span:first-child { background: var(--grad); height: 70px; }

/* Solutions */
.solutions { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; background: var(--dark); color: #fff; border-radius: 28px; padding: 48px; position: relative; overflow: hidden; }
.solutions::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: #3b5bff; filter: blur(120px); opacity: .35; left: -160px; top: -200px; pointer-events: none; }
.solutions__head { position: relative; display: flex; flex-direction: column; gap: 14px; }
.solutions__head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; }
.solutions__head p { color: #a7b0c8; }
.solutions__head .eyebrow { color: #8ea2ff; }
.solutions__list { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.solutions__list li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--dark-line); font-size: 15px; font-weight: 500; transition: background .2s, border-color .2s; }
.solutions__list li:hover { background: rgba(255, 255, 255, .09); border-color: rgba(142, 162, 255, .4); }
.solutions__list span { width: 32px; height: 32px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); font-size: 16px; }
.section--why { padding-top: 18px; padding-bottom: 20px; }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.why__item { padding: 28px; }
.why__item + .why__item { border-left: 1px solid var(--line); }
.why__item strong { display: block; font-size: 16.5px; margin-bottom: 6px; }
.why__item p { font-size: 14.5px; color: var(--muted); }

/* Feature project */
.feature {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center;
  background: var(--surface); border-radius: 28px; padding: 44px; box-shadow: 0 0 0 1px var(--line), var(--shadow);
}
.feature__meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); font-weight: 500; }
.feature__info { display: flex; flex-direction: column; gap: 18px; }
.feature__info h3 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.035em; }
.feature__info > p { color: var(--muted); }
.feature__facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.feature__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.feature__facts dt { color: var(--muted); }
.feature__facts dd { margin: 0; font-weight: 600; text-align: right; }
.feature__links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.feature__visual { display: block; padding: 34px 34px 0; border-radius: 20px; background: radial-gradient(circle at 20% 0%, #4b6bff, #1c2a8f 70%); overflow: hidden; align-self: stretch; display: flex; align-items: flex-end; }
.feature__visual .device { width: 100%; border-radius: 12px 12px 0 0; transform: translateY(6px); transition: transform .5s var(--ease); }
.feature__visual:hover .device { transform: translateY(-6px); }
.mock-site { padding: 16px 18px 22px; }
.ms__nav { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); }
.ms__nav b { color: #0b3d91; font-size: 13px; }
.ms__hero { margin: 18px 0 14px; padding: 22px; border-radius: 10px; background: linear-gradient(135deg, #0b3d91, #1565c0); color: #fff; }
.ms__hero small { font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.ms__hero strong { display: block; font-size: 20px; line-height: 1.15; margin: 8px 0 14px; }
.ms__btns { display: flex; gap: 8px; }
.ms__btns span { font-size: 11px; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: #ffb300; color: #1a1a1a; }
.ms__btns span + span { background: #25d366; color: #fff; }
.ms__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ms__cards span { height: 44px; border-radius: 8px; background: #eef2f7; }

.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.pcard { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #d3d9e6, var(--shadow); }
.pcard__thumb { height: 190px; display: grid; place-items: center; position: relative; overflow: hidden; }
.pcard__thumb--mobile { background: linear-gradient(135deg, #e7ebff, #d9f3ff); }
.pcard__thumb--web { background: linear-gradient(135deg, #efe9ff, #e7ebff); }
.pcard__thumb--api { background: var(--dark); }
.pcard__thumb code { font: 500 18px/1 var(--mono); color: #8ea2ff; }
.pt-phone { width: 92px; height: 170px; border-radius: 18px; background: #fff; border: 5px solid var(--ink); margin-top: 50px; padding: 16px 8px; display: flex; flex-direction: column; gap: 6px; transition: transform .5s var(--ease); }
.pt-phone span { height: 24px; border-radius: 6px; background: var(--soft); }
.pt-phone span:first-child { background: var(--grad); height: 40px; }
.pt-win { width: 74%; height: 130px; margin-top: 60px; border-radius: 10px 10px 0 0; background: #fff; box-shadow: var(--shadow); padding: 26px 12px 12px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; position: relative; transition: transform .5s var(--ease); }
.pt-win i { position: absolute; top: 10px; left: 12px; width: 30px; height: 6px; border-radius: 3px; background: #d5dbea; }
.pt-win span { border-radius: 6px; background: var(--soft); }
.pt-win span:first-child { background: var(--grad); }
.pcard:hover .pt-phone, .pcard:hover .pt-win { transform: translateY(-8px); }
.pcard__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard__body h3 { font-size: 19px; }
.pcard__body p { color: var(--muted); font-size: 15px; }
.pcard__body .tags { margin-top: auto; padding-top: 6px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps li { position: relative; background: var(--surface); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.steps__no { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; font: 600 14px/1 var(--mono); margin-bottom: 10px; }
.steps li:first-child .steps__no { background: var(--primary); }
.steps h3 { font-size: 18px; }
.steps p { color: var(--muted); font-size: 15px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 49px; right: -18px; width: 18px; height: 2px; background: repeating-linear-gradient(90deg, #b8c2dc 0 4px, transparent 4px 8px); }

/* About */
.about { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; }
.about__card { position: sticky; top: 110px; background: var(--surface); border-radius: 28px; padding: 32px; box-shadow: 0 0 0 1px var(--line), var(--shadow); text-align: center; }
.avatar { width: 108px; height: 108px; border-radius: 30px; margin: 0 auto 18px; display: grid; place-items: center; background: var(--grad); color: #fff; font: 800 34px/1 var(--font); letter-spacing: -.03em; box-shadow: 0 16px 40px -12px rgba(59, 91, 255, .6); }
.about__card h3 { font-size: 22px; }
.about__role { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.about__facts { list-style: none; padding: 0; margin: 22px 0; text-align: left; border-top: 1px solid var(--line); }
.about__facts li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.about__facts span { color: var(--muted); }
.about__content { display: flex; flex-direction: column; gap: 18px; }
.about__content > p { color: var(--muted); font-size: 17px; }
.about__content strong { color: var(--ink); }
.skills { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 12px 0; }
.skills > div { background: var(--surface); border-radius: var(--r); padding: 20px; box-shadow: 0 0 0 1px var(--line); }
.skills h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin-bottom: 6px; }
.skills p { font-size: 15px; color: var(--ink-2); }
.timeline { list-style: none; padding: 0; margin: 8px 0 0; position: relative; }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 18px 0 18px; border-top: 1px solid var(--line); }
.timeline li > span { font: 500 13px/1.6 var(--mono); color: var(--muted); }
.timeline h4 { font-size: 16.5px; margin-bottom: 3px; }
.timeline p { font-size: 15px; color: var(--muted); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 0 0 1px #cdd4e4, var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 7px; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b5bff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); font-size: 15.5px; }

/* ================= Contact ================= */
.contact { position: relative; background: var(--dark); color: #fff; padding: 110px 0; overflow: hidden; }
.contact__bg .blob { opacity: .35; filter: blur(90px); }
.contact__bg .blob--1 { background: #3b5bff; top: -200px; left: -100px; right: auto; }
.contact__bg .blob--2 { background: #1fb6e8; top: auto; bottom: -220px; right: -100px; opacity: .22; }
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contact__copy { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 110px; }
.contact__copy h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; letter-spacing: -.04em; }
.contact__copy > p { color: #a7b0c8; font-size: 17.5px; }
.contact__list { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--dark-line); }
.contact__list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--dark-line); font-size: 15px; }
.contact__list span { color: #8590ad; }
.contact__list b { font-weight: 600; }
.contact__list a { font-weight: 600; overflow-wrap: anywhere; text-align: right; }
.contact__list a:hover { color: #8ea2ff; }

.form { background: #fff; color: var(--ink); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 0; margin-bottom: 0; }
.field legend { margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 15.5px/1.4 var(--font); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa2b6; font-weight: 400; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(59, 91, 255, .14); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d667c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all .2s; }
.chips label:hover span { border-color: #c4cbe0; }
.chips input:checked + span { background: rgba(59, 91, 255, .1); border-color: var(--primary); color: var(--primary); }
.chips input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--primary); flex: none; }
.consent.is-invalid span { color: #e5484d; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form__status { font-size: 14.5px; font-weight: 600; min-height: 1px; text-align: center; }
.form__status:empty { display: none; }
.form__status.is-success { color: var(--green); background: rgba(22, 182, 122, .1); padding: 12px; border-radius: 10px; }
.form__status.is-error { color: #d13438; background: rgba(229, 72, 77, .08); padding: 12px; border-radius: 10px; }

/* Footer */
.footer { background: var(--dark); color: #8590ad; font-size: 14px; padding: 28px 0 34px; border-top: 1px solid var(--dark-line); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer .logo__mark { background: #1a2240; width: 32px; height: 32px; font-size: 12px; border-radius: 9px; }
.footer__links { display: flex; gap: 22px; }
.footer__links a:hover { color: #fff; }

/* ================= Reveal ================= */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ================= Responsive ================= */
@media (max-width: 1080px) {
  .solutions { grid-template-columns: 1fr; gap: 28px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 640px; width: 100%; margin: 0 auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--xl { grid-column: span 2; }
  .card--tall { grid-row: span 1; }
  .card--dark { grid-column: span 2; }
  .card--dark .mini-phone { display: none; }
  .why { grid-template-columns: 1fr 1fr; }
  .why__item:nth-child(3) { border-left: 0; }
  .why__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .feature { grid-template-columns: 1fr; padding: 28px; }
  .projects { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  .about, .faq-wrap, .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__card, .contact__copy { position: static; }
  .about__card { max-width: 420px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav__inner { height: 68px; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(246, 247, 251, .98); backdrop-filter: blur(14px); padding: 8px 16px 20px; box-shadow: 0 20px 40px -20px rgba(11, 16, 32, .25);
    font-size: 18px; color: var(--ink);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease);
  }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__mobile-cta { display: block; margin-top: 14px; text-align: center; border: 0 !important; background: var(--primary); color: #fff; border-radius: 12px; }
  .nav.is-open { background: rgba(246, 247, 251, .98); }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; transform: none; }
  .hero { padding: 116px 0 20px; }
  .hero__lead { font-size: 17px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__visual { height: 340px; }
  .device--browser { right: 0; }
  .dash { height: 240px; grid-template-columns: 40px 1fr; }
  .dash__kpis div:nth-child(3) { display: none; }
  .dash__kpis { grid-template-columns: 1fr 1fr; }
  .dash__main { padding: 12px; }
  .device--phone { width: 136px; height: 272px; border-radius: 26px; padding: 7px; right: -6px; }
  .phone__screen { border-radius: 20px; padding: 34px 8px 8px; gap: 6px; }
  .phone__notch { top: 12px; width: 46px; height: 14px; }
  .ph__card:nth-child(n+3) { display: none; }
  .float-chip--1 { left: 0; bottom: 18px; }
  .float-chip--2 { display: none; }
  .stack { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 44px; }
  .stack__list { gap: 8px 18px; font-size: 15px; }
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 36px; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .bento, .projects, .steps, .skills, .form__row { grid-template-columns: 1fr; }
  .card--xl, .card--dark { grid-column: auto; }
  .card--xl { padding-right: 30px; min-height: 0; }
  .card__art--web { display: none; }
  .card { padding: 24px; }
  .why { grid-template-columns: 1fr; }
  .solutions { padding: 26px 18px; border-radius: 22px; }
  .solutions__list { grid-template-columns: 1fr; }
  .why__item + .why__item { border-left: 0; border-top: 1px solid var(--line); }
  .feature { padding: 20px; gap: 28px; border-radius: 22px; }
  .feature__visual { padding: 20px 16px 0; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .about__card { max-width: none; }
  .contact { padding: 80px 0; }
  .form { padding: 22px; border-radius: 22px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
