:root {
  --bg: #080810;
  --bg2: #0d0d1a;
  --surface: #111122;
  --border: rgba(255, 255, 255, 0.07);
  --purple: #8b5cf6;
  --purple-glow: #a78bfa;
  --neon: #39ff90;
  --neon-dim: #1aff6a44;
  --white: #f0eeff;
  --muted: #6b6b8a;
  --card: #12121f;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

section[id] {
  scroll-margin-top: 6rem;
}

nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 5vw;
  background: rgba(8, 8, 16, 0.6);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo,
.footer-logo {
  font-family: "Syne", sans-serif;
  font-weight: 800;
}

.logo {
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.logo span,
.footer-logo span {
  color: var(--neon);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-family: "DM Mono", monospace;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--neon);
  color: #000;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.55rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}

.nav-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 10rem 5vw 6rem;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-glow,
.hero-glow-neon {
  position: absolute;
  pointer-events: none;
}

.hero-glow {
  top: -20%;
  left: 50%;
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
  transform: translateX(-50%);
}

.hero-glow-neon {
  right: -10%;
  bottom: 10%;
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(57, 255, 144, 0.08) 0%, transparent 70%);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--neon-dim);
  border-radius: 100px;
  background: rgba(57, 255, 144, 0.05);
  color: var(--neon);
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  animation: fadeUp 0.6s ease both;
}

.hero-tag::before {
  content: "◉";
  font-size: 0.6rem;
  animation: pulse 2s infinite;
}

.hero h1 {
  max-width: 14ch;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero h1 .accent {
  color: var(--purple-glow);
}

.hero h1 .accent-neon {
  color: var(--neon);
}

.hero-sub {
  max-width: 46ch;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 1.1rem;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  animation: fadeUp 0.7s 0.25s ease both;
}

.meta-chip {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #d4cff5;
  background: rgba(255, 255, 255, 0.03);
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  text-decoration: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  animation: fadeUp 0.7s 0.3s ease both;
}

.btn-primary,
.btn-ghost,
.plan-cta {
  text-decoration: none;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-family: "Syne", sans-serif;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--neon);
  color: #000;
  font-weight: 700;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(57, 255, 144, 0.4);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--white);
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  border-color: var(--purple);
  background: rgba(139, 92, 246, 0.06);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 5rem;
  animation: fadeUp 0.7s 0.4s ease both;
}

.stat-num {
  color: var(--white);
  font-family: "Syne", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.stat-num span {
  color: var(--neon);
}

.stat-label {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
}

section {
  padding: 7rem 5vw;
}

.section-tag {
  margin-bottom: 0.75rem;
  color: var(--purple-glow);
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.section-title {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-title .hl {
  color: var(--neon);
}

.section-copy {
  max-width: 62ch;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.97rem;
}

.section-copy + .section-copy {
  margin-top: 0.75rem;
}

.services-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.service-card,
.contact-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.service-card {
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.service-card:hover,
.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.35);
}

.service-eyebrow,
.contact-card span {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--neon);
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-title {
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.15;
}

.service-desc,
.contact-card p {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-card {
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.contact-card strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.contact-card-static {
  cursor: default;
}

.contact-card-static:hover {
  transform: none;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  margin-top: 3rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--border);
}

.project-card {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 2rem;
  background: var(--card);
  cursor: default;
  transition: background 0.25s;
}

.project-card:hover {
  background: #16162a;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--neon));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.12);
  font-size: 1.1rem;
}

.project-name {
  margin-bottom: 0.5rem;
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.project-type {
  color: var(--neon);
  opacity: 0.8;
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
}

.project-desc {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

#portfolio {
  background:
    radial-gradient(circle at top right, rgba(57, 255, 144, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0));
}

.portfolio-callout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 2.5rem;
}

.portfolio-copy,
.portfolio-link {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.portfolio-copy .section-copy {
  max-width: 54ch;
}

.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.portfolio-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.portfolio-link:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 144, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.portfolio-link-label {
  color: var(--neon);
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portfolio-link strong {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.portfolio-link-copy {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.portfolio-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 220px;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(57, 255, 144, 0.2);
  border-radius: 999px;
  background: rgba(57, 255, 144, 0.1);
  color: var(--white);
  font-family: "Syne", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.portfolio-link:hover .portfolio-link-button {
  transform: translateX(4px);
  background: rgba(57, 255, 144, 0.16);
  border-color: rgba(57, 255, 144, 0.34);
}

#pacotes,
#faq {
  background: var(--bg2);
}

#contato {
  background: var(--bg2);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  align-items: start;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.price-card {
  position: relative;
  padding: 2.25rem 2rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  transition: transform 0.2s, border-color 0.2s;
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card.featured {
  border-color: var(--purple);
  background: linear-gradient(160deg, #1a1330 0%, var(--card) 60%);
}

.price-card.featured::after {
  content: "MAIS POPULAR";
  position: absolute;
  top: -1px;
  right: 1.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: 0 0 8px 8px;
  background: var(--purple);
  color: #fff;
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.plan-name {
  margin-bottom: 1rem;
  color: var(--muted);
  font-family: "Syne", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.plan-price {
  font-family: "Syne", sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-price .currency {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 400;
  vertical-align: top;
}

.plan-desc {
  margin-top: 0.75rem;
  margin-bottom: 1.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  list-style: none;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #c4c0e8;
  font-size: 0.9rem;
}

.plan-features li::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--neon);
  font-weight: 700;
}

.plan-cta {
  display: block;
  padding: 0.85rem;
  border-radius: 8px;
  font-family: "Syne", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.plan-cta.outline {
  border: 1px solid var(--border);
  color: var(--white);
}

.plan-cta.outline:hover {
  border-color: var(--purple);
}

.plan-cta.solid {
  background: var(--purple);
  color: #fff;
}

.plan-cta.solid:hover {
  opacity: 0.88;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.4);
}

.plan-cta.neon {
  background: var(--neon);
  color: #000;
}

.plan-cta.neon:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(57, 255, 144, 0.45);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.testi-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 180px;
  padding: 2rem;
  border: 1px dashed rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  background: var(--card);
}

.testi-placeholder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  text-align: center;
  opacity: 0.5;
}

.testi-placeholder .icon {
  font-size: 1.5rem;
  opacity: 0.4;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testi-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--neon));
  opacity: 0.3;
}

.testi-name {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
}

.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}

.about-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 380px;
}

.about-badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(145deg, #1a1030, #0f0f20);
  background-clip: text;
  background-image: linear-gradient(135deg, var(--purple-glow), var(--neon));
  color: transparent;
  font-family: "Syne", sans-serif;
  font-size: 6rem;
  font-weight: 800;
  -webkit-background-clip: text;
}

.about-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.12), transparent 60%);
}

.about-corner {
  position: absolute;
  right: -12px;
  bottom: -12px;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  font-family: "DM Mono", monospace;
}

.about-corner .label {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.65rem;
}

.about-corner .val {
  color: var(--neon);
  font-size: 0.95rem;
  font-weight: 400;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.pill {
  padding: 0.35rem 0.85rem;
  border: 1px solid;
  border-radius: 100px;
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
}

.pill.p {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.07);
  color: var(--purple-glow);
}

.pill.n {
  border-color: rgba(57, 255, 144, 0.3);
  background: rgba(57, 255, 144, 0.05);
  color: var(--neon);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 3rem;
  overflow: hidden;
  border-radius: 12px;
  background: var(--border);
}

details {
  background: var(--card);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 2rem;
  cursor: pointer;
  list-style: none;
  font-family: "Syne", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
}

summary::-webkit-details-marker {
  display: none;
}

summary:hover {
  color: var(--neon);
}

summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--muted);
  font-size: 1.3rem;
  transition: transform 0.25s;
}

details[open] summary::after {
  transform: rotate(45deg);
  color: var(--neon);
}

.faq-body {
  padding: 0 2rem 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.cta-banner {
  position: relative;
  margin: 0 5vw;
  overflow: hidden;
  padding: 5rem 3rem;
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 20px;
  background: linear-gradient(120deg, #160f2b, #0a1f15);
  text-align: center;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-banner h2,
.cta-banner p,
.cta-banner a {
  position: relative;
}

.cta-banner h2 {
  margin-bottom: 1rem;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cta-banner p {
  max-width: 45ch;
  margin: 0 auto 2.5rem;
  color: var(--muted);
}

.cta-button-large {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 3rem 5vw;
  border-top: 1px solid var(--border);
}

.footer-logo {
  font-size: 0.95rem;
}

footer a {
  text-decoration: none;
}

footer p {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
}

.footer-contact {
  color: var(--white);
  font-family: "DM Mono", monospace;
  font-size: 0.85rem;
}

.footer-note {
  color: var(--muted);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 99px;
}

@media (max-width: 960px) {
  .about-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .portfolio-callout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  nav {
    gap: 1rem;
  }

  .nav-links {
    display: none;
  }

  .hero-stats {
    gap: 1.75rem;
  }

  .hero-meta {
    gap: 0.5rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 4rem 1.5rem;
  }

  .cta-button-large {
    width: 100%;
    justify-content: center;
  }
}
