/* BYTEFORGE website v2.3 — black / graphite / white, blue action color, green score accent. */
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/PlusJakartaSans.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
:root {
  --bg: #000;
  --bg2: #09090b;
  --card: #101013;
  --card2: #16161a;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.14);
  --text: #fafafa;
  --muted: #a1a1aa;
  --dim: #71717a;
  --blue: #2f6bff;
  --blue-hover: #4d82ff;
  --green: #22c55e;
  --radius: 28px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.7 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, 100% - 48px); margin: 0 auto; }
.narrow { width: min(780px, 100% - 48px); margin: 0 auto; }
::selection { background: rgba(34, 197, 94, 0.35); }

/* ---- Header ---------------------------------------------------------------------------- */
header { position: sticky; top: 0; z-index: 20; background: rgba(0, 0, 0, 0.72); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 30px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 14px var(--display); letter-spacing: 3px; }
.brand img { width: 28px; height: 28px; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { color: var(--muted); font-size: 15px; transition: color .2s; }
.links a:hover, .links a.active { color: var(--text); }
.menu { display: none; margin-left: auto; background: none; border: 1px solid var(--line2); color: var(--text); border-radius: 999px; height: 38px; width: 42px; font-size: 18px; }

/* ---- Buttons --------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px;
  font: 600 15px var(--font); border: 1px solid var(--line2); background: rgba(255, 255, 255, 0.04); color: var(--text); cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { border-color: rgba(255, 255, 255, 0.3); transform: translateY(-1px); }
.btn-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn-big { height: 58px; padding: 0 32px; font-size: 17px; }
.arrow::after { content: "→"; display: inline-block; margin-left: 8px; transition: transform .2s; }
.btn:hover .arrow::after, a:hover > .arrow::after { transform: translateX(3px); }

/* ---- Type ------------------------------------------------------------------------------ */
section { padding: 120px 0; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  border: 1px solid var(--line2); border-radius: 999px; padding: 5px 14px; margin-bottom: 24px; background: rgba(255, 255, 255, 0.03); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.kicker { color: var(--green); font: 600 13px var(--font); letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 14px; display: block; }
h1 { font: 800 clamp(44px, 7.4vw, 92px)/1.02 var(--display); letter-spacing: -3px; margin: 0 0 22px; }
h2 { font: 800 clamp(34px, 4.8vw, 58px)/1.08 var(--display); letter-spacing: -1.8px; margin: 0 0 18px; }
h3, h2.h3 { font: 700 21px/1.3 var(--display); margin: 0 0 8px; letter-spacing: -0.3px; }
.grad { background: linear-gradient(180deg, #fff 30%, #8b8b94); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 640px; margin: 0 auto 36px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.note { color: var(--dim); font-size: 13px; margin-top: 18px; }

/* ---- Hero ------------------------------------------------------------------------------ */
.hero { padding: 110px 0 40px; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.05), transparent 70%) 50% 10% / 900px 600px no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); }

/* BYTEFORGE logo (original polygon cube) */
.hero-logo { display: block; width: 88px; height: 88px; margin: 0 auto 30px; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.6));
  animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* App window frame */
/* Screenshots already include the app's own rounded window and shadow. */
.window { margin: 56px auto 0; max-width: 1120px; }
.window img { width: 100%; height: auto; }

/* ---- Stats ----------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 32px; overflow: hidden; }
.stats div { padding: 34px 26px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: none; }
.stats b { display: block; font: 700 42px/1 var(--display); letter-spacing: -1px; margin-bottom: 8px; }
.stats span { color: var(--muted); font-size: 14px; }

/* ---- Feature rows ---------------------------------------------------------------------- */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.feature.reverse { grid-template-columns: 1.25fr 1fr; }
.feature.reverse .text { order: 2; }
.feature .text p { color: var(--muted); font-size: 17px; margin: 0 0 22px; }
.feature .media img { width: 100%; height: auto; }
.checks { list-style: none; padding: 0; margin: 0 0 26px; }
.checks li { padding: 8px 0 8px 30px; position: relative; color: #d4d4d8; }
.checks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(34, 197, 94, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2322c55e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.chip { border: 1px solid var(--line2); border-radius: 999px; padding: 5px 13px; font-size: 13px; color: #d4d4d8; background: rgba(255,255,255,.03); }
.chip.on { border-color: rgba(34, 197, 94, .5); color: var(--green); }
.link { color: var(--text); font-weight: 600; display: inline-flex; gap: 6px; }

/* Score meter demo (same as the app's dashboard) */
.meter { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 8px 28px; padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: var(--card); }
.meter .score { grid-row: span 2; align-self: center; }
.meter .score b { font: 600 64px/1 var(--display); color: var(--green); }
.meter .score span { color: var(--muted); margin-left: 4px; }
.meter .score em { display: block; font-style: normal; font-weight: 600; color: var(--green); margin-top: 6px; }
.meter .bars { display: flex; align-items: flex-end; gap: 3px; height: 160px; border-bottom: 1px solid var(--line2); padding-bottom: 4px; }
.meter .bars i { flex: 1; height: var(--h); background: #3a3a41; border-radius: 999px; transition: height 1s cubic-bezier(.2,.8,.2,1); }
.meter .bars i.on { background: var(--green); }
.meter .bars:not(.in) i { height: 2%; }
.meter .axis { display: flex; justify-content: space-between; color: var(--dim); font-size: 12px; }

/* ---- Grid / cards ---------------------------------------------------------------------- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: border-color .25s, transform .25s; }
.card:hover { border-color: var(--line2); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.card .ico { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.25); }
.card .ico svg { width: 20px; height: 20px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card.wide { grid-column: span 2; }
.tag { display: inline-block; font: 700 11px var(--font); letter-spacing: 1.6px; color: var(--dim); border: 1px solid var(--line2);
  border-radius: 999px; padding: 2px 9px; margin-left: 8px; vertical-align: middle; }

.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.timeline .card::before { counter-increment: s; content: "0" counter(s); display: block; font: 700 14px var(--display); color: var(--green);
  letter-spacing: 2px; margin-bottom: 18px; }

.band { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---- Plans ----------------------------------------------------------------------------- */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.plan { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: 32px; padding: 34px;
  display: flex; flex-direction: column; position: relative; }
.plan.featured { border-color: rgba(47, 107, 255, 0.7); box-shadow: 0 0 0 1px rgba(47, 107, 255, 0.4); }
.plan .name { font: 700 12px var(--font); letter-spacing: 2.5px; color: var(--muted); }
.plan.featured .name { color: #7aa2ff; }
.plan .badge { position: absolute; top: -12px; right: 24px; background: var(--blue); color: #fff; font: 700 11px var(--font); letter-spacing: 1px;
  padding: 4px 10px; border-radius: 999px; }
.price { font: 700 46px var(--display); margin: 12px 0 2px; letter-spacing: -1.5px; }
.price small { font: 500 15px var(--font); color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; flex: 1; }
.plan li { padding: 8px 0 8px 28px; position: relative; color: #d4d4d8; font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--green); font-weight: 700; }
.plan li.off { color: #55555e; }
.plan li.off::before { content: "–"; color: #55555e; }
table.compare { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; color: #d4d4d8; }
.compare th { font: 700 12px var(--font); letter-spacing: 2px; color: var(--muted); }
.compare tr:hover td { background: rgba(255, 255, 255, 0.02); }
.yes { color: var(--green); font-weight: 700; }
.no { color: #3f3f46; }

/* ---- Gallery --------------------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; transition: border-color .25s, transform .25s; }
.gallery figure:hover { border-color: var(--line2); transform: translateY(-3px); }
.gallery img { cursor: zoom-in; width: 100%; height: auto; padding: 10px 10px 0; }
.gallery figcaption { padding: 18px 22px; }
.gallery figcaption b { display: block; font: 600 17px var(--display); }
.gallery figcaption span { color: var(--muted); font-size: 14px; }
.gallery .full { grid-column: span 2; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.92); display: none; place-items: center; padding: 30px; cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 22px; border: 1px solid var(--line2); }

/* ---- FAQ ------------------------------------------------------------------------------- */
details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
details summary { cursor: pointer; font: 600 17px var(--display); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; }

/* ---- CTA / footer ---------------------------------------------------------------------- */
.cta { text-align: center; border: 1px solid var(--line2); border-radius: 40px; padding: 80px 30px; position: relative; overflow: hidden;
  background: var(--card); }
footer { border-top: 1px solid var(--line); padding: 64px 0 40px; color: var(--muted); font-size: 14px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.foot h4, .foot .foot-title { color: var(--text); font: 600 13px var(--font); letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 14px; }
.foot a { display: block; padding: 4px 0; }
.foot a:hover { color: var(--text); }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }

/* ---- Reveal ---------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-logo { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---- Responsive ------------------------------------------------------------------------ */
@media (max-width: 960px) {
  section { padding: 84px 0; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 36px; }
  .feature.reverse .text { order: 0; }
  .grid, .grid.four, .plans, .timeline { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: none; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: #000; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .links.open { display: flex; }
  .links a { padding: 12px 0; font-size: 16px; }
  .menu { display: block; }
  .nav .btn-blue { height: 38px; padding: 0 16px; }
  .grid, .grid.two, .grid.four, .plans, .timeline, .gallery { grid-template-columns: 1fr; }
  .card.wide, .gallery .full { grid-column: auto; }
  .compare { font-size: 13px; }
  h1 { letter-spacing: -1.5px; }
}

/* ---- v2.3 details: accessibility, header, checkout ---------------------------------------- */
.skip { position: absolute; left: 16px; top: -60px; z-index: 60; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 12px; }
header { transition: background .25s, box-shadow .25s; }
header.scrolled { background: rgba(0, 0, 0, 0.86); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.links a { position: relative; padding: 6px 2px; }
.links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--text); }

.checkout-hero { padding-bottom: 40px; }
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.checkout-main { display: grid; gap: 16px; }
.switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border: 1px solid var(--line2); border-radius: 999px; background: var(--card); }
.switch a { text-align: center; padding: 12px 16px; border-radius: 999px; font-weight: 700; letter-spacing: 1.5px; color: var(--muted); transition: background .2s, color .2s; }
.switch a small { font-weight: 500; letter-spacing: 0; margin-left: 6px; }
.switch a.on { background: var(--text); color: #000; }
.switch a:not(.on):hover { color: var(--text); }
.flow { list-style: none; counter-reset: f; padding: 0; margin: 8px 0 0; display: grid; gap: 18px; }
.flow li { counter-increment: f; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
.flow li::before { content: counter(f); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.35); color: var(--green); font-weight: 700; }
.flow b { font: 700 17px var(--display); }
.flow span { color: var(--muted); font-size: 15px; }
.summary { position: sticky; top: 88px; display: grid; gap: 14px; }
.summary .name { font: 700 12px var(--font); letter-spacing: 2.5px; color: var(--muted); }
.sum-plan b { display: block; font: 800 26px var(--display); letter-spacing: -0.5px; }
.sum-plan > span { color: var(--muted); font-size: 14px; }
.sum-line, .sum-total { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.sum-line { color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sum-line span:last-child { color: var(--text); }
.sum-total { font: 800 22px var(--display); padding-top: 4px; }
.btn-pay { width: 100%; }
.btn.disabled { background: #26262b; border-color: #26262b; color: #8a8a93; cursor: not-allowed; transform: none; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pay-methods span { font-size: 12px; color: #d4d4d8; border: 1px solid var(--line2); border-radius: 999px; padding: 4px 12px; }
.pay-note { color: var(--dim); font-size: 13px; text-align: center; margin: 0; }
.pay-off { margin: 0; padding: 14px 16px; border-radius: 18px; background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fcd34d; font-size: 14px; text-align: center; }
.pay-off a { color: #fff; text-decoration: underline; }
.pulse { animation: pulse .9s ease; }
@keyframes pulse { 0% { transform: scale(1); } 30% { transform: scale(1.03); } 100% { transform: scale(1); } }
@media (max-width: 960px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; } }

/* ---- v2.4 home page: hero stage, trust band, bento grid, timeline, CTA -------------------- */
.logo-halo { position: relative; width: 140px; height: 140px; margin: 0 auto 18px; display: grid; place-items: center; }
.logo-halo::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.10), transparent 70%); }
.logo-halo .hero-logo { margin: 0; position: relative; }
.hero-logo.small { width: 56px; height: 56px; margin: 0 auto 22px; animation: none; }
.hero-stage { perspective: 1600px; margin-top: 56px; }
.hero-shot { max-width: 1120px; margin: 0 auto; transform-origin: 50% 0; transition: transform .15s linear;
  transform: rotateX(var(--tilt, 14deg)) scale(var(--scale, .96)); will-change: transform; }
.hero-shot img { width: 100%; height: auto; }
.trust-band { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; color: var(--muted); font-size: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 10px; }
.trust svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }

.card, .plan, .tile, .meter, .stats { position: relative; }
.card::after, .tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,0) 40%, rgba(255,255,255,0) 70%, rgba(255,255,255,.06));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card:hover { box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(200px, auto); gap: 16px; }
.tile { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: 28px; padding: 28px;
  overflow: hidden; transition: transform .3s, border-color .3s; }
.tile:hover { transform: translateY(-3px); border-color: var(--line2); }
.tile h3 { margin-bottom: 6px; }
.tile p { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.t-ai { grid-column: span 4; grid-row: span 2; }
.t-radar { grid-column: span 2; grid-row: span 2; }
.t-run, .t-live { grid-column: span 3; }
.t-theme, .t-undo { grid-column: span 3; }
.tag-mini { float: right; font: 700 11px var(--font); letter-spacing: 1.6px; color: var(--dim); border: 1px solid var(--line2); border-radius: 999px; padding: 2px 10px; }
.mini-list { display: grid; gap: 10px; margin-top: 18px; }
.mini-list div { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.02); }
.mini-list i { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--dim); flex: none; }
.mini-list i.ok { background: var(--blue); border-color: var(--blue); box-shadow: inset 0 0 0 3px var(--card); }
.mini-list span { flex: 1; font-size: 15px; }
.mini-list em { font-style: normal; font-size: 12px; color: var(--green); border: 1px solid rgba(34,197,94,.35); border-radius: 999px; padding: 2px 10px; }
.mini-radar { width: 100%; max-width: 260px; display: block; margin: 8px auto 0; }
.mini-radar .shape { transform-origin: 100px 100px; animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.mini-run { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: rgba(0,0,0,.25); }
.mini-bar { height: 8px; border-radius: 99px; background: #26262b; overflow: hidden; margin-bottom: 12px; }
.mini-bar span { display: block; height: 100%; width: 66%; border-radius: 99px; background: linear-gradient(90deg, #15803d, #22c55e); animation: grow 3.5s ease-in-out infinite; }
@keyframes grow { 0% { width: 8%; } 70%, 100% { width: 92%; } }
.mini-run ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.mini-run li { padding-left: 22px; position: relative; color: var(--muted); }
.mini-run li.done { color: #bbf7d0; }
.mini-run li.done::before { content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 700; }
.mini-run li.now::before { content: ""; position: absolute; left: 3px; top: 7px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--green);
  border-right-color: transparent; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mini-spark { width: 100%; height: 90px; display: block; }
.swatches { display: flex; gap: 12px; }
.swatches span { flex: 1; height: 64px; border-radius: 16px; border: 1px solid var(--line2); }
.swatches .dark { background: linear-gradient(135deg, #09090b, #1b1b20); }
.swatches .light { background: linear-gradient(135deg, #ffffff, #eeeef1); }
.tile .ico { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.25); }
.tile .ico svg { width: 20px; height: 20px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 8%; right: 8%; top: 48px; height: 1px; background: linear-gradient(90deg, transparent, var(--line2), transparent); }
.timeline .card { background: var(--card); }

.cta { border: none; padding: 1px; background: linear-gradient(135deg, rgba(47,107,255,.6), rgba(255,255,255,.08) 40%, rgba(34,197,94,.45)); }
.cta > * { position: relative; }
.cta::before { content: ""; position: absolute; inset: 1px; border-radius: 39px; background: radial-gradient(ellipse at 50% 0%, #17171c, var(--card) 70%); }
.cta { padding: 80px 30px; }

.stats b span { font: inherit; }
.feature .media img { border-radius: 18px; }

@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .t-ai, .t-radar, .t-run, .t-live, .t-theme, .t-undo { grid-column: span 2; grid-row: auto; }
  .timeline::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-shot { transform: none; }
  .mini-radar .shape, .mini-bar span, .mini-run li.now::before { animation: none; }
}

/* ---- Todas as versões ---- */
.versions { display: grid; gap: 12px; max-width: 980px; margin: 0 auto; }
.vrow { display: grid; grid-template-columns: 190px 1fr auto auto; align-items: center; gap: 22px; padding: 18px 22px;
  border: 1px solid var(--line); border-radius: 20px; background: var(--card); transition: border-color .2s, transform .2s; }
.vrow:hover { border-color: var(--line2); transform: translateY(-2px); }
.vrow.latest { border-color: rgba(59, 130, 246, .55); background: linear-gradient(135deg, rgba(59, 130, 246, .12), var(--card) 60%); }
.vmain { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.vmain b { font-size: 20px; }
.vbadge { font: 700 11px var(--font); letter-spacing: 1.5px; color: #fff; background: var(--blue); border-radius: 999px; padding: 3px 9px; }
.vdate { color: var(--dim); font-size: 13px; width: 100%; }
.vrow p { color: var(--muted); font-size: 15px; margin: 0; }
.vmeta { display: flex; flex-direction: column; gap: 2px; text-align: right; color: var(--dim); font-size: 12.5px; white-space: nowrap; }
.vsha { font-family: ui-monospace, Consolas, monospace; cursor: help; }
.vrow .btn { padding: 10px 20px; }
@media (max-width: 760px) {
  .vrow { grid-template-columns: 1fr auto; gap: 10px 14px; }
  .vrow p { grid-column: 1 / -1; grid-row: 2; }
  .vmeta { grid-row: 3; text-align: left; }
  .vrow .btn { grid-row: 3; }
}

.lead strong { color: var(--text); font-weight: 700; }
[hidden] { display: none !important; }
.foot a.brand { display: flex; }
.foot a { overflow-wrap: break-word; }
@media (max-width: 720px) { .foot > div:first-child { grid-column: 1 / -1; } }
