:root {
  --blue-950: #031025;
  --blue-900: #061a3a;
  --blue-800: #082552;
  --blue-700: #0a3672;
  --blue-600: #1558a5;
  --blue-500: #2177d4;
  --cyan: #7fd7ff;
  --white: #ffffff;
  --text: #eff7ff;
  --muted: #b6c9e9;
  --line: rgba(255, 255, 255, .14);
  --glass: rgba(255, 255, 255, .08);
  --glass-strong: rgba(255, 255, 255, .13);
  --shadow: 0 24px 90px rgba(0, 0, 0, .35);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 5%, rgba(38, 124, 255, .36), transparent 32rem),
    radial-gradient(circle at 75% 12%, rgba(127, 215, 255, .18), transparent 28rem),
    linear-gradient(145deg, var(--blue-950) 0%, var(--blue-900) 38%, var(--blue-700) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 78%);
  z-index: -2;
}

.site-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.orb {
  position: absolute;
  display: block;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .32;
  transform: translate3d(0,0,0);
  animation: drift 13s ease-in-out infinite alternate;
}

.orb-one {
  top: 2%;
  left: -12rem;
  background: #2b77ff;
}

.orb-two {
  top: 30%;
  right: -12rem;
  background: #6ed5ff;
  animation-duration: 16s;
}

.orb-three {
  bottom: -12rem;
  left: 30%;
  background: #1347a5;
  animation-duration: 19s;
}

.grid-glow {
  position: absolute;
  inset: auto -20% -30% -20%;
  height: 48rem;
  background: radial-gradient(ellipse at center, rgba(33, 119, 212, .45), transparent 65%);
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, -30px, 0) scale(1.08); }
}

.hero {
  position: relative;
  padding: 24px 24px 70px;
}

.topbar {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(3, 16, 37, .5);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 16px 60px rgba(0,0,0,.2);
  position: sticky;
  top: 18px;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 0 28px rgba(127, 215, 255, .45);
  overflow: hidden;
}

.brand-mark img {
  width: 74%;
  height: 74%;
  object-fit: contain;
  display: block;
}

.brand strong, .brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: .76rem;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  padding: 10px 14px;
  border-radius: 999px;
  transition: .2s ease;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

.hero-content {
  width: min(100%, var(--max-width));
  margin: 88px auto 40px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 900;
  font-size: .78rem;
}

h1, h2, h3, p {
  text-wrap: balance;
}

h1 {
  margin: 0 auto;
  max-width: 980px;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  line-height: .88;
  letter-spacing: -.085em;
  font-weight: 900;
}

h1 span {
  display: inline-block;
  background: linear-gradient(90deg, #fff, #9ce2ff 38%, #54a7ff 78%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy {
  margin: 28px auto 0;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--blue-950);
  background: linear-gradient(135deg, #fff, #aee6ff 44%, #3b93ff);
  box-shadow: 0 18px 48px rgba(33, 119, 212, .28);
  border: 0;
}

.button.ghost {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}

.button.small {
  min-height: 42px;
  padding-inline: 16px;
  font-size: .92rem;
}



.result-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.08) 42%, transparent 62%);
  transform: translateX(-120%);
  transition: transform .8s ease;
  pointer-events: none;
}

.result-card:hover::after {
  transform: translateX(120%);
}




.section {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 76px 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.compact-heading {
  margin-bottom: 22px;
}








.toolbar {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 14px;
  position: sticky;
  top: 98px;
  z-index: 15;
  padding: 10px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(3, 16, 37, .62);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 55px rgba(0,0,0,.2);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--cyan);
}

.search-box input,
.toolbar select {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  font: inherit;
  font-weight: 700;
}

.search-box input::placeholder {
  color: rgba(239, 247, 255, .55);
}

.toolbar select {
  min-height: 54px;
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  color-scheme: dark;
  cursor: pointer;
}

.results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 20px 4px 18px;
  color: var(--muted);
  font-weight: 800;
}

.text-button {
  border: 0;
  color: var(--cyan);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.result-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  min-height: 204px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.115), rgba(255,255,255,.045));
  border: 1px solid var(--line);
  box-shadow: 0 20px 70px rgba(0,0,0,.2);
  backdrop-filter: blur(18px);
  transform: translateY(0);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.result-card:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 215, 255, .35);
  background: linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.06));
}

.result-card .category {
  min-height: 36px;
  color: var(--cyan);
  font-size: .76rem;
  line-height: 1.35;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.result-card h3 {
  margin: 22px 0 18px;
  color: var(--white);
  font-size: 1.32rem;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.percent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  font-weight: 900;
}

.percent-row span:first-child {
  color: var(--muted);
  font-size: .86rem;
}

.percent-row span:last-child {
  color: var(--white);
  font-size: 1.18rem;
}

.progress {
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  overflow: hidden;
}

.progress > span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(127,215,255,.95), rgba(33,119,212,.95));
  box-shadow: 0 0 22px rgba(127, 215, 255, .45);
  transition: width .7s ease;
}

.empty-state {
  padding: 40px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
}

.empty-state p {
  color: var(--muted);
}

.footer {
  width: min(100%, var(--max-width));
  margin: 30px auto 0;
  padding: 34px 24px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer strong {
  color: var(--white);
}

.footer p {
  margin: 8px 0 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-whatsapp {
  color: var(--cyan);
  font-weight: 900;
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}

.footer-whatsapp:hover {
  color: var(--white);
}

.footer-logo {
  display: block;
  max-width: 150px;
  max-height: 56px;
  width: auto;
  height: auto;
  margin-top: 6px;
  object-fit: contain;
}

code {
  color: var(--cyan);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 2px 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .hero {
    padding-inline: 16px;
  }

  .topbar {
    border-radius: 26px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links a {
    padding-inline: 10px;
    font-size: .84rem;
  }

  .hero-content {
    margin-top: 58px;
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .cards-grid,
  .toolbar {
    grid-template-columns: 1fr;
  }

  .toolbar {
    top: 12px;
  }

  .section {
    padding-inline: 16px;
    padding-block: 54px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
