/* KYC document cards and table enhancements */
.kyc-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.kyc-doc-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff, #f4f8ff);
  border: 1px solid rgba(12, 45, 87, 0.12);
  box-shadow: 0 16px 38px rgba(12, 45, 87, 0.08);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.kyc-doc-card::before {
  content: "";
  position: absolute;
  inset: -80px auto auto -80px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(255, 153, 51, 0.18);
  transition: transform 360ms ease;
}

.kyc-doc-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(19, 136, 8, 0.13);
}

.kyc-doc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(12, 45, 87, 0.28);
  box-shadow: 0 24px 52px rgba(12, 45, 87, 0.14);
}

.kyc-doc-card:hover::before {
  transform: scale(1.35);
}

.kyc-doc-svg {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  animation: kycFloat 4.5s ease-in-out infinite;
}

.kyc-doc-card:nth-child(2) .kyc-doc-svg {
  animation-delay: 0.4s;
}

.kyc-doc-card:nth-child(3) .kyc-doc-svg {
  animation-delay: 0.8s;
}

.kyc-doc-card:nth-child(4) .kyc-doc-svg {
  animation-delay: 1.2s;
}

.kyc-doc-card:nth-child(5) .kyc-doc-svg {
  animation-delay: 1.6s;
}

.kyc-doc-card:nth-child(6) .kyc-doc-svg {
  animation-delay: 2s;
}

.kyc-doc-card h3,
.kyc-doc-card p {
  position: relative;
  z-index: 1;
}

.kyc-doc-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0c2d57;
}

.kyc-doc-card p {
  margin-bottom: 0;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.65;
}

.kyc-note-strip {
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(120deg, rgba(255, 153, 51, 0.16), rgba(255, 255, 255, 0.94), rgba(19, 136, 8, 0.13));
  border: 1px solid rgba(12, 45, 87, 0.12);
}

.kyc-table-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(12, 45, 87, 0.12);
  box-shadow: 0 18px 46px rgba(12, 45, 87, 0.08);
}

.kyc-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
}

.kyc-table th {
  background: #0c2d57;
  color: #ffffff;
  padding: 16px;
  font-size: 0.95rem;
  vertical-align: top;
}

.kyc-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(12, 45, 87, 0.1);
  vertical-align: top;
  color: #334155;
  line-height: 1.65;
}

.kyc-table tr:last-child td {
  border-bottom: 0;
}

.kyc-table strong {
  color: #0c2d57;
}

.kyc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 6px 4px 0;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(12, 45, 87, 0.08);
  color: #0c2d57;
  font-size: 0.86rem;
  font-weight: 700;
}

.kyc-valid-pill {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(19, 136, 8, 0.12);
  color: #138808;
  font-size: 0.84rem;
  font-weight: 800;
}

.kyc-alert-pill {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(220, 5, 17, 0.1);
  color: #b91c1c;
  font-size: 0.84rem;
  font-weight: 800;
}

@keyframes kycFloat {
  0%, 100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@media (max-width: 767px) {
  .kyc-doc-grid {
    grid-template-columns: 1fr;
  }

  .kyc-table th,
  .kyc-table td {
    padding: 12px;
    font-size: 0.9rem;
  }
}


/* KYC focused hero SVG */
.kyc-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: 34px;
}

.kyc-hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
  pointer-events: none;
}

.kyc-hero-svg {
  width: min(100%, 430px);
  height: auto;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.32));
  animation: kycHeroFloat 5.8s ease-in-out infinite;
}

.kyc-hero-mini-doc {
  animation: kycHeroMiniDoc 4.5s ease-in-out infinite;
  transform-origin: center;
}

.kyc-hero-seal {
  animation: kycHeroSealPulse 2.8s ease-in-out infinite;
  transform-origin: center;
}

.lf-hero .kyc-hero-layout .lf-hero__content {
  max-width: 780px;
}

@keyframes kycHeroFloat {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

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

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

@keyframes kycHeroSealPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.96;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (max-width: 991px) {
  .kyc-hero-layout {
    grid-template-columns: 1fr;
  }

  .kyc-hero-visual {
    min-height: 260px;
    justify-content: flex-start;
  }

  .kyc-hero-svg {
    width: min(100%, 320px);
  }
}

@media (max-width: 575px) {
  .kyc-hero-visual {
    min-height: 210px;
  }

  .kyc-hero-svg {
    width: min(100%, 260px);
  }
}
