/* Production fintech polish shared across Credidata Cloud portal */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700&display=swap');

:root {
  --prod-bg: #030712;
  --prod-ink: #071126;
  --prod-muted: #667085;
  --prod-blue: #2f7cff;
  --prod-cyan: #24d8c4;
  --prod-violet: #7c3aed;
  --prod-line: rgba(15, 23, 42, 0.1);
}

.navbar {
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.logo {
  letter-spacing: 0;
}

/* Misma marca que admin login (auth_credidata_login_styles): icono + CrediData + Cloud en degradado */
.credidata-navbar-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.credidata-navbar-logo:hover {
  text-decoration: none;
}

.login-card .logo-wrap .credidata-navbar-logo {
  justify-content: center;
  width: 100%;
}

.credidata-nav-logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.12);
  color: #22d3ee;
}

.credidata-nav-logo-icon svg {
  display: block;
}

.credidata-nav-brand {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.credidata-navbar-logo .credidata-nav-brand .cloud {
  margin-left: 0.12em;
  background: linear-gradient(90deg, #22d3ee, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  color: transparent;
}

.nav-links {
  gap: clamp(1rem, 1.65vw, 1.8rem);
}

.nav-links a {
  font-weight: 700;
}

.nav-links .btn-primary,
.nav-links .btn-cta-premium {
  min-height: 2.75rem;
  padding-inline: 1.2rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--prod-violet), var(--prod-blue) 55%, var(--prod-cyan));
  box-shadow: 0 18px 42px rgba(47, 124, 255, 0.24);
}

.footer {
  background:
    radial-gradient(circle at 85% 20%, rgba(47, 124, 255, 0.13), transparent 28rem),
    #020817;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.65rem 0 1.35rem;
}

.footer > .footer-inner.container {
  margin-inline: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 4vw, 3.25rem);
  row-gap: 1.35rem;
  align-items: start;
  justify-items: start;
  width: 100%;
}

.footer-inner > div {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  min-width: 0;
  width: 100%;
}

.footer h4 {
  margin: 0 0 0.55rem;
  padding-bottom: 0.42rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.95);
  position: relative;
}

.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1.65rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #22d3ee, #60a5fa);
  opacity: 0.85;
}

.footer a,
.footer span {
  margin-bottom: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(226, 236, 249, 0.74);
}

.footer a:hover {
  color: #ffffff;
}

.footer-bottom.container {
  margin-top: 1.65rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.82rem;
}

.footer-legal {
  margin: 0;
  letter-spacing: 0.01em;
}

@media (max-width: 720px) {
  .footer > .footer-inner.container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.25rem, 5vw, 2rem);
    row-gap: 1.5rem;
  }
}

@media (max-width: 420px) {
  .footer > .footer-inner.container {
    grid-template-columns: 1fr;
  }
}

.footer span:empty,
.contact-side-card p:empty {
  display: none;
}

.subpage-modern .inner-hero {
  background:
    radial-gradient(circle at 78% 12%, rgba(47, 124, 255, 0.26), transparent 30rem),
    radial-gradient(circle at 16% 42%, rgba(124, 58, 237, 0.22), transparent 28rem),
    linear-gradient(135deg, #020817, #071326);
}

.subpage-modern .inner-kicker {
  color: #aefced;
  letter-spacing: 0.08em;
}

.subpage-modern .inner-hero h1 {
  max-width: 840px;
  font-weight: 800;
  letter-spacing: 0;
}

.subpage-modern .inner-hero p {
  max-width: 720px;
  color: rgba(226, 236, 249, 0.78);
}

.page-pricing-modern .inner-hero-pricing h1 {
  max-width: 780px;
}

.page-pricing-modern .pricing-hero-card,
.page-pricing-modern .pricing-modern-card {
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 86% 8%, rgba(36, 216, 196, 0.18), transparent 18rem),
    linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(5, 11, 27, 0.96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.page-pricing-modern .pricing-modern-card {
  position: relative;
  overflow: hidden;
}

.page-pricing-modern .pricing-modern-card::before {
  content: 'Plan recomendado';
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.46rem 0.72rem;
  border-radius: 999px;
  color: #06221e;
  font-size: 0.75rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--prod-cyan), #64f0a6);
}

.page-pricing-modern .pricing-modern-head h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.page-pricing-modern .pricing-modern-head p {
  max-width: 620px;
}

.page-pricing-modern .pricing-modern-price {
  margin: 2rem 0;
}

.page-pricing-modern .pricing-modern-price strong,
.page-pricing-modern .pricing-hero-card strong {
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.9;
}

.page-pricing-modern .pricing-modern-includes {
  display: grid;
  gap: 1rem;
}

.page-pricing-modern .pricing-modern-includes article {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
}

.page-pricing-modern .pricing-trust-row span {
  border-radius: 999px;
}

.page-contact-modern .contact-side-card {
  border-radius: 30px;
  background:
    radial-gradient(circle at 85% 8%, rgba(36, 216, 196, 0.16), transparent 18rem),
    linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(5, 11, 27, 0.96));
}

.page-contact-modern .contact-side-card strong {
  overflow-wrap: anywhere;
}

.page-contact-modern .contact-modern-form {
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(circle at 90% 0%, rgba(47, 124, 255, 0.12), transparent 20rem),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.page-contact-modern .contact-modern-form input,
.page-contact-modern .contact-modern-form textarea {
  border-radius: 14px;
}

.page-features-modern .inner-hero h1 {
  max-width: 760px;
}

@media (max-width: 1140px) {
  .nav-links {
    gap: 1rem;
  }
}

@media (max-width: 820px) {
  .nav-links .btn-primary,
  .nav-links .btn-cta-premium {
    width: 100%;
  }

  .subpage-modern .inner-hero h1 {
    font-size: clamp(2.25rem, 9vw, 3.1rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .subpage-modern .inner-hero p {
    font-size: 1rem;
  }
}

.page-descargar-modern .download-hero-card {
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 20% 20%, rgba(36, 216, 196, 0.2), transparent 14rem),
    linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(5, 11, 27, 0.96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  padding: clamp(1.5rem, 4vw, 2rem);
  display: grid;
  gap: 1rem;
  align-content: start;
}

.page-descargar-modern .download-hero-card-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(47, 124, 255, 0.25), rgba(36, 216, 196, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e8f4ff;
}

.page-descargar-modern .download-hero-card-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.page-descargar-modern .download-hero-card span {
  color: #aefced;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-descargar-modern .download-hero-card strong {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.15;
  color: #ffffff;
}

.page-descargar-modern .download-hero-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(226, 236, 249, 0.76);
}

.page-descargar-modern .download-hero-card .btn-primary {
  justify-self: start;
  margin-top: 0.25rem;
}

.page-descargar-modern .download-steps-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.page-descargar-modern .download-step {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  padding: 1.15rem 1.2rem;
}

.page-descargar-modern .download-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 900;
  color: #06221e;
  background: linear-gradient(135deg, var(--prod-cyan), #64f0a6);
}

.page-descargar-modern .download-step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: #f7fbff;
}

.page-descargar-modern .download-step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(226, 236, 249, 0.72);
}

@media (max-width: 560px) {
  .subpage-modern .inner-hero h1 {
    font-size: clamp(2rem, 8.2vw, 2.7rem);
  }

  .page-contact-modern .contact-side-card {
    padding: 1.2rem;
  }

  .page-descargar-modern .download-hero-card .btn-primary {
    width: 100%;
    justify-self: stretch;
    text-align: center;
  }
}
