/* Christian Oliveira Projetos — portfolio
   VOICE   premium studio, confident and calm
   IDEA    a live preview of the client's own site, lit from behind like a screen at night
   PICTURE code-drawn browser + phone preview in the hero; founder photo in About
   COLOUR  deep petrol #001D2B ground, petrol #002B3A bands, turquoise #36C5E5 accent, brand blue #1F7BEA in the logo
   TYPE    Barlow Condensed (headlines) + Inter (text)
   LAYOUT  hero text | preview on laptop; text, then preview on phone
   Motion: only transform / opacity animate; hover gated to fine pointers; reduced-motion keeps fades only. */

:root {
  color-scheme: dark;
  --bg: #001D2B;
  --bg-2: #002B3A;
  --bg-3: #032437;
  --accent: #36C5E5;
  --accent-2: #65D8ED;
  --accent-ink: #00202E;
  --blue: #1F7BEA;
  --text: #FFFFFF;
  --muted: #B5C8D1;
  --dim: #7F9AA7;
  --line: rgba(89, 202, 230, 0.35);
  --line-soft: rgba(89, 202, 230, 0.14);
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --radius: 16px;
  --gutter: max(20px, 4vw, env(safe-area-inset-left, 0px));
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.center { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 56px); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 10px; font: 600 15px/1 var(--sans); border: 1px solid transparent; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, box-shadow 250ms ease; }
.btn:active { transform: scale(0.97); }
.btn svg { transition: transform 200ms var(--ease-out); }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 28px -10px rgba(54, 197, 229, 0.7); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--small { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
.btn--big { height: 56px; padding: 0 28px; font-size: 16px; }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: var(--accent-2); box-shadow: 0 10px 36px -8px rgba(54, 197, 229, 0.85); }
  .btn--accent:hover svg { transform: translateX(3px); }
  .btn--ghost:hover { border-color: var(--accent); background: rgba(54, 197, 229, 0.06); }
}

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(0, 29, 43, 0.78); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.nav.is-scrolled { border-bottom-color: var(--line-soft); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 44px; height: 26px; flex: none; }
.brand__name { font: 600 21px/1 var(--display); letter-spacing: 0.01em; white-space: nowrap; text-transform: uppercase; }
.brand__name b { font-weight: 600; color: var(--accent); }
.nav__links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav__links a { transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--text); } }
.nav__right { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; padding: 3px; border: 1px solid var(--line-soft); border-radius: 8px; }
.lang button { font: 500 12px/1 var(--mono); color: var(--dim); background: none; border: 0; padding: 8px 9px; border-radius: 6px; cursor: pointer; transition: color 150ms ease, background-color 150ms ease; }
.lang button[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); }
@media (max-width: 960px) { .nav__links { display: none; } }
@media (max-width: 640px) { .nav__cta { display: none; } .brand__name { font-size: 18px; } }
@media (max-width: 380px) { .brand__name b { display: none; } }

/* ---------- 01 Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); overflow: hidden; background: radial-gradient(120% 80% at 80% 0%, var(--bg-3), var(--bg) 60%); }
.hero__light { position: absolute; right: -10%; top: -10%; width: 70%; height: 120%; pointer-events: none; background: radial-gradient(closest-side, rgba(54, 197, 229, 0.18), transparent 70%); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__intro { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-2); font-size: 15px; font-weight: 500; margin-bottom: 18px; }
.hero__intro::before { content: ""; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; }
.hero__title { font: 700 clamp(44px, 4.9vw, 74px)/0.95 var(--display); text-transform: uppercase; letter-spacing: -0.005em; text-wrap: balance; }
.hero__title span { display: block; color: var(--accent); }
.hero__sub { margin-top: 24px; font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 54ch; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: 15px; }
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.3 2.2 4.7-5' fill='none' stroke='%2300202E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__note { margin-top: 18px; font-size: 14px; color: var(--dim); }

/* Hero visual: browser + phone preview */
.hero__visual { position: relative; aspect-ratio: 1 / 0.86; }
.orbit { position: absolute; inset: 4% 2% 0 10%; border-radius: 50%; border: 1px solid var(--line-soft); background: radial-gradient(closest-side, rgba(54, 197, 229, 0.16), transparent); }
.browser { position: absolute; left: 0; top: 8%; width: 86%; border-radius: 14px; overflow: hidden; background: #062E40; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.03) inset; }
.browser__bar { position: relative; display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #04293A; border-bottom: 1px solid var(--line-soft); }
.browser__bar > span { width: 9px; height: 9px; border-radius: 50%; background: rgba(181, 200, 209, 0.3); }
.browser__url { margin-left: 10px; flex: 1; padding: 6px 12px; border-radius: 6px; background: rgba(0, 29, 43, 0.7); font: 500 11px/1 var(--mono); color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser__body { position: relative; aspect-ratio: 16 / 10.4; overflow: hidden; container-type: inline-size; }
.skel { position: absolute; inset: 0; padding: 7% 7% 6%; overflow: hidden; }
.skel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.07) 50%, transparent 70%); transform: translateX(-100%); }
.is-loading .skel::after { animation: shimmer 1s linear infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.browser__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; opacity: 0; transition: opacity 300ms ease 150ms; }
.is-loading .browser__progress { opacity: 1; transition: none; animation: load 950ms cubic-bezier(0.3, 0.7, 0.2, 1) forwards; }
@keyframes load { from { transform: scaleX(0.04); } to { transform: scaleX(1); } }
.mock-hero { display: grid; gap: 10px; }
.mock-line { height: 9px; border-radius: 5px; background: rgba(181, 200, 209, 0.22); }
.mock-line.big { height: 18px; background: rgba(255, 255, 255, 0.82); }
.mock-line.accent { height: 7px; background: var(--accent); }
.w40 { width: 40%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.mock-stars { color: #FFC94D; font-size: 13px; letter-spacing: 2px; margin-top: 4px; }
.mock-stars span { color: var(--muted); letter-spacing: 0; font-size: 11px; margin-left: 4px; }
.mock-btns { display: flex; gap: 8px; margin-top: 6px; }
.mb { display: block; width: 92px; height: 26px; border-radius: 6px; border: 1px solid var(--line); }
.mb--a { background: var(--accent); border-color: var(--accent); }
.mock-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
.mock-gallery i { aspect-ratio: 4 / 3; border-radius: 8px; background: linear-gradient(140deg, #0E4A62, #0A3346); }
.mock-gallery i:nth-child(2) { background: linear-gradient(140deg, #13607A, #0A3A50); }
.phone { position: absolute; right: 0; bottom: 0; width: 34%; aspect-ratio: 9 / 18.5; border-radius: 28px; padding: 10px; background: #021820; border: 1px solid var(--line); box-shadow: 0 40px 70px -24px rgba(0, 0, 0, 0.8); }
.phone__notch { position: absolute; top: 14px; left: 50%; width: 32%; height: 12px; border-radius: 8px; background: #000; translate: -50% 0; }
.phone__notch { z-index: 3; }
.phone__screen { position: relative; height: 100%; border-radius: 20px; background: #062E40; overflow: hidden; container-type: inline-size; }
.phone__screen .skel { padding: 34px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.phone__screen .mock-line.big { height: 13px; }
.phone__img { flex: 1; margin-top: 6px; border-radius: 10px; background: linear-gradient(160deg, #13607A, #0A3346); }
.phone__cta { height: 34px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font: 600 12px/34px var(--sans); text-align: center; }
.chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; background: rgba(0, 43, 58, 0.92); border: 1px solid var(--line); font-size: 13px; font-weight: 500; white-space: nowrap; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.8); }
.chip--1 { left: 4%; bottom: 10%; }
.chip--2 { right: 26%; top: 0; }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: #3FE0A0; box-shadow: 0 0 0 4px rgba(63, 224, 160, 0.18); }
.chip__k { color: var(--accent); font-weight: 700; }

/* Showcase: sample sites (fictional businesses) built from our preview templates */
.hero__sample { position: absolute; left: 0; bottom: -30px; font-size: 13px; color: var(--dim); }
.ms { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; overflow: hidden; background: var(--s-page); color: var(--s-ink); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; opacity: 0; transform: translateY(10px) scale(0.985); transition: opacity 450ms var(--ease-out), transform 650ms var(--ease-out); }
.ms.is-on { opacity: 1; transform: none; }
.ms.is-out { opacity: 0; transform: translateY(-6px); transition-duration: 280ms; }
.ms__top { background: var(--s-hero); color: var(--s-hero-ink); padding: 2.6cqw 4cqw 4.2cqw; }
.ms__nav { display: flex; align-items: center; gap: 2.2cqw; font-size: 2.1cqw; font-weight: 700; }
.ms__logo { display: flex; align-items: center; gap: 1.1cqw; margin-right: auto; white-space: nowrap; font-family: var(--s-font); }
.ms__logo i { width: 2.6cqw; height: 2.6cqw; border-radius: 30%; background: var(--s-acc); }
.ms__links { display: flex; gap: 1.8cqw; }
.ms__links i { width: 5.5cqw; height: 0.9cqw; border-radius: 1cqw; background: currentColor; opacity: 0.35; }
.ms__btn { padding: 1.2cqw 2.1cqw; border-radius: 1cqw; background: var(--s-acc); color: var(--s-acc-ink); font-size: 1.7cqw; font-weight: 700; white-space: nowrap; }
.ms__btn--o { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.ms__hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3.5cqw; align-items: center; margin-top: 4cqw; }
.ms small { display: block; font-size: 1.6cqw; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.ms h4 { margin: 1.3cqw 0 0; font: 800 4.5cqw/1.03 var(--s-font); letter-spacing: -0.02em; }
.ms h4 em { font-style: var(--s-em, normal); color: var(--s-hl); }
.ms__stars { margin-top: 1.6cqw; color: #FFC94D; font-size: 1.8cqw; letter-spacing: 0.2em; }
.ms__stars span { color: inherit; letter-spacing: 0; }
.ms__top .ms__stars span { color: var(--s-hero-ink); opacity: 0.7; }
.ms__ctas { display: flex; gap: 1.4cqw; margin-top: 2.6cqw; }
.ms__art { aspect-ratio: 1; border-radius: 2.4cqw; overflow: hidden; }
.ms__art svg { width: 100%; height: 100%; }
.ms__strip { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2cqw; padding: 3cqw 4cqw; opacity: 0; transform: translateY(8px); transition: opacity 450ms var(--ease-out) 180ms, transform 600ms var(--ease-out) 180ms; }
.ms.is-on .ms__strip { opacity: 1; transform: none; }
.ms__strip i { position: relative; border-radius: 1.6cqw; background: var(--s-card); box-shadow: 0 0.4cqw 1.6cqw rgba(0, 0, 0, 0.08); }
.ms__strip i::before { content: ""; position: absolute; left: 12%; top: 16%; width: 5cqw; height: 5cqw; border-radius: 30%; background: var(--s-acc); opacity: 0.9; }
.ms__strip i::after { content: ""; position: absolute; left: 12%; width: 60%; bottom: 22%; height: 1cqw; border-radius: 1cqw; background: currentColor; opacity: 0.22; box-shadow: 0 -2.2cqw 0 0 currentColor; }
.ms--m .ms__top { padding: 16cqw 6cqw 6cqw; }
.ms--m .ms__nav { font-size: 6.4cqw; }
.ms--m .ms__logo i { width: 6.5cqw; height: 6.5cqw; }
.ms__burger { width: 7cqw; height: 5cqw; background: linear-gradient(currentColor 0 0) top / 100% 18% no-repeat, linear-gradient(currentColor 0 0) center / 100% 18% no-repeat, linear-gradient(currentColor 0 0) bottom / 100% 18% no-repeat; opacity: 0.8; }
.ms--m small { margin-top: 7cqw; font-size: 4.6cqw; }
.ms--m h4 { margin-top: 3cqw; font-size: 10.5cqw; }
.ms--m .ms__stars { margin-top: 3.5cqw; font-size: 5cqw; }
.ms--m .ms__art { flex: 1; aspect-ratio: auto; margin: 5cqw 6cqw 0; border-radius: 5cqw; }
.ms__call { margin: 5cqw 6cqw 6cqw; padding: 4.6cqw 0; border-radius: 3.5cqw; background: var(--s-acc); color: var(--s-acc-ink); font-size: 6cqw; font-weight: 700; text-align: center; }
.chip--1.is-pop { animation: pop 500ms var(--ease-out); }
@keyframes pop { 40% { scale: 1.06; } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--petrol { background: var(--bg-2); }
.head { margin-bottom: clamp(40px, 5vw, 64px); }
.head--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.head h2 { font: 700 clamp(38px, 4.6vw, 60px)/1 var(--display); text-transform: uppercase; letter-spacing: 0.005em; }
.head p { margin-top: 16px; color: var(--muted); font-size: 17px; }

/* 02 Benefits: four light columns, no cards */
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
.benefit { text-align: center; padding: 0 6px; }
.benefit__icon { width: 64px; height: 64px; margin: 0 auto 20px; padding: 14px; border-radius: 50%; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; background: radial-gradient(closest-side, rgba(54, 197, 229, 0.18), rgba(54, 197, 229, 0.04)); box-shadow: 0 0 0 1px var(--line-soft); transition: transform 300ms var(--ease-out), box-shadow 300ms ease; }
.benefit h3 { font: 700 26px/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.benefit p { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 30ch; margin-left: auto; margin-right: auto; }
@media (hover: hover) and (pointer: fine) {
  .benefit:hover .benefit__icon { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 0 30px rgba(54, 197, 229, 0.3); }
}

/* 03 Who it's for: three numbered cards */
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); padding-top: 22px; }
.who__card { position: relative; padding: 44px 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(54, 197, 229, 0.05), transparent 60%); transition: transform 300ms var(--ease-out), box-shadow 300ms ease, border-color 300ms ease; }
.who__n { position: absolute; top: 0; left: 24px; translate: 0 -55%; padding: 0 10px; background: var(--bg); font: 700 52px/1 var(--display); color: var(--accent); }
.who__card h3 { font: 700 26px/1.1 var(--display); text-transform: uppercase; }
.who__card p { margin-top: 12px; color: var(--muted); font-size: 15px; }
@media (hover: hover) and (pointer: fine) {
  .who__card:hover { transform: translateY(-4px); border-color: var(--accent-2); box-shadow: 0 20px 50px -24px rgba(54, 197, 229, 0.45); }
}

/* How it works: one route with four stations */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(56px, 7vw, 88px); padding-top: 30px; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 7px; left: 8px; right: 8px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--line-soft)); }
.step { position: relative; display: grid; gap: 4px; font-size: 15px; counter-increment: s; }
.step::before { content: ""; position: absolute; top: -30px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.step b { font-weight: 600; }
.step b::before { content: counter(s) ". "; color: var(--accent); }
.step span { color: var(--muted); }

/* Work */
.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 36px); }
.work__visual { height: 180px; margin-bottom: 22px; border-radius: 14px; border: 1px solid var(--line-soft); background: radial-gradient(120% 100% at 50% 0%, rgba(54, 197, 229, 0.1), transparent 70%), var(--bg); display: grid; place-items: center; padding: 18px; overflow: hidden; }
.work__tag { font: 500 12px/1.4 var(--mono); color: var(--accent-2); }
.work__item h3 { margin-top: 8px; font: 700 24px/1.1 var(--display); text-transform: uppercase; }
.work__item > p:last-child { margin-top: 10px; color: var(--muted); font-size: 15px; }
.pipe { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pipe__node { font: 500 12px/1 var(--mono); padding: 8px 10px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); }
.is-in .pipe__node { animation: node 5s var(--ease-out) infinite; }
.pipe__node:nth-child(2) { animation-delay: 1s !important; } .pipe__node:nth-child(3) { animation-delay: 2s !important; } .pipe__node:nth-child(4) { animation-delay: 3s !important; } .pipe__node:nth-child(5) { animation-delay: 4s !important; }
@keyframes node { 0%, 18% { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); } 24%, 100% { background: transparent; } }
.kb { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; }
.kb__col { display: grid; gap: 6px; align-content: start; }
.kb__col b { font: 500 10px/1 var(--mono); color: var(--dim); margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb__col i { height: 22px; border-radius: 5px; background: rgba(181, 200, 209, 0.14); }
.kb__col i.kb__won { background: var(--accent); }
.is-in .kb__move { animation: kbmove 4s var(--ease-out) infinite; }
@keyframes kbmove { 0%, 30% { transform: none; } 55%, 100% { transform: translateX(calc(100% + 8px)); } }
.term { width: 100%; font: 400 12px/1.8 var(--mono); }
.term p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term__p { color: var(--accent); }
.term__dim { color: var(--dim); }
.term__ok { color: #3FE0A0; }

/* 04 About */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__title { font: 700 clamp(44px, 5.4vw, 72px)/0.95 var(--display); text-transform: uppercase; }
.about__lead { margin-top: 10px; font: 600 clamp(22px, 2.2vw, 28px)/1.2 var(--display); color: var(--accent); text-transform: uppercase; letter-spacing: 0.01em; }
.about__text > p:not(.about__lead) { margin-top: 18px; color: var(--muted); max-width: 60ch; }
.values { display: grid; gap: 10px; margin-top: 26px; }
.values li { padding-left: 18px; position: relative; color: var(--muted); }
.values li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.values b { color: var(--text); font-weight: 600; }
.skills { margin-top: 34px; display: grid; gap: 22px; }
.skills h3 { font: 600 14px/1 var(--sans); color: var(--dim); }
.stack-group__t { font-size: 13px; font-weight: 600; color: var(--accent-2); margin-bottom: 10px; }
.tech { display: flex; flex-wrap: wrap; gap: 10px; }
.tech__i { position: relative; width: 84px; display: grid; justify-items: center; gap: 8px; padding: 14px 6px 11px; border-radius: 12px; border: 1px solid var(--line-soft); background: rgba(0, 43, 58, 0.45); text-align: center; transition: transform 300ms var(--ease-out), border-color 250ms ease, box-shadow 300ms ease, background-color 250ms ease; }
.tech__i::before { content: ""; position: absolute; top: 8px; left: 50%; width: 46px; height: 46px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, var(--c), transparent); opacity: 0.16; transition: opacity 300ms ease; pointer-events: none; }
.tech__i svg { position: relative; width: 30px; height: 30px; fill: var(--c); animation: bob 4.2s ease-in-out infinite; animation-delay: calc(var(--i) * -0.37s); }
.tech__i span { font-size: 12px; line-height: 1.2; color: var(--muted); }
@keyframes bob { 50% { transform: translateY(-3px); } }
@media (hover: hover) and (pointer: fine) {
  .tech__i:hover { transform: translateY(-4px); border-color: var(--c); background: rgba(0, 43, 58, 0.8); box-shadow: 0 14px 30px -16px var(--c); }
  .tech__i:hover::before { opacity: 0.4; }
  .tech__i:hover svg { animation: spin-pop 600ms var(--ease-out); }
  .tech__i:hover span { color: var(--text); }
}
@keyframes spin-pop { 0% { transform: scale(1) rotate(0); } 45% { transform: scale(1.22) rotate(-10deg); } 100% { transform: scale(1) rotate(0); } }
.js .tech__i { opacity: 0; transform: translateY(14px) scale(0.92); }
.js .is-in .tech__i { opacity: 1; transform: none; transition: opacity 500ms var(--ease-out) calc(250ms + var(--i) * 45ms), transform 600ms var(--ease-out) calc(250ms + var(--i) * 45ms), border-color 250ms ease, box-shadow 300ms ease, background-color 250ms ease; }
@media (hover: hover) and (pointer: fine) { .js .is-in .tech__i:hover { transform: translateY(-4px); transition-delay: 0ms; } }
.about__photo { position: sticky; top: 110px; align-self: start; margin: 0; justify-self: center; width: min(100%, 440px); }
.about__photo picture { display: block; position: relative; border-radius: 46% 54% 42% 58% / 38% 40% 60% 62%; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(54, 197, 229, 0.55); }
.about__photo img { width: 100%; height: auto; aspect-ratio: 485 / 600; object-fit: cover; object-position: 50% 10%; }
.about__photo picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0, 29, 43, 0.55)); }
.about__ring { position: absolute; inset: -18px -14px -10px -22px; border: 1px solid var(--line); border-radius: 52% 48% 56% 44% / 44% 52% 48% 56%; pointer-events: none; }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line-soft); border-radius: 12px; background: rgba(0, 29, 43, 0.5); transition: border-color 200ms ease; }
.faq details[open] { border-color: var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); translate: 0 -70%; rotate: 45deg; transition: rotate 200ms var(--ease-out); }
.faq details[open] summary::after { rotate: 225deg; translate: 0 -20%; }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* 05 Final CTA */
.final { position: relative; overflow: hidden; padding: clamp(88px, 11vw, 140px) 0; }
.final__light { position: absolute; left: 50%; top: 50%; width: min(900px, 120%); aspect-ratio: 2 / 1; translate: -50% -50%; pointer-events: none; background: radial-gradient(closest-side, rgba(54, 197, 229, 0.2), transparent 70%); }
.final__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.final__alt { margin-top: 28px; font-size: 14px; color: var(--dim); }
.final__copy .copy { margin-top: 10px; }
.final__title { font: 700 clamp(42px, 5.6vw, 76px)/0.98 var(--display); text-transform: uppercase; }
.final__lead { margin: 20px 0 0; max-width: 52ch; color: var(--muted); font-size: 18px; }
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px 14px; margin-top: 32px; padding: 14px 22px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 43, 58, 0.6); }
.price__tag { font-size: 12px; font-weight: 600; color: var(--accent-ink); background: var(--accent); padding: 4px 8px; border-radius: 5px; align-self: center; }
.price__old { color: var(--dim); text-decoration: line-through; white-space: nowrap; }
.price__now { font: 700 34px/1 var(--display); white-space: nowrap; }
.price__inc { color: var(--muted); font-size: 14px; }
.final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.btn--glow { animation: glow 3.2s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 10px 44px -6px rgba(54, 197, 229, 0.9); } }
.copy { position: relative; font-family: var(--mono); font-weight: 500; font-size: 14px; }
.copy__label, .copy__done { transition: opacity 180ms ease, transform 180ms var(--ease-out); }
.copy__done { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(6px); color: var(--accent); }
.copy.is-done .copy__label { opacity: 0; transform: translateY(-6px); }
.copy.is-done .copy__done { opacity: 1; transform: none; }

/* Quote form */
.quote { display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(0, 43, 58, 0.92), rgba(3, 36, 55, 0.92)); box-shadow: 0 30px 80px -40px rgba(54, 197, 229, 0.45); }
.quote__title { font: 700 30px/1 var(--display); text-transform: uppercase; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field__opt { color: var(--dim); font-weight: 400; }
.field input, .field textarea { width: 100%; font: 16px/1.4 var(--sans); color: var(--text); background: rgba(0, 21, 31, 0.7); border: 1px solid var(--line-soft); border-radius: 10px; padding: 12px 14px; transition: border-color 150ms ease, box-shadow 150ms ease; }
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(54, 197, 229, 0.2); }
.field__err { display: none; font-size: 13px; color: #FF9A8A; }
.field.is-bad input { border-color: #FF7A66; }
.field.is-bad .field__err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote__submit { width: 100%; margin-top: 4px; }
.quote__submit[disabled] { opacity: 0.7; cursor: progress; }
.quote__status:empty { display: none; }
.quote__status { padding: 12px 14px; border-radius: 10px; font-size: 14px; background: rgba(63, 224, 160, 0.12); border: 1px solid rgba(63, 224, 160, 0.4); }
.quote__status.is-error { background: rgba(255, 122, 102, 0.1); border-color: rgba(255, 122, 102, 0.45); }
.quote__note { font-size: 13px; color: var(--dim); }

/* 06 Footer */
.footer { border-top: 1px solid var(--line-soft); background: #00151F; padding: 36px 0 calc(36px + env(safe-area-inset-bottom, 0px)); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .footer__links a:hover { color: var(--accent); } }
.footer__legal { width: 100%; font-size: 13px; color: var(--dim); }

/* Mobile sticky CTA */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta { display: flex; align-items: center; justify-content: center; position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); height: 52px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 600; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.8); transform: translateY(140%); transition: transform 300ms var(--ease-out); }
  .mobile-cta.is-visible { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .work { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin: 0 auto; }
  .work__item { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 24px; align-items: start; }
  .work__visual { grid-row: span 3; height: 150px; margin: 0; padding: 12px; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__title { max-width: 18ch; }
  .hero__visual { width: min(100%, 560px); margin: 8px auto 0; }
  .who { grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 640px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .steps::before { display: none; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .about__photo { position: relative; top: auto; grid-row: 1; width: min(80%, 360px); }
  .final__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .hero__ctas .btn, .final__actions .btn, .center .btn { width: 100%; }
  .hero__points { flex-direction: column; }
  .chip--2 { right: 30%; }
  .benefits { gap: 40px 16px; }
  .benefit h3 { font-size: 22px; }
  .benefit p { font-size: 14px; }
  .work__item { display: block; }
  .work__visual { height: 160px; margin-bottom: 18px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 20px; padding-top: 0; padding-left: 28px; border-left: 1px solid var(--line); margin-left: 7px; }
  .step::before { top: 4px; left: -37px; }
  .price { display: grid; justify-items: start; }
  .final__copy .copy { width: 100%; }
  .final { padding-bottom: 120px; }
  .copy { font-size: 12.5px; padding: 0 14px; }
}
@media (max-width: 400px) {
  .benefits { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Motion ---------- */
.js [data-enter] > *, .js .hero__visual > * { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); }
.js .hero__visual > .browser { transform: translateY(24px) scale(0.98); }
.js .hero__visual > .phone { transform: translateY(40px); }
.is-ready [data-enter] > *, .is-ready .hero__visual > * { opacity: 1; transform: none; }
.is-ready .hero__copy > :nth-child(2) { transition-delay: 70ms; }
.is-ready .hero__copy > :nth-child(3) { transition-delay: 150ms; }
.is-ready .hero__copy > :nth-child(4) { transition-delay: 210ms; }
.is-ready .hero__copy > :nth-child(5) { transition-delay: 260ms; }
.is-ready .hero__copy > :nth-child(6) { transition-delay: 300ms; }
.is-ready .hero__visual > .browser { transition-delay: 140ms; }
.is-ready .hero__visual > .phone { transition-delay: 300ms; }
.is-ready .hero__visual > .chip--1 { transition-delay: 620ms; }
.is-ready .hero__visual > .chip--2 { transition-delay: 720ms; }
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 650ms var(--ease-out) var(--d, 0ms), transform 750ms var(--ease-out) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.is-ready .chip--1 { animation: float 6s ease-in-out 1.6s infinite; }
.is-ready .chip--2 { animation: float 7s ease-in-out 2s infinite reverse; }
@keyframes float { 50% { translate: 0 -6px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-enter] > *, .js .hero__visual > *, .js [data-reveal] { transform: none !important; transition: opacity 300ms ease !important; }
  .chip, .btn--glow, .pipe__node, .kb__move, .skel::after, .browser__progress, .tech__i svg { animation: none !important; }
  .js .tech__i { transform: none !important; }
  .ms, .ms__strip { transform: none !important; }
  .who__card, .benefit__icon, .btn { transition: none; }
}
