/* ============ Base ============ */
:root {
  --bg: #00000e;
  --grey-300: #d3d6d9;
  --grey-400: #c8cbce;
  --grey-500: #bec0c2;
  --grey-700: #a4a9ae;
  --grey-800: #979ea5;
  --line: rgba(123, 135, 147, 0.5);
  --blue-400: #2f2ffd;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: "Urbanist", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.container {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* Gradient text */
.gt {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.gt--badge   { background-image: linear-gradient(97.89deg, rgba(255,255,255,.9) 5.52%, rgba(151,158,165,.9) 94.48%); }
.gt--h1      { background-image: linear-gradient(99.39deg, rgba(255,255,255,.95) 50.02%, rgba(164,169,174,.95) 95.47%); }
.gt--h2      { background-image: linear-gradient(96.32deg, rgba(255,255,255,.95) 49.74%, rgba(164,169,174,.95) 91.85%); }
.gt--card    { background-image: linear-gradient(88.07deg, #fff 43.88%, #a4a9ae 97.29%); }
.gt--feature { background-image: linear-gradient(101.38deg, rgba(255,255,255,.95) .82%, rgba(164,169,174,.95) 100%); }
.gt--btn     { background-image: linear-gradient(114.66deg, #fff 54.02%, #979ea5 110.73%); }
.gt--plan    { background-image: linear-gradient(149.86deg, #fff 14.71%, #a4a9ae 37.26%); }
.gt--price   { background-image: linear-gradient(92.08deg, rgba(255,255,255,.95) 49.74%, rgba(164,169,174,.95) 91.85%); }
.gt--footer  { background-image: linear-gradient(93.66deg, #fff 48.53%, #a4a9ae 99.37%); }

/* Typography */
.h-xl {
  font-size: 46px;
  font-weight: 600;
  line-height: 44px;
  text-align: center;
}
.h-card {
  font-size: 45px;
  font-weight: 500;
  line-height: 44px;
  text-align: center;
}
.h-feature {
  font-size: 46px;
  font-weight: 500;
  line-height: 44px;
}
.lead {
  font-size: 16px;
  line-height: 20px;
  color: var(--grey-500);
  text-align: center;
  max-width: 346px;
}
.lead--426 { max-width: 426px; }
.lead--390 { max-width: 390px; }
.text {
  font-size: 14px;
  line-height: 20px;
  color: var(--grey-500);
}

/* Badge & button */
.badge {
  display: inline-flex;
  padding: 4px 8px;
  border: 1px solid #fff;
  border-radius: 999px;
  font-size: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid #fff;
  border-radius: 16px;
  font-size: 14px;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.btn:hover {
  background-color: rgba(255, 255, 255, .06);
  box-shadow: 0 0 24px rgba(94, 94, 252, .45);
}
.btn--block { width: 100%; padding: 16px 32px; }

/* Layout helpers */
.section { padding: 80px; }
.stack-120 { display: flex; flex-direction: column; align-items: center; gap: 120px; }
.stack-48  { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 734px;
  width: 100%;
}
.heading-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.heading-group--hero { width: 540px; max-width: 100%; }
.heading-group--cta  { width: 580px; max-width: 100%; }

/* Decorative layers (positions copied from Figma) */
.deco { position: absolute; inset: 0; pointer-events: none; }
.d-box {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}
.d-box > img,
.d-item > img {
  position: absolute;
  max-width: none;
}
.d-item { position: relative; flex: none; }
.plus-lighter { mix-blend-mode: plus-lighter; }
.mirror { rotate: 180deg; scale: 1 -1; }

/* ============ Hero ============ */
.hero { background: var(--bg); overflow: hidden; }
.hero__inner { height: 665px; }
.hero__beam {
  position: absolute;
  left: -132px;
  top: 100px;
  width: 1545px;
  height: 465px;
}
.hero__beam img { position: absolute; max-width: none; }

.nav {
  position: absolute;
  top: 50px;
  left: 50%;
  translate: -50% 0;
  width: 735px;
  max-width: calc(100% - 32px);
  height: 54px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #fff;
  border-radius: 999px;
  z-index: 2;
}
.nav__logo { font-size: 28px; font-weight: 500; }
.nav__links { display: flex; align-items: center; gap: 10px; }
.nav__links a {
  padding: 4px 8px;
  font-size: 14px;
  color: var(--grey-400);
  transition: color .2s;
}
.nav__links a:hover { color: #fff; }

.hero__content {
  position: absolute;
  top: 207px;
  left: 50%;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 540px;
  max-width: calc(100% - 32px);
}

/* ============ Processos ============ */
.section--processos { overflow: hidden; }
.cards-3 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 24px;
}
.glow-card {
  position: relative;
  flex: none;
  width: 347px;
  height: 347px;
  border-radius: 24px;
  overflow: hidden;
}
.glow-card__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
}
.glow-card__body--center { justify-content: center; gap: 24px; }
.glow-card__body--top    { gap: 20px; }

.features {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 814px;
  max-width: 100%;
}
.feature {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.feature__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  width: 387px;
  min-height: 0;
}
.feature__visual {
  position: relative;
  flex: none;
  width: 387px;
  height: 346px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(0, 0, 14, .2);
}

/* Mini UI panels inside the first feature visual */
.panel {
  position: absolute;
  border-radius: 24px;
  opacity: .8;
  background: linear-gradient(180deg, rgba(1,1,24,.02) 0%, rgba(255,255,255,0) 75.28%);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px);
}
.panel--col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  opacity: 1;
  background: linear-gradient(180.5deg, rgba(1,1,24,.02) .4%, rgba(0,0,14,0) 80%);
}
.bars { display: flex; flex-direction: column; gap: 6px; }
.bars--center { align-items: center; }
.bars span { display: block; height: 6px; border-radius: 9999px; background: rgba(255,255,255,.4); }
.bars span + span { background: rgba(255,255,255,.3); }
.sq--outer {
  display: flex;
  align-items: flex-start;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  flex: none;
}
.sq--inner {
  display: block;
  width: 19px;
  height: 19px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 4px;
}

/* Icon orbs inside the second feature visual */
.orb {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 9999px;
  background: var(--bg);
  overflow: hidden;
}
.orb__icon {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 44px;
  height: 44px;
}

/* ============ Preços ============ */
.cards-3--pricing { align-items: flex-start; }
.price-wrap { flex: none; }
.price-wrap--offset { padding-top: 40px; }
.price-card {
  position: relative;
  width: 347px;
  height: 425px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(1, 1, 24, .05);
}
.price-card__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 40px;
}
.price-card__top { display: flex; flex-direction: column; gap: 24px; }
.plan { display: flex; flex-direction: column; gap: 8px; }
.plan__name { font-size: 16px; text-transform: uppercase; }
.plan__sub { font-size: 12px; line-height: 14px; color: var(--grey-500); }
.price { font-size: 46px; font-weight: 600; line-height: 48px; }
.divider { margin: 0; border: 0; height: 1px; background: rgba(123, 135, 147, .3); }
.checks {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--grey-300);
}

/* ============ FAQ ============ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 754px;
  max-width: 100%;
}
.faq {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 0 20px;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary img { flex: none; transition: rotate .25s ease, opacity .25s; }
.faq__q {
  font-size: 18px;
  font-weight: 500;
  background-image: linear-gradient(90deg, rgba(255,255,255,.5) 4.09%, rgba(164,169,174,.5) 27.61%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.faq[open] summary { min-height: 0; padding-top: 20px; }
.faq[open] .faq__q { background-image: linear-gradient(90deg, rgba(255,255,255,.95) 50%, rgba(164,169,174,.95) 100%); }
.faq[open] summary img { rotate: 180deg; filter: brightness(2); }
.faq__a {
  padding: 20px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-500);
}

/* ============ CTA ============ */
.section--cta { min-height: 587px; display: flex; align-items: center; }
.cta {
  position: relative;
  height: 439px;
  border-radius: 80px;
  overflow: hidden;
  background: rgba(0, 0, 14, .2);
}
.cta__content {
  position: absolute;
  left: 80px;
  right: 80px;
  top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cta__logo {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 -4px 25px 2px #fff;
}
.cta__logo span {
  position: absolute;
  left: 30.5px;
  top: 30px;
  translate: -50% -50%;
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
}
.cta__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 -6px 6px -2px rgba(140, 140, 252, .15),
    inset 0 -20px 20px -5px rgba(255, 255, 255, .3),
    inset 0 -40px 30px -10px rgba(94, 94, 252, .5),
    inset 0 -70px 60px -30px var(--blue-400);
}

/* ============ Footer ============ */
.footer {
  border-top: 1px solid rgba(234, 236, 238, .2);
  padding: 80px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.footer__brand { display: flex; flex-direction: column; gap: 24px; }
.footer__brand .text { max-width: 335px; margin-top: 12px; }
.footer__logo { font-size: 28px; font-weight: 500; line-height: 22px; }
.socials { display: flex; gap: 8px; }
.socials img { width: 32px; height: 32px; }
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 104px;
  font-size: 14px;
  color: var(--grey-400);
}
.footer__title { font-size: 18px; margin-bottom: 4px; }
.footer__col a:hover { color: #fff; }

/* ============ Responsivo ============ */
@media (max-width: 1180px) {
  .section, .footer { padding: 64px 24px; }
  .cards-3 { flex-wrap: wrap; justify-content: center; }
  .price-wrap--offset { padding-top: 0; }
}

@media (max-width: 860px) {
  .h-xl, .h-feature { font-size: 36px; line-height: 38px; }
  .feature { flex-direction: column; align-items: center; }
  .feature:first-child .feature__text { order: -1; }
  .feature__text { width: 100%; max-width: 387px; }
  .features { align-items: center; }
  .footer__inner { flex-wrap: wrap; }
  .cta { height: auto; min-height: 439px; border-radius: 48px; }
  .cta__content { position: relative; left: 0; right: 0; top: 0; padding: 64px 24px; }
}

@media (max-width: 560px) {
  .nav__logo { font-size: 22px; }
  .nav__links { gap: 0; }
  .h-xl, .h-feature, .h-card { font-size: 30px; line-height: 32px; }
  .hero__content { top: 180px; }
  .glow-card, .price-card, .feature__visual { width: 100%; max-width: 347px; }
  .feature__visual { max-width: 387px; }
}

/* "plus-darker" (Figma) só existe no Safari; nos outros navegadores a camada fica oculta,
   que é o resultado visual equivalente sobre fundo escuro */
.plus-darker { mix-blend-mode: plus-darker; }
@supports not (mix-blend-mode: plus-darker) {
  .plus-darker { display: none; }
}

@media (max-width: 560px) {
  .price-wrap { width: 100%; max-width: 347px; }
  .price-card { width: 100%; }
}
