:root {
  --ink: #07111f;
  --ocean: #0f5fff;
  --cyan: #16c7e8;
  --muted: #64748b;
  --line: #e2e8f0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  overflow-x: hidden;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

.hero-bg {
  background:
    radial-gradient(circle at 78% 12%, rgba(22, 199, 232, 0.26), transparent 30%),
    radial-gradient(circle at 12% 28%, rgba(15, 95, 255, 0.3), transparent 34%),
    linear-gradient(135deg, #07111f 0%, #082455 54%, #06101f 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
  pointer-events: none;
}

.nav-link {
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.625rem 0.75rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.header-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.header-scrolled .nav-link {
  color: #334155;
}

.header-scrolled .nav-link:hover,
.header-scrolled .nav-link.active {
  background: #eef7ff;
  color: var(--ocean);
}

.header-scrolled .nav-brand {
  color: var(--ink);
}

.header-scrolled .nav-tagline {
  color: var(--muted);
}

.header-scrolled #menu-toggle {
  border-color: #cbd5e1;
  color: var(--ink);
}

.mobile-menu {
  transform-origin: top;
  animation: menuDrop 0.22s ease both;
}

.mobile-link {
  display: block;
  border-radius: 0.65rem;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.8rem 1rem;
}

.mobile-link:hover,
.mobile-link.active {
  background: #eef7ff;
  color: var(--ocean);
}

.hero-badge {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #d8f8ff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.45rem 0.75rem;
  backdrop-filter: blur(10px);
}

.section-pad {
  padding-block: 5.5rem;
}

.section-kicker {
  color: var(--ocean);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  margin-top: 0.55rem;
}

.dashboard-card,
.floating-card,
.product-card,
.benefit-card,
.step-card,
.value-card,
.faq-item {
  border-radius: 1rem;
}

.metric-tile {
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  background: #fff;
  padding: 1rem;
}

.metric-tile span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.65rem;
  background: #eef7ff;
  color: var(--ocean);
  font-weight: 900;
}

.metric-tile strong {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
  margin-top: 0.7rem;
}

.metric-tile small {
  color: var(--muted);
  font-weight: 700;
}

.chart-bars {
  align-items: end;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.55rem;
  height: 130px;
}

.chart-bars span {
  border-radius: 999px 999px 0.35rem 0.35rem;
  background: linear-gradient(180deg, var(--cyan), var(--ocean));
  min-height: 2.2rem;
}

.stock-line {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 0.65rem;
}

.stock-line:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.stock-line span {
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 700;
}

.stock-line strong {
  color: #fff;
  font-weight: 900;
}

.trust-item {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  color: var(--ink);
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  font-weight: 800;
}

.trust-item svg,
.benefit-card svg,
.value-card svg {
  color: var(--ocean);
  height: 1.3rem;
  width: 1.3rem;
  flex: 0 0 auto;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(8, 20, 40, 0.09);
  min-height: 100%;
  padding: 1.5rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  border-color: rgba(15, 95, 255, 0.36);
  box-shadow: 0 24px 70px rgba(8, 20, 40, 0.14);
  transform: translateY(-6px);
}

.product-card.featured {
  background: linear-gradient(145deg, #07111f 0%, #0b3474 62%, #0b1a32 100%);
  border-color: rgba(22, 199, 232, 0.44);
  box-shadow: 0 26px 80px rgba(15, 95, 255, 0.25);
}

.product-icon {
  display: grid;
  height: 3rem;
  width: 3rem;
  place-items: center;
  border-radius: 0.85rem;
}

.product-icon svg {
  height: 1.45rem;
  width: 1.45rem;
}

.feature-list {
  display: grid;
  gap: 0.7rem;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 650;
}

.feature-list li {
  display: flex;
  gap: 0.65rem;
  line-height: 1.45;
}

.feature-list li::before {
  content: "✓";
  color: #059669;
  font-weight: 900;
}

.feature-list.light {
  color: #dbeafe;
}

.feature-list.light li::before {
  color: var(--cyan);
}

.btn-outline {
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 0.65rem;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 900;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  width: 100%;
}

.btn-outline:hover {
  background: #eef7ff;
  border-color: var(--ocean);
  color: var(--ocean);
  transform: translateY(-2px);
}

.billing-option {
  border-radius: 0.65rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 900;
  padding: 0.75rem 1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.billing-option.active {
  background: #fff;
  color: var(--ink);
}

tbody td {
  color: #475569;
  font-weight: 650;
  padding: 1rem 1.25rem;
}

tbody td:first-child {
  color: var(--ink);
  font-weight: 900;
}

.check {
  color: #059669;
  font-weight: 900;
}

.dash {
  color: #94a3b8;
}

.benefit-card,
.step-card,
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 45px rgba(8, 20, 40, 0.07);
  padding: 1.35rem;
}

.benefit-card h3,
.step-card h3 {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
  margin-top: 1rem;
}

.benefit-card p,
.step-card p {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 0.45rem;
}

.sector-pill {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #f8fafc;
  color: var(--ink);
  display: flex;
  font-size: 0.9rem;
  font-weight: 850;
  justify-content: center;
  min-height: 4rem;
  padding: 1rem;
  text-align: center;
}

.stat-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 1.3rem;
}

.stat-card strong {
  display: block;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 950;
}

.stat-card span {
  color: #cbd5e1;
  display: block;
  margin-top: 0.35rem;
}

.step-card span {
  color: rgba(15, 95, 255, 0.18);
  font-size: 3rem;
  font-weight: 950;
  line-height: 1;
}

.value-card {
  align-items: center;
  display: flex;
  gap: 0.9rem;
}

.value-card span {
  color: var(--ink);
  font-weight: 900;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.faq-question {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-weight: 900;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  text-align: left;
  width: 100%;
}

.faq-question svg {
  color: var(--ocean);
  flex: 0 0 auto;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  color: #64748b;
  display: grid;
  grid-template-rows: 0fr;
  line-height: 1.65;
  transition: grid-template-rows 0.28s ease;
}

.faq-answer p {
  overflow: hidden;
  padding-inline: 1.25rem;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
  padding-bottom: 1.2rem;
}

.form-field label {
  color: var(--ink);
  display: block;
  font-size: 0.9rem;
  font-weight: 850;
  margin-bottom: 0.45rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  color: var(--ink);
  outline: none;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 4px rgba(15, 95, 255, 0.13);
}

.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea {
  border-color: #ef4444;
}

.error-message {
  color: #dc2626;
  display: block;
  font-size: 0.78rem;
  font-weight: 750;
  min-height: 1.1rem;
  padding-top: 0.25rem;
}

#contact-cards article {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  display: flex;
  gap: 0.9rem;
  padding: 1rem;
}

#contact-cards i,
#contact-cards svg {
  color: var(--ocean);
}

.footer-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

footer a {
  color: #cbd5e1;
  display: block;
  font-size: 0.9rem;
  margin-top: 0.65rem;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #fff;
}

.social-link {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.65rem;
  display: inline-flex;
  height: 2.35rem;
  justify-content: center;
  margin-top: 0;
  width: 2.35rem;
}

.whatsapp-float,
.back-to-top {
  align-items: center;
  border-radius: 999px;
  bottom: 1.2rem;
  box-shadow: 0 18px 45px rgba(8, 20, 40, 0.2);
  display: flex;
  justify-content: center;
  position: fixed;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 60;
}

.whatsapp-float {
  background: #25d366;
  color: #fff;
  font-size: 1.8rem;
  height: 3.5rem;
  right: 1.2rem;
  width: 3.5rem;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
}

.whatsapp-tooltip {
  background: var(--ink);
  border-radius: 0.65rem;
  bottom: calc(100% + 0.75rem);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0;
  padding: 0.55rem 0.8rem;
  pointer-events: none;
  position: absolute;
  right: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-tooltip,
.whatsapp-float:focus .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  height: 2.85rem;
  opacity: 0;
  right: 5.2rem;
  visibility: hidden;
  width: 2.85rem;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  color: var(--ocean);
  transform: translateY(-3px);
}

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

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

.float-soft {
  animation: floatSoft 6s ease-in-out infinite;
}

.float-delay {
  animation: floatSoft 6.5s ease-in-out 0.8s infinite;
}

.float-slow {
  animation: floatSoft 7.5s ease-in-out 0.4s infinite;
}

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

@keyframes menuDrop {
  from {
    opacity: 0;
    transform: scaleY(0.96) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: scaleY(1) translateY(0);
  }
}

@media (max-width: 640px) {
  .section-pad {
    padding-block: 4rem;
  }

  .dashboard-card,
  .floating-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    max-width: 100%;
    width: 100%;
  }

  .floating-card {
    margin-top: 1rem;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
