:root {
  --bg: #070a14;
  --bg-2: #0c1122;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #e8ecf6;
  --muted: #9aa4bd;
  --primary: #4f8cff;
  --accent: #22d3ee;
  --violet: #8b5cf6;
  --grad: linear-gradient(120deg, var(--primary), var(--accent));
  --radius: 18px;
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -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(--display); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }

/* Fundo animado */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-fx::before {
  content: ""; 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 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; animation: float 18s ease-in-out infinite; }
.orb.o1 { width: 520px; height: 520px; background: var(--primary); top: -180px; left: -120px; }
.orb.o2 { width: 440px; height: 440px; background: var(--violet); top: 120px; right: -160px; animation-delay: -6s; opacity: .3; }
.orb.o3 { width: 380px; height: 380px; background: var(--accent); bottom: -200px; left: 35%; animation-delay: -12s; opacity: .18; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
}

/* Header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled { background: rgba(7, 10, 20, .72); backdrop-filter: blur(14px); border-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.logo-mark { width: 34px; height: 34px; }
.logo span b { font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.menu-btn { display: none; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: currentColor; margin: auto; position: relative; transition: .3s; border-radius: 2px; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 12px; font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s;
}
.btn-primary { background: var(--grad); color: #04101f; box-shadow: 0 10px 30px -10px rgba(79, 140, 255, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(34, 211, 238, .8); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }

/* Hero */
.hero { padding: 150px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--border); font-size: .85rem; color: var(--muted); margin-bottom: 26px;
}
.badge i { font-style: normal; background: var(--grad); color: #04101f; font-weight: 700; padding: 2px 10px; border-radius: 99px; font-size: .75rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; gap: 40px; margin-top: 50px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: var(--display); font-size: 1.9rem; }
.hero-stats span { color: var(--muted); font-size: .9rem; }

/* Mockup de celular */
.phone-wrap { position: relative; display: grid; place-items: center; }
.phone {
  width: 270px; aspect-ratio: 9 / 19; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #1b2236, #0b0f1c);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 8px rgba(255,255,255,.02), 0 0 90px -20px rgba(79,140,255,.5);
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-14px) rotate(-1deg); } }
.screen { height: 100%; border-radius: 34px; background: #3b47ec; overflow: hidden; position: relative; }
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.screen::before { content: ""; position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 70px; height: 18px; background: #000; border-radius: 99px; z-index: 1; }
.float-chip {
  position: absolute; padding: 12px 16px; border-radius: 14px; font-size: .85rem; font-weight: 600;
  background: rgba(12, 17, 34, .8); border: 1px solid var(--border); backdrop-filter: blur(10px);
  display: flex; align-items: center; gap: 10px; animation: bob 6s ease-in-out infinite;
}
.float-chip .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--grad); color: #04101f; font-size: .9rem; }
.float-chip img.ic { background: none; }
.chip-1 { top: 14%; left: -4%; animation-delay: -2s; }
.chip-2 { bottom: 16%; right: -6%; animation-delay: -4s; }

/* Seções */
section { padding: 100px 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .35s, border-color .35s, background .35s; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(79,140,255,.16), transparent 45%);
}
.card:hover { transform: translateY(-6px); border-color: rgba(79,140,255,.4); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(79,140,255,.2), rgba(34,211,238,.12)); border: 1px solid rgba(79,140,255,.3);
  color: var(--accent);
}
.icon svg { width: 26px; height: 26px; }

/* Apps */
.apps { background: linear-gradient(180deg, transparent, var(--bg-2) 20%, var(--bg-2) 80%, transparent); }
.featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
  padding: 44px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, rgba(59,71,236,.22), rgba(255,255,255,.03) 60%);
  border: 1px solid rgba(79,140,255,.28);
}
.featured-top { display: flex; gap: 20px; align-items: center; margin-bottom: 22px; }
.featured-icon { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 14px 36px -12px rgba(59,71,236,.9); flex: none; }
.featured h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 6px 0 4px; }
.featured .tag { font-size: .8rem; color: var(--muted); }
.status {
  display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: #fcd34d; background: rgba(252,211,77,.1); border: 1px solid rgba(252,211,77,.3); padding: 4px 10px; border-radius: 99px;
}
.status i { width: 7px; height: 7px; border-radius: 50%; background: #fcd34d; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.featured-lead { color: #c3cadb; font-size: 1.05rem; }
.feature-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.feature-list li { position: relative; padding-left: 22px; color: var(--muted); font-size: .94rem; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.featured-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.shots img { flex: 0 0 clamp(170px, 46%, 240px); width: clamp(170px, 46%, 240px); height: auto; border-radius: 22px; scroll-snap-align: start; border: 1px solid var(--border); }
.soon-card {
  display: flex; gap: 20px; align-items: center; margin-top: 22px; padding: 26px 30px;
  border-radius: var(--radius); border: 1px dashed rgba(255,255,255,.15); background: var(--surface);
}
.soon-card .icon { margin: 0; flex: none; }
.soon-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.soon-card p { color: var(--muted); margin: 0; }
.play-badge {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  padding: 9px 16px; border-radius: 10px; background: #000; border: 1px solid rgba(255,255,255,.2);
  font-size: .8rem; line-height: 1.2; transition: border-color .25s;
}
.play-badge:hover { border-color: var(--accent); }
.play-badge small { display: block; font-size: .65rem; color: var(--muted); text-transform: uppercase; }
.play-badge strong { font-size: 1rem; }
.play-badge svg { width: 22px; height: 22px; }
.play-badge.soon { opacity: .6; pointer-events: none; }

/* Processo */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--display); font-size: 2.4rem; font-weight: 700; margin-bottom: 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Diferenciais */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.checks li { display: flex; gap: 16px; align-items: flex-start; }
.checks li::before {
  content: "✓"; flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(34,211,238,.12); color: var(--accent); font-weight: 700; font-size: .9rem; margin-top: 2px;
}
.checks strong { display: block; }
.checks span { color: var(--muted); font-size: .96rem; }
.tech-panel { padding: 30px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .9rem; overflow-x: auto; }
.tech-panel .dots { display: flex; gap: 7px; margin-bottom: 20px; }
.tech-panel .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.tech-panel .dots i:nth-child(2) { background: #febc2e; }
.tech-panel .dots i:nth-child(3) { background: #28c840; }
.tech-panel pre { margin: 0; white-space: pre; color: var(--muted); line-height: 1.8; }
.tech-panel .k { color: var(--violet); }
.tech-panel .s { color: var(--accent); }
.tech-panel .f { color: var(--primary); }
.tech-panel .c { color: #5b6582; }

/* CTA / contato */
.cta-box {
  position: relative; text-align: center; padding: 70px 30px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, rgba(79,140,255,.18), rgba(139,92,246,.14) 50%, rgba(34,211,238,.12));
  border: 1px solid rgba(79,140,255,.3);
}
.cta-box h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.cta-box p { color: var(--muted); max-width: 560px; margin: 0 auto 32px; font-size: 1.08rem; }
.cta-box .hero-cta { justify-content: center; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 50px 0 30px; color: var(--muted); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: var(--text); font-family: var(--display); margin: 0 0 14px; font-size: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .85rem; }

/* Páginas legais */
.legal { padding: 140px 0 80px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; }
.legal p, .legal li { color: #c3cadb; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: .5em; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal .updated { color: var(--muted); font-size: .92rem; }
.legal .box { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); margin: 24px 0; }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

/* Responsivo */
@media (max-width: 980px) {
  .hero-grid, .split, .featured { grid-template-columns: 1fr; }
  .featured { padding: 30px; }
  .phone-wrap { margin-top: 20px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu-btn { display: grid; place-items: center; }
  .nav-links {
    position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0; padding: 10px 16px 20px;
    background: rgba(7,10,20,.97); border-bottom: 1px solid var(--border);
    transform: translateY(-120%); opacity: 0; transition: transform .35s, opacity .35s; visibility: hidden;
  }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; font-size: 1.05rem; }
  .nav-links .btn { width: 100%; margin-top: 8px; }
  .menu-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .header.menu-open { background: rgba(7,10,20,.97); }
  section { padding: 70px 0; }
  .hero { padding: 120px 0 60px; }
  .cards, .steps, .feature-list { grid-template-columns: 1fr; }
  .featured { padding: 22px; }
  .featured-top { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 28px; }
  .chip-1 { left: 0; }
  .chip-2 { right: 0; }
  .phone { width: 230px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
