:root {
  --bg: #071014;
  --bg-soft: #0b171c;
  --panel: rgba(13, 27, 33, .78);
  --panel-solid: #0e1c22;
  --line: rgba(142, 202, 190, .18);
  --line-hot: rgba(105, 234, 202, .5);
  --text: #e8f4f0;
  --muted: #94aaa4;
  --quiet: #677b76;
  --green: #69eaca;
  --cyan: #62b9ff;
  --amber: #e9c46a;
  --red: #ff7e78;
  --violet: #b99cff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 8%, rgba(31, 126, 112, .2), transparent 28rem),
    radial-gradient(circle at 86% 16%, rgba(61, 89, 154, .16), transparent 28rem),
    linear-gradient(180deg, #071014 0%, #081216 50%, #050b0e 100%);
  font: 15px/1.7 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 50; padding: 10px 14px; background: var(--text); color: var(--bg); }
.skip:focus { top: 12px; }
.nav-shell { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(7,16,20,.82); backdrop-filter: blur(18px); }
.nav { width: min(var(--max), calc(100% - 40px)); margin: auto; min-height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 720; letter-spacing: .08em; }
.brand img { width: 36px; height: 36px; border-radius: 11px; object-fit: cover; border: 1px solid var(--line-hot); }
.nav-links { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 13px; }
.nav-links a:hover { color: var(--text); }
.lang { border: 1px solid var(--line); color: var(--green); background: transparent; border-radius: 999px; padding: 7px 11px; cursor: pointer; }
.hero, .section, .footer { width: min(var(--max), calc(100% - 40px)); margin: auto; }
.hero { min-height: 76vh; display: grid; grid-template-columns: 1.08fr .92fr; gap: 52px; align-items: center; padding: 88px 0 72px; }
.brand-art { margin: 0; width: min(100%, 470px); justify-self: center; padding: 12px; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.32), 0 0 55px rgba(105,234,202,.11); }
.brand-art img { display: block; width: 100%; height: auto; border-radius: 16px; }
.eyebrow { color: var(--green); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 750; }
h1 { margin: 18px 0; font-size: clamp(47px, 7vw, 88px); line-height: .95; letter-spacing: -.065em; }
.subtitle { max-width: 720px; font-size: clamp(18px, 2.1vw, 25px); line-height: 1.35; color: #c7d8d3; }
.lead { max-width: 710px; color: var(--muted); font-size: 16px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 11px; border: 1px solid var(--line-hot); color: var(--bg); background: var(--green); text-decoration: none; font-weight: 720; }
.button.secondary { color: var(--text); background: rgba(255,255,255,.025); border-color: var(--line); }
.button.disabled { pointer-events: none; color: var(--quiet); border-color: var(--line); background: rgba(255,255,255,.02); }
.system-viz { position: relative; min-height: 450px; display: grid; place-items: center; }
.orb { width: 270px; height: 270px; border: 1px solid rgba(105,234,202,.45); border-radius: 50%; position: relative; box-shadow: inset 0 0 70px rgba(105,234,202,.1), 0 0 90px rgba(105,234,202,.08); animation: breathe 7s ease-in-out infinite; }
.orb::before, .orb::after { content: ""; position: absolute; inset: 17%; border: 1px solid rgba(98,185,255,.34); border-radius: 43% 57% 63% 37%; animation: spin 14s linear infinite; }
.orb::after { inset: 31%; border-color: rgba(185,156,255,.4); animation-direction: reverse; animation-duration: 9s; }
.node { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 22px var(--green); }
.node.a { left: 10%; top: 23%; }.node.b { right: 3%; top: 48%; background: var(--cyan); }.node.c { left: 35%; bottom: 5%; background: var(--violet); }.node.d { right: 29%; top: 6%; background: var(--amber); }
.viz-label { position: absolute; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(7,16,20,.9); color: var(--muted); font: 11px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.l1 { top: 10%; left: 3%; }.l2 { top: 27%; right: 0; }.l3 { bottom: 17%; left: 0; }.l4 { bottom: 6%; right: 11%; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.035); } }
.status-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.018); }
.status-grid { width: min(var(--max), calc(100% - 40px)); margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.status-item { padding: 20px; border-right: 1px solid var(--line); }
.status-item:first-child { border-left: 1px solid var(--line); }
.status-item strong { display: block; font-size: 13px; }.status-item span { color: var(--muted); font-size: 12px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; background: var(--green); box-shadow: 0 0 13px currentColor; }
.dot.amber { background: var(--amber); }.dot.red { background: var(--red); }.dot.violet { background: var(--violet); }
.section { padding: 94px 0; border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: .42fr 1fr; gap: 36px; margin-bottom: 38px; }
.section h2 { margin: 0; font-size: clamp(31px, 4vw, 48px); line-height: 1.08; letter-spacing: -.04em; }
.section-intro { color: var(--muted); max-width: 760px; margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { min-height: 180px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(18,37,44,.72), rgba(9,20,25,.78)); }
.card h3 { margin: 7px 0 8px; font-size: 18px; }.card p { margin: 0; color: var(--muted); }
.kicker { color: var(--green); font: 11px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.tag { display: inline-block; margin-top: 18px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 8px; color: var(--muted); font: 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.tag.green { color: var(--green); border-color: rgba(105,234,202,.32); }.tag.amber { color: var(--amber); border-color: rgba(233,196,106,.32); }.tag.red { color: var(--red); border-color: rgba(255,126,120,.32); }
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; align-items: stretch; }
.flow div { position: relative; padding: 18px 12px; border: 1px solid var(--line); border-radius: 12px; text-align: center; color: #b9cbc6; font-size: 12px; background: rgba(255,255,255,.018); }
.flow div:not(:last-child)::after { content: "→"; position: absolute; right: -10px; color: var(--green); z-index: 2; }
.demo { display: grid; grid-template-columns: .35fr .65fr; gap: 22px; padding: 26px; border: 1px solid var(--line-hot); border-radius: 18px; background: rgba(10,27,31,.66); }
.demo ol { margin: 0; padding-left: 20px; color: var(--muted); }.demo li { margin: 7px 0; }
.measure { width: 100%; border-collapse: collapse; margin-top: 25px; }
.measure th, .measure td { padding: 13px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.measure th { color: var(--quiet); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }.measure td { color: var(--muted); }.measure td:first-child { color: var(--text); }
.warning { padding: 19px 22px; border-left: 3px solid var(--amber); background: rgba(233,196,106,.06); color: #d8c99c; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-box { padding: 30px; border: 1px solid var(--line-hot); border-radius: 18px; background: rgba(12,28,33,.75); }
.contact-box a { color: var(--green); }
.footer { padding: 35px 0 48px; display: flex; justify-content: space-between; gap: 20px; color: var(--quiet); font-size: 12px; }
[data-lang="pt"] { display: none; }
body.pt [data-lang="en"] { display: none; }
body.pt [data-lang="pt"] { display: initial; }
body.pt p[data-lang="pt"] { display: block; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; }.system-viz { min-height: 330px; }.grid-3 { grid-template-columns: 1fr 1fr; }.flow { grid-template-columns: repeat(3,1fr); }.section-head { grid-template-columns: 1fr; }.nav-links a:not(.keep) { display: none; } }
@media (max-width: 620px) { .hero,.section,.footer,.nav,.status-grid { width: min(100% - 26px, var(--max)); }.hero { padding-top: 58px; }.grid-3,.grid-2,.contact,.demo { grid-template-columns: 1fr; }.status-grid { grid-template-columns: 1fr 1fr; }.status-item:nth-child(3) { border-left: 1px solid var(--line); }.flow { grid-template-columns: 1fr 1fr; } h1 { font-size: 50px; }.footer { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation: none !important; scroll-behavior: auto !important; } }
