/* ============================================================
   VadeTech — Landing
   Dark tech moderno
   ============================================================ */

:root {
  --bg: #07070c;
  --bg-soft: #0d0d16;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #f4f4f8;
  --text-dim: #a9abbd;
  --text-faint: #6b6d82;

  --cyan: #22d3ee;
  --amber: #f5a524;
  --violet: #a855f7;
  --indigo: #6366f1;

  --grad: linear-gradient(105deg, #22d3ee 0%, #6366f1 50%, #a855f7 100%);

  --maxw: 1160px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: rgba(99, 102, 241, 0.35); color: #fff; }

/* ---------- Animated background ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}

.bg-orbs { position: fixed; inset: 0; z-index: -3; overflow: hidden; }
.orb {
  position: absolute;
  width: 46vw;
  height: 46vw;
  max-width: 640px;
  max-height: 640px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: float 22s var(--ease) infinite alternate;
}
.orb--cyan   { top: -10%; left: -8%;  background: var(--cyan);   }
.orb--amber  { top: 28%;  right: -12%; background: var(--amber); opacity: 0.28; animation-delay: -7s; }
.orb--violet { bottom: -18%; left: 30%; background: var(--violet); animation-delay: -13s; }

@keyframes float {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -50px) scale(1.12); }
}

/* ---------- Shared ---------- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.section-head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

section { padding: clamp(4.5rem, 11vw, 9rem) 1.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(99, 102, 241, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(99, 102, 241, 0.75); }
.btn--ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { background: var(--surface-2); transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.2rem, 4vw, 2.6rem);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 7, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav__brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; }
.nav__name { font-family: "Space Grotesk", sans-serif; font-size: 1.2rem; letter-spacing: -0.01em; }
.nav__name-accent { color: var(--indigo); }
.nav__mark { filter: drop-shadow(0 0 10px rgba(99,102,241,0.5)); }

.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  font-size: 0.92rem;
  color: var(--text-dim);
  font-weight: 500;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 0.8rem; }

/* Language dropdown */
.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.lang__btn:hover { border-color: var(--border-strong); color: var(--text); }
.lang__chev { transition: transform 0.25s var(--ease); opacity: 0.7; }
.lang.is-open .lang__chev { transform: rotate(180deg); }

.lang__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 160px;
  list-style: none;
  background: rgba(13, 13, 22, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.4rem;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 60;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 9px;
  font-size: 0.9rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.lang__menu li span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--text-faint);
  width: 22px;
}
.lang__menu li:hover { background: var(--surface-2); color: var(--text); }
.lang__menu li.is-active { color: var(--text); }
.lang__menu li.is-active span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 7rem;
  position: relative;
}
.hero__inner { max-width: 860px; }
.hero__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 1.6rem;
}
.hero__sub {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 2.4rem;
}
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.hero__scroll-chev {
  color: var(--text-faint);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ---------- Manifesto ---------- */
.manifesto { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.manifesto__text {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text);
}

/* ---------- Products ---------- */
.products { max-width: var(--maxw); margin: 0 auto; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem 1.8rem;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 340px;
}
.product-card:hover { transform: translateY(-6px); }
.product-card__glow {
  position: absolute;
  top: -40%; left: 50%;
  width: 120%; height: 60%;
  transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.product-card:hover .product-card__glow { opacity: 0.4; }
.product-card--cyan:hover   { border-color: rgba(34, 211, 238, 0.4); }
.product-card--amber:hover  { border-color: rgba(245, 165, 36, 0.4); }
.product-card--violet:hover { border-color: rgba(168, 85, 247, 0.4); }
.product-card--cyan   .product-card__glow { background: var(--cyan); }
.product-card--amber  .product-card__glow { background: var(--amber); }
.product-card--violet .product-card__glow { background: var(--violet); }

.product-card__badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.product-card--cyan   .product-card__badge { color: var(--cyan);   border-color: rgba(34,211,238,0.3); }
.product-card--amber  .product-card__badge { color: var(--amber);  border-color: rgba(245,165,36,0.3); }
.product-card--violet .product-card__badge { color: var(--violet); border-color: rgba(168,85,247,0.3); }

.product-card__name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  margin: 1.1rem 0 0.7rem;
  letter-spacing: -0.01em;
}
.product-card__desc { color: var(--text-dim); font-size: 0.96rem; flex-grow: 1; }
.product-card__meta {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1.3rem 0 1.4rem;
}
.product-card__meta li {
  font-size: 0.78rem;
  color: var(--text-faint);
  background: var(--surface-2);
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
}
.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  align-self: flex-start;
  transition: gap 0.2s var(--ease);
}
.product-card__link svg { transition: transform 0.2s var(--ease); }
.product-card--cyan   .product-card__link:hover { color: var(--cyan); }
.product-card--amber  .product-card__link:hover { color: var(--amber); }
.product-card--violet .product-card__link:hover { color: var(--violet); }
.product-card__link:hover svg { transform: translate(2px, -2px); }

/* ---------- Horizon banner (roadmap + expansão) ---------- */
.horizon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2.4rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-dim);
  font-size: 0.9rem;
  text-align: center;
  max-width: max-content;
  margin-left: auto;
  margin-right: auto;
}
.horizon__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
  animation: ping 2.4s var(--ease) infinite;
  flex-shrink: 0;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

/* ---------- Tech ---------- */
.tech { max-width: var(--maxw); margin: 0 auto; }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tech-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.tech-card__icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--indigo);
  margin-bottom: 1.1rem;
}
.tech-card__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.tech-card__desc { color: var(--text-dim); font-size: 0.9rem; }

/* ---------- CTA ---------- */
.cta { max-width: var(--maxw); margin: 0 auto; }
.cta__card {
  position: relative;
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) 2rem;
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(ellipse 80% 130% at 50% -10%, rgba(99, 102, 241, 0.28), transparent 60%),
    radial-gradient(circle at 12% 120%, rgba(34, 211, 238, 0.12), transparent 55%),
    radial-gradient(circle at 88% 120%, rgba(168, 85, 247, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  overflow: hidden;
}
.cta__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}
.cta__sub { color: var(--text-dim); font-size: 1.08rem; margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  padding: 4rem 1.5rem 2rem;
  background:
    radial-gradient(ellipse 70% 130% at 50% 0%, rgba(99, 102, 241, 0.20), transparent 60%),
    radial-gradient(circle at 6% 110%, rgba(34, 211, 238, 0.10), transparent 45%),
    radial-gradient(circle at 94% 110%, rgba(168, 85, 247, 0.13), transparent 45%),
    linear-gradient(180deg, #0c0c18 0%, #100f1e 100%);
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), rgba(168, 85, 247, 0.4), transparent);
}
.footer__top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
.footer__brand-col { max-width: 340px; }
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}
.footer__tag { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 1.1rem; }
.footer__founder { font-size: 0.82rem; color: var(--text-faint); line-height: 1.5; }
.footer__founder strong { display: block; color: var(--text-dim); font-weight: 600; font-size: 0.9rem; }

.footer__col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.footer__col a { color: var(--text-dim); font-size: 0.9rem; transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--text); }
.footer__base {
  max-width: var(--maxw);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-faint);
  font-size: 0.82rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand-col { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 520px) {
  .tech-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 1.8rem; }
  .horizon { font-size: 0.82rem; padding: 0.8rem 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .hero__scroll-line { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}