/* =========================================================
   KeyProxy Hub — Aurora theme
   Camada visual carregada depois de styles.css.
   ========================================================= */

:root {
  --bg: #050408;
  --bg-soft: #0a0712;
  --bg-card: #0d0916;
  --ink: #f7f1ea;
  --muted: #b3adbf;
  --muted-2: #8e879e;
  --line: rgba(219, 211, 255, 0.1);
  --line-strong: rgba(219, 211, 255, 0.18);
  --orange: #ff5c35;
  --orange-soft: #ff8a5c;
  --lime: #67e8f9;
  --violet: #8b5cf6;
  --cream: #f7f1ea;
  --aurora-violet: #8b5cf6;
  --aurora-cyan: #22d3ee;
  --aurora-pink: #ff3d81;
  --aurora-coral: #ff5c35;
  --aurora-gold: #f6c177;
}

html {
  background: var(--bg);
}

body {
  background: transparent;
}

body::before {
  background:
    radial-gradient(1000px 720px at 88% -10%, rgba(255, 61, 129, 0.14), transparent 60%),
    radial-gradient(900px 680px at -12% 18%, rgba(139, 92, 246, 0.18), transparent 62%),
    radial-gradient(760px 560px at 52% 106%, rgba(34, 211, 238, 0.08), transparent 66%),
    #050408;
}

body::after {
  opacity: 0.026;
}

::selection {
  background: var(--aurora-violet);
  color: #100b1c;
}

/* ---------- Topbar / header ---------- */

.topbar {
  background: rgba(7, 5, 13, 0.9);
  border-bottom-color: var(--line);
}

.site-header {
  background: linear-gradient(180deg, rgba(5, 4, 8, 0.8), rgba(5, 4, 8, 0.2));
}

.site-header.is-scrolled {
  background: rgba(5, 4, 8, 0.86);
  border-bottom-color: var(--line);
}

.brand-mark,
.mini-mark {
  background: linear-gradient(140deg, #c4b5fd 0%, #a78bfa 24%, var(--orange) 58%, var(--aurora-pink) 82%, var(--aurora-cyan) 140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 10px 30px -10px rgba(139, 92, 246, 0.7),
    0 6px 18px -8px rgba(255, 61, 129, 0.4);
}

.brand-name em {
  background: linear-gradient(100deg, #c4b5fd, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav > a:not(.btn).is-active {
  color: #e7e1f2;
}

.nav > a:not(.btn)::after {
  background: linear-gradient(90deg, var(--aurora-violet), var(--aurora-cyan), var(--aurora-coral));
}

.scroll-progress i {
  background: linear-gradient(90deg, var(--aurora-violet), var(--aurora-cyan) 52%, var(--aurora-coral));
}

/* ---------- Eyebrows and text ---------- */

.eyebrow {
  color: #c5bed4;
}

.eyebrow-dot {
  background: linear-gradient(135deg, #a78bfa, #22d3ee);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.8);
}

.eyebrow-tag {
  border-color: rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.07);
  color: #8ceeff;
}

.accent-warm {
  background-image: linear-gradient(100deg, #ffc5a8 4%, #ff5c35 42%, #ff3d81 86%);
}

.accent-lime {
  background-image: linear-gradient(100deg, #c4b5fd 0%, #67e8f9 48%, #22d3ee 100%);
}

.aurora-text {
  background-image: linear-gradient(100deg, #ddd0ff 0%, #a78bfa 22%, #67e8f9 52%, #ff8a5c 78%, #f6c177 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */

.btn-primary {
  background: linear-gradient(110deg, #ffb08a 0%, #ff5c35 32%, #ff3d81 72%, #8b5cf6 130%);
  color: #16090b;
  box-shadow:
    0 18px 42px -16px rgba(255, 61, 129, 0.6),
    0 8px 24px -12px rgba(139, 92, 246, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.btn-primary:hover {
  box-shadow:
    0 24px 52px -16px rgba(255, 61, 129, 0.75),
    0 10px 28px -10px rgba(139, 92, 246, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.btn-secondary {
  border-color: rgba(196, 181, 253, 0.25);
  background: rgba(139, 92, 246, 0.055);
}

.btn-secondary:hover {
  border-color: rgba(103, 232, 249, 0.36);
  background: rgba(34, 211, 238, 0.06);
}

.text-link:hover {
  color: #8ceeff;
  border-color: rgba(103, 232, 249, 0.4);
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(800px 520px at 76% 20%, rgba(139, 92, 246, 0.06), transparent 65%),
    transparent;
}

.hero::before {
  top: -35%;
  right: -10%;
  width: 1050px;
  height: 1050px;
  border-radius: 50%;
  background: conic-gradient(
    from 210deg at 50% 50%,
    rgba(139, 92, 246, 0.4),
    rgba(34, 211, 238, 0.2) 22%,
    rgba(255, 61, 129, 0.24) 48%,
    rgba(246, 193, 119, 0.14) 66%,
    rgba(139, 92, 246, 0.4)
  );
  filter: blur(80px);
  opacity: 0.6;
  animation: auroraSpin 34s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  left: -12%;
  bottom: -34%;
  width: 760px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), transparent 66%);
  filter: blur(50px);
  pointer-events: none;
}

.hero-grid-bg {
  background-image:
    linear-gradient(rgba(196, 181, 253, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 181, 253, 0.06) 1px, transparent 1px);
}

.h1-accent {
  background-image: linear-gradient(
    100deg,
    #e6dcff 0%,
    #a78bfa 20%,
    #67e8f9 48%,
    #ff8a5c 74%,
    #f6c177 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 30px rgba(139, 92, 246, 0.12));
}

.hero-lead {
  color: #b7b0c3;
}

.hero-micro {
  color: #9b93a9;
}

.hero-micro .icon {
  color: #67e8f9;
}

.hero-trust {
  border-top-color: var(--line);
}

.avatar-stack .avatar-more {
  background: linear-gradient(135deg, #a78bfa, #ff5c35 70%, #f6c177);
  color: #16090b;
}

.hero-trust-copy span {
  color: var(--muted-2);
}

/* Console */

.hero-visual::before {
  inset: -16% -20%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 38%, rgba(139, 92, 246, 0.28), transparent 52%),
    radial-gradient(circle at 68% 66%, rgba(34, 211, 238, 0.16), transparent 52%),
    radial-gradient(circle at 50% 80%, rgba(255, 92, 53, 0.12), transparent 55%);
  filter: blur(34px);
  animation: auroraPulse 10s ease-in-out infinite;
}

.console {
  border-color: rgba(196, 181, 253, 0.18);
  background: linear-gradient(160deg, rgba(24, 20, 38, 0.96), rgba(7, 6, 13, 0.99) 72%);
  box-shadow:
    0 50px 120px -35px rgba(0, 0, 0, 0.95),
    0 24px 70px -30px rgba(139, 92, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.console::after {
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.85), rgba(103, 232, 249, 0.65), transparent);
}

.console-head {
  background: rgba(139, 92, 246, 0.035);
}

.console-title small {
  color: #8f87a3;
}

.status-pill {
  border-color: rgba(103, 232, 249, 0.24);
  background: rgba(103, 232, 249, 0.06);
  color: #8ceeff;
}

.route-icon-ok {
  border-color: rgba(103, 232, 249, 0.24);
  background: rgba(103, 232, 249, 0.07);
  color: #8ceeff;
}

.core-ring {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.35), transparent 38%),
    linear-gradient(140deg, #ffb08a, #ff5c35 52%, #ff3d81);
  box-shadow:
    0 0 0 6px rgba(139, 92, 246, 0.12),
    0 0 0 13px rgba(34, 211, 238, 0.045),
    0 14px 34px -10px rgba(255, 92, 53, 0.7);
}

.route-track {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(167, 139, 250, 0.34), rgba(34, 211, 238, 0.2), rgba(255, 255, 255, 0.06));
}

.route-pulse {
  background: #67e8f9;
  box-shadow: 0 0 10px 2px rgba(103, 232, 249, 0.6);
}

.console-logs {
  background: rgba(3, 2, 7, 0.34);
}

.log-method {
  color: #ff9a6b;
}

.log-status {
  color: #8ceeff;
}

.meter span {
  background: linear-gradient(90deg, #ffb08a, #ff5c35 55%, #ff3d81);
  box-shadow: 0 0 12px rgba(255, 61, 129, 0.4);
}

.meter-lime span {
  background: linear-gradient(90deg, #a78bfa, #67e8f9);
  box-shadow: 0 0 12px rgba(103, 232, 249, 0.4);
}

.mini-mark {
  background: linear-gradient(140deg, #c4b5fd, #ff5c35 55%, #ff3d81 85%, #f6c177 140%);
}

.float-icon-lime {
  border-color: rgba(103, 232, 249, 0.24);
  background: rgba(103, 232, 249, 0.07);
  color: #8ceeff;
}

/* ---------- Providers and stats ---------- */

.providers {
  background: rgba(139, 92, 246, 0.025);
  border-bottom-color: var(--line);
  border-top: 1px solid rgba(196, 181, 253, 0.06);
}

.provider {
  border-color: rgba(219, 211, 255, 0.1);
  background: rgba(139, 92, 246, 0.035);
}

.stats-band {
  border-bottom-color: var(--line);
  background: rgba(139, 92, 246, 0.018);
}

.stat strong {
  background-image: linear-gradient(120deg, #fff 12%, #c4b5fd 55%, #67e8f9 100%);
}

/* ---------- Sections / bento ---------- */

.bento-card {
  border-color: var(--line);
  background:
    radial-gradient(440px 280px at 88% 0%, rgba(139, 92, 246, 0.09), transparent 70%),
    radial-gradient(300px 240px at 5% 100%, rgba(34, 211, 238, 0.045), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.bento-card::after,
.price-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.55), rgba(103, 232, 249, 0.4), transparent);
  pointer-events: none;
}

.bento-card:hover {
  border-color: rgba(196, 181, 253, 0.3);
  box-shadow:
    0 34px 80px -42px rgba(0, 0, 0, 0.9),
    0 0 50px -30px rgba(139, 92, 246, 0.35);
}

.card-index {
  color: #8ceeff;
}

.orbit-core {
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.4), transparent 38%),
    linear-gradient(140deg, #ffb08a, #ff5c35 55%, #ff3d81);
  box-shadow:
    0 0 0 7px rgba(139, 92, 246, 0.1),
    0 0 0 14px rgba(34, 211, 238, 0.035),
    0 18px 44px -12px rgba(255, 61, 129, 0.6);
}

.micro-chip {
  border-color: rgba(103, 232, 249, 0.18);
  background: rgba(103, 232, 249, 0.055);
  color: #c8f7ff;
}

.micro-chip .icon {
  color: #67e8f9;
}

.chat-avatar {
  background: linear-gradient(140deg, #c4b5fd, #ff5c35 60%, #ff3d81);
  color: #16090b;
}

.bubble-agent {
  border-color: rgba(139, 92, 246, 0.2);
  background: rgba(139, 92, 246, 0.09);
}

.bubble-ok {
  border-color: rgba(103, 232, 249, 0.24);
  background: rgba(103, 232, 249, 0.05);
  color: #8ceeff;
}

.audit-ok,
.code-status i {
  color: #8ceeff;
}

.code-status i {
  background: #67e8f9;
  box-shadow: 0 0 8px rgba(103, 232, 249, 0.6);
}

/* Orchestration */

.orch-panel {
  border-color: var(--line);
  background:
    radial-gradient(620px 420px at 16% 20%, rgba(255, 92, 53, 0.13), transparent 64%),
    radial-gradient(620px 480px at 88% 82%, rgba(139, 92, 246, 0.18), transparent 64%),
    radial-gradient(460px 360px at 55% 0%, rgba(34, 211, 238, 0.05), transparent 70%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.orch-chips span {
  border-color: var(--line);
  background: rgba(139, 92, 246, 0.035);
}

.orch-tag {
  border-color: rgba(103, 232, 249, 0.18);
}

/* ---------- Pricing ---------- */

.pricing {
  background:
    radial-gradient(900px 620px at 50% -10%, rgba(139, 92, 246, 0.14), transparent 66%),
    radial-gradient(720px 480px at 94% 18%, rgba(255, 61, 129, 0.08), transparent 64%),
    #07050c;
  border-block-color: var(--line);
}

.pricing-glow {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25), rgba(34, 211, 238, 0.1) 45%, transparent 70%);
}

.price-card {
  border-color: var(--line);
  background:
    radial-gradient(340px 220px at 82% 0%, rgba(139, 92, 246, 0.07), transparent 70%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.price-card:hover {
  border-color: rgba(196, 181, 253, 0.28);
  box-shadow: 0 30px 70px -42px rgba(0, 0, 0, 0.9), 0 0 40px -28px rgba(139, 92, 246, 0.4);
}

.price-card.featured {
  border-color: rgba(167, 139, 250, 0.5);
  background:
    radial-gradient(340px 240px at 50% 0%, rgba(139, 92, 246, 0.2), transparent 68%),
    radial-gradient(300px 220px at 100% 60%, rgba(34, 211, 238, 0.07), transparent 70%),
    linear-gradient(170deg, rgba(139, 92, 246, 0.08), rgba(255, 255, 255, 0.022) 50%);
  box-shadow:
    0 34px 90px -42px rgba(139, 92, 246, 0.45),
    0 0 60px -34px rgba(34, 211, 238, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.popular-flag {
  background: linear-gradient(120deg, #c4b5fd, #67e8f9 48%, #ffb08a 110%);
  color: #0d0916;
  box-shadow: 0 10px 26px -10px rgba(139, 92, 246, 0.6);
}

.plan-list .icon {
  color: #67e8f9;
}

.plan-label {
  color: #a9a2b8;
}

.price-period {
  color: #8e879e;
}

.btn-plan:hover {
  border-color: rgba(196, 181, 253, 0.34);
  background: rgba(139, 92, 246, 0.07);
}

.price-card.featured .btn-plan {
  background: linear-gradient(110deg, #ffb08a 0%, #ff5c35 34%, #ff3d81 80%, #8b5cf6 130%);
  color: #16090b;
  box-shadow: 0 14px 34px -14px rgba(255, 61, 129, 0.65);
}

.pricing-custom {
  border-color: rgba(196, 181, 253, 0.18);
  background:
    radial-gradient(520px 240px at 82% 0%, rgba(34, 211, 238, 0.07), transparent 70%),
    radial-gradient(420px 260px at 8% 100%, rgba(139, 92, 246, 0.08), transparent 70%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008));
}

.pricing-custom-note {
  color: #8e879e;
}

.pricing-note {
  color: #8e879e;
}

/* ---------- Plan builder ---------- */

.builder-block {
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
}

.builder-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: end;
  gap: 34px;
  margin-bottom: 26px;
}

.builder-head h2 {
  margin-top: 16px;
  font-size: clamp(2.45rem, 4.2vw, 3.85rem);
  line-height: 1.01;
}

.builder-head p {
  max-width: 55ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.builder-flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
  padding-bottom: 6px;
}

.builder-flags span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #c5bed4;
  font-size: 0.68rem;
  white-space: nowrap;
}

.builder-flags .icon {
  width: 13px;
  height: 13px;
  color: #67e8f9;
}

.builder-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 30px;
  min-height: 480px;
  padding: 32px;
  border-radius: 30px;
  background:
    radial-gradient(620px 420px at 88% 16%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(520px 380px at 6% 100%, rgba(255, 92, 53, 0.13), transparent 62%),
    radial-gradient(520px 380px at 48% 0%, rgba(139, 92, 246, 0.18), transparent 64%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.012));
  box-shadow:
    0 34px 100px -50px rgba(0, 0, 0, 0.95),
    0 0 70px -40px rgba(139, 92, 246, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.builder-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(196, 181, 253, 0.75), rgba(103, 232, 249, 0.36) 42%, rgba(255, 92, 53, 0.38) 72%, rgba(246, 193, 119, 0.42));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.builder-controls {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.builder-step {
  display: block;
  margin-bottom: 8px;
  color: #8ceeff;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.builder-providers {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.builder-provider {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  min-height: 50px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.builder-provider img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.builder-provider:hover {
  border-color: rgba(196, 181, 253, 0.3);
  color: var(--ink);
}

.builder-provider.is-active {
  border-color: rgba(167, 139, 250, 0.6);
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.2), rgba(34, 211, 238, 0.07));
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 10px 26px -18px rgba(139, 92, 246, 0.8);
}

.builder-tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

.builder-tier {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-height: 66px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.022);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.builder-tier span {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.builder-tier small {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  white-space: nowrap;
}

.builder-tier:hover {
  border-color: rgba(196, 181, 253, 0.26);
}

.builder-tier.is-active {
  border-color: rgba(255, 138, 92, 0.52);
  background: linear-gradient(135deg, rgba(255, 92, 53, 0.2), rgba(255, 61, 129, 0.09));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.builder-tier.is-active small {
  color: #ffb4a2;
}

.builder-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.builder-plan-label {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.builder-plan-name {
  margin-top: 4px;
  color: #ede7f8;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.builder-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 3px;
  color: #c7c0d6;
  font-size: 0.78rem;
}

.builder-price strong {
  background-image: linear-gradient(120deg, #fff 12%, #c4b5fd 52%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 3.3vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
}

.builder-price b {
  color: #c7c0d6;
  font-weight: 500;
}

.builder-period {
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 0.62rem;
}

.builder-metrics {
  display: flex;
  gap: 7px;
  align-items: stretch;
  flex-wrap: wrap;
  padding-bottom: 2px;
}

.builder-metrics div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 93px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.builder-metrics strong {
  color: #f0eaf8;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
}

.builder-metrics span {
  color: var(--muted-2);
  font-size: 0.55rem;
}

.builder-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 22px;
}

.builder-actions .btn {
  height: 48px;
  padding-inline: 22px;
  font-size: 0.84rem;
}

.builder-help {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cfc8dd;
  font-size: 0.69rem;
  border-bottom: 1px solid rgba(196, 181, 253, 0.26);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.builder-help .icon {
  width: 13px;
  height: 13px;
}

.builder-help:hover {
  color: #8ceeff;
  border-color: rgba(103, 232, 249, 0.4);
}

.builder-note {
  margin-top: 13px;
  color: var(--muted-2);
  font-size: 0.6rem;
}

.builder-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.builder-orb {
  position: absolute;
  inset: -18% -12%;
  border-radius: 50%;
  background: conic-gradient(
    from 120deg,
    rgba(139, 92, 246, 0.4),
    rgba(34, 211, 238, 0.18) 32%,
    rgba(255, 61, 129, 0.26) 62%,
    rgba(246, 193, 119, 0.14) 84%,
    rgba(139, 92, 246, 0.4)
  );
  filter: blur(70px);
  opacity: 0.58;
  animation: auroraSpin 30s linear infinite;
}

.builder-pass {
  position: relative;
  z-index: 2;
  width: min(100%, 330px);
  padding: 20px;
  border: 1px solid rgba(196, 181, 253, 0.26);
  border-radius: 22px;
  background:
    radial-gradient(280px 200px at 84% 0%, rgba(34, 211, 238, 0.12), transparent 64%),
    linear-gradient(160deg, rgba(30, 23, 52, 0.97), rgba(9, 7, 16, 0.99));
  box-shadow:
    0 34px 80px -30px rgba(0, 0, 0, 0.95),
    0 0 50px -24px rgba(139, 92, 246, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotate(-3deg);
  overflow: hidden;
}

.builder-pass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.06) 42%, transparent 55%);
  transform: translateX(-120%);
  animation: passShine 7s ease-in-out infinite;
  pointer-events: none;
}

.builder-pass-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.builder-pass-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d7d0e3;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.builder-pass-brand .mini-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 0.78rem;
}

.builder-pass-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8ceeff;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.builder-pass-status .live-dot {
  width: 4px;
  height: 4px;
}

.builder-pass-provider {
  margin-top: 17px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.builder-pass-tier {
  margin-top: 2px;
  color: #f3edf9;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.builder-pass-price {
  margin-top: 10px;
  color: #c7c0d6;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.builder-pass-price span {
  background-image: linear-gradient(120deg, #fff, #c4b5fd 55%, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.builder-pass-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.builder-pass-meta span {
  padding: 4px 7px;
  border: 1px solid rgba(196, 181, 253, 0.14);
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.06);
  color: #cfc7df;
  font-family: var(--font-mono);
  font-size: 0.52rem;
}

.builder-pass-key {
  margin-top: 18px;
  padding: 8px 9px;
  border: 1px dashed rgba(196, 181, 253, 0.18);
  border-radius: 7px;
  color: #a99fb9;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.03em;
}

.builder-pass-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.48rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.builder-pass-foot span:last-child {
  color: #8ceeff;
}

.builder-chip {
  position: absolute;
  z-index: 3;
  padding: 6px 10px;
  border: 1px solid rgba(196, 181, 253, 0.24);
  border-radius: 999px;
  background: rgba(12, 8, 22, 0.82);
  color: #d7d0e3;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.builder-chip-a {
  top: 6%;
  right: 0;
}

.builder-chip-b {
  bottom: 6%;
  left: 0;
  color: #8ceeff;
}

/* All plans */

.plans-all-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: 44px 0 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.plans-all-head h3 {
  margin-top: 10px;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
}

.plans-all-head p {
  max-width: 48ch;
  color: var(--muted-2);
  font-size: 0.72rem;
  line-height: 1.55;
  text-align: right;
}

/* ---------- Steps / integration / voice ---------- */

.step {
  border-color: var(--line);
  background:
    radial-gradient(320px 220px at 84% 0%, rgba(139, 92, 246, 0.08), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.step:hover {
  border-color: rgba(196, 181, 253, 0.28);
}

.step-icon {
  border-color: rgba(139, 92, 246, 0.28);
  background: rgba(139, 92, 246, 0.1);
  color: #c4b5fd;
}

.step-watermark {
  -webkit-text-stroke-color: rgba(196, 181, 253, 0.13);
}

.integration {
  border-color: var(--line);
  background:
    radial-gradient(560px 360px at 15% 45%, rgba(139, 92, 246, 0.1), transparent 68%),
    radial-gradient(420px 320px at 84% 80%, rgba(34, 211, 238, 0.05), transparent 68%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
}

.code-shell {
  background: #06050a;
}

.code-pane code {
  color: #ded6ea;
}

.tok-kw {
  color: #c4b5fd;
}

.tok-str {
  color: #8ceeff;
}

.tok-fn {
  color: #ff9a6b;
}

.code-tab.is-active {
  background: rgba(139, 92, 246, 0.14);
}

.voice-panel {
  border-color: var(--line);
  background:
    radial-gradient(620px 420px at 12% 40%, rgba(255, 92, 53, 0.12), transparent 64%),
    radial-gradient(620px 480px at 82% 80%, rgba(139, 92, 246, 0.16), transparent 64%),
    radial-gradient(480px 360px at 50% 0%, rgba(34, 211, 238, 0.06), transparent 68%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
}

.audio-logo {
  border-color: rgba(103, 232, 249, 0.22);
  background: rgba(103, 232, 249, 0.07);
  color: #8ceeff;
}

.audio-badge {
  color: #8ceeff;
}

.audio-play {
  background: #67e8f9;
  color: #071018;
}

.voice-chip-b {
  color: #8ceeff;
}

.voice-list .icon {
  color: #8ceeff;
}

/* FAQ */

.support-card:hover {
  border-color: rgba(103, 232, 249, 0.26);
  background: rgba(103, 232, 249, 0.035);
}

.faq-item.is-open .faq-icon {
  border-color: #67e8f9;
  background: #67e8f9;
}

.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after {
  background: #071018;
}

/* ---------- Final CTA ---------- */

.cta-panel {
  background:
    radial-gradient(640px 460px at 88% 18%, rgba(255, 92, 53, 0.23), transparent 60%),
    radial-gradient(620px 500px at 4% 100%, rgba(139, 92, 246, 0.2), transparent 64%),
    radial-gradient(480px 320px at 55% 0%, rgba(34, 211, 238, 0.09), transparent 70%),
    linear-gradient(130deg, #fdf9f1 0%, #f2e9ff 48%, #ffe4d8 100%);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.12),
    0 50px 120px -55px rgba(139, 92, 246, 0.45);
}

.cta-copy h2 .serif {
  background-image: linear-gradient(100deg, #ff5c35 0%, #ff3d81 46%, #7c3aed 100%);
}

.cta-copy p {
  color: #504a5b;
}

.eyebrow-dark {
  color: #66527f;
}

.cta-ticker {
  border-top-color: rgba(47, 35, 67, 0.13);
}

.cta-ticker-track span {
  color: rgba(41, 31, 58, 0.68);
}

.cta-ticker-track i {
  color: var(--aurora-pink);
}

.text-link-dark {
  color: #2b2338;
  border-color: rgba(43, 35, 56, 0.24);
}

.text-link-dark:hover {
  color: var(--aurora-pink);
  border-color: rgba(255, 61, 129, 0.4);
}

/* Footer */

.footer {
  background: #060409;
  border-top-color: var(--line);
}

.footer-whatsapp {
  border-color: rgba(196, 181, 253, 0.18);
  background: rgba(139, 92, 246, 0.035);
}

.footer-whatsapp:hover {
  border-color: rgba(103, 232, 249, 0.3);
  background: rgba(34, 211, 238, 0.04);
}

.wa-float {
  border-color: rgba(196, 181, 253, 0.28);
  box-shadow:
    0 20px 44px -18px rgba(0, 0, 0, 0.9),
    0 0 34px -18px rgba(139, 92, 246, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.wa-float:hover {
  border-color: rgba(103, 232, 249, 0.42);
  box-shadow:
    0 24px 50px -18px rgba(0, 0, 0, 0.95),
    0 0 40px -16px rgba(34, 211, 238, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.mobile-cta {
  background: rgba(7, 5, 12, 0.95);
  border-top-color: rgba(196, 181, 253, 0.2);
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .builder-panel {
    gap: 22px;
    padding: 28px;
  }

  .builder-pass {
    width: min(100%, 300px);
  }
}

@media (max-width: 960px) {
  .builder-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .builder-flags {
    justify-content: flex-start;
  }

  .builder-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .builder-visual {
    display: none;
  }

  .builder-summary {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .builder-metrics {
    padding-top: 3px;
  }

  .plans-all-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .plans-all-head p {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .builder-head h2 {
    font-size: clamp(2.1rem, 8vw, 2.65rem);
  }

  .builder-panel {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .builder-provider {
    min-height: 46px;
    font-size: 0.74rem;
    padding-inline: 8px;
  }

  .builder-provider img {
    width: 15px;
    height: 15px;
  }

  .builder-tier {
    min-height: 61px;
    padding: 8px;
  }

  .builder-tier span {
    font-size: 0.9rem;
  }

  .builder-tier small {
    font-size: 0.46rem;
  }

  .builder-price strong {
    font-size: 2.8rem;
  }

  .builder-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .builder-actions .btn {
    width: 100%;
  }

  .builder-help {
    justify-content: center;
    border-bottom: 0;
    padding-bottom: 0;
  }

  .plans-all-head {
    margin-top: 34px;
    padding-top: 22px;
  }
}

@media (max-width: 480px) {
  .builder-panel {
    padding: 20px 15px;
  }

  .builder-metrics div {
    flex: 1;
    min-width: 0;
  }

  .builder-instruction {
    display: none;
  }
}

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

@keyframes auroraPulse {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes passShine {
  0%,
  55% {
    transform: translateX(-130%);
  }
  75%,
  100% {
    transform: translateX(130%);
  }
}

/* ---------- Topbar affiliate link ---------- */

.topbar-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.topbar-links .topbar-link {
  margin-left: 0;
}

.topbar-affiliate {
  color: #c5bed4;
}

.topbar-affiliate:hover {
  color: #8ceeff;
}

/* ---------- Affiliate / partner section ---------- */

.affiliate-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 30px;
  padding: clamp(30px, 4vw, 52px);
  border-radius: 32px;
  background:
    radial-gradient(640px 420px at 92% 10%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(600px 440px at 4% 100%, rgba(255, 92, 53, 0.12), transparent 62%),
    radial-gradient(620px 460px at 45% 30%, rgba(139, 92, 246, 0.17), transparent 66%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.012));
  box-shadow:
    0 34px 100px -54px rgba(0, 0, 0, 0.95),
    0 0 80px -45px rgba(139, 92, 246, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.affiliate-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.65), rgba(103, 232, 249, 0.32) 42%, rgba(255, 61, 129, 0.36) 72%, rgba(246, 193, 119, 0.32));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.affiliate-copy {
  position: relative;
  z-index: 2;
}

.affiliate-copy h2 {
  margin-top: 15px;
  font-size: clamp(2.25rem, 3.6vw, 3.25rem);
  line-height: 1.01;
}

.affiliate-copy p {
  max-width: 54ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.affiliate-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.affiliate-chips span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: #c7c0d6;
  font-size: 0.61rem;
  white-space: nowrap;
}

.affiliate-chips .icon {
  width: 12px;
  height: 12px;
  color: #8ceeff;
}

.affiliate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.affiliate-actions .btn {
  height: 48px;
  font-size: 0.82rem;
}

.affiliate-note {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 0.64rem;
  line-height: 1.5;
}

.affiliate-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
}

.affiliate-orb {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: conic-gradient(
    from 90deg,
    rgba(139, 92, 246, 0.45),
    rgba(34, 211, 238, 0.18) 32%,
    rgba(255, 61, 129, 0.22) 64%,
    rgba(246, 193, 119, 0.13) 84%,
    rgba(139, 92, 246, 0.45)
  );
  filter: blur(64px);
  opacity: 0.55;
  animation: auroraSpin 32s linear infinite;
}

.partner-pass {
  position: relative;
  z-index: 2;
  width: min(100%, 326px);
  padding: 21px;
  border: 1px solid rgba(196, 181, 253, 0.28);
  border-radius: 23px;
  background:
    radial-gradient(260px 190px at 82% 0%, rgba(34, 211, 238, 0.14), transparent 64%),
    radial-gradient(220px 200px at 4% 100%, rgba(255, 92, 53, 0.1), transparent 70%),
    linear-gradient(160deg, rgba(30, 23, 52, 0.97), rgba(8, 6, 15, 0.99));
  box-shadow:
    0 34px 80px -30px rgba(0, 0, 0, 0.95),
    0 0 54px -24px rgba(139, 92, 246, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotate(2.5deg);
  overflow: hidden;
}

.partner-pass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.065) 42%, transparent 55%);
  transform: translateX(-140%);
  animation: passShine 8s ease-in-out infinite;
  pointer-events: none;
}

.partner-pass-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.partner-pass-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8ceeff;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.partner-pass-status .live-dot {
  width: 4px;
  height: 4px;
}

.partner-kicker {
  display: block;
  margin-top: 20px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.partner-title {
  display: block;
  margin-top: 7px;
  background-image: linear-gradient(100deg, #fff 4%, #c4b5fd 34%, #67e8f9 68%, #ff8a5c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.55rem);
  font-weight: 600;
  line-height: 0.97;
  letter-spacing: -0.05em;
}

.partner-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.partner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 17px;
}

.partner-meta span {
  padding: 5px 7px;
  border: 1px solid rgba(196, 181, 253, 0.13);
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.06);
  color: #d0c8df;
  font-family: var(--font-mono);
  font-size: 0.5rem;
}

.partner-code {
  margin-top: 22px;
  padding: 9px 10px;
  border: 1px dashed rgba(196, 181, 253, 0.2);
  border-radius: 7px;
  color: #b3a8c6;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.partner-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.46rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.partner-foot span:last-child {
  color: #8ceeff;
}

.partner-chip {
  position: absolute;
  z-index: 3;
  padding: 6px 10px;
  border: 1px solid rgba(196, 181, 253, 0.24);
  border-radius: 999px;
  background: rgba(12, 8, 22, 0.84);
  color: #ddd5eb;
  font-family: var(--font-mono);
  font-size: 0.51rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.9);
}

.partner-chip-a {
  top: 5%;
  right: 0;
}

.partner-chip-b {
  bottom: 5%;
  left: 0;
  color: #8ceeff;
}

/* ---------- Affiliate responsive ---------- */

@media (max-width: 960px) {
  .affiliate-panel {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .affiliate-visual {
    display: none;
  }

  .affiliate-copy {
    max-width: 680px;
  }
}

@media (max-width: 720px) {
  .affiliate-panel {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .affiliate-copy h2 {
    font-size: clamp(2.1rem, 8vw, 2.6rem);
  }

  .affiliate-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .affiliate-actions .btn {
    width: 100%;
  }

  .affiliate-chips {
    gap: 6px;
  }

  .affiliate-chips span {
    white-space: normal;
  }

  .topbar-links {
    gap: 10px;
  }
}

/* ---------- Referral banner ---------- */

.referral-banner {
  position: relative;
  z-index: 82;
  border-bottom: 1px solid rgba(196, 181, 253, 0.2);
  background:
    radial-gradient(520px 120px at 82% 50%, rgba(255, 61, 129, 0.12), transparent 70%),
    linear-gradient(90deg, rgba(139, 92, 246, 0.2), rgba(34, 211, 238, 0.1), rgba(255, 92, 53, 0.1));
}

.referral-banner[hidden] {
  display: none !important;
}

.referral-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  padding: 6px 0;
  color: #d9d2e7;
  font-size: 0.68rem;
}

.referral-banner-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8ceeff;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.referral-banner-status .live-dot {
  width: 4px;
  height: 4px;
}

.referral-banner-code {
  color: #f5f0e9;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.referral-banner-note {
  margin-left: auto;
  color: #9c94ac;
  font-size: 0.62rem;
}

/* ---------- Affiliate link tool ---------- */

.affiliate-tool {
  max-width: 600px;
  margin-top: 22px;
  border: 1px solid rgba(196, 181, 253, 0.16);
  border-radius: 13px;
  background: rgba(5, 4, 10, 0.24);
  overflow: hidden;
}

.affiliate-tool summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  color: #d7d0e3;
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.affiliate-tool summary::-webkit-details-marker {
  display: none;
}

.affiliate-tool summary:hover {
  color: #fff;
}

.affiliate-tool-toggle {
  position: relative;
  width: 23px;
  height: 23px;
  flex: none;
  border: 1px solid rgba(196, 181, 253, 0.25);
  border-radius: 50%;
  transition: transform 0.25s var(--ease), background 0.2s ease, border-color 0.2s ease;
}

.affiliate-tool-toggle::before,
.affiliate-tool-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1.5px;
  border-radius: 2px;
  background: #c4b5fd;
  transform: translate(-50%, -50%);
}

.affiliate-tool-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.affiliate-tool[open] .affiliate-tool-toggle {
  transform: rotate(45deg);
  border-color: #67e8f9;
  background: #67e8f9;
}

.affiliate-tool[open] .affiliate-tool-toggle::before,
.affiliate-tool[open] .affiliate-tool-toggle::after {
  background: #071018;
}

.affiliate-tool-body {
  padding: 13px 14px 14px;
  border-top: 1px solid var(--line);
}

.affiliate-tool-body label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.affiliate-tool-row {
  display: flex;
  gap: 8px;
}

.affiliate-tool-row input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.26);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.affiliate-tool-row input::placeholder {
  color: #6f687e;
  text-transform: none;
}

.affiliate-tool-row input:focus {
  border-color: rgba(103, 232, 249, 0.5);
  box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.07);
}

.affiliate-tool-row .btn {
  height: 42px;
  padding-inline: 16px;
  white-space: nowrap;
  font-size: 0.72rem;
}

.affiliate-link-output {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 9px;
  border: 1px dashed rgba(196, 181, 253, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.affiliate-link-output[hidden] {
  display: none !important;
}

.affiliate-link-output code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #8ceeff;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.affiliate-code-copy {
  flex: none;
  padding: 6px 8px;
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 6px;
  background: rgba(103, 232, 249, 0.06);
  color: #8ceeff;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.affiliate-code-copy:hover {
  border-color: rgba(103, 232, 249, 0.45);
  background: rgba(103, 232, 249, 0.1);
}

.affiliate-code-copy.is-copied {
  color: #071018;
  background: #67e8f9;
  border-color: #67e8f9;
}

.affiliate-tool-note {
  margin-top: 9px;
  color: var(--muted-2);
  font-size: 0.57rem;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .referral-banner-inner {
    gap: 8px;
    min-height: 32px;
  }

  .referral-banner-note {
    display: none;
  }

  .referral-banner-code {
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  .affiliate-tool-row {
    flex-direction: column;
  }

  .affiliate-tool-row .btn {
    width: 100%;
  }

  .affiliate-link-output {
    align-items: flex-start;
    flex-direction: column;
  }

  .affiliate-link-output code {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* ---------- Cadastro de afiliados / erros ---------- */

.affiliate-tool-error {
  margin-top: 9px;
  color: #ff9a8a;
  font-size: 0.58rem;
  line-height: 1.5;
}

.affiliate-tool-error[hidden] {
  display: none !important;
}

/* Footer sem a coluna de acesso */

.footer-main {
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.75fr));
}

@media (max-width: 960px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .footer-col:last-child {
    grid-column: auto;
  }
}
