:root {
  --bg: #05040a;
  --surface: #0d1020;
  --surface-2: #131727;
  --line: rgba(180, 149, 255, 0.18);
  --text: #f6f2ff;
  --muted: #aaa2bc;
  --soft: #7c748e;
  --purple: #9b42ff;
  --purple-2: #6d2eea;
  --cyan: #00d7ff;
  --green: #16f5b4;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Outfit", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 0%, rgba(130, 37, 255, 0.28), transparent 32rem),
    radial-gradient(circle at 88% 18%, rgba(0, 215, 255, 0.16), transparent 28rem),
    linear-gradient(135deg, rgba(83, 31, 120, 0.14), transparent 35%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 90%);
}

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

p {
  color: var(--muted);
  line-height: 1.65;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Chakra Petch", "Outfit", sans-serif;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(10, 12, 24, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(155, 66, 255, 0.34);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-nav a,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  cursor: pointer;
  font-family: "Chakra Petch", sans-serif;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  border-color: rgba(255, 255, 255, 0.12);
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  box-shadow: 0 14px 30px rgba(109, 46, 234, 0.35);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.btn-large {
  min-height: 52px;
  padding-inline: 22px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text);
}

.section-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 42px;
  padding: 88px 0 54px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: #c28cff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.95;
}

.hero p,
.page-hero p {
  max-width: 700px;
  font-size: 1.12rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.92rem;
}

.hero-panel,
.feature-card,
.plan-card,
.comparison-card,
.feature-detail-grid article,
.faq-list details,
.final-cta,
.split-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(19, 23, 39, 0.92), rgba(10, 12, 24, 0.92));
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 12px;
}

.mock-window {
  display: grid;
  grid-template-columns: 82px 1fr;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid rgba(0, 215, 255, 0.16);
  border-radius: 14px;
  background: #080b16;
}

.mock-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: rgba(18, 12, 30, 0.78);
}

.mock-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, var(--purple), #1823ff);
  font-weight: 800;
}

.mock-sidebar span,
.mock-table span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.mock-content {
  padding: 22px;
}

.mock-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  color: var(--muted);
}

.mock-top strong {
  color: var(--text);
}

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

.mock-grid div {
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.mock-grid small,
.mock-top small {
  color: var(--soft);
}

.mock-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 1.25rem;
}

.mock-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 180px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(0, 215, 255, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(0, 215, 255, 0.1), rgba(155, 66, 255, 0.06));
}

.mock-chart span {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--purple));
}

.mock-chart span:nth-child(1) { height: 34%; }
.mock-chart span:nth-child(2) { height: 56%; }
.mock-chart span:nth-child(3) { height: 42%; }
.mock-chart span:nth-child(4) { height: 72%; }
.mock-chart span:nth-child(5) { height: 88%; }

.mock-table {
  display: grid;
  gap: 10px;
}

.mock-table span {
  height: 16px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2,
.split-section h2,
.final-cta h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.feature-grid,
.plans-grid,
.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.plan-card,
.feature-detail-grid article {
  padding: 24px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 14px;
  color: white;
  background: rgba(155, 66, 255, 0.24);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 26px;
  margin-top: 72px;
  padding: 34px;
}

.steps {
  display: grid;
  gap: 12px;
}

.steps div {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.steps strong {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(155, 66, 255, 0.22);
}

#funcionalidades,
#planos,
#faq {
  padding-top: 82px;
}

.plan-card.featured {
  border-color: rgba(155, 66, 255, 0.62);
  box-shadow: 0 24px 80px rgba(109, 46, 234, 0.22);
}

.plan-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.plan-price {
  display: flex;
  align-items: end;
  gap: 8px;
  margin: 18px 0;
}

.plan-price strong {
  font-family: "Chakra Petch", sans-serif;
  font-size: 2.2rem;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.plan-card li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--green);
}

.plan-badge {
  align-self: start;
  padding: 6px 10px;
  border-radius: 999px;
  color: #d8c4ff;
  background: rgba(155, 66, 255, 0.18);
  font-size: 0.8rem;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 82px;
  padding: 34px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 18px;
  margin-top: 82px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 215, 255, 0.14), transparent 24rem),
    linear-gradient(180deg, rgba(19, 23, 39, 0.92), rgba(10, 12, 24, 0.92));
  box-shadow: var(--shadow);
}

.compact-contact {
  margin-top: 34px;
}

.contact-copy h2 {
  max-width: 720px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.contact-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(155, 66, 255, 0.36);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.contact-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--soft);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--text);
  font-family: "Chakra Petch", sans-serif;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-actions .btn {
  flex: 1 1 150px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 58px auto 0;
  padding: 26px 0 34px;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.page-hero {
  padding: 88px 0 34px;
}

.feature-detail-grid {
  padding-bottom: 30px;
}

.legal-public {
  margin-top: 58px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(19, 23, 39, 0.92), rgba(10, 12, 24, 0.92));
  box-shadow: var(--shadow);
}

.legal-public h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.legal-public h2 {
  margin-top: 30px;
  font-size: 1.2rem;
}

.legal-public a {
  color: #d8c4ff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.comparison-card {
  margin-top: 20px;
  padding: 24px;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.comparison-table th {
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.compact {
  margin-bottom: 8px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-block;
    justify-self: end;
  }

  .site-nav,
  .header-actions {
    display: none;
    grid-column: 1 / -1;
    justify-content: start;
  }

  .site-header.is-open .site-nav,
  .site-header.is-open .header-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

  .feature-grid,
  .plans-grid,
  .feature-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-cta {
    align-items: start;
    flex-direction: column;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.6rem;
  }

  .hero-actions,
  .header-actions,
  .site-nav {
    width: 100%;
  }

  .hero-actions .btn,
  .header-actions .btn {
    flex: 1;
  }

  .mock-window {
    grid-template-columns: 1fr;
    min-height: 360px;
  }

  .mock-sidebar {
    display: none;
  }

  .mock-grid,
  .feature-grid,
  .plans-grid,
  .feature-detail-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
