:root {
  --bg: #090611;
  --bg-soft: #120c1f;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4efff;
  --muted: #b9accf;
  --primary: #8f4dff;
  --primary-2: #b57cff;
  --primary-3: #5d2db3;
  --success-soft: #1c1530;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(143, 77, 255, 0.22), transparent 24%),
    radial-gradient(circle at 85% 15%, rgba(181, 124, 255, 0.18), transparent 18%),
    linear-gradient(180deg, #08060f 0%, #0c0816 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

.orb-1 {
  width: 280px;
  height: 280px;
  top: 80px;
  left: -80px;
  background: rgba(143, 77, 255, 0.22);
}

.orb-2 {
  width: 320px;
  height: 320px;
  bottom: 40px;
  right: -80px;
  background: rgba(181, 124, 255, 0.18);
}

/* =========================
   HEADER / NAV
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(9, 6, 17, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--primary-2);
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 10px;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.92rem 1.3rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 12px 28px rgba(143, 77, 255, 0.32);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(180, 150, 255, 0.12);
}

.btn-full {
  width: 100%;
}

/* =========================
   HERO
========================= */
.hero {
  padding: 86px 0 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.hero h1,
.section-heading h2,
.benefits-content h2,
.cta h2,
.contact-info h2 {
  margin: 0 0 16px;
  line-height: 1.1;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 11ch;
}

.hero-text,
.section-heading p,
.benefits-content p,
.cta p,
.contact-info p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 26px;
}

.hero-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.stat {
  min-width: 130px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.stat strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.chat-card {
  width: min(100%, 460px);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.chat-header {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--line);
}

.chat-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.chat-dots span {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

.chat-body {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.bubble {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 0.96rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.bubble-user {
  margin-left: auto;
  background: rgba(143, 77, 255, 0.22);
  border: 1px solid rgba(143, 77, 255, 0.35);
}

.bubble-bot {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

/* =========================
   GENERAL SECTIONS
========================= */
.section {
  padding: 72px 0;
}

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

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

.card,
.use-case,
.feature-box,
.contact-form,
.cta {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 24px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(143, 77, 255, 0.18);
  border: 1px solid rgba(143, 77, 255, 0.25);
  font-size: 1.4rem;
}

.section-highlight {
  background: linear-gradient(180deg, rgba(143,77,255,0.05), rgba(143,77,255,0.02));
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 26px;
  align-items: start;
}

.benefit-list {
  padding-left: 18px;
  margin-top: 18px;
}

.benefit-list li + li {
  margin-top: 10px;
}

.feature-panel {
  display: grid;
  gap: 16px;
}

.feature-box {
  padding: 22px;
}

.feature-box h3 {
  margin-top: 0;
}

.feature-box p {
  margin-bottom: 0;
  color: var(--muted);
}

.use-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.use-case {
  padding: 22px;
}

.use-case h3 {
  margin-top: 0;
}

.use-case p {
  color: var(--muted);
  margin-bottom: 0;
}

.cta {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: start;
}

.contact-items {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.contact-items strong {
  display: block;
  margin-bottom: 4px;
}

.contact-items p {
  margin: 0;
}

.contact-form {
  padding: 24px;
}

.form-group + .form-group {
  margin-top: 16px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #9d8fb7;
}

input:focus,
textarea:focus {
  border-color: rgba(181, 124, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(181, 124, 255, 0.08);
}

/* =========================
   FOOTER
========================= */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-content p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

/* =========================
   REVEAL
========================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

/* =========================
   DEMO INTERACTIVA
========================= */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: start;
}

.demo-panel {
  position: relative;
  width: 100%;
  min-width: 0;
  background: rgba(18, 14, 36, 0.72);
  border: 1px solid rgba(180, 150, 255, 0.16);
  border-radius: 24px;
  padding: 1.4rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.demo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(164, 120, 255, 0.12),
    rgba(255, 255, 255, 0.02) 35%,
    rgba(108, 92, 231, 0.08) 100%
  );
  pointer-events: none;
}

.demo-panel > * {
  position: relative;
  z-index: 1;
}

.demo-panel-header {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.demo-panel-header .icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 1.35rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.24), rgba(99, 102, 241, 0.18));
  border: 1px solid rgba(180, 150, 255, 0.2);
  box-shadow: 0 12px 26px rgba(99, 102, 241, 0.16);
}

.demo-panel-header h3 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.demo-panel-header p {
  margin: 0;
  color: rgba(235, 235, 245, 0.72);
  line-height: 1.5;
  font-size: 0.95rem;
}

/* =========================
   PANEL LLAMADAS
========================= */
.call-widget {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.call-topbar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(180, 150, 255, 0.12);
  color: rgba(245, 245, 255, 0.92);
  font-size: 0.94rem;
  font-weight: 500;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3ddc97;
  box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.14);
  animation: pulseDot 1.8s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.7;
  }
}

.call-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1rem;
  border-radius: 20px;
  background:
    radial-gradient(circle at top, rgba(137, 92, 255, 0.2), transparent 45%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(180, 150, 255, 0.12);
}

.avatar-ring {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.95), rgba(99, 102, 241, 0.88));
  box-shadow:
    0 18px 45px rgba(125, 90, 255, 0.28),
    0 0 0 10px rgba(139, 92, 246, 0.05);
  display: grid;
  place-items: center;
}

.avatar-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.14), transparent 40%),
    linear-gradient(135deg, #18122b, #24183f);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.call-number-box {
  width: 100%;
  max-width: 420px;
}

.call-number-box label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: rgba(235, 235, 245, 0.84);
}

.call-number-box input {
  width: 100%;
  border: 1px solid rgba(180, 150, 255, 0.18);
  background: rgba(12, 10, 24, 0.72);
  color: #fff;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  outline: none;
  font-size: 0.98rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.call-number-box input::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.call-number-box input:focus {
  border-color: rgba(168, 139, 250, 0.75);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.14);
  transform: translateY(-1px);
}

.call-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}

.call-actions .btn {
  min-width: 155px;
}

.call-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.mini-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(180, 150, 255, 0.12);
  border-radius: 16px;
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mini-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(235, 235, 245, 0.5);
}

.mini-card strong {
  font-size: 0.98rem;
  color: #fff;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.audio-player-shell {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(180, 150, 255, 0.12);
}

.player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
  color: rgba(245, 245, 255, 0.9);
  font-size: 0.92rem;
}

.player-header span {
  color: rgba(235, 235, 245, 0.62);
  font-size: 0.84rem;
}

.player-visualizer {
  height: 72px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 0.35rem 0.2rem;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(180, 150, 255, 0.08);
}

.player-visualizer span {
  display: block;
  width: 7px;
  border-radius: 99px;
  background: linear-gradient(180deg, rgba(196, 181, 253, 0.95), rgba(129, 140, 248, 0.75));
  animation: equalizer 1.2s ease-in-out infinite;
}

.player-visualizer span:nth-child(1) { height: 24px; animation-delay: 0s; }
.player-visualizer span:nth-child(2) { height: 46px; animation-delay: 0.12s; }
.player-visualizer span:nth-child(3) { height: 30px; animation-delay: 0.24s; }
.player-visualizer span:nth-child(4) { height: 58px; animation-delay: 0.36s; }
.player-visualizer span:nth-child(5) { height: 40px; animation-delay: 0.48s; }
.player-visualizer span:nth-child(6) { height: 54px; animation-delay: 0.6s; }
.player-visualizer span:nth-child(7) { height: 28px; animation-delay: 0.72s; }
.player-visualizer span:nth-child(8) { height: 48px; animation-delay: 0.84s; }

@keyframes equalizer {
  0%, 100% {
    transform: scaleY(0.65);
    opacity: 0.72;
  }
  50% {
    transform: scaleY(1.15);
    opacity: 1;
  }
}

.audio-player-shell audio {
  width: 100%;
  border-radius: 14px;
  opacity: 0.92;
}

.call-transcript-box {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(180, 150, 255, 0.12);
  overflow: hidden;
}

.transcript-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid rgba(180, 150, 255, 0.08);
  color: rgba(245, 245, 255, 0.92);
}

.transcript-header span {
  font-size: 0.84rem;
  color: rgba(235, 235, 245, 0.56);
}

.transcript-content {
  min-height: 140px;
  max-height: 220px;
  overflow-y: auto;
  padding: 1rem;
  color: rgba(240, 240, 248, 0.78);
  line-height: 1.7;
  font-size: 0.95rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* =========================
   PANEL CHAT
========================= */
.chat-widget {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  width: 100%;
  min-width: 0;
}

.chat-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(180, 150, 255, 0.12);
}

.chat-widget-user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.chat-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  box-shadow: 0 14px 34px rgba(99, 102, 241, 0.22);
}

.chat-widget-user strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.chat-widget-user p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(235, 235, 245, 0.62);
}

.chat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(180, 150, 255, 0.16);
  color: rgba(245, 245, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.chat-widget-body {
  min-height: 320px;
  max-height: 420px;
  overflow-y: auto;
  padding: 1rem;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.03)),
    rgba(12, 10, 24, 0.45);
  border: 1px solid rgba(180, 150, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.chat-widget-body .bubble {
  max-width: 82%;
  padding: 0.92rem 1rem;
  border-radius: 18px;
  line-height: 1.6;
  font-size: 0.95rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.chat-widget-body .bubble-user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.92), rgba(99, 102, 241, 0.88));
  color: #fff;
  border-bottom-right-radius: 8px;
}

.chat-widget-body .bubble-bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 245, 255, 0.94);
  border: 1px solid rgba(180, 150, 255, 0.12);
  border-bottom-left-radius: 8px;
}

.chat-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.quick-chip {
  border: 1px solid rgba(180, 150, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(245, 245, 255, 0.9);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  font-size: 0.86rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.25s ease, background 0.25s ease;
}

.quick-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(180, 150, 255, 0.32);
  background: rgba(139, 92, 246, 0.1);
}

.chat-widget-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  padding: 0.85rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(180, 150, 255, 0.12);
}

.chat-widget-input input {
  width: 100%;
  border: 1px solid rgba(180, 150, 255, 0.16);
  background: rgba(12, 10, 24, 0.72);
  color: #fff;
  padding: 0.95rem 1rem;
  border-radius: 15px;
  outline: none;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.chat-widget-input input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.chat-widget-input input:focus {
  border-color: rgba(168, 139, 250, 0.75);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.14);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px) {
  .hero-grid,
  .benefits-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .use-cases {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    max-width: 100%;
  }

  .demo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 1rem 22px;
    background: rgba(9, 6, 17, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .cards-grid,
  .use-cases {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 62px;
  }

  .section {
    padding: 58px 0;
  }

  .demo-panel {
    padding: 1rem;
    border-radius: 18px;
  }

  .demo-panel-header {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .demo-panel-header .icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 1.2rem;
  }

  .demo-panel-header h3 {
    font-size: 1.05rem;
  }

  .demo-panel-header p {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .call-main {
    padding: 1.1rem 0.9rem;
  }

  .avatar-ring {
    width: 84px;
    height: 84px;
  }

  .avatar-core {
    font-size: 1.1rem;
  }

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

  .call-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .call-meta-grid {
    grid-template-columns: 1fr 1fr;
  }

  .player-header,
  .transcript-header,
  .chat-widget-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .chat-widget-input {
    grid-template-columns: 1fr;
  }

  .chat-widget-input .btn {
    width: 100%;
  }

  .chat-widget-body {
    min-height: 240px;
    max-height: 320px;
  }

  .transcript-content {
    max-height: 160px;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(var(--max-width), calc(100% - 1.2rem));
  }

  .chat-card,
  .card,
  .use-case,
  .feature-box,
  .contact-form,
  .cta,
  .demo-panel {
    border-radius: 18px;
  }

  .card,
  .use-case,
  .feature-box,
  .contact-form {
    padding: 18px;
  }

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

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

  .demo-grid {
    gap: 1rem;
  }

  .demo-panel {
    padding: 0.95rem;
  }

  .call-meta-grid {
    grid-template-columns: 1fr;
  }

  .chat-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .quick-chip {
    width: 100%;
    text-align: center;
    padding: 0.58rem 0.7rem;
    font-size: 0.8rem;
  }

  .chat-widget-body .bubble,
  .bubble {
    max-width: 92%;
    font-size: 0.88rem;
  }

  .call-number-box input,
  .chat-widget-input input {
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .demo-panel-header,
  .chat-widget-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .chat-quick-actions {
    grid-template-columns: 1fr;
  }
}









.account-panel {
  display: grid;
  gap: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.account-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.account-result {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  color: var(--text);
  min-height: 60px;
  white-space: pre-wrap;
}







.account-panel {
  display: grid;
  gap: 1.2rem;
  max-width: 760px;
  margin: 0 auto;
}

.account-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.account-result {
  min-height: 60px;
}

.account-card {
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.account-item {
  padding: 0.5rem 0.7rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(180, 150, 255, 0.12);
}

.account-item-label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.account-item-value {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.account-item-value pre {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.3;
  max-height: 120px;      /* 🔥 límite de altura */
  overflow-y: auto;       /* scroll interno */
}




.topup-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
  align-items: start;
}

.topup-balance-card,
.topup-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.topup-balance-card {
  padding: 1.4rem;
  background:
    radial-gradient(circle at top left, rgba(143, 77, 255, 0.18), transparent 45%),
    rgba(255, 255, 255, 0.05);
}

.topup-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.topup-balance-card strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.topup-balance-card p {
  margin: 0;
  color: var(--muted);
}

.topup-card {
  padding: 1.4rem;
}

.topup-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.topup-card-header h3 {
  margin: 0;
  font-size: 1.15rem;
}

.topup-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(143, 77, 255, 0.14);
  border: 1px solid rgba(181, 124, 255, 0.22);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.topup-amounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.topup-chip {
  min-height: 52px;
  border: 1px solid rgba(181, 124, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.topup-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(181, 124, 255, 0.4);
}

.topup-chip.active {
  background: linear-gradient(135deg, rgba(143, 77, 255, 0.2), rgba(181, 124, 255, 0.18));
  border-color: rgba(181, 124, 255, 0.55);
  box-shadow: 0 10px 22px rgba(143, 77, 255, 0.15);
}

.topup-custom {
  margin-bottom: 1rem;
}

.topup-custom label {
  display: block;
  margin-bottom: 0.45rem;
}

.topup-summary {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(181, 124, 255, 0.12);
  margin-bottom: 1rem;
}

.topup-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topup-summary-row span {
  color: var(--muted);
}

.topup-summary-row strong {
  color: var(--text);
}

.topup-actions {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0.9rem;
}

.topup-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .topup-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .topup-amounts {
    grid-template-columns: 1fr;
  }

  .topup-card,
  .topup-balance-card {
    padding: 1rem;
    border-radius: 18px;
  }

  .topup-summary-row {
    flex-direction: column;
    align-items: flex-start;
  }

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







/* =========================
   PORTAL CTA
========================= */

.portal-cta-section {
  position: relative;
}

.portal-cta-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  padding: 2.2rem;
  border-radius: 28px;
  overflow: hidden;

  background:
    radial-gradient(circle at 20% 20%, rgba(143,77,255,0.18), transparent 40%),
    rgba(255,255,255,0.04);

  border: 1px solid rgba(180,150,255,0.18);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.portal-cta-content h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.portal-cta-content p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 420px;
}

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

.portal-cta-actions .btn {
  font-size: 1rem;
  padding: 14px 22px;
  border-radius: 999px;
}

/* Visual derecho */

.portal-cta-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  background: rgba(143, 77, 255, 0.25);
  filter: blur(80px);
  border-radius: 50%;
}

.portal-orb {
  width: 140px;
  height: 140px;
  border-radius: 50%;

  background: linear-gradient(
    135deg,
    rgba(143,77,255,0.9),
    rgba(181,124,255,0.85)
  );

  box-shadow:
    0 20px 60px rgba(143,77,255,0.4),
    inset 0 0 20px rgba(255,255,255,0.2);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .portal-cta-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .portal-cta-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .portal-cta-actions {
    justify-content: center;
  }

  .portal-cta-visual {
    margin-top: 1rem;
  }
}









