:root {
  --bg: #f6f8fb;
  --fg: #102133;
  --muted: #4d5b6a;
  --muted-light: #7a8896;
  --accent: #1d74f5;
  --card: #ffffff;
  --border: #dce5ef;
  --brand-dark: #14324a;
  --brand-soft: #eaf3ff;
  --brand-mint: #ddf4ee;
  --brand-sand: #f7efe5;
  --shadow-soft: 0 24px 60px -28px rgb(20 50 74 / 22%);
}

* {
  font-family: "Plus Jakarta Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgb(29 116 245 / 5%), transparent 35%),
    linear-gradient(180deg, #f8fbff 0%, #f6f8fb 100%);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.7s ease-out forwards;
}

.animate-float {
  animation: float 4.5s ease-in-out infinite;
}

.animate-slide-in {
  animation: slideIn 0.5s ease-out forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.delay-100 {
  animation-delay: 0.1s;
  transition-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
  transition-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
  transition-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
  transition-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
  transition-delay: 0.5s;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #eef3f8;
}

::-webkit-scrollbar-thumb {
  background: #b7c6d8;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #8ea6bf;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero-bg {
  background:
    radial-gradient(circle at 16% 22%, rgb(29 116 245 / 14%), transparent 34%),
    radial-gradient(circle at 82% 16%, rgb(17 182 122 / 10%), transparent 26%),
    linear-gradient(180deg, #eef5ff 0%, #f8fbff 55%, #fff 100%);
}

.mesh-bg {
  position: relative;
}

.mesh-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(20 50 74 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(20 50 74 / 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 92%);
  pointer-events: none;
}

.glass-panel {
  background: rgb(255 255 255 / 72%);
  border: 1px solid rgb(255 255 255 / 75%);
  box-shadow: 0 18px 40px -28px rgb(20 50 74 / 35%);
  backdrop-filter: blur(12px);
}

.section-shell {
  background:
    radial-gradient(circle at top right, rgb(29 116 245 / 0.08), transparent 24%),
    linear-gradient(180deg, #fff 0%, #fcfdff 100%);
  border: 1px solid #e4ebf3;
  box-shadow: var(--shadow-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: #eef6ff;
  color: #1d74f5;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.icon-badge {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 30px -22px rgb(20 50 74 / 26%);
}

.device-frame {
  border-radius: 2rem;
  padding: 0.7rem;
  background:
    linear-gradient(160deg, rgb(255 255 255 / 95%), rgb(237 244 253 / 95%));
  border: 1px solid rgb(255 255 255 / 90%);
  box-shadow:
    0 34px 90px -44px rgb(20 50 74 / 55%),
    inset 0 1px 0 rgb(255 255 255 / 85%);
  overflow: hidden;
}

.mini-screen {
  background:
    linear-gradient(180deg, #fdfefe 0%, #f5f8fc 100%);
  border: 1px solid #e3ebf4;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 85%);
}

.metric-tile {
  background: #fff;
  border: 1px solid #e3ebf4;
  box-shadow: 0 18px 35px -26px rgb(20 50 74 / 25%);
}

.floating-chip {
  position: absolute;
  max-width: 260px;
  border: 1px solid #edf2f7;
  animation: drift 5s ease-in-out infinite;
  z-index: 30;
  box-shadow: 0 12px 32px -14px rgb(20 50 74 / 22%);
}

.floating-chip-top {
  top: -5.25rem;
  left: -2rem;
}

.floating-chip-bottom {
  right: -1.5rem;
  bottom: -5rem;
  animation-delay: 1.2s;
  animation-duration: 6s;
}

.spotlight-card,
.module-card,
.role-card,
.benefit-card,
.compliance-card,
.faq-item,
.proposal-step,
.process-card,
.comparison-shell,
.mobile-list-item,
.summary-row {
  transition: all 0.3s ease;
}

.spotlight-card,
.module-card,
.benefit-card,
.compliance-card,
.faq-item,
.comparison-shell {
  border: 1px solid #e4ebf3;
  box-shadow: 0 24px 45px -35px rgb(20 50 74 / 20%);
}

.compliance-card {
  background: #fff;
  border-radius: 1.8rem;
  padding: 1.75rem;
}

.spotlight-card:hover,
.module-card:hover,
.benefit-card:hover,
.compliance-card:hover,
.faq-item:hover,
.comparison-shell:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -30px rgb(20 50 74 / 24%);
}

.module-card {
  background: #fff;
  border-radius: 1.8rem;
  padding: 1.7rem;
}

.role-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 1.25rem;
  border-radius: 1.5rem;
  border: 1px solid #e4ebf3;
  background: #fff;
  box-shadow: 0 18px 36px -30px rgb(20 50 74 / 16%);
}

.role-card:hover {
  transform: translateX(4px);
}

.process-card {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-radius: 2rem;
  border: 1px solid #e4ebf3;
  box-shadow: var(--shadow-soft);
}

.process-line {
  position: relative;
}

.process-line::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: 16px;
  bottom: 0.65rem;
  width: 2px;
  background: linear-gradient(180deg, rgb(29 116 245 / 0.28), rgb(17 182 122 / 0.18));
}

.process-step,
.proposal-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.process-number {
  position: relative;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #1d74f5, #145fcf);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 12px 24px -16px rgb(29 116 245 / 80%);
}

.compliance-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1d74f5;
  font-weight: 700;
  text-decoration: none;
}

.compliance-link::after {
  content: "->";
  font-size: 0.85rem;
}

.mobile-card {
  background: linear-gradient(180deg, #1b2f44 0%, #102133 100%);
  border-radius: 2.6rem;
  padding: 0.75rem;
  box-shadow: 0 35px 90px -45px rgb(16 33 51 / 70%);
}

.mobile-card-top {
  display: flex;
  justify-content: center;
  padding: 0.55rem 0 0.85rem;
}

.mobile-card-top span {
  width: 6rem;
  height: 0.4rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 30%);
}

.mobile-card-body {
  background: linear-gradient(180deg, #fbfdff 0%, #f3f7fc 100%);
  border-radius: 2rem;
  padding: 1.1rem;
}

.mobile-list-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
  border-radius: 1.4rem;
  background: #fff;
  border: 1px solid #e4ebf3;
  padding: 0.95rem;
  box-shadow: 0 16px 30px -26px rgb(20 50 74 / 20%);
}

.benefit-card {
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid #e4ebf3;
  padding: 1.25rem;
  box-shadow: 0 18px 34px -26px rgb(20 50 74 / 14%);
}

.summary-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.summary-dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  margin-top: 0.3rem;
  box-shadow: 0 0 0 6px rgb(20 50 74 / 0.04);
}

.list-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #1d74f5, #145fcf);
  box-shadow: 0 0 0 6px rgb(29 116 245 / 0.08);
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.proposal-step {
  padding-bottom: 0.2rem;
}

.comparison-shell {
  background:
    linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  border: 1px solid #e4ebf3;
  box-shadow: var(--shadow-soft);
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid #e5edf5;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.faq-item {
  background: #fff;
  border-radius: 1.6rem;
  overflow: hidden;
}

.accordion-content,
.faq-accordion-content,
.category-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.accordion-content.open {
  max-height: 500px;
}

.faq-accordion-content.open {
  max-height: 1000px;
}

.category-content.open {
  max-height: 2000px;
}

.logo-track {
  display: flex;
  animation: scroll 30s linear infinite;
}

.logo-track:hover {
  animation-play-state: paused;
}

.feature-card {
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgb(0 0 0 / 10%);
}

.pricing-card {
  transition: all 0.35s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px -28px rgb(20 50 74 / 22%);
}

.pricing-card.featured {
  transform: scale(1.01);
}

.pricing-card.featured:hover {
  transform: scale(1.01) translateY(-8px);
}

.testimonial-card {
  transition: all 0.35s ease;
}

.testimonial-card:hover {
  transform: scale(1.02);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 24%), transparent);
  transition: left 0.55s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.mockup-shadow {
  box-shadow:
    0 25px 50px -12px rgb(0 0 0 / 15%),
    0 0 0 1px rgb(0 0 0 / 5%);
}

.toggle-container {
  background: #eef2f6;
  padding: 4px;
  border-radius: 9999px;
}

.toggle-btn {
  transition: all 0.3s ease;
}

.toggle-btn.active {
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%);
}

.tab-indicator {
  transition: all 0.3s ease;
}

.star-filled {
  color: #f5b942;
}

.topo-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 10c-22.091 0-40 17.909-40 40s17.909 40 40 40 40-17.909 40-40-17.909-40-40-40zm0 70c-16.569 0-30-13.431-30-30s13.431-30 30-30 30 13.431 30 30-13.431 30-30 30z' fill='none' stroke='%2314324A' stroke-width='0.5' opacity='0.05'/%3E%3Cpath d='M50 25c-13.807 0-25 11.193-25 25s11.193 25 25 25 25-11.193 25-25-11.193-25-25-25zm0 40c-8.284 0-15-6.716-15-15s6.716-15 15-15 15 6.716 15 15-6.716 15-15 15z' fill='none' stroke='%2314324A' stroke-width='0.5' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 100px 100px;
}

.form-input {
  border: 1px solid #dfe7ef;
  padding: 12px 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #1d74f5;
  box-shadow: 0 0 0 3px rgb(29 116 245 / 10%);
}

.step-card {
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #4caf50;
  border-radius: 0 0 16px 16px;
}

.quick-link {
  transition: all 0.3s ease;
}

.quick-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px -10px rgb(76 175 80 / 30%);
}

.partner-pattern-bg {
  background-image: radial-gradient(circle at 1px 1px, rgb(76 175 80 / 5%) 1px, transparent 0);
  background-size: 32px 32px;
}

.legal-sheet {
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  border: 1px solid #e4ebf3;
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.legal-sheet h2 {
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 800;
  color: #102133;
  margin: 0 0 0.85rem;
}

.legal-sheet h2:not(:first-child) {
  margin-top: 2rem;
}

.legal-sheet p {
  color: #4d5b6a;
  line-height: 1.8;
  margin: 0.75rem 0;
}

.legal-sheet a {
  color: #1d74f5;
  font-weight: 700;
  text-decoration: none;
}

.legal-sheet a:hover {
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-radius: 1.5rem;
  border: 1px solid #dbe5ef;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 24px 60px -30px rgb(16 33 51 / 35%);
  backdrop-filter: blur(14px);
}

.cookie-banner-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #102133;
  margin: 0 0 0.35rem;
}

.cookie-banner-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #4d5b6a;
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.cookie-btn-primary {
  background: #1d74f5;
  color: #fff;
}

.cookie-btn-primary:hover {
  background: #135fcb;
}

.cookie-btn-secondary {
  background: #fff;
  color: #102133;
  border-color: #dbe5ef;
}

.cookie-btn-secondary:hover {
  border-color: #1d74f5;
  color: #1d74f5;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 65;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.whatsapp-float-badge {
  background: #102133;
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 18px 40px -25px rgb(16 33 51 / 60%);
}

.whatsapp-float-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #28d266 0%, #16b85d 100%);
  color: #fff;
  box-shadow: 0 24px 55px -22px rgb(22 184 93 / 65%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover .whatsapp-float-icon {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 26px 60px -22px rgb(22 184 93 / 72%);
}

.screenshot-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.screenshot-frame {
  border-radius: 1.4rem;
  overflow: hidden;
  border: 1px solid #dde6f0;
  box-shadow:
    0 28px 60px -30px rgb(20 50 74 / 28%),
    0 0 0 1px rgb(255 255 255 / 60%) inset;
  background: #f0f5fb;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.screenshot-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 36px 70px -30px rgb(20 50 74 / 32%),
    0 0 0 1px rgb(255 255 255 / 60%) inset;
}

.screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.3rem;
}

.screenshot-caption {
  padding: 0 0.25rem;
}

.screenshot-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1d74f5;
  background: #eef6ff;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

@media (max-width: 1024px) {
  .floating-chip-top,
  .floating-chip-bottom {
    position: static;
    margin-top: 1rem;
    max-width: none;
  }
}

@media (max-width: 767px) {
  .process-line::before {
    left: 15px;
  }

  .module-card,
  .spotlight-card,
  .compliance-card {
    border-radius: 1.5rem;
  }

  .device-frame {
    padding: 0.7rem;
    border-radius: 2rem;
  }

  .legal-sheet {
    padding: 1.4rem;
    border-radius: 1.5rem;
  }

  .cookie-banner {
    bottom: 5.5rem;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .whatsapp-float {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .whatsapp-float-badge {
    display: none;
  }
}
