:root {
  --bg: #f7f8fc;
  --bg-alt: #eef1f8;
  --surface: #ffffff;
  --border: #e2e6ef;
  --ink: #0b1220;
  --muted: #5a6478;
  --brand: #4f46e5;
  --brand-2: #06b6d4;
  --grad: linear-gradient(120deg, var(--brand), var(--brand-2));
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 24px 48px rgba(79, 70, 229, .14);
  --radius: 18px;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--brand); color: #fff; padding: 8px 12px; border-radius: 8px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  transition: background .3s, box-shadow .3s;
}
.top.is-scrolled { background: rgba(255, 255, 255, .8); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--border); }
.top__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 6px 16px rgba(79, 70, 229, .3); transition: transform .4s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__m { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 1.2s var(--ease) .2s forwards; }
.brand__dot { fill: #fff; transform-origin: 31px 11px; animation: pulse 2.4s ease-in-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 50% { transform: scale(.6); opacity: .6; } }
.brand__word { font-size: 22px; font-weight: 800; letter-spacing: -.045em; line-height: 1; color: var(--ink); }
.brand__word span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { position: relative; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; transition: color .2s; }
.nav > a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav__cta { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #fff !important; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s; }
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11, 18, 32, .25); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -72px; padding: 160px 0 96px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

/* Code window */
.code { border-radius: 18px; background: #0f172a; color: #cbd5e1; box-shadow: 0 30px 60px rgba(15, 23, 42, .25), 0 0 0 1px rgba(255, 255, 255, .06) inset; overflow: hidden; transform: perspective(1200px) rotateY(-8deg) rotateX(4deg); transition: transform .6s var(--ease); animation: bob 7s ease-in-out infinite; }
.code:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
@keyframes bob { 50% { translate: 0 -10px; } }
.code__bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.code__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ef4444; }
.code__bar i:nth-child(2) { background: #f59e0b; }
.code__bar i:nth-child(3) { background: #10b981; }
.code__bar span { margin-left: 10px; font: 500 12px/1 "JetBrains Mono", monospace; color: #64748b; }
.code pre { margin: 0; padding: 22px 22px 26px; font: 500 13.5px/1.75 "JetBrains Mono", monospace; overflow-x: auto; }
.code .k { color: #c084fc; } .code .f { color: #38bdf8; } .code .s { color: #34d399; } .code .c { color: #64748b; }
.caret { display: inline-block; width: 8px; height: 16px; margin-left: 4px; vertical-align: -3px; background: #38bdf8; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__glow {
  position: absolute; z-index: -2; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle at 30% 30%, rgba(79, 70, 229, .18), transparent 60%), radial-gradient(circle at 70% 60%, rgba(6, 182, 212, .16), transparent 60%);
  filter: blur(20px); animation: float 14s ease-in-out infinite alternate;
}
@keyframes float { to { transform: translate(-8%, 10%) scale(1.08); } }

.pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 7px 14px;
  border: 1px solid var(--border); border-radius: 999px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(8px);
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.pill__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #10b981; }
.pill__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #10b981; animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { to { transform: scale(2.6); opacity: 0; } }

h1 { margin: 0; max-width: 16ch; font-size: clamp(40px, 6.6vw, 76px); line-height: 1.04; letter-spacing: -.04em; font-weight: 800; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.lead { max-width: 58ch; margin: 24px 0 0; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 24px;
  border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15.5px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(79, 70, 229, .3); }
.btn--primary:hover { box-shadow: 0 14px 32px rgba(79, 70, 229, .4); }
.btn--primary span { transition: transform .25s var(--ease); }
.btn--primary:hover span { transform: translateX(4px); }
.btn--ghost { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.btn--white { background: #fff; color: var(--ink); }
.btn--outline { border: 1px solid rgba(255, 255, 255, .45); color: #fff; }
.btn--outline:hover { background: rgba(255, 255, 255, .12); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 72px 0 0; padding: 0; list-style: none; }
.stats li { display: flex; flex-direction: column; padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255, 255, 255, .75); backdrop-filter: blur(8px); box-shadow: var(--shadow); }
.stats strong { font-size: 36px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; letter-spacing: -.03em; }
.stats span { color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding: 112px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 640px; margin-bottom: 56px; }
.kicker { margin: 0 0 12px; font: 500 13px/1 "JetBrains Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.kicker--light { color: rgba(255, 255, 255, .8); }
h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; }
.section__lead { margin: 16px 0 0; color: var(--muted); font-size: 18px; }

.grid, .work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  display: block; text-decoration: none; color: inherit;
  position: relative; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.card__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(79, 70, 229, .12), rgba(6, 182, 212, .12));
  transition: transform .35s var(--ease);
}
.card:hover .card__icon { transform: rotate(-6deg) scale(1.06); }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 22px 0 10px; font-size: 20px; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.work__item {
  padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.work__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.work__top h3 { margin: 0; font-size: 19px; letter-spacing: -.02em; }
.work__item p { margin: 14px 0 18px; color: var(--muted); font-size: 15.5px; }
.badge { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #f1f5f9; color: var(--muted); white-space: nowrap; }
.badge--live { background: #ecfdf5; color: #047857; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 4px 10px; border-radius: 8px; background: var(--bg-alt); font-size: 13px; font-weight: 600; color: var(--muted); }

.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  padding: 16px 28px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  font-size: 18px; font-weight: 700; letter-spacing: -.01em; box-shadow: var(--shadow); white-space: nowrap;
}
.marquee + .marquee { margin-top: 16px; }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 38s; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

.contact {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  padding: 64px; border-radius: 28px; color: #fff; background: var(--grad); box-shadow: 0 30px 60px rgba(79, 70, 229, .25);
}
.contact::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); animation: float 10s ease-in-out infinite alternate;
}
.contact h2 { color: #fff; }
.contact__text p:last-child { margin: 16px 0 0; color: rgba(255, 255, 255, .85); font-size: 18px; }
.contact__links { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.contact__links .btn { justify-content: center; }
.contact__phone { display: inline-block; margin-top: 24px; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.02em; color: #fff; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, .4); transition: border-color .25s; }
.contact__phone:hover { border-color: #fff; }


/* Floating call button (mobile) */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: none; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--grad); box-shadow: 0 12px 28px rgba(79, 70, 229, .4); }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s var(--ease) infinite; z-index: -1; }
.fab svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.foot { padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
.foot__inner { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--border); padding-top: 28px; }
.foot a { text-decoration: none; font-weight: 600; }
.foot a:hover { color: var(--brand); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .code { transform: none; }
  .stats, .grid, .work { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; padding: 40px 28px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .fab { display: grid; }
  .hero { padding: 120px 0 72px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stats li { padding: 16px; }
  .section { padding: 80px 0; }
  .stats strong { font-size: 28px; }
  .grid, .work { grid-template-columns: 1fr; }
}

/* ---------- Scroll effects ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 40; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

.nav a.is-active { color: var(--ink); }
.nav a.is-active::after { transform: scaleX(1); }

.rotator { margin: 18px 0 0; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: -.02em; color: var(--muted); }
.rotator__word { display: inline-block; color: var(--ink); border-bottom: 3px solid var(--brand-2); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.rotator__word.is-out { opacity: 0; transform: translateY(-12px); }

[data-parallax] { will-change: translate; }

/* Code window: lines appear one by one */
.code .ln { display: inline; opacity: 0; transition: opacity .4s var(--ease); }
.code .ln.is-on { opacity: 1; }

/* Mouse-follow spotlight + tilt */
.card, .work__item, .case, .plan, .channel, .feature { --mx: 50%; --my: 50%; }
.card::after, .work__item::after, .case::after, .plan::after, .channel::after, .feature::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(79, 70, 229, .10), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.work__item { position: relative; }
.card:hover::after, .work__item:hover::after, .case:hover::after, .plan:hover::after, .channel:hover::after, .feature:hover::after { opacity: 1; }
.tilt { transition: transform .15s linear, box-shadow .35s var(--ease) !important; }

/* Statement band: words light up while scrolling */
.statement { padding: 140px 0; }
.statement__text { margin: 0; max-width: 22ch; font-size: clamp(34px, 5.6vw, 72px); line-height: 1.08; font-weight: 800; letter-spacing: -.04em; }
.statement__text .w { color: var(--ink); opacity: .12; transition: opacity .25s linear; }
.statement__text .w.is-lit { opacity: 1; }
.statement__text .w.is-accent.is-lit { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Back to top with progress ring */
.totop { position: fixed; right: 24px; bottom: 24px; z-index: 30; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { transform: translateY(-3px); }
.totop svg { width: 54px; height: 54px; }
.totop circle { fill: none; stroke-width: 3; }
.totop__track { stroke: var(--border); }
.totop__ring { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 132; stroke-dashoffset: 132; transform: rotate(-90deg); transform-origin: center; }
.totop path { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 960px) {
  .statement { padding: 96px 0; }
}
@media (max-width: 640px) {
  .totop { display: none; }
}

/* ---------- Multi-page components ---------- */
.nav > a.is-active { color: var(--ink); }
.nav > a.is-active::after { transform: scaleX(1); }

/* Language switch */
.lang { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font: 700 12.5px/1 "Plus Jakarta Sans", sans-serif; }
.lang__on, .lang a { padding: 6px 10px; border-radius: 999px; letter-spacing: .04em; }
.lang__on { background: var(--ink); color: #fff; }
.lang a { color: var(--muted); text-decoration: none; transition: color .2s, background .2s; }
.lang a:hover { color: var(--ink); background: var(--bg-alt); }

/* Mobile menu button */
.menu-btn { display: none; position: relative; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 20.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 20.5px; transform: rotate(-45deg); }

/* Page hero (inner pages) */
.page-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -72px; padding: 168px 0 72px; }
.page-hero .hero__glow { inset: -40% -20% auto auto; }
.page-hero h1 { max-width: 18ch; font-size: clamp(38px, 5.6vw, 66px); }
.page-hero--center { text-align: center; padding-bottom: 140px; }
.page-hero--center h1, .page-hero--center .lead { margin-left: auto; margin-right: auto; }
.page-hero--center .cta { justify-content: center; }
.chips, .filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chips a, .filters button {
  padding: 10px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  font: 600 14.5px/1 "Plus Jakarta Sans", sans-serif; color: var(--muted); text-decoration: none; cursor: pointer;
  transition: color .2s, border-color .2s, background .2s, transform .2s var(--ease);
}
.chips a:hover, .filters button:hover { color: var(--ink); border-color: var(--muted); transform: translateY(-1px); }
.filters button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.section--tight { padding-top: 24px; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section__head--row > div { max-width: 640px; }
.link-arrow { flex: none; font-weight: 700; color: var(--brand); text-decoration: none; white-space: nowrap; }
.link-arrow span { display: inline-block; transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.section__lead a { color: var(--brand); font-weight: 600; }

/* Industries strip */
.industries { padding: 8px 0 72px; }
.industries__label { margin: 0 0 18px; text-align: center; font: 500 13px/1 "JetBrains Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.marquee--slim .marquee__track { animation-duration: 40s; }
.marquee--slim .marquee__track span { padding: 12px 22px; font-size: 16px; font-weight: 600; color: var(--muted); box-shadow: none; }

/* Process timeline: sticky heading + line that fills while scrolling */
.timeline { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.timeline__head { position: sticky; top: 120px; }
.timeline__head .btn { margin-top: 32px; }
.timeline__list { --fill: 0; position: relative; margin: 0; padding: 0 0 0 4px; list-style: none; }
.timeline__list::before, .timeline__list::after { content: ""; position: absolute; left: 31px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; }
.timeline__list::before { background: var(--border); }
.timeline__list::after { background: var(--grad); transform-origin: top; transform: scaleY(var(--fill)); }
.timeline__item { position: relative; z-index: 1; display: flex; gap: 28px; padding: 0 0 48px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--border); font: 800 16px/1 "Plus Jakarta Sans", sans-serif; color: var(--muted);
  transition: background .4s var(--ease), color .4s, border-color .4s, transform .4s var(--ease), box-shadow .4s;
}
.timeline__item.is-active .timeline__dot { background: var(--grad); border-color: transparent; color: #fff; transform: scale(1.08); box-shadow: 0 10px 24px rgba(79, 70, 229, .35); }
.timeline__item > div { flex: 1; padding: 22px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: box-shadow .4s var(--ease); }
.timeline__item.is-active > div { box-shadow: var(--shadow-lg); }
.timeline__item h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.02em; }
.timeline__item p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; font-size: 24px; background: linear-gradient(135deg, rgba(79, 70, 229, .12), rgba(6, 182, 212, .12)); }
.feature h3 { margin: 20px 0 8px; font-size: 19px; letter-spacing: -.02em; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.faq summary { position: relative; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-alt); color: var(--brand); font-size: 20px; transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); animation: faqIn .4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* Services page */
.services { display: grid; gap: 24px; }
.service { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding: 44px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.service__num { font: 800 64px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.service h2 { font-size: clamp(26px, 3vw, 36px); }
.service .section__lead { margin-bottom: 24px; }
.service .tags { margin-top: 24px; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 30px; font-size: 15.5px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.plan h3 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.plan__sub { margin: 8px 0 24px; color: var(--muted); }
.plan .checks { grid-template-columns: 1fr; margin-bottom: 28px; flex: 1; }
.plan .btn { justify-content: center; }
.plan--featured { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: var(--shadow-lg); }
.plan__badge { position: absolute; top: -13px; left: 34px; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; }

/* Work page */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.case:hover { box-shadow: var(--shadow-lg); }
.case.is-hidden { display: none; }
.case__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.case__cat { font: 500 12px/1 "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.case h3 { margin: 16px 0 14px; font-size: 21px; letter-spacing: -.02em; }
.case dl { margin: 0 0 20px; flex: 1; }
.case dt { margin-top: 12px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.case dd { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

/* About page */
.about { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; }
.profile { padding: 36px; border-radius: 28px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(10px); border: 1px solid var(--border); box-shadow: var(--shadow-lg); text-align: center; animation: bob 7s ease-in-out infinite; }
.profile__avatar { display: grid; place-items: center; width: 108px; height: 108px; margin: 0 auto; border-radius: 30px; background: var(--grad); color: #fff; font-size: 56px; font-weight: 800; box-shadow: 0 16px 32px rgba(79, 70, 229, .35); }
.profile__name { margin: 20px 0 4px; font-size: 26px; }
.profile__role { margin: 0 0 22px; color: var(--muted); font-weight: 600; }
.profile__facts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; text-align: left; }
.profile__facts li { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--bg-alt); font-weight: 600; font-size: 15px; }
.journey { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.journey::before { content: ""; position: absolute; top: 34px; left: 5%; right: 5%; height: 3px; background: var(--grad); opacity: .35; border-radius: 3px; }
.journey li { position: relative; padding: 70px 26px 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.journey li::before { content: ""; position: absolute; top: 26px; left: 26px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 6px rgba(79, 70, 229, .12); }
.journey__step { font: 500 12px/1 "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.journey h3 { margin: 10px 0 8px; font-size: 20px; letter-spacing: -.02em; }
.journey p { margin: 0; color: var(--muted); font-size: 15px; }
.stats--inline { margin-top: 48px; }

/* Contact page */
.channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.channel { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.channel:hover { box-shadow: var(--shadow-lg); }
.channel__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; font-size: 26px; background: var(--bg-alt); }
.channel h3 { margin: 20px 0 6px; font-size: 21px; }
.channel p { margin: 0 0 20px; color: var(--muted); font-size: 15px; flex: 1; }
.channel__go { font-weight: 700; color: var(--brand); }
.channel--primary { background: var(--grad); color: #fff; border-color: transparent; }
.channel--primary .channel__icon { background: rgba(255, 255, 255, .18); }
.channel--primary p, .channel--primary .channel__go { color: rgba(255, 255, 255, .9); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks--big { grid-template-columns: 1fr; gap: 14px; }
.checks--big li { padding: 18px 20px 18px 56px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; box-shadow: var(--shadow); }
.checks--big li::before { left: 20px; top: 50%; translate: 0 -50%; }
.checks--big li::after { left: 27px; top: 50%; translate: 0 -65%; }
.mini-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.mini-steps li { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-weight: 700; }
.mini-steps strong { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 18px; }

/* Footer */
.foot { padding: 72px 0 40px; background: var(--surface); border-top: 1px solid var(--border); margin-top: 40px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot__brand p { max-width: 34ch; margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.foot__col h4 { margin: 4px 0 16px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.foot__col a { display: block; margin: 0 0 10px; color: var(--muted); font-weight: 500; font-size: 15px; }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 14px; }

@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px var(--gutter) 24px;
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav > a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--border); }
  .nav > a::after { display: none; }
  .nav .lang { align-self: flex-start; margin: 14px 0 6px; }
  .nav__cta { justify-content: center; margin-top: 8px; padding: 14px; }
  .top { background: rgba(255, 255, 255, .85); backdrop-filter: blur(14px); }
  .timeline, .faq-wrap, .about, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .timeline__head { position: static; }
  .features, .channels, .mini-steps, .journey { grid-template-columns: repeat(2, 1fr); }
  .journey::before { display: none; }
  .plans, .cases { grid-template-columns: 1fr 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .features, .channels, .mini-steps, .journey, .plans, .cases, .checks { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 12px; padding: 28px; }
  .service__num { font-size: 44px; }
  .page-hero { padding: 128px 0 48px; }
  .timeline__item { gap: 16px; }
  .timeline__dot { width: 46px; height: 46px; font-size: 14px; }
  .timeline__list::before, .timeline__list::after { left: 26px; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__bottom { flex-direction: column; }
}
