:root {
  --ink: #21183f;
  --muted: #6e6885;
  --cream: #f8f7ff;
  --paper: #fffefe;
  --lavender: #ded6ff;
  --violet: #6947b8;
  --blue: #4f7fd7;
  --sky: #e1ecff;
  --pink: #e883b2;
  --rose: #fbe3ee;
  --line: rgba(33, 27, 61, 0.12);
  --shadow: 0 24px 70px rgba(63, 42, 112, 0.14);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 88% 7%,
      rgba(222, 214, 255, 0.8),
      transparent 27%
    ),
    radial-gradient(
      circle at 5% 58%,
      rgba(225, 236, 255, 0.65),
      transparent 22%
    ),
    var(--cream);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 56px; /* Altura contenida */
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px 9px 9px;
  border-radius: 16px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name small {
  margin-top: 3px;
  color: var(--violet);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
}
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 6px 16px rgba(105, 71, 184, 0.2);
}
.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--violet);
}
.telegram-button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 9px 14px;
  color: #fff;
  background: linear-gradient(120deg, var(--violet), var(--blue));
  border-radius: 9px 9px 9px 3px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(79, 127, 215, 0.2);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.telegram-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(79, 127, 215, 0.28);
}

.hero {
  min-height: 610px;
  padding: 54px 0 84px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  right: -160px;
  top: -170px;
  border: 1px solid rgba(79, 127, 215, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(105, 71, 184, 0.045),
    0 0 0 140px rgba(79, 127, 215, 0.04);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 80px;
  position: relative;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--pink);
  border-radius: 50% 50% 50% 2px;
  transform: rotate(-20deg);
}
h1 {
  max-width: 610px;
  margin: 16px 0 22px;
  font-size: clamp(46px, 6.2vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.075em;
}
h1 em {
  color: var(--violet);
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: rgba(79, 127, 215, 0.22);
  text-decoration-thickness: 0.11em;
  text-underline-offset: 0.04em;
}
.intro {
  max-width: 500px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 18px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 10px 10px 10px 3px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-2px) rotate(-0.5deg);
  box-shadow: 0 9px 20px rgba(68, 46, 124, 0.18);
}
.button-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--ink), var(--violet));
}
.button-quiet {
  gap: 7px;
  padding: 14px 20px;
  color: var(--violet);
}
.button-quiet::after {
  content: '→';
  display: inline-block;
  font-size: 18px;
  line-height: 1;
}

.demo {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}
.demo::after {
  content: 'sin formularios';
  position: absolute;
  right: -25px;
  top: -28px;
  padding: 10px 14px;
  color: var(--ink);
  background: #f7c5dc;
  border: 2px solid var(--ink);
  border-radius: 50% 45% 48% 42%;
  font-size: 12px;
  font-weight: 800;
  transform: rotate(8deg);
  box-shadow: 4px 5px 0 rgba(33, 27, 61, 0.12);
}
.demo::before {
  content: '';
  position: absolute;
  inset: 35px -24px -25px 24px;
  background: linear-gradient(145deg, var(--lavender), #bfd5ff);
  border-radius: 28px 8px 28px 8px;
  transform: rotate(5deg);
}
.chat {
  position: relative;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.chat-top {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 8px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}
.bot-dot {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 50%;
}
.online {
  margin-left: auto;
  color: var(--blue);
  font-size: 11px;
}
.message {
  max-width: 84%;
  margin: 20px 0 12px auto;
  padding: 14px 16px;
  background: var(--sky);
  border-radius: 16px 16px 4px 16px;
  font-size: 15px;
}
.reply {
  max-width: 88%;
  padding: 16px;
  background: #f0edff;
  border-radius: 16px 16px 16px 4px;
  font-size: 14px;
}
.event-card {
  margin-top: 13px;
  padding: 15px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.event-title {
  font-weight: 800;
}
.event-meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}
.check {
  color: var(--blue);
  font-weight: 800;
}

.strip {
  padding: 22px 0;
  background: linear-gradient(105deg, var(--ink), #352661 62%, #284d89);
  color: #f1edff;
  border-top: 4px solid var(--pink);
}
.strip-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.strip strong {
  color: var(--pink);
}
.strip span {
  color: #b8afd1;
  font-size: 14px;
}
section {
  padding: 100px 0;
}
.section-head {
  max-width: 610px;
  margin-bottom: 42px;
}
.section-head h2 {
  margin: 12px 0 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  min-height: 220px;
  padding: 26px;
  background: var(--sky);
  border: 1px solid rgba(79, 127, 215, 0.16);
  border-radius: 24px 10px 24px 10px;
}
.feature:nth-child(2) {
  background: var(--lavender);
  border-radius: 10px 24px 10px 24px;
  transform: translateY(18px) rotate(1deg);
}
.feature:nth-child(3) {
  background: var(--rose);
  border-color: rgba(232, 131, 178, 0.2);
  border-radius: 10px 24px 10px 24px;
  transform: rotate(-1deg);
}
.number {
  color: var(--pink);
  font-size: 13px;
  font-weight: 900;
}
.feature h3 {
  margin: 42px 0 8px;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.commands {
  padding-top: 24px;
}
.command-board {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 28px 10px 28px 10px;
  box-shadow: 10px 12px 0 #cbdcff;
}
.command-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  padding: 38px;
  color: var(--ink);
  background: linear-gradient(145deg, var(--sky), var(--lavender));
}
.command-intro h3 {
  max-width: 290px;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.06em;
}
.command-intro p {
  max-width: 300px;
  margin: 20px 0 0;
  font-size: 15px;
}
.command-tip {
  align-self: flex-start;
  padding: 9px 13px;
  background: var(--rose);
  border: 2px solid var(--ink);
  border-radius: 50% 45% 48% 42%;
  font-size: 12px;
  font-weight: 800;
  transform: rotate(-3deg);
}
.command-list {
  padding: 14px 34px;
  background: var(--paper);
}
.command-row {
  display: grid;
  grid-template-columns: minmax(145px, 0.7fr) 1.3fr;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px dashed rgba(112, 72, 184, 0.25);
}
.command-row:last-child {
  border-bottom: 0;
}
.command-row code {
  justify-self: start;
  padding: 7px 10px;
  color: #fff;
  background: var(--violet);
  border-radius: 8px 8px 8px 2px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
}
.command-row:nth-child(even) code {
  background: var(--blue);
}
.command-row span {
  color: var(--muted);
  font-size: 14px;
}
.cta-final {
  position: relative;
  overflow: hidden;
  margin-bottom: 48px;
  padding: 64px 24px;
  color: #fff;
  background: linear-gradient(
    125deg,
    var(--ink),
    var(--violet) 58%,
    var(--blue)
  );
  border-radius: 28px 10px 28px 10px;
  text-align: center;
  box-shadow: 10px 12px 0 var(--lavender);
}
.cta-final::before {
  content: '';
  position: absolute;
  width: 230px;
  height: 230px;
  top: -130px;
  left: -70px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255, 255, 255, 0.04);
}
.cta-final::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  right: -65px;
  bottom: -85px;
  background: var(--pink);
  border-radius: 50% 42% 48% 44%;
  opacity: 0.32;
  transform: rotate(18deg);
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-logo {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  border: 3px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(18, 12, 42, 0.3);
}
.cta-final h2 {
  max-width: 620px;
  margin: 0 auto 12px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}
.cta-final p {
  margin: 0 0 26px;
  color: #ddd7f3;
}
.cta-final .button-primary {
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 9px 24px rgba(18, 12, 42, 0.24);
}
.privacy {
  max-width: 1120px;
  padding: 48px 28px;
  color: var(--muted);
  background: linear-gradient(
    135deg,
    rgba(225, 236, 255, 0.8),
    rgba(222, 214, 255, 0.7) 58%,
    rgba(251, 227, 238, 0.7)
  );
  border: 1px solid rgba(105, 71, 184, 0.16);
  border-radius: 10px 26px 10px 26px;
  text-align: center;
}
.privacy h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}
.privacy p {
  max-width: 820px;
  margin: 0 auto 12px;
  font-size: 14px;
}
.privacy p:last-child {
  margin-bottom: 0;
}
.privacy-page {
  max-width: 820px;
  margin: 40px auto 100px;
  padding: 56px 64px;
  text-align: left;
}
.privacy-page h2 {
  text-align: center;
}
.privacy-page h3 {
  margin: 38px 0 10px;
  color: var(--ink);
  font-size: 20px;
  letter-spacing: -0.03em;
}
.privacy-page h3:first-of-type {
  margin-top: 34px;
}
.privacy-page h4 {
  margin: 24px 0 8px;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: -0.02em;
}
.privacy-page p {
  max-width: none;
  margin: 0 0 16px;
  font-size: 15px;
}
.privacy-page p:first-of-type {
  color: var(--muted);
  text-align: center;
}
.privacy-page code {
  background: rgba(105, 71, 184, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  color: var(--ink);
}
.privacy-toc {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(105, 71, 184, 0.16);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0 32px;
}
.privacy-toc h4 {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--violet);
}
.privacy-toc ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.privacy-toc li {
  margin-bottom: 8px;
  padding-left: 0;
}
.privacy-callout {
  background: rgba(255, 255, 255, 0.7);
  border-left: 4px solid var(--violet);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  font-size: 14.5px;
}
.privacy-page ul {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 15px;
}
.privacy-page li {
  margin-bottom: 12px;
  padding-left: 5px;
}
.privacy-page li:last-child {
  margin-bottom: 0;
}
.privacy-page strong {
  color: var(--ink);
}
.privacy-page a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}
footer {
  padding: 28px 0 34px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  border-top: 1px solid rgba(105, 71, 184, 0.16);
}
footer a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.heart {
  color: var(--pink);
  font-size: 17px;
  line-height: 0;
  vertical-align: -1px;
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 32px, 560px);
  }
  .nav-link {
    display: none;
  }
  .nav-actions {
    gap: 0;
  }
  .telegram-button {
    padding: 9px 12px;
  }
  .hero {
    min-height: 0;
    padding: 42px 0 76px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  h1 {
    font-size: clamp(48px, 14vw, 70px);
  }
  .intro {
    font-size: 16px;
  }
  .demo {
    width: calc(100% - 24px);
  }
  .demo::after {
    right: -8px;
  }
  section {
    padding: 72px 0;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .feature:nth-child(2) {
    transform: none;
  }
  .feature:nth-child(3) {
    transform: none;
  }
  .command-board {
    grid-template-columns: 1fr;
    box-shadow: 6px 8px 0 var(--lavender);
  }
  .command-intro {
    min-height: 280px;
    padding: 30px;
  }
  .command-list {
    padding: 10px 24px;
  }
  .command-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }
  .cta-final {
    margin-bottom: 40px;
    padding: 52px 22px;
    box-shadow: 6px 8px 0 var(--lavender);
  }
  .privacy-page {
    margin: 24px auto 72px;
    padding: 38px 24px;
  }
  .privacy-page h3 {
    font-size: 18px;
  }
}
