:root {
  color-scheme: dark;
  --bg: #080b16;
  --panel: #11172a;
  --line: #27304b;
  --txt: #f5f7ff;
  --muted: #a4afca;
  --blue: #5e82ff;
  --violet: #a066ff;
  --gradient: linear-gradient(115deg, #5488ff, #a066ff);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font: 16px/1.65 'DM Sans', sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: #775aff;
  color: white;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: auto;
}

.glow {
  position: absolute;
  pointer-events: none;
  filter: blur(85px);
  opacity: .35;
  border-radius: 50%;
  z-index: -1;
}

.glow.one {
  width: 400px;
  height: 400px;
  background: #364df3;
  right: -130px;
  top: 30px;
}

.glow.two {
  width: 280px;
  height: 280px;
  background: #8b43dd;
  left: -140px;
  top: 370px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #080b16db;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #ffffff13;
}

.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -1px;
  white-space: nowrap;
}

.brand span {
  color: #8a8aff;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  background: var(--gradient);
  border-radius: 10px;
  width: 35px;
  height: 35px;
  margin-right: 9px;
  color: white;
  font-size: 17px;
  letter-spacing: 0;
}

.links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.links a:not(.btn) {
  font-size: 14px;
  color: #c3cbe0;
}

.links a:hover {
  color: white;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 13px 21px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: white;
  font-weight: 700;
  box-shadow: 0 10px 35px #526eff27;
  transition: transform .2s, filter .2s;
}

.btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.12);
}

.btn.secondary {
  background: #ffffff0a;
  border-color: #ffffff2b;
  box-shadow: none;
}

.btn.small {
  padding: 10px 16px;
  font-size: 13px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: white;
  font-size: 22px;
  padding: 3px 11px;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 110px 0 90px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c4b8ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.dot {
  width: 7px;
  height: 7px;
  background: #68e6bb;
  border-radius: 50%;
  box-shadow: 0 0 14px #68e6bb;
}

.hero h1 {
  font: 700 clamp(43px, 5.6vw, 76px)/1.06 'Space Grotesk', sans-serif;
  letter-spacing: -3.7px;
  margin: 22px 0;
}

.gradient-text {
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 530px;
}

.actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin: 32px 0;
}

.micro {
  font-size: 13px;
  color: #8f9bb8;
}

.micro strong {
  color: #d8e2ff;
}

.visual {
  position: relative;
}

.browser {
  border: 1px solid #53608b7a;
  border-radius: 17px;
  background: linear-gradient(140deg, #1a2340, #0d1224);
  box-shadow: 0 30px 100px #0009, 0 0 80px #6256ff24;
  overflow: hidden;
  transform: perspective(1100px) rotateY(-7deg) rotateX(3deg);
  animation: float 7s ease-in-out infinite;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 17px;
  border-bottom: 1px solid #ffffff1b;
  background: #141c32;
}

.circle {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fb7185;
}

.circle:nth-child(2) {
  background: #fbbf24;
}

.circle:nth-child(3) {
  background: #34d399;
}

.address {
  margin-left: 20px;
  background: #ffffff0c;
  border: 1px solid #ffffff12;
  color: #8291b4;
  padding: 2px 20px;
  border-radius: 6px;
  font-size: 11px;
}

.browser-content {
  padding: 35px 28px 28px;
}

.browser-tag {
  font-size: 10px;
  letter-spacing: 2px;
  color: #9eafff;
}

.browser-title {
  font: 700 clamp(25px, 3vw, 42px)/1.15 'Space Grotesk', sans-serif;
  letter-spacing: -1px;
  margin: 14px 0;
}

.browser-desc {
  color: #9aa8c6;
  font-size: 12px;
  max-width: 300px;
}

.mock-button {
  display: inline-block;
  background: var(--gradient);
  padding: 10px 18px;
  border-radius: 7px;
  font-size: 11px;
  margin: 12px 0 26px;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.mock-grid div {
  height: 75px;
  background: linear-gradient(140deg, #344375, #1d2543);
  border: 1px solid #6574b42b;
  border-radius: 9px;
  position: relative;
  overflow: hidden;
}

.mock-grid div:after {
  content: '';
  position: absolute;
  inset: 16px 12px;
  background: linear-gradient(#ffffff42 0 7px, transparent 7px 17px, #ffffff1d 17px 22px, transparent 22px);
  border-radius: 4px;
}

.floating-pill {
  position: absolute;
  right: -20px;
  bottom: 35px;
  background: #202b48;
  border: 1px solid #5567a4;
  border-radius: 13px;
  padding: 12px 17px;
  box-shadow: 0 14px 40px #0009;
  font-size: 13px;
  animation: float 5s ease-in-out infinite reverse;
}

.floating-pill b {
  color: #7cf1c7;
}

.stats {
  border-block: 1px solid #ffffff13;
  background: #ffffff04;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 25px 0;
}

.stat {
  text-align: center;
}

.stat b {
  font: 700 24px 'Space Grotesk', sans-serif;
}

.stat p {
  margin: 2px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 100px 0;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 44px;
}

.section-heading h2 {
  font: 700 clamp(31px, 4vw, 46px)/1.14 'Space Grotesk', sans-serif;
  letter-spacing: -1.7px;
  margin: 13px 0;
}

.section-heading p {
  color: var(--muted);
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: linear-gradient(160deg, #151b30, #0f1425);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  transition: transform .25s, border-color .25s;
}

.card:hover {
  transform: translateY(-7px);
  border-color: #7376da;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #6a71ff48;
  background: #6674ff1a;
  border-radius: 13px;
  font-size: 24px;
}

.card h3 {
  font: 700 21px 'Space Grotesk', sans-serif;
  margin: 20px 0 8px;
}

.card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.process {
  background: #0b1020;
  border-block: 1px solid #ffffff0d;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  padding: 22px;
  border-left: 1px solid #46547c;
}

.step b {
  font: 700 32px 'Space Grotesk', sans-serif;
  color: #7c8dff;
}

.step h3 {
  margin: 8px 0;
}

.step p {
  color: var(--muted);
  font-size: 14px;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #111729;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan.featured {
  border-color: #8b78ff;
  background: linear-gradient(170deg, #1e2247, #12172b);
  box-shadow: 0 0 60px #6a5cff18;
}

.popular {
  position: absolute;
  right: 18px;
  top: -14px;
  border-radius: 50px;
  background: var(--gradient);
  padding: 5px 13px;
  font-size: 11px;
  font-weight: 700;
}

.plan h3 {
  font: 700 23px 'Space Grotesk', sans-serif;
  margin: 0;
}

.plan .desc {
  font-size: 13px;
  color: var(--muted);
  min-height: 45px;
}

.price {
  font: 700 40px 'Space Grotesk', sans-serif;
  letter-spacing: -2px;
  margin: 10px 0;
}

.price small {
  font: 400 13px 'DM Sans', sans-serif;
  color: var(--muted);
  letter-spacing: 0;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  flex: 1;
}

.plan li {
  padding: 7px 0;
  color: #d2daed;
  font-size: 14px;
}

.plan li:before {
  content: '✓';
  color: #70e4bd;
  font-weight: 700;
  margin-right: 10px;
}

.plan .btn {
  width: 100%;
}

.disclaimer {
  text-align: center;
  color: #8491af;
  font-size: 12px;
  margin-top: 22px;
}

.portfolio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project {
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
  background: #12182b;
}

.project-art {
  height: 210px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project:nth-child(1) .project-art {
  background: radial-gradient(circle at 75% 15%, #b786ff6b, transparent 55%), #262043;
}

.project:nth-child(2) .project-art {
  background: radial-gradient(circle at 70% 15%, #47b7ff80, transparent 55%), #102d42;
}

.project:nth-child(3) .project-art {
  background: radial-gradient(circle at 70% 15%, #ffb76866, transparent 55%), #342438;
}

.mini-site {
  width: 88%;
  height: 145px;
  background: #0d1425;
  border: 1px solid #ffffff35;
  border-radius: 9px;
  box-shadow: 0 20px 35px #0007;
  transform: rotate(-5deg);
  padding: 14px;
}

.mini-site .mini-line {
  width: 38%;
  height: 7px;
  border-radius: 5px;
  background: #ffffffa8;
  margin-bottom: 12px;
}

.mini-site .mini-head {
  width: 72%;
  height: 23px;
  background: #ffffffd0;
  border-radius: 4px;
  margin: 12px 0;
}

.mini-site .mini-copy {
  width: 65%;
  height: 5px;
  background: #ffffff57;
  border-radius: 4px;
  margin-bottom: 7px;
}

.mini-site .mini-cta {
  width: 32%;
  height: 17px;
  background: var(--gradient);
  border-radius: 5px;
  margin-top: 13px;
}

.project-info {
  padding: 21px;
}

.project-info h3 {
  font: 700 18px 'Space Grotesk', sans-serif;
  margin: 0 0 5px;
}

.project-info p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.faq {
  max-width: 790px;
  margin: auto;
}

details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111729;
  margin: 12px 0;
  padding: 18px 22px;
}

summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

summary:after {
  content: '+';
  color: #a09bff;
  font-size: 22px;
}

details[open] summary:after {
  content: '−';
}

details p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}

.cta {
  position: relative;
  text-align: center;
  border: 1px solid #5b59ad;
  border-radius: 24px;
  padding: 65px 25px;
  background: radial-gradient(ellipse at 50% 0%, #5341a95c, transparent 70%), #12162d;
  overflow: hidden;
}

.cta h2 {
  font: 700 clamp(31px, 4vw, 48px)/1.13 'Space Grotesk', sans-serif;
  letter-spacing: -1.5px;
  margin: 10px 0;
}

.cta p {
  color: #b7c1dd;
}

.footer {
  border-top: 1px solid #ffffff16;
  padding: 32px 0;
  color: #8997b6;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  background: #15663b;
  color: #061b11;
  width: 59px;
  height: 59px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px #0bc7655e;
  transition: transform .2s;
}

.whatsapp:hover {
  transform: scale(1.09);
}

.whatsapp img {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .65s, transform .65s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) perspective(1100px) rotateY(-7deg) rotateX(3deg);
  }
  50% {
    transform: translateY(-12px) perspective(1100px) rotateY(-7deg) rotateX(3deg);
  }
}

/* Responsividade */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .visual {
    max-width: 560px;
    margin: auto;
    width: 100%;
  }
  .hero {
    padding: 75px 0;
  }
  .cards, .pricing, .portfolio {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .links {
    gap: 14px;
  }
  .links a:not(.btn) {
    font-size: 12px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 32px, 1140px);
  }
  .nav-inner {
    height: 67px;
  }
  .brand {
    font-size: 18px;
  }
  .menu-toggle {
    display: block;
  }
  .links {
    display: none;
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    padding: 20px;
    background: #0e1425;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }
  .links.open {
    display: flex;
  }
  .links a {
    padding: 6px;
  }
  .hero {
    padding: 60px 0 65px;
  }
  .hero h1 {
    letter-spacing: -2px;
  }
  .lead {
    font-size: 16px;
  }
  .browser {
    transform: none;
    animation: none;
  }
  .floating-pill {
    right: -6px;
  }
  .stats-grid {
    gap: 10px;
  }
  .stat b {
    font-size: 19px;
  }
  .stat p {
    font-size: 11px;
  }
  .section {
    padding: 70px 0;
  }
  .cards, .pricing, .portfolio {
    grid-template-columns: 1fr;
  }
  .cta {
    padding: 45px 20px;
  }
  .footer-inner {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}