:root {
  --bg: #0b0f1a;
  --bg-2: #0f1524;
  --surface: #131a2c;
  --surface-2: #182136;
  --line: rgba(148, 163, 214, .14);
  --text: #eef1fb;
  --muted: #9aa4c2;
  --cyan: #00e5ff;
  --blue: #3b6bff;
  --violet: #8b3dff;
  --grad: linear-gradient(120deg, var(--cyan), var(--blue) 55%, var(--violet));
  --radius: 18px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .6);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-block;
  font: 600 .8rem/1 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.lead, .section__lead { color: var(--muted); font-size: 1.12rem; max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 12px;
  font: 600 .98rem/1 var(--font-body);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(59, 107, 255, .7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(139, 61, 255, .8); }
.btn--ghost { border-color: var(--line); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: rgba(0, 229, 255, .5); background: rgba(0, 229, 255, .06); }
.btn--sm { padding: .6rem 1.05rem; font-size: .9rem; }
.btn--block { width: 100%; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 15, 26, .72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-color: var(--line); background: rgba(11, 15, 26, .9); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand img { border-radius: 10px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 800 1.35rem/1 var(--font-head); letter-spacing: -.02em; }
.brand__sub { font: 600 .56rem/1 var(--font-head); letter-spacing: .42em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }
.brand--sm .brand__name { font-size: 1.1rem; }
.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__menu a:not(.btn) { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav__menu a:not(.btn):hover { color: var(--text); }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }

/* Hero */
.hero { position: relative; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem); overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto; height: 120%;
  background:
    radial-gradient(40% 50% at 75% 40%, rgba(139, 61, 255, .22), transparent 70%),
    radial-gradient(35% 45% at 60% 70%, rgba(0, 229, 255, .14), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: .5;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 2.2rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.hero__chips li { font-size: .82rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem; background: rgba(255,255,255,.02); }

.hero__art { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; display: grid; place-items: center; }
.hero__icon { width: 52%; border-radius: 22%; box-shadow: 0 30px 80px -20px rgba(59, 107, 255, .65), 0 0 0 1px rgba(255,255,255,.08); animation: float 7s ease-in-out infinite; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(148, 163, 214, .22); }
.orbit--1 { inset: 8%; animation: spin 40s linear infinite; }
.orbit--2 { inset: 22%; border-style: solid; border-color: rgba(0, 229, 255, .12); animation: spin 28s linear infinite reverse; }
.orbit--1::before, .orbit--2::before { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; top: -5px; left: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.orbit--2::before { background: var(--violet); box-shadow: 0 0 16px var(--violet); top: auto; bottom: -5px; }
.float-card {
  position: absolute; font-size: .8rem; color: var(--text);
  background: rgba(19, 26, 44, .85); border: 1px solid var(--line); border-radius: 12px;
  padding: .55rem .85rem; box-shadow: var(--shadow); backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
}
.float-card code { color: var(--cyan); font-size: .8rem; }
.float-card--a { top: 12%; right: -2%; animation: float 6s ease-in-out infinite .5s; }
.float-card--b { bottom: 10%; left: 0; animation: float 8s ease-in-out infinite 1s; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--ok { background: #2ee6a6; box-shadow: 0 0 10px #2ee6a6; }

@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 3.2rem; }
.section__head .section__lead { margin-inline: auto; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad);
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(0, 229, 255, .3); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: linear-gradient(135deg, rgba(0,229,255,.16), rgba(139,61,255,.18));
  border: 1px solid rgba(0, 229, 255, .2);
}
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); font-size: .95rem; }
.card ul { list-style: none; padding: 0; margin: 0; font-size: .88rem; }
.card li { padding: .3rem 0 .3rem 1.1rem; position: relative; color: var(--text); }
.card li::before { content: ""; position: absolute; left: 0; top: .78rem; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

/* Products */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.product {
  border-radius: 22px; padding: 2.2rem; position: relative;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, rgba(0,229,255,.45), rgba(139,61,255,.45)) border-box;
  border: 1px solid transparent;
}
.product h3 { font-size: 1.7rem; margin-top: 1rem; }
.product__tag { font-weight: 600; color: var(--text); }
.product p:not(.product__tag) { color: var(--muted); }
.badge { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; background: rgba(0, 229, 255, .12); color: var(--cyan); }
.badge--soon { background: rgba(139, 61, 255, .16); color: #b98bff; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.ticks li { padding: .35rem 0 .35rem 1.8rem; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55rem; width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.4 14.2-4.2-4.2 1.4-1.4 2.8 2.8 5.8-5.8 1.4 1.4Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.4 14.2-4.2-4.2 1.4-1.4 2.8 2.8 5.8-5.8 1.4 1.4Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.link-arrow { font-weight: 600; color: var(--cyan); transition: gap .2s, color .2s; }
.link-arrow:hover { color: #fff; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: s; }
.step { padding: 1.6rem 1.4rem; border-top: 1px solid var(--line); position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 2px; background: var(--grad); }
.step__n { font: 800 2.2rem/1 var(--font-head); display: block; margin-bottom: .9rem; }
.step__n { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { color: var(--muted); font-size: .95rem; }

/* Contact */
.section--contact::before {
  content: ""; position: absolute; inset: 10% 0 auto; height: 70%; pointer-events: none;
  background: radial-gradient(45% 60% at 20% 50%, rgba(0, 229, 255, .08), transparent 70%), radial-gradient(40% 60% at 85% 50%, rgba(139, 61, 255, .12), transparent 70%);
}
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start; position: relative; }
.channels { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: .8rem; }
.channel {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02);
  transition: border-color .2s, background .2s;
}
.channel:hover { border-color: rgba(0, 229, 255, .4); background: rgba(0, 229, 255, .05); }
.channel strong { display: block; font-size: .98rem; }
.channel small { color: var(--muted); font-size: .9rem; }
.channel__icon { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0,229,255,.16), rgba(139,61,255,.18)); }
.channel__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.channel__icon--wa { background: rgba(37, 211, 102, .14); }
.channel__icon--wa svg { stroke: none; color: #25d366; }
.socials { display: flex; gap: .7rem; }
.socials a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--muted); transition: color .2s, border-color .2s, transform .2s;
}
.socials a:hover { color: var(--text); border-color: rgba(0, 229, 255, .4); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.socials svg path[fill] { stroke: none; }

.form {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: 22px; padding: 2rem; box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-size: .88rem; font-weight: 500; }
.opt { color: var(--muted); font-weight: 400; }
input, select, textarea {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 11px; padding: .8rem .95rem; transition: border-color .2s, box-shadow .2s; width: 100%;
}
textarea { resize: vertical; min-height: 120px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239aa4c2' stroke-width='1.8'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
input::placeholder, textarea::placeholder { color: #5f6886; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 229, 255, .15); }
.is-invalid { border-color: #ff5d7a !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { margin: 1rem 0 0; font-size: .92rem; min-height: 1.4em; text-align: center; }
.form__status.ok { color: #2ee6a6; }
.form__status.err { color: #ff5d7a; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 2rem 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer p { margin: 0; color: var(--muted); font-size: .88rem; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  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 .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero__inner, .contact, .products { grid-template-columns: 1fr; }
  .hero__art { max-width: 340px; order: -1; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11, 15, 26, .97); border-bottom: 1px solid var(--line); padding: .5rem 20px 1.2rem;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav__menu a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav__menu .btn { margin-top: 1rem; }
  .nav.is-open .nav__menu { opacity: 1; transform: none; pointer-events: auto; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .cards, .steps, .field-row { grid-template-columns: 1fr; }
  .float-card--a { left: 0; }
  .product, .form { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
