@charset "utf-8";

:root {
  --blue-950: #06245a;
  --blue-900: #0d47a1;
  --blue-700: #1d5fd0;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --text: #102033;
  --muted: #5d6b82;
  --line: rgba(13, 71, 161, 0.14);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 22px 60px rgba(13, 71, 161, 0.13);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(59, 130, 246, 0.16), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(13, 71, 161, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 48%, #f4f8ff 100%);
}

body::before,
body::after,
.soft-bg {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 999px;
  filter: blur(58px);
}

body::before {
  width: 420px;
  height: 420px;
  left: -120px;
  top: 120px;
  background: rgba(59, 130, 246, 0.16);
}

body::after {
  width: 520px;
  height: 520px;
  right: -180px;
  top: 220px;
  background: rgba(13, 71, 161, 0.11);
}

.soft-bg {
  width: 520px;
  height: 520px;
  left: 32%;
  bottom: -260px;
  background: rgba(147, 197, 253, 0.24);
}

body > *:not(.soft-bg) {
  position: relative;
  z-index: 1;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.section-shell,
.navbar,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.navbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(13, 71, 161, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 50px rgba(13, 71, 161, 0.09);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-950);
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #38506e;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a:hover {
  color: var(--blue-900);
}

.nav-login,
.btn-primary,
.btn-secondary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-login,
.btn-primary {
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700) 62%, var(--blue-500));
  color: #fff;
  box-shadow: 0 16px 34px rgba(13, 71, 161, 0.24);
}

.btn-secondary {
  padding: 0 22px;
  border: 1px solid rgba(13, 71, 161, 0.18);
  background: rgba(255, 255, 255, 0.66);
  color: var(--blue-900);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
}

.nav-login:hover,
.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: 56px;
  padding: 76px 0 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 13px;
  border: 1px solid rgba(13, 71, 161, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue-900);
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.hero h1 {
  max-width: 680px;
  color: var(--blue-950);
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  margin-top: 22px;
  color: var(--blue-900);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.3;
  font-weight: 800;
}

.hero-description {
  max-width: 630px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-bullets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin-top: 28px;
}

.hero-bullets span {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.72);
  color: #243b59;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(13, 71, 161, 0.07);
  backdrop-filter: blur(12px);
}

.hero-bullets span::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--blue-700);
  box-shadow: 0 0 18px rgba(29, 95, 208, 0.36);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.screenshot-collage {
  position: relative;
  min-height: 520px;
}

.screenshot-card,
.screenshot-tile,
.feature-card,
.testimonial-grid article,
.contact-card,
.footer {
  border: 1px solid rgba(13, 71, 161, 0.12);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.screenshot-card {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
}

.screenshot-main {
  width: 86%;
  aspect-ratio: 16 / 10;
  right: 0;
  top: 52px;
  z-index: 3;
}

.screenshot-secondary {
  width: 52%;
  aspect-ratio: 16 / 10;
  z-index: 2;
}

.screenshot-secondary.top {
  left: 0;
  top: 0;
  transform: rotate(-4deg);
}

.screenshot-secondary.bottom {
  left: 8%;
  bottom: 26px;
  transform: rotate(3deg);
}

.screenshot-card img,
.screenshot-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-card.is-missing,
.screenshot-tile.is-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(239, 246, 255, 0.9)),
    repeating-linear-gradient(45deg, rgba(13, 71, 161, 0.06) 0 10px, transparent 10px 20px);
}

.screenshot-card.is-missing img,
.screenshot-tile.is-missing img {
  display: none;
}

.screenshot-card.is-missing::after,
.screenshot-tile.is-missing::after {
  content: "Agregar imagen en public/images";
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(13, 71, 161, 0.08);
  color: var(--blue-900);
  font-size: 13px;
  font-weight: 900;
}

.why-section,
.real-platform,
.testimonials,
.contact-section {
  padding: 76px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 26px;
}

.section-heading h2,
.contact-copy h2 {
  color: var(--blue-950);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.section-heading p,
.contact-copy p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 210px;
  padding: 24px;
  border-radius: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.feature-card:hover,
.testimonial-grid article:hover,
.screenshot-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 71, 161, 0.2);
  background: rgba(255, 255, 255, 0.86);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(13, 71, 161, 0.18);
}

.feature-card h3 {
  color: var(--blue-950);
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-card p,
.testimonial-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.screenshot-tile {
  overflow: hidden;
  border-radius: 26px;
  min-height: 280px;
}

.screenshot-tile img {
  aspect-ratio: 16 / 10;
}

.screenshot-tile figcaption {
  padding: 16px 18px 18px;
  color: var(--blue-950);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.78);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-grid article {
  padding: 24px;
  border-radius: 26px;
}

.avatar-dot {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
  color: #fff;
  font-weight: 900;
}

.testimonial-grid strong {
  display: block;
  margin-top: 16px;
  color: var(--blue-950);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 36px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 26px;
  border-radius: 30px;
}

.contact-card label {
  color: #29415f;
  font-size: 14px;
  font-weight: 900;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid rgba(13, 71, 161, 0.14);
  border-radius: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.contact-card textarea {
  min-height: 116px;
  padding-top: 12px;
  resize: vertical;
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

.contact-card .full {
  grid-column: 1 / -1;
}

.contact-card button {
  border: none;
  cursor: pointer;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  margin-top: 42px;
  margin-bottom: 24px;
  padding: 24px;
  border-radius: 28px;
}

.footer img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 8px;
}

.footer strong,
.footer span {
  display: block;
  color: var(--blue-950);
  font-weight: 900;
  margin-bottom: 6px;
}

.footer p {
  color: var(--muted);
  line-height: 1.55;
}

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

  .hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .screenshot-collage {
    min-height: 470px;
  }

  .feature-grid,
  .testimonial-grid,
  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .navbar {
    width: calc(100% - 24px);
    top: 10px;
    margin-top: 10px;
  }

  .brand span {
    display: none;
  }

  .nav-login {
    min-height: 42px;
    padding: 0 14px;
    font-size: 14px;
  }

  .section-shell,
  .footer {
    width: calc(100% - 24px);
  }

  .hero {
    gap: 28px;
    padding: 42px 0 52px;
  }

  .hero-bullets,
  .feature-grid,
  .testimonial-grid,
  .screenshot-grid,
  .contact-card,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .screenshot-collage {
    min-height: 390px;
  }

  .screenshot-main {
    width: 92%;
    top: 70px;
  }

  .screenshot-secondary {
    width: 58%;
  }

  .screenshot-secondary.bottom {
    bottom: 8px;
  }

  .why-section,
  .real-platform,
  .testimonials,
  .contact-section {
    padding: 56px 0;
  }

  .screenshot-tile {
    min-height: 230px;
  }
}
