@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f6f3ff;
  --dark: #101014;
  --muted: #6d6878;
  --purple: #7b2cff;
  --purple-2: #b14cff;
  --soft-purple: rgba(123, 44, 255, .12);
  --radius: 28px;
  --shadow: 0 28px 80px rgba(35, 18, 68, .12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Sora', sans-serif;
  background: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
}

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

.page {
  position: relative;
  overflow: hidden;
}

/* Pontinhos apenas como textura de fundo */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .04;
  background-image: radial-gradient(#000 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: normal;
}

.orb {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 44, 255, .3), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: transform .12s linear;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Header branco liso */
.nav {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 40px));
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  background: #fff;
  border: 1px solid rgba(16, 16, 20, .08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 999px;
  z-index: 20;
  box-shadow: 0 12px 50px rgba(30, 20, 60, .08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.04em;
  font-size: 1.05rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--dark);
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
}

.brand-mark::after {
  content: '';
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 5px rgba(123, 44, 255, .16);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 600;
}

.nav-cta,
.btn {
  display: inline-flex;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 800;
  font-family: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}

.nav-cta {
  padding: 13px 18px;
  background: var(--dark);
  color: #fff;
  font-size: .84rem;
}

.btn {
  padding: 17px 24px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--dark), #302146);
  color: #fff;
  box-shadow: 0 20px 50px rgba(16, 16, 20, .2);
}

.btn-secondary {
  background: #fff;
  color: var(--dark);
  border: 1px solid rgba(16, 16, 20, .08);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-3px);
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 150px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(16, 16, 20, .08);
  color: var(--muted);
  font-weight: 700;
  font-size: .78rem;
  margin-bottom: 24px;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 7px rgba(123, 44, 255, .13);
}

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: .9;
  letter-spacing: -.08em;
  max-width: 750px;
}

.hero h1 strong {
  color: var(--purple);
  font-weight: 800;
}

.hero p {
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  max-width: 610px;
}

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

.engine-card {
  min-height: 620px;
  border-radius: 42px;
  background: linear-gradient(160deg, #fff, #f0e8ff);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  padding: 34px;
}

.engine-card::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 180deg, transparent, rgba(123, 44, 255, .18), transparent, rgba(177, 76, 255, .18), transparent);
  animation: spin 16s linear infinite;
}

.engine-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 552px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .74);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .8);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.big-five {
  font-size: clamp(10rem, 22vw, 18rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.12em;
  color: var(--dark);
  position: relative;
  z-index: 2;
}

.gear {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  right: 14%;
  bottom: 18%;
  background: repeating-conic-gradient(var(--purple) 0 12deg, transparent 12deg 24deg);
  animation: gear 12s linear infinite;
  opacity: .9;
}

.gear::before {
  content: '';
  position: absolute;
  inset: 34px;
  border-radius: 50%;
  background: #fff;
  border: 18px solid var(--purple);
}

.engine-label {
  position: absolute;
  left: 28px;
  top: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.engine-label b {
  font-size: .78rem;
  color: var(--purple);
}

.engine-label span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes gear {
  to {
    transform: rotate(360deg);
  }
}

.section {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

.section-head {
  max-width: 780px;
  margin-bottom: 46px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-head h2 {
  font-size: clamp(2.3rem, 4.8vw, 5rem);
  line-height: .96;
  letter-spacing: -.07em;
  margin-bottom: 20px;
}

.section-head p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

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

/* Cards brancos lisos */
.mini-card {
  background: #fff;
  border: 1px solid rgba(16, 16, 20, .07);
  border-radius: var(--radius);
  padding: 26px;
  min-height: 230px;
  box-shadow: 0 18px 48px rgba(25, 10, 55, .06);
  transform: translateY(40px);
  opacity: 0;
  transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1);
}

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

.mini-card:nth-child(2) {
  margin-top: 42px;
}

.mini-card:nth-child(3) {
  margin-top: 84px;
}

.mini-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--soft-purple);
  color: var(--purple);
  font-weight: 800;
  margin-bottom: 38px;
}

.mini-card h3 {
  font-size: 1.32rem;
  letter-spacing: -.04em;
  margin-bottom: 12px;
}

.mini-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: .95rem;
}

.sticky-section {
  padding: 110px 0;
  background: #100d17;
  color: #fff;
  border-radius: 56px 56px 0 0;
  position: relative;
  z-index: 3;
}

.sticky-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.sticky-title {
  position: sticky;
  top: 130px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sticky-title h2 {
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: .94;
  letter-spacing: -.08em;
}

.sticky-title h2 span {
  color: var(--purple-2);
}

.sticky-title p {
  color: rgba(255,255,255,.62);
  line-height: 1.8;
  margin-top: 22px;
  max-width: 440px;
}

.progress-line {
  width: 4px;
  height: 190px;
  background: rgba(255,255,255,.12);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 36px;
}

.progress-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(var(--purple), var(--purple-2));
  border-radius: 99px;
  transition: height .15s linear;
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 20vh 0;
}

.detail-card {
  min-height: 72vh;
  display: flex;
  align-items: center;
  opacity: .28;
  transform: scale(.96);
  transition: opacity .45s ease, transform .45s ease;
}

.detail-card.is-active {
  opacity: 1;
  transform: scale(1);
}

.detail-inner {
  width: 100%;
  border-radius: 38px;
  padding: 40px;
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 90px rgba(0,0,0,.18);
  position: relative;
  overflow: hidden;
}

.detail-inner::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,44,255,.28), transparent 70%);
  right: -80px;
  top: -80px;
}

.detail-tag {
  display: inline-flex;
  padding: 10px 14px;
  background: rgba(123,44,255,.16);
  color: #d9c4ff;
  border: 1px solid rgba(177,76,255,.25);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
  margin-bottom: 26px;
}

.detail-inner h3 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -.07em;
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.detail-inner p {
  margin-top: 22px;
  color: rgba(255,255,255,.66);
  line-height: 1.8;
  font-size: 1.05rem;
  max-width: 610px;
  position: relative;
  z-index: 2;
}

.detail-icon {
  position: absolute;
  right: 38px;
  bottom: 28px;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 800;
  color: rgba(255,255,255,.06);
  letter-spacing: -.12em;
}

.showcase {
  background: #fff;
  border-radius: 56px;
  padding: 56px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.browser {
  border-radius: 32px;
  background: #111;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0,0,0,.16);
}

.browser-top {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  background: #1b1b22;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  opacity: .32;
}

.browser-body {
  padding: 24px;
  min-height: 380px;
  background: linear-gradient(160deg, #191323, #07070a);
  position: relative;
  overflow: hidden;
}

.mock-line {
  height: 14px;
  border-radius: 99px;
  background: rgba(255,255,255,.13);
  margin-bottom: 14px;
}

.mock-line.w1 {
  width: 74%;
  height: 44px;
  background: rgba(255,255,255,.9);
}

.mock-line.w2 {
  width: 42%;
  background: rgba(123,44,255,.8);
}

.mock-line.w3 {
  width: 62%;
}

.mock-line.w4 {
  width: 52%;
}

.mock-card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 38px;
}

.mock-card {
  height: 120px;
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
}

.showcase-text h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .98;
  letter-spacing: -.07em;
  margin-bottom: 20px;
}

.showcase-text p {
  color: var(--muted);
  line-height: 1.8;
}

.final-cta {
  padding: 140px 0;
  text-align: center;
}

.final-box {
  border-radius: 56px;
  padding: 80px 30px;
  background: radial-gradient(circle at 50% 0%, rgba(123,44,255,.22), transparent 45%), #101014;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.final-box h2 {
  font-size: clamp(2.6rem, 7vw, 7rem);
  line-height: .9;
  letter-spacing: -.08em;
  max-width: 900px;
  margin: 0 auto;
}

.final-box p {
  color: rgba(255,255,255,.64);
  line-height: 1.8;
  margin: 26px auto 34px;
  max-width: 620px;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1);
}

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

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .sticky-wrap,
  .showcase {
    grid-template-columns: 1fr;
  }

  .engine-card {
    min-height: 500px;
  }

  .engine-inner {
    min-height: 430px;
  }

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

  .mini-card:nth-child(2),
  .mini-card:nth-child(3) {
    margin-top: 0;
  }

  .sticky-title {
    position: relative;
    top: auto;
    min-height: auto;
    padding-bottom: 30px;
  }

  .detail-list {
    padding: 0;
  }

  .detail-card {
    min-height: auto;
    padding: 20px 0;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .nav {
    width: calc(100% - 24px);
    height: 62px;
    top: 12px;
  }

  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .engine-card,
  .showcase,
  .final-box {
    border-radius: 32px;
    padding: 24px;
  }

  .sticky-section {
    border-radius: 34px 34px 0 0;
  }

  .detail-inner {
    padding: 28px;
    border-radius: 28px;
  }

  .mock-card-row {
    grid-template-columns: 1fr;
  }
}