﻿@import url("https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg-1: #071329;
  --bg-2: #0d2e63;
  --bg-3: #114f9f;
  --bg-4: #e9f3ff;
  --ink: #0d1f3b;
  --ink-soft: #3a517a;
  --text-on-dark: #ebf3ff;
  --line: rgba(20, 63, 133, 0.2);
  --line-strong: rgba(27, 85, 176, 0.35);
  --panel: rgba(255, 255, 255, 0.78);
  --panel-soft: rgba(255, 255, 255, 0.62);
  --panel-solid: #ffffff;
  --brand: #1b6ce0;
  --brand-strong: #1251ab;
  --brand-alt: #14a6dc;
  --ok: #1e9f66;
  --warn: #ce7a27;
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-1: 0 16px 38px rgba(8, 27, 62, 0.18);
  --shadow-2: 0 24px 52px rgba(6, 24, 56, 0.24);
  --header-h: 82px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: var(--header-h);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 680px at -8% -8%, rgba(20, 166, 220, 0.38), transparent 58%),
    radial-gradient(1000px 700px at 108% -10%, rgba(27, 108, 224, 0.45), transparent 60%),
    linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 34%, var(--bg-3) 64%, var(--bg-4) 100%);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(27, 108, 224, 0.66);
  outline-offset: 2px;
}

.container,
.landing-main {
  width: min(1320px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(161, 208, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(161, 208, 255, 0.18) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 0%, rgba(0, 0, 0, 0.9), transparent 78%);
}

.orb {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.52;
  animation: orbFloat 20s var(--ease) infinite alternate;
}

.orb-1 {
  top: -290px;
  left: -220px;
  background: radial-gradient(circle, rgba(43, 169, 255, 0.86), transparent 64%);
}

.orb-2 {
  top: -300px;
  right: -240px;
  background: radial-gradient(circle, rgba(20, 124, 255, 0.72), transparent 66%);
  animation-duration: 24s;
}

.orb-3 {
  bottom: -350px;
  left: 28%;
  background: radial-gradient(circle, rgba(114, 196, 255, 0.56), transparent 68%);
  animation-duration: 22s;
}

@keyframes orbFloat {
  from { transform: translate3d(-14px, -8px, 0) scale(1); }
  to { transform: translate3d(24px, 14px, 0) scale(1.05); }
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-bottom: 1px solid rgba(185, 220, 255, 0.34);
  background: rgba(5, 21, 49, 0.56);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.78rem;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: block;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: hidden;
  flex: 0 0 auto;
}

.logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand-name {
  color: #f3f8ff;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
}

.brand-sub {
  color: rgba(227, 238, 255, 0.78);
  font-size: 0.88rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.nav-link {
  color: rgba(228, 240, 255, 0.86);
  font-weight: 600;
  font-size: 0.93rem;
  padding: 0.5rem 0.65rem;
  border-radius: 999px;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(177, 218, 255, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.72rem 1rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  background: linear-gradient(130deg, var(--brand), #37a6ff);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(20, 79, 160, 0.28);
  transition: transform 180ms var(--ease), filter 180ms var(--ease), box-shadow 180ms var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 14px 28px rgba(14, 66, 137, 0.32);
}

.btn-ghost {
  border-color: rgba(183, 219, 255, 0.45);
  background: rgba(8, 33, 75, 0.5);
  color: #f0f6ff;
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(16, 57, 116, 0.64);
}

.btn-wide {
  width: 100%;
}

.top-strip {
  padding-top: 20px;
}

.strip-track {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  flex-wrap: wrap;
  padding: 0.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(179, 221, 255, 0.4);
  background: var(--panel-soft);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-1);
}

.strip-item {
  padding: 0.38rem 0.66rem;
  border-radius: 999px;
  background: rgba(7, 42, 94, 0.08);
  border: 1px solid rgba(11, 80, 170, 0.16);
  color: #22497f;
  font-size: 0.82rem;
  font-weight: 700;
}

.strip-link {
  margin-left: auto;
  padding: 0.4rem 0.74rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #18457d;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero {
  padding-top: 1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.hero-copy {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 3vw, 2.3rem);
  color: var(--text-on-dark);
  border: 1px solid rgba(159, 211, 255, 0.34);
  background:
    radial-gradient(740px 320px at 0% -12%, rgba(255, 255, 255, 0.2), transparent 60%),
    linear-gradient(135deg, rgba(15, 66, 141, 0.96) 0%, rgba(24, 96, 192, 0.96) 52%, rgba(21, 166, 220, 0.92) 100%);
  box-shadow: var(--shadow-2);
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -140px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 240, 255, 0.36), transparent 70%);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 1px solid rgba(209, 234, 255, 0.4);
  background: rgba(255, 255, 255, 0.16);
}

h1 {
  margin: 0.86rem 0 0.56rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 5.4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-rotator {
  display: inline-flex;
  align-items: center;
  gap: 0.56rem;
  margin-bottom: 0.84rem;
}

.rotator-prefix {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.rotator-flip {
  position: relative;
  width: 190px;
  height: 34px;
  overflow: hidden;
}

.rotator-flip > div {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
  transform: translate3d(-20px, -14px, 0) rotate(-18deg) scale(0.88);
  transform-origin: left center;
  animation: rotatorDrop 9s linear infinite;
}

.rotator-flip > div > div {
  height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 28px 14px -16px rgba(0, 0, 0, 0.44);
}

.rotator-flip > div:nth-child(1) {
  animation-delay: 0s;
}

.rotator-flip > div:nth-child(2) {
  animation-delay: 3s;
}

.rotator-flip > div:nth-child(3) {
  animation-delay: 6s;
}

.rotator-flip > div > div {
  background: rgba(22, 183, 188, 0.9);
}

.rotator-flip > div:first-child > div {
  background: rgba(20, 113, 230, 0.95);
}

.rotator-flip > div:last-child > div {
  background: rgba(41, 153, 88, 0.92);
}

@keyframes rotatorDrop {
  0% {
    opacity: 0;
    transform: translate3d(-20px, -14px, 0) rotate(-18deg) scale(0.88);
  }
  8% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  28% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  40% {
    opacity: 0;
    transform: translate3d(22px, 56px, 0) rotate(14deg) scale(0.9);
  }
  100% {
    opacity: 0;
    transform: translate3d(-20px, -14px, 0) rotate(-18deg) scale(0.88);
  }
}

.lead {
  margin: 0;
  max-width: 66ch;
  color: rgba(237, 245, 255, 0.94);
  line-height: 1.56;
}

.lead:empty {
  display: none;
}

.cta {
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.trust-item {
  border-radius: 999px;
  padding: 0.35rem 0.64rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e5f2ff;
  border: 1px solid rgba(214, 236, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding-top: 1.25rem;
}

.section-head {
  margin-bottom: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.8rem 1rem;
  flex-wrap: wrap;
}

.section-head h2,
#testimonios > h2 {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.1;
  color: #f5f9ff;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0;
  color: rgba(229, 241, 255, 0.86);
  line-height: 1.5;
}

.cards {
  display: grid;
  gap: 0.9rem;
}

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

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

.card {
  border: 1px solid rgba(176, 218, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 1rem;
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-1);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 194, 255, 0.6);
  box-shadow: var(--shadow-2);
}

.card h3 {
  margin: 0 0 0.34rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.02rem;
  color: #102c56;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.quick-card {
  min-height: 122px;
}

.module-card {
  display: grid;
  gap: 0.55rem;
}

.chip {
  width: fit-content;
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(28, 103, 195, 0.22);
  color: #19579e;
  background: rgba(25, 87, 158, 0.1);
}

.chip-green {
  border-color: rgba(31, 151, 101, 0.25);
  color: #156b46;
  background: rgba(31, 151, 101, 0.14);
}

.chip-orange {
  border-color: rgba(207, 122, 38, 0.3);
  color: #8e4d14;
  background: rgba(207, 122, 38, 0.16);
}

.chip-teal {
  border-color: rgba(18, 149, 142, 0.28);
  color: #0f6c66;
  background: rgba(18, 149, 142, 0.15);
}

.price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

#planes {
  --plan-text: #a1a1aa;
  --plan-label: #f5f8ff;
  --plan-card-bg: rgba(13, 24, 44, 0.72);
  --plan-card-border: rgba(255, 255, 255, 0.14);
  --plan-card-shadow-1: rgba(0, 0, 0, 0.18);
  --plan-card-shadow-2: rgba(0, 0, 0, 0.28);
  --plan-card-hover-border: rgba(255, 255, 255, 0.24);
  --plan-card-hover-shadow-1: rgba(0, 0, 0, 0.2);
  --plan-card-hover-shadow-2: rgba(0, 0, 0, 0.34);
  --plan-shine-opacity: 0.18;
  --plan-shine-gradient: conic-gradient(
    from 205deg at 50% 50%,
    rgba(16, 185, 129, 0) 0deg,
    rgba(52, 211, 153, 0.85) 25deg,
    rgba(52, 211, 153, 0.16) 290deg,
    rgba(16, 185, 129, 0) 360deg
  );
  --plan-line-color: rgba(151, 170, 199, 0.16);
  --plan-tile-color: rgba(52, 211, 153, 0.08);
}

#plans-grid .price {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--plan-card-border);
  background: var(--plan-card-bg);
  box-shadow:
    0 3px 6px var(--plan-card-shadow-1),
    0 10px 20px var(--plan-card-shadow-2);
  transition:
    border-color 260ms var(--ease),
    box-shadow 260ms var(--ease),
    transform 260ms var(--ease),
    background-color 260ms var(--ease);
}

#plans-grid .price::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background-image:
    linear-gradient(0deg, var(--plan-line-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--plan-line-color) 1px, transparent 1px),
    radial-gradient(circle at 18% 15%, var(--plan-tile-color), transparent 48%);
  background-size: 28% 24%, 28% 24%, 100% 100%;
  background-position: 0 0, 0 0, center;
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
  transform: scale(1.04);
  pointer-events: none;
}

#plans-grid .price::after {
  content: "";
  position: absolute;
  width: 170%;
  padding-bottom: 170%;
  left: 50%;
  bottom: 52%;
  z-index: 0;
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-50%) rotate(0deg);
  background-image: var(--plan-shine-gradient);
  filter: blur(34px);
  transition: opacity 480ms var(--ease), transform 560ms var(--ease);
  pointer-events: none;
}

#plans-grid .price > * {
  position: relative;
  z-index: 1;
}

#plans-grid .price:hover {
  transform: translateY(-4px);
  border-color: var(--plan-card-hover-border);
  box-shadow:
    0 5px 10px var(--plan-card-hover-shadow-1),
    0 18px 30px var(--plan-card-hover-shadow-2);
}

#plans-grid .price:hover::before {
  opacity: 1;
  transform: scale(1);
}

#plans-grid .price:hover::after {
  opacity: var(--plan-shine-opacity);
  transform: translateX(-50%) rotate(8deg);
}

#plans-grid .price h3 {
  color: var(--plan-label);
  font-size: 1.06rem;
}

#plans-grid .price p {
  color: var(--plan-text);
}

#plans-grid .price .list {
  flex: 1;
}

#plans-grid .price .btn-wide {
  margin-top: auto;
  border: 1px solid rgba(170, 215, 255, 0.3);
  background: linear-gradient(130deg, rgba(27, 108, 224, 0.86), rgba(55, 166, 255, 0.86));
  box-shadow: none;
}

#plans-grid .price .btn-wide:hover {
  filter: brightness(1.06);
}

.price[data-plan-code="lite"] {
  border-top: 4px solid #2f7df4;
}

.price[data-plan-code="go"] {
  border-top: 4px solid #1f9f64;
}

.price[data-plan-code="pro"] {
  border-top: 4px solid #d17a26;
}

.price[data-plan-code="plus"] {
  border-top: 4px solid #0f8c9d;
}

.price-featured {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 8px 14px rgba(0, 0, 0, 0.24),
    0 22px 38px rgba(0, 0, 0, 0.34);
}

.list {
  list-style: none;
  margin: 0.78rem 0 0.98rem;
  padding: 0;
  display: grid;
  gap: 0.42rem;
}

.list li {
  position: relative;
  padding-left: 1rem;
  color: #cad3e0;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #34d399, #1b6ce0);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.82rem;
  margin-bottom: 0.86rem;
}

.stat-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(170, 214, 255, 0.34);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  padding: 0.86rem;
}

.stat-card strong {
  display: block;
  color: #153d70;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.16rem;
}

.stat-card span {
  color: #456187;
  font-size: 0.85rem;
}

.quote blockquote {
  margin: 0;
  color: #2c4d74;
  line-height: 1.56;
  font-style: italic;
}

.quote figcaption {
  margin-top: 0.62rem;
  color: #57759d;
  font-weight: 600;
}

.cta-panel {
  border: 1px solid rgba(174, 217, 255, 0.38);
  border-radius: var(--radius-xl);
  background: var(--panel-soft);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-2);
  padding: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-panel h2 {
  margin: 0 0 0.3rem;
  color: #0e2f5a;
  font-family: "Sora", "Segoe UI", sans-serif;
}

.cta-panel .section-lead {
  color: #395982;
}

.footer {
  margin-top: 1.8rem;
  border-top: 1px solid rgba(180, 220, 255, 0.34);
  background: rgba(3, 20, 47, 0.56);
  backdrop-filter: blur(10px);
  padding: 0.9rem 0;
}

.footer-inner {
  color: rgba(225, 238, 255, 0.86);
  font-size: 0.9rem;
}

.assistant-fab,
.whatsapp-fab {
  position: fixed;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  border-radius: 999px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.assistant-fab {
  bottom: 88px;
  z-index: 1205;
  border: 1px solid rgba(140, 201, 255, 0.58);
  background: linear-gradient(120deg, #0f4fa7, #2187db);
  color: #ffffff;
  padding: 0.7rem 0.92rem;
  box-shadow: 0 12px 24px rgba(10, 51, 113, 0.34);
}

.assistant-fab:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(10, 51, 113, 0.38);
}

.assistant-panel {
  position: fixed;
  right: 18px;
  bottom: 136px;
  z-index: 1210;
  width: min(396px, calc(100vw - 24px));
  height: clamp(320px, 52vh, 520px);
  max-height: min(74vh, 580px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 1px solid rgba(146, 199, 255, 0.58);
  border-radius: var(--radius-lg);
  background: rgba(9, 30, 66, 0.92);
  backdrop-filter: blur(16px);
  color: #e9f2ff;
  box-shadow: var(--shadow-2);
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(0.985);
  transform-origin: right bottom;
  pointer-events: none;
  will-change: opacity, transform;
  transition: opacity 260ms var(--ease), transform 320ms var(--ease);
}

.assistant-panel[hidden] {
  display: none !important;
}

.assistant-panel:not([hidden]) {
  display: grid;
}

.assistant-panel.is-open {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}

.assistant-panel.is-closing {
  pointer-events: none;
}

.assistant-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.72rem 0.82rem;
  border-bottom: 1px solid rgba(147, 203, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.assistant-panel-head strong {
  display: block;
  color: #f4f9ff;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.9rem;
}

.assistant-panel-head small {
  color: rgba(226, 240, 255, 0.78);
  font-size: 0.78rem;
}

.assistant-close {
  border: 1px solid rgba(162, 213, 255, 0.48);
  border-radius: 10px;
  padding: 0.34rem 0.56rem;
  background: rgba(255, 255, 255, 0.12);
  color: #eaf3ff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.assistant-messages {
  display: grid;
  align-content: start;
  gap: 0.56rem;
  padding: 0.78rem;
  overflow: auto;
}

.assistant-msg {
  max-width: 92%;
  border-radius: 12px;
  padding: 0.56rem 0.64rem;
  line-height: 1.45;
  font-size: 0.9rem;
}

.assistant-msg.user {
  justify-self: end;
  background: rgba(75, 161, 255, 0.28);
  border: 1px solid rgba(136, 205, 255, 0.46);
  color: #f5faff;
}

.assistant-msg.bot {
  justify-self: start;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(170, 215, 255, 0.28);
  color: #e5f1ff;
}

.assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.45rem;
}

.assistant-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(146, 208, 255, 0.58);
  padding: 0.28rem 0.56rem;
  color: #e9f4ff;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(49, 140, 246, 0.26);
  cursor: pointer;
}

.assistant-action-button {
  font: inherit;
}

.assistant-action-button[disabled] {
  cursor: default;
  opacity: 0.82;
}

.assistant-action-button.is-selected {
  border-color: rgba(170, 215, 255, 0.72);
  background: rgba(73, 157, 255, 0.36);
}

.assistant-form {
  display: flex;
  align-items: center;
  gap: 0.46rem;
  padding: 0.58rem 0.78rem 0.74rem;
  border-top: 1px solid rgba(145, 201, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.assistant-form input {
  width: 100%;
  border: 1px solid rgba(161, 211, 255, 0.5);
  border-radius: 10px;
  background: rgba(8, 29, 64, 0.72);
  color: #edf5ff;
  padding: 0.5rem 0.62rem;
  font: inherit;
}

.assistant-form input::placeholder {
  color: rgba(218, 235, 255, 0.66);
}

.assistant-send {
  border: 1px solid rgba(154, 211, 255, 0.58);
  border-radius: 10px;
  padding: 0.48rem 0.72rem;
  background: linear-gradient(130deg, #1a6de1, #20b1dd);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.whatsapp-fab {
  bottom: 18px;
  z-index: 1200;
  border: 1px solid #168c5f;
  background: #25d366;
  color: #ffffff;
  padding: 0.72rem 0.94rem;
  box-shadow:
    0 10px 22px rgba(20, 83, 58, 0.34),
    0 0 0 0 rgba(37, 211, 102, 0);
}

.whatsapp-fab:hover {
  background: #20c75f;
  transform: translateY(-1px);
  box-shadow:
    0 12px 24px rgba(20, 83, 58, 0.36),
    0 0 0 10px rgba(37, 211, 102, 0.15),
    0 0 0 18px rgba(37, 211, 102, 0.08);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

html:not(.js) [data-reveal] {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-inner {
    gap: 0.7rem;
  }
}

@media (max-width: 860px) {
  .container,
  .landing-main {
    width: min(1320px, calc(100% - 1.2rem));
  }

  .cards-3,
  .cards-4,
  .stats-row {
    grid-template-columns: 1fr;
  }

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

  .strip-link {
    margin-left: 0;
  }

  .hero-rotator {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .nav-link {
    display: none;
  }

  .btn,
  .btn-wide {
    width: 100%;
  }

  .assistant-fab,
  .whatsapp-fab {
    right: 12px;
    min-width: 118px;
    font-size: 0.8rem;
  }

  .assistant-fab {
    bottom: 82px;
    padding: 0.62rem 0.72rem;
  }

  .whatsapp-fab {
    bottom: 12px;
    padding: 0.64rem 0.76rem;
  }

  .assistant-panel {
    right: 8px;
    left: 8px;
    bottom: 126px;
    width: auto;
    max-height: 70vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
