:root {
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --purple: #7928f2;
  --purple-2: #a94cff;
  --purple-3: #d99cff;
  --green: #25d366;
  --cyan: #54d6ff;
  --amber: #ffd166;
  --ink: #070b2b;
  --muted: #283260;
  --soft: #697099;
  --bg: #ffffff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --line: #e3dcfb;
  --button-text: #ffffff;
  --shadow: 0 28px 90px rgba(66, 32, 132, 0.11);
  --radius: 8px;
}

[data-theme="dark"] {
  --ink: #ffffff;
  --muted: #d8d3e4;
  --soft: #a49caf;
  --bg: #02040d;
  --surface: rgba(12, 12, 27, 0.78);
  --surface-strong: #0b0b18;
  --line: rgba(173, 117, 255, 0.24);
  --shadow: 0 28px 90px rgba(70, 25, 180, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background:
    radial-gradient(circle at 78% 11%, rgba(129, 55, 255, 0.15), transparent 30rem),
    radial-gradient(circle at 20% 45%, rgba(122, 40, 242, 0.08), transparent 28rem),
    var(--bg);
  transition: background 220ms ease, color 220ms ease;
}

[data-theme="dark"] body,
body[data-theme="dark"] {
  background:
    radial-gradient(circle at 75% 13%, rgba(128, 38, 255, 0.22), transparent 30rem),
    radial-gradient(circle at 20% 42%, rgba(81, 20, 190, 0.13), transparent 26rem),
    #02040d;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(116, 39, 255, 0.35) 1px, transparent 1px) 93% 17% / 28px 28px,
    repeating-linear-gradient(166deg, transparent 0 19px, rgba(119, 45, 255, 0.16) 20px, transparent 22px);
  mask-image: linear-gradient(to bottom, transparent 7%, black 20%, transparent 78%);
  opacity: 0.45;
}

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

img {
  display: block;
  max-width: 100%;
}

.page {
  width: min(100%, 1800px);
  margin: 0 auto;
  padding: 40px 48px 34px;
  overflow: hidden;
}

.topbar {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 58px;
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 225px;
  height: 48px;
}

.logo {
  width: 225px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.logo-dark,
.hero-dark,
.cta-dark {
  display: none;
}

[data-theme="dark"] .logo-light,
[data-theme="dark"] .hero-light,
[data-theme="dark"] .cta-light {
  display: none;
}

[data-theme="dark"] .logo-dark,
[data-theme="dark"] .hero-dark,
[data-theme="dark"] .cta-dark {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 58px);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 60px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.button-primary {
  color: var(--button-text);
  background: linear-gradient(135deg, var(--purple-2), var(--purple));
  box-shadow: 0 18px 40px rgba(121, 40, 242, 0.28);
}

.button-secondary {
  color: var(--purple);
  border-color: rgba(121, 40, 242, 0.48);
  background: rgba(255, 255, 255, 0.36);
}

.nav-login {
  min-height: 46px;
  padding: 0 18px;
}

[data-theme="dark"] .button-secondary {
  color: #f1d9ff;
  background: rgba(255, 255, 255, 0.02);
}

.button-invert {
  color: var(--purple);
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(30, 7, 70, 0.18);
}

.theme-toggle,
.menu-toggle {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.theme-toggle {
  width: 58px;
  height: 34px;
  padding: 4px;
  cursor: pointer;
}

.toggle-dot {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-2), var(--purple));
  transition: transform 180ms ease;
}

[data-theme="dark"] .toggle-dot {
  transform: translateX(22px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.86fr) minmax(460px, 1.14fr);
  align-items: center;
  gap: 44px;
  min-height: 650px;
  padding: 74px 0 22px;
}

.hero-copy {
  padding-left: 48px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--purple);
  background: rgba(121, 40, 242, 0.1);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin: 34px 0 25px;
  font-size: clamp(3.1rem, 4.7vw, 5.45rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.hero h1 strong,
.section-intro h2 strong {
  display: block;
  color: var(--purple-2);
}

.hero p,
.section-intro p,
.process p,
.results p,
.about p,
.content-strip p,
.footer p,
.footer a,
.footer small {
  color: var(--muted);
  line-height: 1.68;
}

.hero p {
  max-width: 520px;
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
}

.hero-badges,
.auth-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-badges span,
.auth-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
  font-size: 0.84rem;
  font-weight: 800;
}

.hero-art {
  position: relative;
  min-height: 500px;
  isolation: isolate;
  display: grid;
  align-items: center;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: -7% -4% -2% 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 52% 42%, rgba(216, 170, 255, 0.34), transparent 16%),
    radial-gradient(circle at 54% 44%, rgba(126, 53, 255, 0.34), transparent 36%),
    repeating-radial-gradient(circle at 55% 43%, rgba(178, 112, 255, 0.18) 0 1px, transparent 2px 42px);
  filter: blur(0.3px);
  opacity: 0.72;
  z-index: -2;
}

.hero-art::after {
  content: "";
  position: absolute;
  right: -7%;
  bottom: 6%;
  width: 78%;
  height: 36%;
  background:
    radial-gradient(circle, rgba(185, 105, 255, 0.78) 1px, transparent 2px),
    repeating-linear-gradient(164deg, transparent 0 17px, rgba(134, 55, 255, 0.26) 18px, transparent 21px);
  background-size: 30px 30px, 100% 100%;
  transform: skewY(-8deg);
  opacity: 0.62;
  filter: blur(0.2px);
  z-index: -3;
}

.hero-img,
.neural-hero {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  margin-left: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  animation: floatLogo 6s ease-in-out infinite;
}

[data-theme="dark"] .hero-img {
  mix-blend-mode: normal;
  filter:
    drop-shadow(0 0 18px rgba(207, 147, 255, 0.42))
    drop-shadow(0 34px 55px rgba(84, 24, 190, 0.45));
}

.neural-hero {
  display: block;
  height: auto;
  overflow: visible;
  filter:
    drop-shadow(0 0 16px rgba(177, 92, 255, 0.34))
    drop-shadow(0 30px 60px rgba(67, 24, 174, 0.36));
}

.orbit-lines {
  stroke: rgba(147, 74, 255, 0.18);
  stroke-width: 1.2;
  transform-origin: 382px 276px;
  animation: orbitDrift 18s linear infinite;
}

.circuit-lines {
  stroke: url("#neuralLine");
  stroke-width: 11;
  opacity: 0.9;
}

.network-lines {
  stroke: url("#neuralLine");
  stroke-width: 4;
  opacity: 0.92;
}

.nodes circle {
  fill: url("#nodeGlow");
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 1.5;
}

[data-theme="light"] .neural-hero {
  filter:
    drop-shadow(0 18px 35px rgba(105, 37, 210, 0.16))
    drop-shadow(0 0 12px rgba(139, 63, 255, 0.22));
}

[data-theme="light"] .orbit-lines {
  stroke: rgba(114, 40, 242, 0.13);
}

[data-theme="light"] .circuit-lines,
[data-theme="light"] .network-lines {
  opacity: 0.86;
}

[data-theme="dark"] .hero-art::before {
  background:
    radial-gradient(circle at 52% 42%, rgba(235, 210, 255, 0.28), transparent 12%),
    radial-gradient(circle at 54% 46%, rgba(159, 67, 255, 0.46), transparent 34%),
    radial-gradient(circle at 55% 45%, rgba(39, 12, 96, 0.9), transparent 58%),
    repeating-radial-gradient(circle at 55% 43%, rgba(194, 128, 255, 0.2) 0 1px, transparent 2px 42px);
  opacity: 0.92;
}

[data-theme="dark"] .hero-art::after {
  opacity: 0.68;
}

.prompt-demo {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin-left: auto;
  padding: 44px;
}

.agent-demo {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin-left: auto;
  padding: 44px;
}

.prompt-window {
  position: relative;
  min-height: 330px;
  border: 1px solid rgba(197, 137, 255, 0.24);
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(18, 14, 40, 0.96), rgba(4, 5, 16, 0.88)),
    radial-gradient(circle at 72% 16%, rgba(169, 76, 255, 0.24), transparent 22rem);
  box-shadow:
    0 34px 95px rgba(63, 18, 160, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .prompt-window {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 241, 255, 0.9)),
    radial-gradient(circle at 72% 16%, rgba(169, 76, 255, 0.2), transparent 22rem);
  box-shadow: 0 34px 95px rgba(82, 35, 160, 0.14);
}

.prompt-window::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  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: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

[data-theme="light"] .prompt-window::before {
  background-image:
    linear-gradient(rgba(121, 40, 242, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 40, 242, 0.06) 1px, transparent 1px);
}

.window-bar {
  position: relative;
  display: flex;
  gap: 9px;
  align-items: center;
  height: 48px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(197, 137, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #5c6475;
}

.window-bar span:nth-child(1) { background: #ff6b9a; }
.window-bar span:nth-child(2) { background: #ffd166; }
.window-bar span:nth-child(3) { background: #7ee787; }

.prompt-body {
  position: relative;
  padding: clamp(28px, 5vw, 52px);
}

.agent-body {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 22px;
  padding: clamp(26px, 4vw, 44px);
}

.agent-status {
  display: grid;
  align-content: start;
  gap: 16px;
}

.agent-status strong {
  max-width: 360px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.prompt-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(169, 76, 255, 0.35);
  border-radius: 999px;
  color: var(--purple-3);
  background: rgba(121, 40, 242, 0.12);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-theme="light"] .prompt-label {
  color: var(--purple);
}

.prompt-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 130px;
  margin-top: 34px;
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(1.55rem, 2.55vw, 2.65rem);
  font-weight: 800;
  line-height: 1.22;
}

.prompt-line.compact {
  grid-column: 1 / -1;
  min-height: auto;
  margin-top: 4px;
  font-size: clamp(1.05rem, 1.7vw, 1.55rem);
}

.prompt-symbol {
  color: var(--purple-2);
  text-shadow: 0 0 18px rgba(169, 76, 255, 0.6);
}

.typing-text {
  max-width: 560px;
  min-height: 2.5em;
  color: var(--ink);
}

.typing-cursor {
  width: 0.58em;
  height: 1.08em;
  margin-top: 0.08em;
  border-radius: 2px;
  background: var(--purple-2);
  box-shadow: 0 0 24px rgba(169, 76, 255, 0.8);
  animation: cursorBlink 720ms steps(1) infinite;
}

.prompt-response {
  display: flex;
  gap: 13px;
  align-items: center;
  max-width: 560px;
  margin-top: 12px;
  color: var(--muted);
}

.prompt-response span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7ee787;
  box-shadow: 0 0 22px rgba(126, 231, 135, 0.58);
}

.prompt-response p {
  margin: 0;
  font-size: 0.98rem;
}

.qr-card {
  display: grid;
  gap: 12px;
  justify-items: center;
  align-content: center;
  min-height: 178px;
  padding: 18px;
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 20%, rgba(37, 211, 102, 0.15), transparent 9rem),
    rgba(255, 255, 255, 0.035);
}

.qr-card.large {
  min-height: 270px;
}

.dashboard-card .qr-card {
  border-color: rgba(121, 40, 242, 0.2);
  background:
    radial-gradient(circle at 50% 12%, rgba(121, 40, 242, 0.1), transparent 9rem),
    rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(121, 40, 242, 0.08);
}

.dashboard-card .qr-card p {
  color: #465071;
}

.qr-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.qr-code {
  --qr-size: 132px;
  position: relative;
  display: block;
  width: var(--qr-size);
  height: var(--qr-size);
  padding: 0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.16);
}

.qr-card.large .qr-code {
  --qr-size: 168px;
}

.qr-code span {
  display: none;
}

.qr-code::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  border: 7px solid #06110a;
  border-radius: 2px;
  box-shadow:
    calc(var(--qr-size) - 56px) 0 0 0 #ffffff,
    calc(var(--qr-size) - 56px) 0 0 7px #06110a,
    0 calc(var(--qr-size) - 56px) 0 0 #ffffff,
    0 calc(var(--qr-size) - 56px) 0 7px #06110a;
}

.qr-code::after {
  content: "";
  position: absolute;
  left: 63px;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 1px;
  background: #06110a;
  box-shadow:
    16px 0 0 #06110a,
    40px 0 0 #06110a,
    48px 8px 0 var(--green),
    0 16px 0 var(--green),
    24px 16px 0 #06110a,
    40px 24px 0 #06110a,
    56px 24px 0 #06110a,
    8px 40px 0 #06110a,
    24px 40px 0 var(--green),
    48px 40px 0 #06110a,
    0 56px 0 #06110a,
    16px 56px 0 #06110a,
    32px 56px 0 #06110a,
    56px 56px 0 var(--green),
    -40px 72px 0 #06110a,
    -24px 72px 0 var(--green),
    8px 72px 0 #06110a,
    32px 72px 0 #06110a,
    48px 72px 0 #06110a,
    -16px 88px 0 #06110a,
    0 88px 0 #06110a,
    24px 88px 0 var(--green),
    56px 88px 0 #06110a,
    -40px 104px 0 var(--green),
    -8px 104px 0 #06110a,
    16px 104px 0 #06110a,
    40px 104px 0 #06110a,
    56px 104px 0 var(--green);
}

.chat-preview {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.chat-bubble {
  width: fit-content;
  max-width: min(460px, 92%);
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  line-height: 1.45;
}

.chat-bubble.user {
  justify-self: end;
  border-color: rgba(37, 211, 102, 0.34);
  color: #e9fff1;
  background: rgba(37, 211, 102, 0.14);
}

[data-theme="light"] .chat-bubble.user {
  color: #0d5125;
}

.chat-bubble.accent {
  border-color: rgba(84, 214, 255, 0.34);
  color: var(--cyan);
}

.neural-mini {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 260px;
  height: 190px;
  opacity: 0.72;
  pointer-events: none;
}

.neural-mini::before,
.neural-mini::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(185, 105, 255, 0.18);
  border-radius: 50%;
}

.neural-mini::after {
  inset: 42px;
}

.neural-mini span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, #b66cff 42%, #6828ec);
  box-shadow: 0 0 24px rgba(169, 76, 255, 0.75);
}

.neural-mini span:nth-child(1) { left: 54px; top: 46px; }
.neural-mini span:nth-child(2) { left: 130px; top: 24px; }
.neural-mini span:nth-child(3) { left: 194px; top: 74px; }
.neural-mini span:nth-child(4) { left: 88px; top: 126px; }
.neural-mini span:nth-child(5) { left: 166px; top: 138px; }
.neural-mini span:nth-child(6) { left: 132px; top: 86px; }

.partner-empty {
  margin: 0 auto 52px;
  text-align: center;
}

.partner-empty p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.partner-empty strong {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background: var(--surface);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 52px;
}

.proof-strip article {
  min-height: 112px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.proof-strip strong {
  display: block;
  color: var(--purple-2);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.proof-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.solutions {
  display: grid;
  grid-template-columns: 0.95fr 2.2fr;
  gap: 46px;
  padding: 34px 36px;
}

.section-intro {
  padding: 12px 0 4px;
}

.section-intro h2,
.process-title h2,
.about h2 {
  margin: 20px 0 20px;
  font-size: clamp(2.1rem, 3vw, 3.15rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-intro p {
  max-width: 395px;
}

.section-intro .button {
  margin-top: 24px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.solution-card,
.process-grid article,
.content-strip article {
  min-height: 340px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.38);
}

[data-theme="dark"] .solution-card,
[data-theme="dark"] .process-grid article,
[data-theme="dark"] .content-strip article {
  background: rgba(255, 255, 255, 0.025);
}

.line-icon,
.metric-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid var(--purple-2);
  border-radius: 18px;
  color: var(--purple);
  font-size: 2rem;
}

.line-icon::before,
.line-icon::after {
  color: var(--purple);
  font-size: 2rem;
  line-height: 1;
}

.brain::before { content: "⌘"; }
.prompt::before { content: "✧"; }
.cap::before { content: "⌂"; }
.heart::before { content: "♡"; }
.whatsapp::before { content: "☎"; }
.qr::before { content: "▦"; }
.automation::before { content: "⚙"; }
.human::before { content: "◌"; }
.payment::before { content: "$"; }

.solution-card h3,
.process-grid h3,
.content-strip h3 {
  margin: 26px 0 14px;
  font-size: 1.12rem;
  line-height: 1.35;
}

.solution-card p {
  min-height: 120px;
  color: var(--muted);
  line-height: 1.64;
}

.solution-card a {
  display: inline-flex;
  gap: 10px;
  color: var(--purple);
  font-weight: 800;
}

.process {
  padding: 70px 0 26px;
}

.process-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.process-grid article {
  min-height: 235px;
}

.process-grid span {
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 900;
}

.results {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 2.1fr;
  gap: 42px;
  overflow: hidden;
  padding: 34px 36px;
}

.results::after {
  content: "";
  position: absolute;
  right: -4%;
  bottom: -8%;
  width: 52%;
  height: 42%;
  background:
    radial-gradient(circle, rgba(121, 40, 242, 0.42) 1px, transparent 2px),
    repeating-linear-gradient(168deg, transparent 0 18px, rgba(121, 40, 242, 0.13) 20px, transparent 22px);
  background-size: 28px 28px, 100% 100%;
  opacity: 0.55;
}

.metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.metrics article {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 260px;
  padding: 20px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.metrics article:first-child {
  border-left: 0;
}

.metric-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(121, 40, 242, 0.06);
}

.metrics strong {
  margin: 22px 0 8px;
  color: var(--purple);
  font-size: clamp(3.2rem, 5vw, 5.3rem);
  line-height: 1;
}

.pricing {
  display: grid;
  grid-template-columns: 0.8fr 2.2fr;
  gap: 36px;
  margin-bottom: 30px;
  padding: 34px 36px;
}

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

.price-card {
  position: relative;
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 420px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

[data-theme="light"] .price-card {
  background: rgba(255, 255, 255, 0.62);
}

.price-card.featured {
  border-color: rgba(37, 211, 102, 0.45);
  background:
    radial-gradient(circle at 80% 0%, rgba(37, 211, 102, 0.12), transparent 12rem),
    rgba(255, 255, 255, 0.045);
}

.price-card small {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: #0f2c1a;
  background: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card span {
  color: var(--purple-3);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-theme="light"] .price-card span {
  color: var(--purple);
}

.price-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.8rem, 4vw, 4.3rem);
  line-height: 1;
}

.price-card h3::after {
  content: "/mês";
  margin-left: 8px;
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.price-card p,
.price-card li {
  color: var(--muted);
  line-height: 1.6;
}

.price-card ul,
.config-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card li,
.config-list li {
  position: relative;
  padding-left: 22px;
}

.price-card li::before,
.config-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.6);
}

.price-card .button {
  align-self: end;
  width: 100%;
}

.cta-panel {
  display: grid;
  grid-template-columns: 175px 1fr auto;
  align-items: center;
  gap: 44px;
  margin: 30px 0 42px;
  padding: 28px 52px;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, #b64dff, #6d28f2 56%, #4b12d3);
  box-shadow: 0 24px 70px rgba(121, 40, 242, 0.28);
}

.cta-symbol {
  width: 142px;
  height: 108px;
  object-fit: contain;
  mix-blend-mode: screen;
}

.cta-panel h2 {
  margin: 0 0 12px;
  font-size: 1.85rem;
}

.cta-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  padding: 36px 0 18px;
}

.about .section-kicker {
  align-self: start;
}

.about h2 {
  margin-top: 0;
}

.content-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0 40px;
}

.content-strip article {
  min-height: 185px;
}

.content-strip span {
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-page {
  min-height: 100vh;
  padding: 40px 48px;
  background:
    radial-gradient(circle at 78% 11%, rgba(37, 211, 102, 0.12), transparent 24rem),
    radial-gradient(circle at 20% 45%, rgba(122, 40, 242, 0.16), transparent 28rem),
    var(--bg);
}

.auth-brand {
  margin-bottom: 54px;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(360px, 520px);
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  width: min(1120px, 100%);
  min-height: calc(100vh - 160px);
  margin: 0 auto;
}

.auth-copy h1 {
  max-width: 620px;
  margin: 28px 0 22px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.03;
}

.auth-copy p,
.login-note {
  color: var(--muted);
  line-height: 1.68;
}

.login-card,
.dashboard-card,
.dashboard-metrics article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.login-card {
  padding: clamp(26px, 5vw, 44px);
}

.login-card h2,
.dashboard-card h2,
.dashboard-header h1 {
  margin: 18px 0 12px;
  line-height: 1.15;
}

.login-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.login-form label {
  display: grid;
  gap: 9px;
  color: var(--ink);
  font-weight: 800;
}

.login-form input {
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
}

.login-form input::placeholder {
  color: var(--soft);
}

.login-note {
  margin: 18px 0 10px;
  font-size: 0.92rem;
}

.auth-link {
  color: var(--purple-3);
  font-weight: 900;
}

.auth-alert {
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid rgba(121, 40, 242, 0.22);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 800;
  line-height: 1.5;
}

.auth-alert p {
  margin: 0;
}

.auth-alert p + p {
  margin-top: 6px;
}

.auth-alert.success {
  border-color: rgba(37, 211, 102, 0.34);
  color: #dfffea;
  background: rgba(37, 211, 102, 0.12);
}

.auth-alert.error {
  border-color: rgba(255, 107, 154, 0.4);
  color: #ffdbe6;
  background: rgba(255, 107, 154, 0.1);
}

.auth-full-button {
  width: 100%;
  margin-top: 14px;
}

.auth-center {
  display: grid;
  place-items: center;
}

.auth-result {
  width: min(520px, 100%);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  min-height: 100vh;
  background:
    radial-gradient(circle at 90% 8%, rgba(37, 211, 102, 0.1), transparent 24rem),
    radial-gradient(circle at 22% 36%, rgba(121, 40, 242, 0.14), transparent 30rem),
    var(--bg);
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  background: rgba(5, 6, 18, 0.74);
  backdrop-filter: blur(18px);
}

.dashboard-nav {
  display: grid;
  gap: 7px;
}

.nav-group {
  display: grid;
  gap: 6px;
}

.dashboard-nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.15;
}

.sidebar-bottom {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.sidebar-bottom .button {
  margin-top: 0;
}

.sidebar-settings {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 800;
  line-height: 1.15;
}

.sidebar-settings:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

.sidebar-settings:hover .nav-icon {
  color: var(--purple-3);
  opacity: 1;
}

.dashboard-nav small {
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 999px;
  color: #ffd166;
  background: rgba(255, 209, 102, 0.08);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-submenu {
  display: grid;
  gap: 4px;
  margin: -2px 0 2px 34px;
}

.nav-submenu a {
  min-height: 30px;
  padding: 0 8px;
  font-size: 0.76rem;
  font-weight: 800;
}

.nav-submenu a.disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.nav-submenu a.disabled:hover {
  color: var(--muted);
  background: transparent;
}

.nav-submenu a.disabled small {
  padding: 2px 6px;
  border-color: rgba(216, 211, 228, 0.18);
  color: rgba(216, 211, 228, 0.72);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.5rem;
}

.nav-submenu .nav-icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.dashboard-nav a.active,
.dashboard-nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

.dashboard-nav a > span:last-child {
  min-width: 0;
}

.nav-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: rgba(216, 211, 228, 0.78);
  opacity: 0.9;
}

.dashboard-nav a.active .nav-icon,
.dashboard-nav a:hover .nav-icon {
  color: var(--purple-3);
  opacity: 1;
}

.nav-icon-overview::before,
.nav-icon-integrations::before,
.nav-icon-settings::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 2px solid currentColor;
}

.nav-icon-overview::before {
  border-radius: 6px;
}

.nav-icon-overview::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 7px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 4px 0 currentColor, 0 8px 0 currentColor;
}

.nav-icon-qr::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 5px;
  height: 5px;
  border: 2px solid currentColor;
  border-radius: 2px;
  box-shadow:
    11px 0 0 -2px var(--surface-strong),
    11px 0 0 0 currentColor,
    0 11px 0 -2px var(--surface-strong),
    0 11px 0 0 currentColor;
}

.nav-icon-qr::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 11px;
  width: 3px;
  height: 3px;
  border-radius: 1px;
  background: currentColor;
  box-shadow:
    5px 0 0 currentColor,
    0 5px 0 currentColor,
    8px 5px 0 currentColor,
    3px 8px 0 currentColor,
    -5px 3px 0 currentColor;
}

.nav-icon-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.2 19.1 6.3 15.4A7.5 7.5 0 1 1 9 18.1L5.2 19.1Z' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9.3 8.2c-.2.3-.5.8-.5 1.2 0 1.8 2.8 4.9 5 5 .5 0 1-.3 1.3-.5l.6-1.2-1.8-.9-.8 1c-1.2-.5-2.2-1.4-2.8-2.7l1-.8-.8-1.8-1.2.7Z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.2 19.1 6.3 15.4A7.5 7.5 0 1 1 9 18.1L5.2 19.1Z' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9.3 8.2c-.2.3-.5.8-.5 1.2 0 1.8 2.8 4.9 5 5 .5 0 1-.3 1.3-.5l.6-1.2-1.8-.9-.8 1c-1.2-.5-2.2-1.4-2.8-2.7l1-.8-.8-1.8-1.2.7Z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nav-icon-whatsapp::after {
  display: none;
}

.nav-icon-ai,
.nav-icon-n8n {
  border: 2px solid currentColor;
  border-radius: 6px;
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0;
}

.nav-icon-n8n {
  font-size: 0.52rem;
}

.nav-icon-integrations::before {
  border-radius: 50%;
}

.nav-icon-integrations::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: -6px 0 0 -2px currentColor, 6px 0 0 -2px currentColor;
}

.nav-icon-solus::before,
.nav-icon-solus::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 2px solid currentColor;
}

.nav-icon-solus::before {
  top: 1px;
  left: 6px;
  width: 6px;
  height: 16px;
}

.nav-icon-solus::after {
  top: 6px;
  left: 1px;
  width: 16px;
  height: 6px;
}

.nav-icon-solus i {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--surface-strong);
}

.nav-icon-tasy,
.nav-icon-mv {
  border: 2px solid currentColor;
  border-radius: 6px;
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0;
}

.nav-icon-unimed::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  width: 14px;
  height: 10px;
  border: 2px solid currentColor;
  border-top-width: 0;
  border-radius: 0 0 4px 4px;
}

.nav-icon-unimed::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 8px;
  height: 12px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 34%, 68% 34%, 68% 52%, 100% 52%, 58% 76%, 58% 100%, 42% 100%, 42% 76%, 0 52%, 32% 52%, 32% 34%, 0 34%);
}

.nav-icon-settings::before {
  content: "";
  position: absolute;
  inset: -2px;
  border: 0;
  border-radius: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3.6'/%3E%3Cpath d='M12 2.8v2.4M12 18.8v2.4M2.8 12h2.4M18.8 12h2.4M5.5 5.5l1.7 1.7M16.8 16.8l1.7 1.7M18.5 5.5l-1.7 1.7M7.2 16.8l-1.7 1.7'/%3E%3Ccircle cx='12' cy='12' r='7.1'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3.6'/%3E%3Cpath d='M12 2.8v2.4M12 18.8v2.4M2.8 12h2.4M18.8 12h2.4M5.5 5.5l1.7 1.7M16.8 16.8l1.7 1.7M18.5 5.5l-1.7 1.7M7.2 16.8l-1.7 1.7'/%3E%3Ccircle cx='12' cy='12' r='7.1'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.nav-icon-settings::after {
  display: none;
}

.dashboard-sidebar > .button {
  margin-top: auto;
}

.dashboard-main {
  padding: 34px;
  color: #070b2b;
  background:
    radial-gradient(circle at 88% 0%, rgba(37, 211, 102, 0.16), transparent 28rem),
    radial-gradient(circle at 14% 26%, rgba(121, 40, 242, 0.12), transparent 30rem),
    linear-gradient(145deg, #f8faff 0%, #eef7f4 48%, #f3f0ff 100%);
}

.dashboard-page {
  display: none;
}

.dashboard-page.active {
  display: block;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.dashboard-card,
.dashboard-metrics article {
  color: #070b2b;
}

.integration-main {
  min-height: 100vh;
}

.integration-header {
  align-items: center;
}

.integration-alert {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(37, 211, 102, 0.28);
  border-radius: var(--radius);
  color: #0d5125;
  background: rgba(37, 211, 102, 0.14);
  font-weight: 800;
}

.integration-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.integration-form {
  display: grid;
  gap: 26px;
}

.form-section {
  display: grid;
  gap: 16px;
}

.form-section h2,
.integration-summary h2 {
  margin: 0;
  line-height: 1.15;
}

.form-section p,
.module-options small,
.integration-summary p {
  margin: 0;
  color: #465071;
  line-height: 1.6;
}

.module-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.module-options label {
  display: grid;
  cursor: pointer;
}

.module-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.module-options span {
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(121, 40, 242, 0.18);
  border-radius: var(--radius);
  background: rgba(248, 245, 255, 0.78);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.module-options strong,
.endpoint-grid label > span {
  display: block;
  margin-bottom: 8px;
  color: #070b2b;
  font-weight: 900;
}

.module-options input:checked + span {
  border-color: rgba(121, 40, 242, 0.62);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 239, 255, 0.96));
  box-shadow: inset 0 0 0 2px rgba(121, 40, 242, 0.12);
}

.endpoint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.endpoint-grid label {
  display: grid;
  gap: 8px;
}

.endpoint-grid .span-full {
  grid-column: 1 / -1;
}

.endpoint-grid input {
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid rgba(121, 40, 242, 0.2);
  border-radius: var(--radius);
  color: #070b2b;
  background: rgba(255, 255, 255, 0.86);
  font: inherit;
}

.endpoint-grid input::placeholder {
  color: #8b91aa;
}

.endpoint-grid input:focus {
  outline: 3px solid rgba(121, 40, 242, 0.16);
  border-color: rgba(121, 40, 242, 0.58);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-actions .button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.integration-summary {
  display: grid;
  gap: 16px;
}

.integration-summary .integration-logo {
  grid-row: auto;
  width: 58px;
  height: 58px;
}

.dashboard-header h1 {
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
}

.dashboard-header p,
.dashboard-card p,
.dashboard-metrics p,
.ticket-list span,
.payment-row span,
.config-list li {
  color: #465071;
  line-height: 1.6;
}

.dashboard-header p {
  color: #283260;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.operator-account-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.operator-account-card div,
.sidebar-user {
  border: 1px solid rgba(121, 40, 242, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.operator-account-card div {
  min-width: 0;
  padding: 16px;
}

.operator-account-card span,
.sidebar-user span {
  display: block;
  color: var(--purple);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.operator-account-card strong,
.sidebar-user strong {
  display: block;
  overflow: hidden;
  margin-top: 8px;
  color: #070b2b;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-user {
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.sidebar-user span {
  color: var(--purple-3);
}

.sidebar-user strong {
  color: var(--ink);
  font-size: 0.85rem;
}

.dashboard-metrics article {
  position: relative;
  overflow: hidden;
  min-height: 152px;
  padding: 22px;
  border-color: rgba(121, 40, 242, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 247, 255, 0.9)),
    #ffffff;
  box-shadow: 0 18px 46px rgba(67, 35, 130, 0.09);
}

.dashboard-metrics article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--purple-2), rgba(121, 40, 242, 0.18));
}

.dashboard-metrics span {
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-metrics strong {
  display: block;
  margin: 16px 0 6px;
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.dashboard-summary-grid,
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.dashboard-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-color: rgba(121, 40, 242, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 248, 255, 0.92)),
    #ffffff;
  box-shadow: 0 20px 54px rgba(67, 35, 130, 0.1);
}

.dashboard-card h2 {
  margin: 12px 0 10px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.dashboard-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--purple-2), rgba(121, 40, 242, 0.14));
}

.dashboard-card > * {
  position: relative;
  z-index: 1;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.dashboard-actions .button {
  min-height: 46px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.dashboard-actions .button-secondary {
  border: 1px solid rgba(121, 40, 242, 0.22);
}

.dashboard-actions .button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.whatsapp-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
  gap: 32px;
  align-items: center;
  min-height: 300px;
}

.whatsapp-instances-card {
  margin-bottom: 18px;
}

.whatsapp-instances-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.whatsapp-instances-heading h2 {
  margin-bottom: 0;
}

.whatsapp-instances-heading small {
  color: #465071;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.whatsapp-instances-table {
  width: 100%;
  overflow-x: auto;
}

.whatsapp-instances-table table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.whatsapp-instances-table th,
.whatsapp-instances-table td {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(121, 40, 242, 0.14);
  color: #465071;
  font-size: 0.9rem;
  text-align: left;
  vertical-align: middle;
}

.whatsapp-instances-table th {
  color: #070b2b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.whatsapp-instances-table td:first-child {
  color: #070b2b;
}

.whatsapp-instances-table td:first-child strong,
.whatsapp-instances-table td:first-child small {
  display: block;
}

.whatsapp-instances-table td:first-child small {
  margin-top: 4px;
  color: #6a728e;
  font-size: 0.78rem;
  font-weight: 700;
}

.whatsapp-instances-table td:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.whatsapp-instances-table .button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(121, 40, 242, 0.22);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
}

.whatsapp-instances-table .button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.whatsapp-webhook-control {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.whatsapp-webhook-control input {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(121, 40, 242, 0.24);
  border-radius: 8px;
  color: #151936;
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
}

.whatsapp-webhook-control input:focus {
  outline: 3px solid rgba(121, 40, 242, 0.14);
  border-color: rgba(121, 40, 242, 0.58);
}

.whatsapp-status-pill {
  display: inline-flex;
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  color: #8a5a00;
  background: rgba(255, 209, 102, 0.2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.whatsapp-status-pill[data-status="conectada"] {
  color: #0d5125;
  background: rgba(37, 211, 102, 0.16);
}

.whatsapp-status-pill[data-status="criada_sem_qrcode"] {
  color: #b42318;
  background: rgba(180, 35, 24, 0.12);
}

.whatsapp-row-delete {
  color: #b42318;
}

.whatsapp-instance-form {
  display: grid;
  gap: 14px;
  max-width: 430px;
  margin-top: 18px;
}

.whatsapp-card-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 4px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #0d5125;
  background: rgba(37, 211, 102, 0.14);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.generated-instance-name {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(121, 40, 242, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(121, 40, 242, 0.08), rgba(37, 211, 102, 0.09)),
    rgba(255, 255, 255, 0.9);
}

.generated-instance-name span {
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.generated-instance-name strong {
  min-height: 22px;
  color: #070b2b;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.82rem, 1.5vw, 0.98rem);
  overflow-wrap: anywhere;
}

.settings-user-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.settings-user-form label {
  display: grid;
  gap: 8px;
  color: #070b2b;
  font-weight: 800;
}

.settings-user-form input,
.settings-user-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(121, 40, 242, 0.22);
  border-radius: var(--radius);
  color: #070b2b;
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
}

.settings-user-form .button {
  min-height: 52px;
  margin-top: 4px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.user-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.user-list div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(121, 40, 242, 0.18);
  border-radius: var(--radius);
  background: rgba(248, 245, 255, 0.78);
}

.user-list span {
  color: #465071;
}

.user-list small {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: #0d5125;
  background: rgba(37, 211, 102, 0.14);
  font-weight: 900;
}

.whatsapp-instance-form label {
  display: grid;
  gap: 8px;
  color: #070b2b;
  font-weight: 800;
}

.whatsapp-instance-form input {
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid rgba(121, 40, 242, 0.22);
  border-radius: var(--radius);
  color: #070b2b;
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
}

.whatsapp-instance-form .button {
  min-height: 52px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.whatsapp-instance-form .button:disabled {
  cursor: progress;
  opacity: 0.7;
}

.whatsapp-feedback {
  min-height: 24px;
  margin-top: 12px;
  color: #465071;
  font-size: 0.92rem;
  font-weight: 800;
}

.whatsapp-feedback[data-type="success"] {
  color: #0d7a39;
}

.whatsapp-feedback[data-type="error"] {
  color: #b42318;
}

.whatsapp-feedback[data-type="info"] {
  color: #465071;
}

.whatsapp-link-panel {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 100%;
  padding: 22px;
  border: 1px solid rgba(121, 40, 242, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 255, 248, 0.9)),
    #ffffff;
  box-shadow: 0 18px 46px rgba(67, 35, 130, 0.09);
}

.whatsapp-link-panel[hidden] {
  display: none;
}

.whatsapp-link-panel p {
  margin: 0;
  color: #465071;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.whatsapp-link-status {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: #8a5a00;
  background: rgba(255, 209, 102, 0.2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.whatsapp-link-status.is-connected {
  color: #0d5125;
  background: rgba(37, 211, 102, 0.16);
}

.whatsapp-delete-button {
  min-height: 42px;
  width: 100%;
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.32);
  cursor: pointer;
}

.whatsapp-chat-button {
  min-height: 42px;
  width: 100%;
}

.qr-image {
  width: min(188px, 100%);
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: contain;
  background: #ffffff;
}

.ticket-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.ticket-list div,
.payment-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(121, 40, 242, 0.18);
  border-radius: var(--radius);
  background: rgba(248, 245, 255, 0.78);
}

.ticket-list div {
  flex-direction: column;
}

.payment-row {
  align-items: center;
  margin: 22px 0;
}

.payment-row strong {
  color: var(--green);
  font-size: 1.45rem;
}

.dashboard-card-action {
  width: 100%;
  margin-top: 18px;
}

.atendimento-main {
  min-height: 100vh;
}

.atendimento-header {
  align-items: center;
}

.atendimento-app {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  min-height: calc(100vh - 210px);
  padding: 0;
}

.atendimento-app::before {
  display: none;
}

.atendimento-inbox {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 16px;
  min-width: 0;
  padding: 22px;
  border-right: 1px solid rgba(121, 40, 242, 0.16);
  background: rgba(248, 245, 255, 0.72);
}

.inbox-top,
.chat-toolbar,
.contact-summary,
.chat-status,
.chat-composer {
  display: flex;
  align-items: center;
}

.inbox-top {
  justify-content: space-between;
  gap: 16px;
}

.inbox-top h2 {
  margin: 12px 0 0;
}

.icon-button,
.send-button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, var(--purple-2), var(--purple));
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.icon-button {
  width: 42px;
  height: 42px;
  font-size: 1.35rem;
}

.chat-search {
  display: grid;
  gap: 8px;
}

.new-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.new-chat-form label {
  min-width: 0;
}

.new-chat-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.new-chat-form input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(121, 40, 242, 0.18);
  border-radius: 8px;
  color: #070b2b;
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
}

.new-chat-form .button {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(121, 40, 242, 0.22);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
}

.chat-search span,
.chat-composer label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.chat-search input,
.chat-composer textarea {
  width: 100%;
  border: 1px solid rgba(121, 40, 242, 0.18);
  border-radius: var(--radius);
  color: #070b2b;
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
}

.chat-search input {
  min-height: 48px;
  padding: 0 14px;
}

.chat-search input::placeholder,
.chat-composer textarea::placeholder {
  color: #8b91aa;
}

.conversation-list {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  overflow: auto;
}

.conversation-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(121, 40, 242, 0.14);
  border-radius: var(--radius);
  color: #070b2b;
  background: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.conversation-item.active,
.conversation-item:hover {
  border-color: rgba(37, 211, 102, 0.42);
  background: #ffffff;
  box-shadow: inset 4px 0 0 var(--green);
}

.conversation-item.needs-human {
  border-color: rgba(255, 209, 102, 0.42);
}

.conversation-item strong,
.conversation-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-item small {
  margin-top: 4px;
  color: #697099;
}

.conversation-item em {
  align-self: start;
  color: var(--purple);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.contact-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #18a957, var(--green));
  font-weight: 900;
}

.contact-avatar.has-photo {
  background-position: center;
  background-size: cover;
  color: transparent;
}

.whatsapp-avatar {
  position: relative;
}

.whatsapp-avatar::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-left: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  border-radius: 0 0 0 8px;
  transform: rotate(-38deg);
}

.chat-workspace {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  background:
    radial-gradient(circle at 86% 14%, rgba(37, 211, 102, 0.14), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 244, 255, 0.96));
}

.chat-toolbar {
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(121, 40, 242, 0.16);
  background: rgba(255, 255, 255, 0.82);
}

.contact-summary {
  gap: 13px;
  min-width: 0;
}

.contact-summary strong,
.contact-summary small {
  display: block;
}

.contact-summary small,
.chat-status span {
  color: #697099;
  line-height: 1.4;
}

.chat-status {
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  text-align: right;
}

.chat-status strong {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #0d5125;
  background: rgba(37, 211, 102, 0.16);
  font-size: 0.78rem;
}

.chat-thread {
  display: grid;
  align-content: end;
  gap: 12px;
  min-height: 420px;
  padding: 24px;
  overflow: auto;
}

.message-day {
  justify-self: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: #697099;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
  font-weight: 900;
}

.message-bubble {
  width: fit-content;
  max-width: min(560px, 76%);
  padding: 12px 14px 9px;
  border: 1px solid rgba(121, 40, 242, 0.12);
  border-radius: 8px;
  color: #070b2b;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(67, 35, 130, 0.08);
}

.message-bubble p {
  margin: 0;
  color: #283260;
  line-height: 1.45;
}

.message-bubble span {
  display: block;
  margin-top: 6px;
  color: #8b91aa;
  font-size: 0.7rem;
  font-weight: 800;
  text-align: right;
}

.message-bubble.sent {
  justify-self: end;
  border-color: rgba(37, 211, 102, 0.2);
  background: #dcf8e7;
}

.message-bubble.agent {
  border-color: rgba(121, 40, 242, 0.2);
  background: #f2ebff;
}

.chat-empty {
  align-self: center;
  justify-self: center;
  max-width: 320px;
  padding: 16px;
  color: #697099;
  text-align: center;
  line-height: 1.45;
}

.audio-message {
  display: grid;
  gap: 8px;
  min-width: min(300px, 64vw);
}

.audio-message strong {
  color: #283260;
  font-size: 0.82rem;
}

.audio-message small {
  color: #697099;
  line-height: 1.35;
}

.audio-message audio {
  width: 100%;
  max-width: 320px;
}

.icon-button.is-recording {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  animation: recordPulse 1s infinite;
}

@keyframes recordPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.chat-composer {
  gap: 12px;
  padding: 16px 18px;
  border-top: 1px solid rgba(121, 40, 242, 0.16);
  background: rgba(255, 255, 255, 0.86);
}

.chat-composer label {
  flex: 1;
}

.chat-composer textarea {
  min-height: 48px;
  max-height: 130px;
  padding: 13px 15px;
  resize: vertical;
}

.send-button {
  position: relative;
  width: 48px;
  height: 48px;
}

.send-button span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 14px solid #ffffff;
}

.integration-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.integration-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 14px;
  align-items: center;
  min-height: 62px;
  padding: 12px 14px;
  border: 1px solid rgba(121, 40, 242, 0.18);
  border-radius: var(--radius);
  background: rgba(248, 245, 255, 0.78);
}

.integration-item strong,
.integration-item small,
.integration-item em {
  grid-column: 2;
}

.integration-item small {
  color: #697099;
  line-height: 1.4;
}

.integration-item em {
  width: fit-content;
  margin-top: 4px;
  padding: 4px 8px;
  border: 1px solid rgba(121, 40, 242, 0.16);
  border-radius: 999px;
  color: #697099;
  background: rgba(121, 40, 242, 0.06);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.integration-item.disabled {
  opacity: 0.66;
}

.integration-logo {
  position: relative;
  grid-row: 1 / span 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #ffffff;
  color: #174a7c;
  font-weight: 900;
}

.solus-logo::before,
.solus-logo::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.solus-logo::before {
  width: 12px;
  height: 30px;
  background: linear-gradient(to bottom, #c73477 0 52%, #1769b2 52% 100%);
}

.solus-logo::after {
  width: 30px;
  height: 12px;
  background: linear-gradient(to right, #1769b2 0 52%, #c73477 52% 100%);
}

.tasy-logo {
  color: #174a7c;
  font-size: 0.74rem;
  font-style: italic;
  letter-spacing: -0.04em;
}

.mv-logo {
  color: #2d5678;
}

.mv-logo::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 11px;
  width: 20px;
  height: 17px;
  border-left: 7px solid #69a999;
  border-bottom: 7px solid #69a999;
  border-radius: 0 0 0 18px;
  transform: rotate(-19deg);
}

.mv-logo::after {
  content: "MV";
  position: absolute;
  right: 5px;
  top: 11px;
  color: #2d5678;
  font-size: 0.86rem;
  font-style: italic;
  font-weight: 900;
}

.unimed-logo {
  background: #2d9b5b;
  color: #ffffff;
}

.unimed-logo::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 11px;
  width: 28px;
  height: 20px;
  background: currentColor;
  clip-path: polygon(0 100%, 24% 0, 42% 0, 50% 20%, 58% 0, 76% 0, 100% 100%, 72% 100%, 62% 72%, 38% 72%, 28% 100%);
}

.unimed-logo i {
  position: absolute;
  left: 18px;
  top: 8px;
  width: 8px;
  height: 20px;
  background: #2d9b5b;
  clip-path: polygon(50% 0, 100% 34%, 68% 34%, 68% 52%, 100% 52%, 58% 78%, 58% 100%, 42% 100%, 42% 78%, 0 52%, 32% 52%, 32% 34%, 0 34%);
}

.footer {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 46px;
  padding: 0 18px;
}

.footer .brand {
  margin-bottom: 16px;
}

.footer h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1rem;
}

.footer a {
  display: block;
  margin: 10px 0;
}

.socials {
  display: flex;
  gap: 12px;
  margin: 18px 0;
}

.socials a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
}

.privacy {
  margin-top: 58px !important;
  text-decoration: underline;
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

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

@keyframes cursorBlink {
  50% { opacity: 0; }
}

@media (max-width: 1280px) {
  .page {
    padding: 28px 24px 34px;
  }

  .topbar {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links,
  .header-actions {
    display: none;
  }

  .topbar.is-open .nav-links,
  .topbar.is-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    width: 100%;
  }

  .topbar.is-open .nav-links {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 12px;
  }

  .topbar.is-open .header-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .solutions,
  .results,
  .pricing,
  .about,
  .auth-shell,
  .integration-shell,
  .atendimento-app,
  .dashboard-grid,
  .dashboard-summary-grid,
  .settings-grid,
  .whatsapp-card {
    grid-template-columns: 1fr;
  }

  .atendimento-inbox {
    border-right: 0;
    border-bottom: 1px solid rgba(121, 40, 242, 0.16);
  }

  .hero-copy {
    padding-left: 0;
  }

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

  .pricing-grid,
  .proof-strip,
  .operator-account-card,
  .dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-header {
    display: grid;
  }

  .dashboard-actions {
    justify-content: flex-start;
  }

  .footer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page {
    padding: 22px 16px 28px;
  }

  .brand,
  .logo {
    width: 190px;
  }

  .hero {
    gap: 14px;
    min-height: auto;
    padding-top: 48px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.1rem);
  }

  .hero p {
    font-size: 1.03rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-badges span,
  .auth-highlights span {
    width: 100%;
  }

  .hero-art {
    min-height: 320px;
  }

  .agent-demo,
  .prompt-demo {
    padding: 0;
  }

  .agent-body {
    grid-template-columns: 1fr;
  }

  .chat-bubble {
    max-width: 100%;
  }

  .partner-empty {
    margin-bottom: 30px;
  }

  .solutions,
  .results,
  .pricing,
  .cta-panel {
    padding: 24px 18px;
  }

  .solution-grid,
  .pricing-grid,
  .proof-strip,
  .process-grid,
  .metrics,
  .cta-panel,
  .content-strip,
  .module-options,
  .endpoint-grid,
  .operator-account-card,
  .dashboard-metrics,
  .dashboard-summary-grid,
  .settings-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .endpoint-grid .span-full {
    grid-column: auto;
  }

  .auth-page,
  .dashboard-main,
  .dashboard-sidebar {
    padding: 22px 16px;
  }

  .auth-brand {
    margin-bottom: 34px;
  }

  .auth-copy h1 {
    font-size: clamp(2.4rem, 12vw, 3.8rem);
  }

  .dashboard-layout {
    display: block;
  }

  .dashboard-sidebar {
    position: static;
    height: auto;
  }

  .dashboard-sidebar .button {
    margin-top: 0;
  }

  .dashboard-card,
  .dashboard-metrics article {
    padding: 20px;
  }

  .atendimento-app {
    padding: 0;
  }

  .atendimento-inbox,
  .chat-thread {
    padding: 16px;
  }

  .chat-toolbar,
  .chat-composer {
    align-items: stretch;
    flex-direction: column;
  }

  .chat-status {
    justify-content: flex-start;
    text-align: left;
  }

  .message-bubble {
    max-width: 94%;
  }

  .chat-composer {
    gap: 10px;
  }

  .new-chat-form {
    grid-template-columns: 1fr;
  }

  .chat-composer .icon-button,
  .send-button {
    width: 100%;
  }

  .solution-card {
    min-height: auto;
  }

  .solution-card p {
    min-height: auto;
  }

  .metrics article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .metrics article:first-child {
    border-top: 0;
  }

  .process-title {
    display: block;
  }

  .cta-panel {
    gap: 20px;
  }
}
