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

:root {
  --c1: #6C3AFF;
  --c2: #00D2C8;
  --c3: #FF5E8F;
  --c4: #FFB347;
  --c5: #3AFFA3;
  --dark: #0A0A12;
  --card: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.1);
}

html {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--dark);
  color: #fff;
  height: 100%;
}

section {
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 40px 32px;
}

section::before,
section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  animation: blobFloat 8s ease-in-out infinite alternate;
}

@keyframes blobFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, -20px) scale(1.08); }
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(10, 10, 18, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: none !important;
  -webkit-text-fill-color: unset !important;
}

.navbar-logo-icon {
  height: 100px;
  width: auto;
  flex-shrink: 0;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff !important;
  padding: 8px 20px;
  margin-left: 8px;
  box-shadow: 0 0 20px rgba(108,58,255,0.35);
  transition: transform .2s, box-shadow .2s !important;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--c1), var(--c2)) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(108,58,255,0.55) !important;
}

/* Hamburguer (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Ajuste: seções precisam de padding-top por causa da navbar fixa */
section {
  padding-top: 84px;
}

/* ============ SEÇÃO 1 — HERO ============ */
#s1::before { width: 500px; height: 500px; background: var(--c1); top: -120px; left: -100px; animation-duration: 9s; }
#s1::after  { width: 400px; height: 400px; background: var(--c2); bottom: -80px; right: -60px; animation-duration: 7s; animation-delay: 1s; }

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 24px;
}

.grad1 {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 40px;
}

.cta-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  padding: 14px 32px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 30px rgba(108,58,255,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(108,58,255,0.6);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 32px;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

.floating-card {
  position: absolute;
  right: 6vw;
  bottom: 80px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 24px;
  width: 200px;
  z-index: 3;
  animation: cardFloat 5s ease-in-out infinite alternate;
}

@keyframes cardFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-14px); }
}

.card-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}

.card-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--c5);
}

.card-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

.card-mini-bar {
  display: flex;
  gap: 3px;
  margin-top: 12px;
  align-items: flex-end;
  height: 30px;
}

.bar-col {
  width: 14px;
  background: var(--c1);
  border-radius: 3px;
  opacity: 0.6;
}

.bar-col.hi {
  opacity: 1;
  background: var(--c2);
}

/* ============ SEÇÃO 2 — FEATURES ============ */
#s2::before { width: 600px; height: 300px; background: var(--c3); top: -80px; right: -100px; animation-duration: 10s; }
#s2::after  { width: 350px; height: 350px; background: var(--c1); bottom: -60px; left: -80px; animation-duration: 8s; }

.section-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
}

.section-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c3);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.feat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  transition: transform .25s, border-color .25s;
  cursor: pointer;
}

.feat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.25);
}

.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.feat-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feat-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* ============ SEÇÃO 3 — STATS ============ */
#s3::before { width: 500px; height: 500px; background: var(--c4); top: -100px; left: -120px; animation-duration: 11s; }
#s3::after  { width: 400px; height: 400px; background: var(--c2); bottom: -100px; right: -60px; animation-duration: 9s; }

.stats-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 48px;
  z-index: 2;
  position: relative;
  width: 100%;
  max-width: 800px;
}

.big-stat {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(64px, 12vw, 120px);
  font-weight: 800;
  line-height: 1;
}

.grad2 {
  background: var(--grad-stats1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad3 {
  background: var(--grad-stats2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad-cta {
  background: var(--grad-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-item { text-align: center; }

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  font-weight: 800;
}

.stat-lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

/* ============ SEÇÃO 4 — COMO FUNCIONA ============ */
#s4::before { width: 450px; height: 450px; background: var(--c5); top: -80px; right: -80px; animation-duration: 8s; }
#s4::after  { width: 400px; height: 400px; background: var(--c1); bottom: -100px; left: -60px; animation-duration: 12s; }

.steps-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  z-index: 2;
  position: relative;
  max-width: 900px;
  width: 100%;
  align-items: center;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: border-color .3s, background .3s;
  cursor: pointer;
}

.step-item:hover {
  background: var(--card);
  border-color: var(--border);
}

.step-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 800;
  min-width: 40px;
}

.step-text h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

.step-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.phone-mock {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 24px 20px;
  position: relative;
  max-width: 240px;
  margin: 0 auto;
}

.phone-notch {
  width: 60px;
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  margin: 0 auto 20px;
}

.phone-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.phone-balance {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
}

.phone-chart {
  height: 60px;
  display: flex;
  gap: 5px;
  align-items: flex-end;
  margin: 16px 0;
}

.pc {
  flex: 1;
  border-radius: 4px;
  opacity: 0.7;
}

.phone-txn {
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 8px;
}

.txn-neg { color: #FF5E8F; font-weight: 500; }
.txn-pos { color: var(--c5); font-weight: 500; }

/* ============ SEÇÃO 5 — CTA FINAL ============ */
#s5::before { width: 600px; height: 600px; background: var(--c1); top: -150px; left: -150px; animation-duration: 10s; }
#s5::after  { width: 500px; height: 500px; background: var(--c3); bottom: -120px; right: -120px; animation-duration: 8s; }

.cta-final {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
}

.cta-final .section-title {
  margin-bottom: 16px;
  font-size: clamp(36px, 6vw, 64px);
}

.cta-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
  line-height: 1.6;
}

.app-stores {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.store-btn:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.store-icon { font-size: 24px; }

.store-text { text-align: left; }

.store-text span:first-child {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  display: block;
}

.store-text span:last-child {
  font-size: 14px;
  font-weight: 500;
}

/* ============ NAV DOTS ============ */
.nav-dots {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background .3s, transform .3s;
}

.dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ============ SCROLL CUE ============ */
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 5;
}

.scroll-cue::after {
  content: '';
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}

/* ============ RESPONSIVO ============ */
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }

  .hamburger { display: flex; }

  .navbar-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10, 10, 18, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 24px;
    gap: 4px;
  }

  .navbar-links.open { display: flex; }

  .nav-link { padding: 12px 16px; border-radius: 12px; }

  .nav-cta { text-align: center; margin-left: 0; margin-top: 8px; }
}

@media (max-width: 640px) {
  .floating-card { display: none; }
  .steps-wrap { grid-template-columns: 1fr; }
  .phone-mock { display: none; }
}

/* ============ BOTÃO DE TEMA ============ */
.theme-toggle-btn {
  background: var(--bg-toggle, rgba(255,255,255,0.05));
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 10px;
  color: var(--text-secondary, rgba(255,255,255,0.6));
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: var(--bg-hover, rgba(255,255,255,0.08));
  border-color: var(--border-hover, rgba(255,255,255,0.25));
  color: var(--text-primary, #fff);
  transform: rotate(20deg);
}

@media (max-width: 768px) {
  .theme-toggle-btn { margin-right: 4px; }
}