:root {
  --bg: #09090B;
  --panel: #0F0F11;
  --panel-2: #111113;
  --line: #1F1F23;
  --line-2: #27272A;
  --line-3: #3F3F46;
  --text: #F4F4F5;
  --text-2: #D4D4D8;
  --muted: #A1A1AA;
  --dim: #71717A;
  --accent: #FF8A3D;
  --accent-ink: #1A0B00;
  --accent-glow: #FF8A3D66;
  --accent-soft: #FF8A3D2E;
  --ok: #4ADE80;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px);
  background-size: 64px 64px;
  color: var(--text);
  font-family: Geist, system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: #FFB070; }
a:hover { color: #FFD2AD; }
h1, h2, h3 { font-weight: 500; }
.mono, .mono-label, .stack, .terminal-body, .code, .lang button { font-family: 'Geist Mono', ui-monospace, monospace; }
.accent { color: var(--accent); }
.bright { color: var(--text); }
.ok { color: var(--ok); }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Animations */
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes flow { to { stroke-dashoffset: -120; } }
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.cursor { color: var(--accent); animation: blink 1.05s steps(1) infinite; }
.flow { animation: flow 3.2s linear infinite; }
.pulse { animation: pulse 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .cursor, .flow, .pulse { animation: none; } html { scroll-behavior: auto; } }

/* Header */
.header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-size: 17px; font-weight: 600; letter-spacing: -0.2px; }
.brand:hover { color: var(--text); }
.nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 14px; }
.nav a { color: var(--text-2); text-decoration: none; }
.nav a:hover { color: var(--text); }
.header-right { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel-2); }
.lang button { min-height: 32px; padding: 4px 11px; border: 0; border-radius: 6px; font-size: 12px; cursor: pointer; background: transparent; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--line-2); color: #fff; }
.btn-outline { padding: 9px 16px; border: 1px solid var(--line-3); border-radius: 8px; font-size: 14px; color: var(--text); text-decoration: none; background: var(--panel-2); }
.btn-outline:hover { color: var(--text); border-color: var(--accent); }
.btn-accent { display: inline-block; padding: 10px 18px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: 0 0 24px var(--accent-glow); }
.btn-accent:hover { color: var(--accent-ink); background: #FFA466; }
.btn-accent.large { padding: 15px 28px; border-radius: 10px; font-size: 16px; box-shadow: 0 0 32px var(--accent-glow); overflow-wrap: anywhere; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Hero */
.hero { position: relative; max-width: 1160px; margin: 0 auto; overflow: hidden; text-align: center; }
.traces { position: absolute; left: 0; top: 0; width: 100%; height: 820px; pointer-events: none; }
.hero-inner { position: relative; padding-top: 96px; padding-bottom: 72px; }
.badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 28px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel-2); font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--text-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1 { margin: 0 auto; max-width: 820px; font-size: clamp(38px, 7vw, 64px); line-height: 1.05; letter-spacing: -0.04em; }
.lead { margin: 24px auto 0; max-width: 600px; font-size: 18px; line-height: 1.6; color: var(--muted); }

.terminal { margin: 40px auto 0; max-width: 560px; text-align: left; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 0 0 6px #ffffff05, 0 30px 80px #00000080; }
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.light { width: 10px; height: 10px; border-radius: 50%; background: var(--line-3); }
.terminal-title { margin-left: 8px; font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--muted); }
.terminal-body { padding: 18px 20px 20px; font-size: 14px; line-height: 1.9; color: var(--muted); overflow-x: auto; }
.terminal-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 14px 16px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
.stack-label { margin: 64px 0 18px; font-size: 13px; color: var(--dim); }
.stack { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; font-size: 15px; color: var(--muted); }

/* Sections */
.section { border-top: 1px solid var(--line); padding: 96px 0; }
.section.center { text-align: center; }
.section h2 { margin: 0 auto; max-width: 640px; font-size: clamp(30px, 5vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.section h2.left { margin: 0 0 40px; }
.section h2.big { max-width: 720px; font-size: clamp(34px, 6vw, 52px); margin-bottom: 18px; }
.section-lead { margin: 18px auto 48px; max-width: 560px; font-size: 17px; line-height: 1.6; color: var(--muted); }

.steps { display: flex; flex-wrap: wrap; gap: 16px; text-align: left; }
.step { flex: 1 1 300px; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.step-art { position: relative; height: 180px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 60%, var(--accent-soft), transparent 60%); }
.corner { position: absolute; width: 14px; height: 14px; border: 0 solid #52525B; }
.corner.tl { left: 14px; top: 14px; border-left-width: 1.5px; border-top-width: 1.5px; }
.corner.tr { right: 14px; top: 14px; border-right-width: 1.5px; border-top-width: 1.5px; }
.corner.bl { left: 14px; bottom: 14px; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.corner.br { right: 14px; bottom: 14px; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.glyph { font-family: 'Geist Mono', monospace; font-size: 46px; color: var(--accent); text-shadow: 0 0 30px var(--accent-glow); }
.step-body { padding: 22px 24px 26px; border-top: 1px solid var(--line); }
.mono-label { margin: 0 0 6px; font-size: 12px; color: var(--muted); }
.step-body h3 { margin: 0 0 8px; font-size: 20px; }
.step-body p:last-child { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

.services { display: flex; flex-wrap: wrap; gap: 24px; }
.service-list { flex: 1 1 400px; min-width: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); }
.service { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-bottom: 1px solid var(--line); border-left: 2px solid transparent; }
.service:last-child { border-bottom: 0; }
.service.active { border-left-color: var(--accent); }
.service .icon { flex: none; width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #141416; border: 1px solid var(--line-2); font-family: 'Geist Mono', monospace; font-size: 15px; color: var(--text-2); }
.service.active .icon { background: var(--accent); color: var(--accent-ink); }
.service h3 { margin: 0 0 4px; font-size: 17px; }
.service p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }

.code-window { flex: 1 1 440px; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.code-bar { display: flex; align-items: center; gap: 16px; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.code { padding: 18px 0; font-size: 13.5px; line-height: 1.85; overflow-x: auto; color: var(--muted); }
.code .line { padding: 0 18px; white-space: pre; }
.code .ln { display: inline-block; width: 32px; color: #52525B; }
.code .k { color: var(--text-2); }
.code .hl { background: #FF8A3D1F; color: #fff; }

.logos { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.logo-tile { flex: 1 1 300px; max-width: 420px; display: flex; align-items: center; justify-content: center; padding: 30px; background: #FFFFFF; border-radius: 14px; }
.logo-tile img { display: block; width: 100%; max-width: 280px; height: 64px; }
.logo-gcp { object-fit: cover; }
.logo-k8s { object-fit: contain; }

.contact { position: relative; overflow: hidden; padding: 112px 0; }
.contact .glow { position: absolute; left: 50%; top: 100%; width: 900px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, var(--accent-soft), transparent); pointer-events: none; }
.contact-inner { position: relative; }
.contact .section-lead { margin-bottom: 36px; }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 24px; font-size: 13px; color: var(--muted); }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }

/* Privacy / 404 pages */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 80px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 8px; text-align: left; }
.doc .updated { color: var(--muted); margin: 0 0 40px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--text-2); font-size: 17px; line-height: 1.7; }
.back { display: inline-block; margin-bottom: 32px; font-weight: 500; text-decoration: none; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); }
[data-lang-block] { display: none; }
html[lang="en"] [data-lang-block="en"], html[lang="pt-BR"] [data-lang-block="pt"] { display: block; }

@media (max-width: 720px) {
  .nav { order: 3; width: 100%; gap: 14px; font-size: 13.5px; }
  .header-right .btn-outline { display: none; }
  .traces { display: none; }
  .hero-inner { padding-top: 64px; }
  .section { padding: 72px 0; }
}
