/* ==========================================================
   Ugarte Serviços e Sistemas de Informática — Landing Page
   ========================================================== */

:root {
  --bg: #081022;
  --bg-alt: #0b1630;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef3ff;
  --muted: #9db0cf;
  --primary: #1f6fe5;
  --primary-2: #5b9bff;
  --accent: #7ccc2e;
  --grad: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Space Grotesk", var(--font-body);
  --container: 1200px;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }

::selection { background: var(--primary); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 12px; --pad-x: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font-body);
  cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
}
.btn--sm { --pad-y: 10px; --pad-x: 18px; font-size: 14px; }
.btn--lg { --pad-y: 16px; --pad-x: 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(31,111,229, .7);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(31,111,229, .85); }
.btn--ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.2); }
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(8, 16, 34, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--border);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
/* O logo tem letras azul-escuras: fica sobre um selo branco para manter o contraste no tema escuro */
.logo__mark {
  flex-shrink: 0; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 6px 20px -6px rgba(31,111,229,.7);
  transition: transform .3s ease;
}
.logo__mark img { width: 100%; height: 100%; border-radius: 50%; }
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.05); }
.logo--footer .logo__mark { width: 112px; height: 112px; box-shadow: 0 0 0 4px rgba(255,255,255,.06), 0 16px 40px -12px rgba(31,111,229,.6); }
.logo__text { font-family: var(--font-head); font-weight: 700; font-size: 20px; display: flex; flex-direction: column; line-height: 1; }
.logo__sub { font-family: var(--font-body); font-weight: 500; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; gap: 28px; }
.nav__list a { color: var(--muted); font-size: 15px; font-weight: 500; position: relative; transition: color .2s; }
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__list a:hover, .nav__list a.is-active { color: var(--text); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 80px) 0 100px;
  min-height: 100vh; display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: float 14s ease-in-out infinite; }
.blob--1 { width: 520px; height: 520px; background: #1546b8; top: -120px; left: -120px; }
.blob--2 { width: 460px; height: 460px; background: #4f8f1c; bottom: -160px; right: -80px; animation-delay: -7s; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
}

.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13.5px; font-weight: 500; color: var(--muted);
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
  70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.hero__title { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 700; margin: 24px 0 22px; }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 560px; }
.hero__lead strong { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; color: var(--muted); font-size: 14.5px; }
.hero__checks li { display: flex; align-items: center; gap: 8px; }
.hero__checks li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: rgba(124,204,46, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237ccc2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* Mockup */
.hero__visual { position: relative; perspective: 1200px; }
.mock {
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, #11203f, #0b1630);
  border: 1px solid var(--border); box-shadow: var(--shadow), 0 0 0 1px rgba(31,111,229,.1);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform .6s ease;
}
.hero__visual:hover .mock { transform: rotateY(0) rotateX(0); }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); }
.mock__bar > span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.mock__bar > span:nth-child(2) { background: #febc2e; }
.mock__bar > span:nth-child(3) { background: #28c840; }
.mock__url { margin-left: 14px; flex: 1; font-size: 12px; color: var(--muted); background: rgba(255,255,255,.05); border-radius: 8px; padding: 5px 12px; }
.mock__body { padding: 28px; }
.mock__hero { padding: 28px; border-radius: 14px; background: linear-gradient(135deg, rgba(31,111,229,.22), rgba(124,204,46,.12)); }
.sk { border-radius: 6px; background: rgba(255,255,255,.12); position: relative; overflow: hidden; }
.sk::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: translateX(-100%); animation: shimmer 2.4s infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }
.sk--title { height: 22px; width: 70%; margin-bottom: 14px; background: rgba(255,255,255,.28); }
.sk--line { height: 10px; width: 90%; margin-bottom: 9px; }
.sk--short { width: 55%; }
.sk--btn { height: 32px; width: 120px; margin-top: 18px; border-radius: 999px; background: var(--grad); }
.sk--icon { width: 30px; height: 30px; border-radius: 9px; margin-bottom: 12px; background: rgba(31,111,229,.45); }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.mock__card { padding: 16px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--border); }
.mock__card .sk--line { width: 100%; margin: 0; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(12, 22, 46, .82); border: 1px solid var(--border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 14px; }
.float-card small { color: var(--muted); font-size: 12px; }
.float-card--perf { top: -22px; right: -18px; }
.float-card--conv { bottom: 60px; left: -40px; animation-delay: -2s; color: #4ade80; }
.float-card--conv strong { color: var(--text); }
.float-card--code { bottom: -26px; right: 30px; animation-delay: -4s; }
.float-card--code code { font: 700 15px/1 monospace; color: var(--accent); background: rgba(124,204,46,.12); padding: 8px; border-radius: 8px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.ring { position: relative; width: 44px; height: 44px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3.2; }
.ring__bg { stroke: rgba(255,255,255,.1); }
.ring__fg { stroke: #4ade80; stroke-dasharray: 98 100; stroke-linecap: round; }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font: 700 13px var(--font-head); color: #4ade80; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--border); background: var(--bg-alt); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; gap: 36px; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-size: 22px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.marquee__track span:nth-child(even) { color: var(--primary-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.eyebrow--light { color: #fff; opacity: .85; }
.section__title { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 700; }
.section__lead { margin-top: 18px; color: var(--muted); font-size: 1.1rem; }

/* ---------- Bento / Cards ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; overflow: hidden;
  padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .3s ease, border-color .3s, background .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(31,111,229,.14), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(31,111,229,.4); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 22px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, rgba(31,111,229,.35), rgba(124,204,46,.2));
  border: 1px solid rgba(31,111,229,.35);
}
.card--feature { grid-row: span 2; display: flex; flex-direction: column; background: linear-gradient(160deg, rgba(31,111,229,.16), rgba(255,255,255,.03) 60%); }
.card--feature h3 { font-size: 1.8rem; }
.card--feature p { font-size: 1.05rem; }
.card__glow { position: absolute; width: 300px; height: 300px; right: -100px; bottom: -100px; border-radius: 50%; background: var(--primary); filter: blur(90px); opacity: .35; pointer-events: none; }
.card--wide { grid-column: span 2; display: flex; gap: 24px; align-items: flex-start; }
.card--wide .card__icon { flex-shrink: 0; margin-bottom: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 28px; }
.tags li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--border); }

/* ---------- Split / Features ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.split__text .section__lead { margin-bottom: 32px; }
.features { display: grid; gap: 16px; }
.feature {
  display: flex; gap: 22px; padding: 26px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .3s, transform .3s;
}
.feature:hover { border-color: rgba(124,204,46,.4); transform: translateX(6px); }
.feature__num { font: 700 1.4rem var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 36px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .97rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 26px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent)); opacity: .35;
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step__dot {
  position: relative; z-index: 1;
  width: 54px; height: 54px; margin: 0 auto 24px; border-radius: 50%;
  display: grid; place-items: center; font: 700 1.2rem var(--font-head);
  background: var(--bg); border: 2px solid var(--primary);
  box-shadow: 0 0 0 6px var(--bg), 0 0 30px rgba(31,111,229,.45);
}
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .97rem; }

/* ---------- Stack ---------- */
.stack { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.stack li {
  padding: 12px 22px; border-radius: 999px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .25s, background .25s, transform .25s;
}
.stack li:hover { border-color: var(--primary); background: rgba(31,111,229,.12); transform: translateY(-3px); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); transition: border-color .25s; }
.faq__item[open] { border-color: rgba(31,111,229,.45); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font: 400 1.6rem/1 var(--font-head); color: var(--accent); transition: transform .25s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 26px 22px; color: var(--muted); }

/* ---------- CTA / Form ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 64px; border-radius: 28px; border: 1px solid rgba(31,111,229,.35);
}
.cta__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px circle at 0% 0%, rgba(31,111,229,.55), transparent 60%),
    radial-gradient(500px circle at 100% 100%, rgba(124,204,46,.35), transparent 60%),
    #0b1838;
}
.cta__text p { color: rgba(238,243,255,.75); margin-top: 16px; font-size: 1.05rem; }
.contact-list { margin-top: 32px; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--accent); }
.contact-list a { color: var(--text); font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }

.form {
  display: grid; gap: 18px; padding: 32px; border-radius: 22px;
  background: rgba(8, 16, 34, .6); border: 1px solid var(--border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: 13.5px; font-weight: 500; color: var(--muted); padding: 0; margin-bottom: 8px; }
.field > span { margin-bottom: 0; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  color: var(--text); font: inherit; font-size: 15px; resize: vertical;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #6a7a9c; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: rgba(31,111,229,.08); box-shadow: 0 0 0 4px rgba(31,111,229,.18); }
.field input.is-invalid { border-color: #f87171; box-shadow: 0 0 0 4px rgba(248,113,113,.15); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 9px 16px; border-radius: 999px; font-size: 14px; cursor: pointer;
  background: rgba(255,255,255,.05); border: 1px solid var(--border); transition: all .2s;
}
.chip span:hover { border-color: rgba(255,255,255,.25); }
.chip input:checked + span { background: var(--grad); border-color: transparent; color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__status { min-height: 1.2em; font-size: 14px; text-align: center; }
.form__status.is-error { color: #f87171; }
.form__status.is-ok { color: #4ade80; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 28px; background: var(--bg-alt); }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer__brand p { color: var(--muted); margin-top: 14px; font-size: 14.5px; }
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__nav a { color: var(--muted); transition: color .2s; }
.footer__nav a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); }
.to-top { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); transition: background .2s; }
.to-top:hover { background: var(--surface-2); }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 80px; }
  .hero__content { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__checks { justify-content: center; }
  .hero__visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .float-card--conv { left: -10px; }
  .float-card--perf { right: -6px; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split__text { text-align: center; }
  .cta { grid-template-columns: 1fr; padding: 48px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 24px; background: rgba(8, 16, 34, .97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s, opacity .3s, visibility .3s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__list a { display: block; padding: 12px 4px; font-size: 17px; }
  .nav__list a::after { display: none; }
  .header:has(.nav.is-open) { background: rgba(8, 16, 34, .97); }

  .bento { grid-template-columns: 1fr 1fr; }
  .card--feature { grid-row: auto; grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 84px 0; }
  .section__head { margin-bottom: 44px; }
  .hero { padding-top: calc(var(--header-h) + 48px); padding-bottom: 72px; }
  .hero__actions .btn { width: 100%; }
  .mock__body { padding: 16px; }
  .mock__hero { padding: 18px; }
  .float-card { padding: 10px 12px; }
  .float-card small { display: none; }
  .float-card--conv { bottom: 40px; left: -4px; }
  .float-card--code { display: none; }
  .bento { grid-template-columns: 1fr; }
  .card--feature, .card--wide { grid-column: auto; }
  .card--wide { flex-direction: column; }
  .card { padding: 26px; }
  .steps { grid-template-columns: 1fr; }
  .cta { padding: 28px 18px; border-radius: 22px; }
  .form { padding: 20px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column-reverse; text-align: center; }
  .logo__sub { display: none; }
  .logo__mark { width: 42px; height: 42px; }
  .logo--footer .logo__mark { width: 96px; height: 96px; }
  .footer__brand { text-align: center; margin: 0 auto; }
  .footer__brand .logo { justify-content: center; }
  .footer__inner { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
