:root {
  --ink: #0a0b14;
  --ink-2: #0f1120;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.10);
  --text: #eef0f7;
  --muted: #9aa0b8;
  --violet: #a78bfa;
  --indigo: #6366f1;
  --cyan: #22d3ee;
  --spectrum: linear-gradient(100deg, #c084fc, #818cf8 35%, #22d3ee 70%, #4ade80);
  --radius: 18px;
  --maxw: 1180px;
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; }

/* ---------- Atmosphere ---------- */
.aurora {
  position: fixed; inset: -20% -10% auto -10%; height: 90vh; z-index: -2;
  background:
    radial-gradient(40% 50% at 20% 15%, rgba(167, 139, 250, 0.22), transparent 70%),
    radial-gradient(45% 55% at 80% 10%, rgba(34, 211, 238, 0.18), transparent 70%),
    radial-gradient(40% 50% at 60% 40%, rgba(99, 102, 241, 0.18), transparent 70%);
  filter: blur(20px);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 48px);
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease, padding .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 11, 20, 0.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.brand__mark { display: grid; place-items: center; }
.brand__name { letter-spacing: -0.03em; }
.brand__ti {
  background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-left: 2px;
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  color: var(--text) !important; border: 1px solid var(--line);
  padding: 8px 18px; border-radius: 999px; background: var(--surface);
}
.nav__cta:hover { border-color: var(--violet); }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease;
}
.btn--primary {
  color: #0a0b14; background: var(--spectrum); background-size: 180% 180%;
  box-shadow: 0 10px 30px -12px rgba(129, 140, 248, 0.7);
  animation: shimmer 6s ease infinite;
}
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(129, 140, 248, 0.9); }
.btn--ghost { color: var(--text); border-color: var(--line); background: var(--surface); }
.btn--ghost:hover { border-color: var(--violet); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  min-height: 100vh; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px;
  padding: 140px clamp(18px, 4vw, 48px) 80px;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem; font-weight: 600;
  color: var(--cyan); margin-bottom: 18px;
}
.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
.spectrum { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); margin: 26px 0 34px; max-width: 52ch; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__chips { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 38px; }
.hero__chips li {
  font-size: 0.82rem; color: var(--muted); padding: 6px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}

/* Prism visual */
.prism { position: relative; height: 420px; display: grid; place-items: center; }
.prism__shape { width: 260px; filter: drop-shadow(0 20px 50px rgba(99,102,241,0.35)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
.prism__beam-in {
  position: absolute; top: 50%; left: 0; width: 45%; height: 3px; transform: translateY(-30px);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.95));
  box-shadow: 0 0 14px rgba(255,255,255,0.8);
}
.prism__spectrum {
  position: absolute; top: 50%; right: -4%; width: 50%;
  display: flex; flex-direction: column; gap: 6px; transform: translateY(-10px) rotate(8deg);
}
.prism__spectrum span {
  display: block; height: 4px; border-radius: 4px; background: var(--c);
  box-shadow: 0 0 16px var(--c); opacity: .9;
  animation: spread 4s ease-in-out infinite;
}
.prism__spectrum span:nth-child(1) { width: 88%; animation-delay: 0s; }
.prism__spectrum span:nth-child(2) { width: 92%; animation-delay: .1s; }
.prism__spectrum span:nth-child(3) { width: 96%; animation-delay: .2s; }
.prism__spectrum span:nth-child(4) { width: 100%; animation-delay: .3s; }
.prism__spectrum span:nth-child(5) { width: 96%; animation-delay: .4s; }
.prism__spectrum span:nth-child(6) { width: 92%; animation-delay: .5s; }
.prism__spectrum span:nth-child(7) { width: 88%; animation-delay: .6s; }
@keyframes spread { 0%,100% { transform: translateX(0); opacity: .85; } 50% { transform: translateX(8px); opacity: 1; } }

/* ---------- Sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 10vw, 130px) clamp(18px, 4vw, 48px); }
.section__head { max-width: 640px; margin-bottom: 56px; }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 14px; }
.section__sub { color: var(--muted); font-size: 1.1rem; }

/* Grid / cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .3s ease, border-color .3s ease, background .3s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--spectrum); opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .3s;
}
.card:hover { transform: translateY(-6px); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card__icon { font-size: 1.9rem; margin-bottom: 16px; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* About */
.section--split { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.about__text h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 22px; }
.about__text p { color: var(--muted); margin-bottom: 16px; }
.vision { margin-top: 30px; padding: 24px; border-left: 2px solid var(--indigo); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.vision h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--text); }
.vision p { margin: 0; }
.values { list-style: none; display: grid; gap: 14px; }
.values li {
  display: flex; flex-direction: column; gap: 4px; padding: 22px 24px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: transform .25s, border-color .25s;
}
.values li:hover { transform: translateX(6px); border-color: var(--cyan); }
.values strong { font-family: var(--font-display); font-size: 1.1rem; }
.values span { color: var(--muted); font-size: 0.95rem; }

/* Downloads */
.grid--downloads { grid-template-columns: repeat(2, 1fr); }
.download {
  display: flex; flex-direction: column; gap: 12px; padding: 30px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: transform .3s, border-color .3s, background .3s;
}
.download:hover { transform: translateY(-5px); border-color: var(--violet); background: var(--surface-2); }
.download__top { display: flex; justify-content: space-between; align-items: center; }
.download__badge {
  font-size: 0.75rem; font-weight: 700; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px;
  background: var(--spectrum); color: #0a0b14;
}
.download__os { font-size: 0.8rem; color: var(--muted); }
.download h3 { font-size: 1.25rem; }
.download p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.download__cta { font-weight: 600; color: var(--cyan); display: inline-flex; gap: 6px; align-items: center; }
.download__cta em { font-style: normal; transition: transform .2s; }
.download:hover .download__cta em { transform: translateX(3px); }
.download--soon { opacity: 0.7; }
.download--soon .download__badge { background: var(--surface-2); color: var(--muted); }

/* Contact */
.section--contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact__intro h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 18px; }
.contact__intro > p { color: var(--muted); margin-bottom: 30px; }
.contact__info { list-style: none; display: grid; gap: 18px; }
.contact__info li { display: flex; flex-direction: column; gap: 4px; }
.contact__label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.contact__info a { font-family: var(--font-display); font-size: 1.25rem; transition: color .2s; }
.contact__info a:hover { color: var(--cyan); }

.contact__form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px); display: grid; gap: 18px;
}
.field { display: grid; gap: 7px; }
.field--row { grid-template-columns: 1fr 1fr; gap: 16px; }
.field--row > div { display: grid; gap: 7px; }
label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
input, textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: rgba(0,0,0,0.25); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
input:focus, textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(99,102,241,0.2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 0.92rem; min-height: 1.2em; }
.form__status.is-ok { color: #4ade80; }
.form__status.is-err { color: #f87171; }

/* Footer */
.footer { border-top: 1px solid var(--line); margin-top: 40px; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 48px clamp(18px, 4vw, 48px); text-align: center; display: grid; gap: 10px; place-items: center; }
.brand--footer { font-size: 1.4rem; }
.footer__tag { color: var(--muted); }
.footer__copy { color: var(--muted); font-size: 0.88rem; }
.footer__copy a { color: var(--cyan); }

/* WhatsApp float */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px -8px rgba(37,211,102,0.7);
  transition: transform .2s; animation: pop .4s ease both .8s;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

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

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); flex-direction: column; justify-content: center;
    align-items: flex-start; gap: 26px; padding: 40px; background: rgba(10,11,20,0.96); backdrop-filter: blur(16px);
    border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .35s ease; }
  .nav__links.is-open { transform: none; }
  .nav__links a { font-size: 1.15rem; }
  .nav__burger { display: flex; z-index: 51; }
  .nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2) { opacity: 0; }
  .nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 120px; gap: 10px; }
  .prism { height: 320px; order: -1; }
  .grid { grid-template-columns: 1fr; }
  .section--split, .section--contact, .grid--downloads { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

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