:root {
  --ink: #020713;
  --white: #f7faff;
  --muted: #aeb9ca;
  --blue: #1478ff;
  --blue-light: #63b3ff;
  --line: rgba(181, 213, 255, .16);
}

* { box-sizing: border-box; }

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
}

a { color: inherit; }

.landing-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  background: #080318;
}

.hero-image {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image: url("assets/comunidade-bm-hero-purple.webp");
  background-size: cover;
  background-position: 55% center;
  filter: saturate(.96) contrast(1.03) brightness(1.04);
  transform: scale(1.006);
  animation: image-in 1.1s cubic-bezier(.2,.75,.2,1) both;
}

.hero-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 67% 42%, rgba(29, 127, 255, .09) 0%, transparent 40%),
    linear-gradient(90deg, rgba(5, 2, 19, .97) 0%, rgba(7, 3, 24, .85) 29%, rgba(8, 3, 25, .23) 53%, rgba(7, 2, 22, .03) 77%, rgba(5, 2, 18, .14) 100%),
    linear-gradient(0deg, rgba(5, 2, 18, .65) 0%, transparent 27%, rgba(5, 2, 18, .13) 100%);
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero {
  width: min(1440px, 100%);
  min-height: calc(100svh - 78px);
  flex: 1;
  margin: 0 auto;
  padding: 42px clamp(28px, 5.5vw, 84px) 44px;
  display: flex;
  align-items: center;
}

.hero-content {
  width: min(570px, 44vw);
}

h1 {
  max-width: 570px;
  margin: 0;
  color: #f8fbff;
  font-size: clamp(46px, 4.7vw, 69px);
  font-weight: 650;
  line-height: .99;
  letter-spacing: -.052em;
  text-wrap: balance;
  opacity: 0;
  animation: rise .7s .12s ease-out forwards;
}

h1 span {
  display: block;
  background: linear-gradient(96deg, #8dc8ff 0%, #318dff 54%, #0e6cf0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy {
  max-width: 545px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 17px);
  font-weight: 400;
  line-height: 1.62;
  opacity: 0;
  animation: rise .7s .2s ease-out forwards;
}

.hero-copy strong {
  color: #eef6ff;
  font-weight: 600;
}

.benefit-list {
  max-width: 535px;
  margin: 25px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  list-style: none;
  opacity: 0;
  animation: rise .7s .28s ease-out forwards;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d9e3f0;
  font-size: 13px;
  font-weight: 480;
}

.check-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(81, 159, 255, .32);
  border-radius: 50%;
  background: rgba(20, 120, 255, .09);
  color: #66b3ff;
}

.check-icon svg {
  width: 12px;
  height: 12px;
}

.cta-wrap {
  width: min(100%, 505px);
  margin-top: 32px;
  opacity: 0;
  animation: rise .7s .36s ease-out forwards;
}

.primary-cta {
  width: 100%;
  min-height: 76px;
  padding: 0 12px 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(143, 202, 255, .45);
  border-radius: 18px;
  background: linear-gradient(110deg, #0867e7 0%, #147fff 52%, #3fa2ff 100%);
  box-shadow: 0 20px 50px rgba(0, 101, 255, .29), 0 0 0 6px rgba(20, 120, 255, .07), inset 0 1px 0 rgba(255,255,255,.3);
  color: #fff;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.primary-cta::before {
  content: "";
  position: absolute;
  top: -80%;
  left: -30%;
  width: 22%;
  height: 260%;
  transform: rotate(20deg);
  background: rgba(255,255,255,.25);
  filter: blur(5px);
  animation: shine 4s 1.2s ease-in-out infinite;
}

.cta-label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.cta-label small {
  color: rgba(255,255,255,.67);
  font-size: 9px;
  font-weight: 620;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cta-label strong {
  font-size: 15px;
  font-weight: 680;
  letter-spacing: .01em;
}

.cta-arrow {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 14px;
  background: rgba(255,255,255,.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
  transition: transform .2s ease, background .2s ease;
}

.cta-arrow svg {
  width: 24px;
  height: 24px;
}

.primary-cta:hover {
  transform: translateY(-3px);
  filter: brightness(1.07);
  box-shadow: 0 25px 60px rgba(0, 101, 255, .39), 0 0 0 7px rgba(20, 120, 255, .09), inset 0 1px 0 rgba(255,255,255,.36);
}

.primary-cta:hover .cta-arrow {
  transform: translateX(3px);
  background: rgba(255,255,255,.22);
}

.primary-cta:focus-visible {
  outline: 3px solid #baddff;
  outline-offset: 4px;
}

.cta-note {
  margin: 14px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: rgba(206, 222, 242, .45);
  font-size: 9px;
  font-weight: 560;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cta-note i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(91, 169, 255, .55);
}

.security-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(186, 206, 255, .11);
  background: linear-gradient(90deg, rgba(8, 3, 25, .82), rgba(13, 5, 36, .58), rgba(8, 3, 25, .82));
  backdrop-filter: blur(16px);
}

.security-footer-inner {
  width: min(1440px, 100%);
  min-height: 77px;
  margin: 0 auto;
  padding: 14px clamp(28px, 5.5vw, 84px);
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  align-items: center;
  gap: 28px;
}

.security-message {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(214, 222, 238, .55);
  font-size: 10px;
  line-height: 1.45;
}

.security-message > span:last-child {
  display: flex;
  flex-direction: column;
}

.security-message strong {
  color: rgba(243, 247, 255, .86);
  font-size: 10px;
  font-weight: 620;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.shield-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(88, 157, 255, .24);
  border-radius: 10px;
  background: rgba(30, 116, 255, .08);
  color: #69aaff;
}

.shield-icon svg {
  width: 18px;
  height: 18px;
}

.legal-note,
.copyright {
  margin: 0;
  color: rgba(202, 214, 234, .44);
  font-size: 9px;
  line-height: 1.5;
}

.legal-note strong {
  color: rgba(223, 231, 245, .68);
  font-weight: 560;
}

.copyright {
  white-space: nowrap;
  text-align: right;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes image-in {
  from { opacity: .3; transform: scale(1.055); }
  to { opacity: 1; transform: scale(1.006); }
}

@keyframes shine {
  0%, 58% { left: -30%; }
  78%, 100% { left: 125%; }
}

@media (max-width: 900px) {
  .landing-shell { min-height: 100svh; }

  .hero-image {
    inset: 0 0 auto;
    height: 62svh;
    background-size: auto 62svh;
    background-repeat: no-repeat;
    background-position: 52% top;
    filter: saturate(.96) contrast(1.02) brightness(1.04);
    transform: none;
  }

  .hero-overlay {
    background:
      radial-gradient(circle at 58% 25%, rgba(20,120,255,.15), transparent 45%),
      linear-gradient(0deg, #080318 0%, rgba(8,3,24,.98) 27%, rgba(8,3,24,.42) 59%, rgba(8,3,24,.06) 100%),
      linear-gradient(90deg, rgba(8,3,24,.4), transparent 44%, transparent 72%, rgba(8,3,24,.24));
  }

  .hero {
    min-height: calc(100svh - 112px);
    padding: 28px 22px 34px;
    align-items: flex-end;
  }

  .hero-content {
    width: 100%;
    max-width: 620px;
    padding-top: 44svh;
  }

  h1 {
    max-width: 590px;
    font-size: clamp(39px, 10.6vw, 59px);
    line-height: 1;
  }

  .hero-copy {
    max-width: 580px;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.5;
  }

  .benefit-list { margin-top: 20px; }
  .cta-wrap { margin-top: 25px; }

  .security-footer-inner {
    min-height: 111px;
    padding: 17px 22px;
    grid-template-columns: 1fr auto;
    gap: 10px 18px;
  }

  .legal-note {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 540px) {
  .hero { padding-inline: 18px; }
  .hero-content { padding-top: 42svh; }

  h1 { font-size: clamp(38px, 11.2vw, 51px); }
  h1 span { display: inline; }

  .hero-copy { font-size: 14px; }

  .benefit-list {
    gap: 10px 11px;
  }

  .benefit-list li {
    gap: 7px;
    font-size: 11px;
  }

  .check-icon {
    width: 19px;
    height: 19px;
  }

  .primary-cta {
    min-height: 72px;
    padding-left: 20px;
    border-radius: 16px;
  }

  .cta-label strong { font-size: 14px; }

  .cta-arrow {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .cta-note {
    gap: 6px;
    font-size: 8px;
  }

  .security-footer-inner {
    padding-inline: 18px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .legal-note,
  .copyright {
    grid-column: auto;
    grid-row: auto;
    text-align: left;
  }

  .copyright { display: none; }
}

@media (max-height: 760px) and (min-width: 901px) {
  .hero { padding-block: 26px; }
  .hero-copy { margin-top: 18px; }
  .benefit-list { margin-top: 18px; }
  .cta-wrap { margin-top: 24px; }
}

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