* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;

  background: #f6f8fb;

  color: #172033;

  line-height: 1.6;
}

a {
  text-decoration: none;

  color: inherit;
}

button {
  font-family: inherit;
}

:root {
  --primary: #1769e0;

  --primary-dark: #0e4fad;

  --green: #18a66a;

  --dark: #172033;

  --gray: #687386;

  --light: #f6f8fb;

  --white: #ffffff;

  --border: #e5eaf1;

  --shadow: 0 20px 50px rgba(23, 32, 51, 0.08);
}

.header {
  position: sticky;

  top: 0;

  z-index: 100;

  background: rgba(255, 255, 255, 0.92);

  backdrop-filter: blur(15px);

  border-bottom: 1px solid var(--border);
}

.header-container {
  width: min(1450px, 92%);

  margin: auto;

  height: 78px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 40px;
}

.logo {
  display: flex;

  align-items: center;

  gap: 10px;

  font-size: 22px;

  font-weight: 800;

  white-space: nowrap;
}

.logo > span:last-child > span {
  color: var(--primary);
}

.nav {
  display: flex;

  align-items: center;

  gap: 35px;

  margin-left: auto;
}

.nav a {
  color: var(--gray);

  font-size: 14px;

  font-weight: 600;

  transition: 0.25s;
}

.nav a:hover {
  color: var(--primary);
}

.header-button {
  background: var(--dark);

  color: white;

  padding: 11px 20px;

  border-radius: 4px;

  font-size: 14px;

  font-weight: 700;

  transition: 0.75s;
}

.header-button:hover {
  background: var(--primary);

  transform: translateY(-2px);
}

.menu-button {
  display: none;

  border: none;

  background: transparent;

  font-size: 28px;

  cursor: pointer;
}

.hero {
  min-height: 700px;

  display: flex;

  align-items: center;

  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(23, 105, 224, 0.1),
      transparent 35%
    ),
    linear-gradient(180deg, #ffffff, #f6f8fb);
}

.hero-container {
  width: min(1450px, 92%);

  margin: auto;

  display: grid;

  grid-template-columns:
    1.05fr
    0.95fr;

  align-items: center;

  gap: 80px;

  padding: 80px 0;
}

.hero-tag {
  display: inline-block;

  margin-bottom: 20px;

  color: var(--primary);

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 1.5px;
}

.hero h1 {
  max-width: 760px;

  font-size: clamp(45px, 5vw, 76px);

  line-height: 1.05;

  letter-spacing: -3px;

  margin-bottom: 25px;
}

.hero h1 span {
  display: block;

  color: var(--primary);
}

.hero-content > p {
  max-width: 650px;

  color: var(--gray);

  font-size: 18px;

  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;

  align-items: center;

  gap: 14px;

  margin-bottom: 45px;
}

.primary-button,
.secondary-button {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 15px;

  padding: 15px 22px;

  border-radius: 10px;

  font-weight: 700;

  font-size: 14px;

  transition: 0.25s;
}

.primary-button {
  background: var(--primary);

  color: white;

  box-shadow: 0 10px 25px rgba(23, 105, 224, 0.22);
}

.primary-button:hover {
  background: var(--primary-dark);

  transform: translateY(-3px);
}

.secondary-button {
  border: 1px solid var(--border);

  background: white;

  color: var(--dark);
}

.secondary-button:hover {
  border-color: var(--primary);

  color: var(--primary);

  transform: translateY(-3px);
}

.hero-stats {
  display: flex;

  gap: 45px;
}

.hero-stats div {
  display: flex;

  flex-direction: column;
}

.hero-stats strong {
  font-size: 20px;
}

.hero-stats span {
  color: var(--gray);

  font-size: 12px;
}

.hero-visual {
  min-height: 500px;

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;
}

.dashboard-card {
  width: min(480px, 90%);

  padding: 30px;

  border-radius: 22px;

  background: white;

  box-shadow: var(--shadow);

  border: 1px solid var(--border);

  transform: rotate(1deg);

  position: relative;

  z-index: 2;
}

.dashboard-top {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 40px;
}

.dashboard-top span {
  color: var(--gray);

  font-size: 12px;
}

.dashboard-top h3 {
  font-size: 18px;

  margin-top: 3px;
}

.dashboard-icon {
  width: 42px;

  height: 42px;

  display: flex !important;

  align-items: center;

  justify-content: center;

  background: #edf4ff;

  color: var(--primary) !important;

  border-radius: 12px;

  font-size: 20px !important;
}

.balance {
  display: flex;

  flex-direction: column;

  margin-bottom: 30px;
}

.balance span {
  color: var(--gray);

  font-size: 13px;
}

.balance strong {
  font-size: 36px;

  margin-top: 5px;
}

.mini-chart {
  height: 180px;

  border-bottom: 1px solid var(--border);

  margin-bottom: 20px;

  display: flex;

  align-items: end;
}

.chart-bars {
  width: 100%;

  height: 100%;

  display: flex;

  align-items: end;

  justify-content: space-around;

  gap: 10px;

  padding: 15px 5px 0;
}

.chart-bars span {
  width: 11%;

  min-height: 15px;

  border-radius: 7px 7px 0 0;

  background: linear-gradient(to top, var(--primary), #65a1ff);

  animation: chartAnimation 1s ease;
}

@keyframes chartAnimation {
  from {
    height: 0 !important;
  }
}

.dashboard-footer {
  display: flex;

  justify-content: space-between;

  gap: 20px;
}

.dashboard-footer div {
  display: flex;

  flex-direction: column;
}

.dashboard-footer span {
  color: var(--gray);

  font-size: 12px;
}

.dashboard-footer strong {
  font-size: 14px;

  margin-top: 4px;
}

.dashboard-footer div:first-child strong {
  color: var(--green);
}

.floating-card {
  position: absolute;

  right: 0;

  bottom: 55px;

  z-index: 3;

  display: flex;

  align-items: center;

  gap: 12px;

  padding: 15px 20px;

  background: white;

  border-radius: 13px;

  box-shadow: var(--shadow);

  border: 1px solid var(--border);

  animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.floating-icon {
  width: 38px;

  height: 38px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 10px;

  background: #eaf8f1;
}

.floating-card div {
  display: flex;

  flex-direction: column;
}

.floating-card strong {
  font-size: 13px;
}

.floating-card span {
  color: var(--gray);

  font-size: 11px;
}

.modules,
.tools,
.about {
  width: min(1450px, 92%);

  margin: auto;

  padding: 110px 0;
}

.section-header {
  max-width: 750px;

  margin-bottom: 50px;
}

.section-tag {
  color: var(--primary);

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 1.5px;
}

.section-header h2,
.about h2 {
  font-size: clamp(34px, 4vw, 52px);

  line-height: 1.1;

  letter-spacing: -1.5px;

  margin: 14px 0;
}

.section-header h2 span,
.about h2 span {
  color: var(--primary);
}

.section-header p {
  color: var(--gray);

  font-size: 16px;
}

.modules-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}

.module-card {
  position: relative;

  background: white;

  border: 1px solid var(--border);

  border-radius: 18px;

  padding: 32px;

  min-height: 490px;

  display: flex;

  flex-direction: column;

  box-shadow: 0 10px 35px rgba(23, 32, 51, 0.04);

  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.module-card:hover {
  transform: translateY(-7px);

  box-shadow: var(--shadow);
}

.module-card.featured {
  background: linear-gradient(145deg, #1769e0, #0e4fad);

  color: white;

  border: none;
}

.module-icon {
  width: 55px;

  height: 55px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #eef4ff;

  border-radius: 15px;

  font-size: 25px;

  margin-bottom: 30px;
}

.featured .module-icon {
  background: rgba(255, 255, 255, 0.15);
}

.module-number {
  position: absolute;

  right: 30px;

  top: 35px;

  color: #b8c1d0;

  font-size: 13px;

  font-weight: 800;
}

.featured .module-number {
  color: rgba(255, 255, 255, 0.55);
}

.module-card h3 {
  font-size: 25px;

  line-height: 1.2;

  margin-bottom: 15px;
}

.module-card p {
  color: var(--gray);

  font-size: 14px;

  margin-bottom: 25px;
}

.featured p {
  color: rgba(255, 255, 255, 0.75);
}

.module-card ul {
  list-style: none;

  display: flex;

  flex-direction: column;

  gap: 9px;

  margin-bottom: 30px;
}

.module-card li {
  color: var(--gray);

  font-size: 13px;
}

.featured li {
  color: rgba(255, 255, 255, 0.85);
}

.module-button {
  margin-top: auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  width: 100%;

  padding: 13px 16px;

  border-radius: 9px;

  border: none;

  background: var(--dark);

  color: white;

  font-size: 13px;

  font-weight: 700;

  cursor: pointer;

  transition: 0.25s;
}

.module-button:hover {
  background: var(--primary);
}

.featured .module-button {
  background: white;

  color: var(--primary);
}

.featured .module-button:hover {
  background: #edf4ff;
}

.module-button.disabled {
  background: #f0f2f5;

  color: #9aa3b1;

  cursor: default;
}

.tools {
  border-top: 1px solid var(--border);
}

.tools-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 15px;
}

.tool-card {
  display: flex;

  align-items: center;

  gap: 18px;

  padding: 22px;

  background: white;

  border: 1px solid var(--border);

  border-radius: 14px;

  transition: 0.25s;
}

.tool-card:hover {
  transform: translateY(-3px);

  box-shadow: 0 10px 25px rgba(23, 32, 51, 0.06);
}

.tool-card > span {
  width: 48px;

  height: 48px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #f0f4fa;

  border-radius: 12px;

  font-size: 21px;
}

.tool-card div {
  flex: 1;
}

.tool-card h3 {
  font-size: 15px;

  margin-bottom: 3px;
}

.tool-card p {
  color: var(--gray);

  font-size: 12px;
}

.tool-card small {
  color: #9aa3b1;

  font-size: 11px;

  font-weight: 700;
}

.about {
  border-top: 1px solid var(--border);
}

.about-container {
  display: grid;

  grid-template-columns:
    1.2fr
    0.8fr;

  gap: 100px;

  align-items: center;
}

.about-content {
  max-width: 750px;
}

.about-content p {
  color: var(--gray);

  font-size: 16px;

  margin-top: 15px;

  max-width: 650px;
}

.about-highlight {
  background: white;

  border: 1px solid var(--border);

  border-radius: 20px;

  padding: 40px;

  box-shadow: var(--shadow);
}

.about-highlight > span {
  font-size: 35px;

  display: block;

  margin-bottom: 20px;
}

.about-highlight strong {
  display: block;

  font-size: 22px;

  margin-bottom: 10px;
}

.about-highlight p {
  color: var(--gray);

  font-size: 14px;
}

.footer {
  background: var(--dark);

  color: white;
}

.footer-container {
  width: min(1450px, 92%);

  margin: auto;

  min-height: 110px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 25px;
}

.footer .logo {
  color: white;
}

.footer p {
  color: rgba(255, 255, 255, 0.6);

  font-size: 12px;
}

.copyright {
  color: rgba(255, 255, 255, 0.45);

  font-size: 11px;
}

@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;

    text-align: center;

    gap: 40px;
  }

  .hero-content > p {
    margin-left: auto;

    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    min-height: 430px;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: auto;
  }

  .about-container {
    grid-template-columns: 1fr;

    gap: 40px;
  }
}

@media (max-width: 800px) {
  .header-button {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .nav {
    position: absolute;

    top: 78px;

    left: 0;

    width: 100%;

    background: white;

    border-bottom: 1px solid var(--border);

    padding: 20px;

    display: none;

    flex-direction: column;

    align-items: flex-start;

    gap: 18px;
  }

  .nav.active {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-container {
    padding: 65px 0;
  }

  .hero h1 {
    letter-spacing: -2px;

    font-size: 46px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;

    max-width: 350px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    padding: 30px 0;

    flex-direction: column;

    text-align: center;
  }
}

@media (max-width: 500px) {
  .hero h1 {
    font-size: 38px;
  }

  .hero-content > p {
    font-size: 16px;
  }

  .hero-stats {
    gap: 25px;
  }

  .dashboard-card {
    padding: 22px;
  }

  .balance strong {
    font-size: 29px;
  }

  .floating-card {
    right: 0;

    bottom: 15px;

    padding: 11px 14px;
  }

  .modules,
  .tools,
  .about {
    padding: 75px 0;
  }

  .section-header h2,
  .about h2 {
    font-size: 34px;
  }

  .module-card {
    padding: 25px;
  }
}

.module-card,
.tool-card,
.about-highlight {
  opacity: 0;

  transform: translateY(20px);

  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.module-card.mostrar,
.tool-card.mostrar,
.about-highlight.mostrar {
  opacity: 1;

  transform: translateY(0);
}
