:root {
  --bg-body: #000d33;
  --bg-body-deep: #00081f;
  --bg-header: #031238;
  --bg-header-soft: #2f3751;
  --bg-surface: #121b3b;
  --bg-surface-2: #1b2547;
  --bg-card: rgba(13, 25, 63, 0.92);
  --text-main: #ffffff;
  --text-soft: #b9c2db;
  --text-muted: #8b95b4;
  --accent: #00f59d;
  --accent-strong: #1cffb0;
  --accent-dark: #00c57f;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.15);
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  --radius: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --content-width: 1620px;
  --section-space: clamp(36px, 5vw, 80px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background:
    radial-gradient(circle at top center, rgba(0, 245, 157, 0.06), transparent 24%),
    linear-gradient(180deg, #00113f 0%, #000c31 22%, #000925 100%);
  color: var(--text-main);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

p {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

li {
  color: var(--text-soft);
}

h1,
h2,
h3,
h4,
h5,
h6,
.title {
  margin: 0 0 0.75rem;
  color: var(--text-main);
  font-family: "Montserrat", Inter, "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.6rem);
}

h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.8rem);
}

h4,
.middle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.content {
  width: min(100% - 48px, var(--content-width));
  margin-inline: auto;
}

.main {
  position: relative;
  overflow: clip;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background:
    linear-gradient(180deg, rgba(2, 16, 55, 0.98) 0%, rgba(1, 13, 44, 0.98) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 245, 157, 0.55) 50%, transparent 100%);
}

.header__content {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.header__logo img,
.logo img {
  max-height: 42px;
  width: auto;
}

.menu {
  flex: 1 1 auto;
  min-width: 0;
}

.menu ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 1vw, 30px);
  list-style: none;
}

.menu li {
  list-style: none;
}

.menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: rgba(255, 255, 255, 0.96);
  font-family: "Montserrat", Inter, sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.menu a:hover,
.menu a:focus-visible,
.menu .active > a,
.menu .current-menu-item > a {
  color: var(--accent);
}

.menu a:hover::after,
.menu a:focus-visible::after,
.menu .active > a::after,
.menu .current-menu-item > a::after {
  transform: scaleX(1);
}

.header__buttons {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.header__button {
  min-width: 118px;
}

.header__menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.header__menu-button:hover,
.header__menu-button:focus-visible {
  border-color: rgba(0, 245, 157, 0.45);
  color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 245, 157, 0.12);
}

/* BUTTONS */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.2rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 245, 157, 0.65);
  background: linear-gradient(180deg, #17ffb1 0%, #00f59d 56%, #00d886 100%);
  color: #001228;
  font-family: "Montserrat", Inter, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  box-shadow:
    0 10px 24px rgba(0, 245, 157, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.button:hover,
.button:focus-visible {
  background: linear-gradient(180deg, #36ffbc 0%, #08f7a1 56%, #00df8b 100%);
  transform: translateY(-1px);
  box-shadow:
    0 14px 28px rgba(0, 245, 157, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.button:active {
  transform: translateY(0);
}

.header__buttons .button:first-child {
  background: transparent;
  color: var(--accent);
  border-color: rgba(0, 245, 157, 0.6);
  box-shadow: none;
}

.header__buttons .button:first-child:hover,
.header__buttons .button:first-child:focus-visible {
  background: rgba(0, 245, 157, 0.08);
}

/* COVER */

.cover {
  position: relative;
  padding-block: clamp(56px, 7vw, 96px);
  background:
    radial-gradient(circle at center top, rgba(0, 245, 157, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(11, 23, 66, 0.72) 0%, rgba(2, 11, 37, 0.2) 40%, rgba(1, 9, 31, 0) 100%);
}

.cover__content {
  min-height: 470px;
  display: flex;
  align-items: center;
}

.cover__wrap {
  width: min(100%, 700px);
  padding: clamp(28px, 4vw, 40px);
  border-radius: 24px;
  border: 1px solid rgba(0, 245, 157, 0.15);
  background:
    linear-gradient(180deg, rgba(11, 24, 63, 0.92) 0%, rgba(6, 16, 45, 0.92) 100%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.cover__wrap p {
  max-width: 58ch;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
}

.cover__button {
  margin-top: 20px;
}

/* CONTENT BLOCKS */

.article {
  padding-block: var(--section-space);
}

.article > *:last-child {
  margin-bottom: 0;
}

.article p,
.article li {
  max-width: 78ch;
}

.article a:not(.button) {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(0, 245, 157, 0.45);
  text-underline-offset: 3px;
}

.article a:not(.button):hover,
.article a:not(.button):focus-visible {
  color: var(--accent-strong);
  text-decoration-color: var(--accent);
}

.article ul,
.article ol {
  padding-left: 1.2rem;
}

.article li + li {
  margin-top: 0.45rem;
}

.testimonial {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  min-height: 220px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 18px;
  border: 1px solid rgba(0, 245, 157, 0.12);
  background:
    linear-gradient(180deg, rgba(20, 34, 79, 0.96) 0%, rgba(10, 21, 55, 0.96) 100%);
  box-shadow: var(--shadow);
}

.testimonial::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(0, 245, 157, 0.16) 100%);
}

.testimonial::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 157, 0.14), transparent 68%);
  pointer-events: none;
}

.text-overlay {
  position: relative;
  z-index: 1;
}

/* FORMS */

form {
  display: grid;
  gap: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 245, 157, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 245, 157, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

/* FAQ */

.faq__content {
  padding-block: var(--section-space);
}

.faq__list {
  display: grid;
  gap: 14px;
  list-style: none;
}

.faq__item {
  list-style: none;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(28, 39, 80, 0.96) 0%, rgba(15, 25, 58, 0.96) 100%);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.faq__item:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 245, 157, 0.2);
}

.faq-item__title {
  position: relative;
  margin: 0;
  padding: 20px 58px 20px 20px;
  color: #ffffff;
  cursor: pointer;
}

.faq-item__title::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0, 245, 157, 0.45);
  background: rgba(0, 245, 157, 0.08);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

.faq__item p,
.faq__item .text-overlay,
.faq__item div:not([class]) {
  padding: 0 20px 18px;
  margin: 0;
  color: var(--text-soft);
}

/* LISTING CONTAINERS ONLY */

.list-new,
.sl-grid {
  width: 100%;
  margin-top: clamp(24px, 4vw, 36px);
}

.list-new {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.list-item {
  width: 100%;
  min-width: 0;
}

.sl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

/* FOOTER */

.footer {
  margin-top: clamp(48px, 6vw, 88px);
  background:
    linear-gradient(180deg, #041133 0%, #020b24 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__content {
  display: grid;
  gap: 24px;
  padding-block: 34px 28px;
}

.footer,
.footer p,
.footer li {
  color: var(--text-soft);
}

.footer a {
  color: #ffffff;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--accent);
}

.footer-patrocinador {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* HELPERS */

.header + .main .cover:first-child {
  margin-top: 0;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .content {
    width: min(100% - 32px, var(--content-width));
  }

  .menu ul {
    gap: 16px;
  }

  .header__button {
    min-width: 108px;
  }
}

@media (max-width: 992px) {
  .header__content {
    min-height: 74px;
    gap: 14px;
  }

  .header__menu {
    display: none;
  }

  .header__menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .header__buttons {
    margin-left: 0;
  }

  .cover {
    padding-block: 48px;
  }

  .cover__content {
    min-height: auto;
  }

  .cover__wrap {
    width: 100%;
  }

  .sl-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .content {
    width: min(100% - 24px, var(--content-width));
  }

  .header__content {
    min-height: 68px;
  }

  .header__logo img,
  .logo img {
    max-height: 36px;
  }

  .header__buttons .button {
    min-width: auto;
    padding-inline: 1rem;
  }

  .cover,
  .article,
  .faq__content {
    padding-block: 32px;
  }

  .cover__wrap,
  .testimonial {
    padding: 22px 18px;
  }

  .faq-item__title {
    padding: 18px 50px 18px 16px;
  }

  .faq__item p,
  .faq__item .text-overlay,
  .faq__item div:not([class]) {
    padding: 0 16px 16px;
  }

  .footer__content {
    padding-block: 26px 22px;
  }

  .footer-patrocinador {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(1.9rem, 10vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .header__content {
    flex-wrap: wrap;
    padding-block: 10px;
  }

  .header__menu-button {
    order: 3;
  }

  .header__buttons {
    width: 100%;
    justify-content: flex-start;
    order: 4;
  }

  .button,
  .cover__button {
    width: 100%;
  }

  .sl-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  input,
  select,
  textarea {
    min-height: 46px;
  }
}

@media (max-width: 420px) {
  .sl-grid {
    grid-template-columns: 1fr;
  }
}