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

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

body {
  font-family: "Urbanist", sans-serif;
  background-color: #ffffff;
  color: #171d23;
  overflow-x: hidden;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 36px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  gap: 24px;
  transition: background 0.3s ease;
  background: linear-gradient(
    180deg,
    rgba(13, 17, 22, 0.95) 0%,
    rgba(13, 17, 22, 0.8) 50%,
    rgba(13, 17, 22, 0) 100%
  );
}

.nav.nav-light-gradient {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

.nav.nav-light-gradient .nav-logo-text,
.nav.nav-light-gradient .nav-links a,
.nav.nav-light-gradient .nav-login {
  color: #171d23;
}

.nav.nav-light-gradient .nav-logo svg path {
  stroke: #171d23;
}

.nav.nav-dark-gradient {
  background: linear-gradient(
    180deg,
    rgba(13, 17, 22, 0.95) 0%,
    rgba(13, 17, 22, 0.8) 50%,
    rgba(13, 17, 22, 0) 100%
  );
}

.nav.nav-dark-gradient .nav-logo-text,
.nav.nav-dark-gradient .nav-links a,
.nav.nav-dark-gradient .nav-login {
  color: #eef1f5;
}

.nav.nav-dark-gradient .nav-logo svg path {
  stroke: #ffffff;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.nav-logo svg {
  width: 31px;
  height: 31px;
}

.nav-logo-text {
  font-size: 28px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-logo svg path {
  transition: stroke 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 24px;
  opacity: 0.8;
}

.nav-links a,
.nav-login {
  color: #eef1f5;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition:
    opacity 0.2s,
    color 0.3s ease;
}

.nav-links a:hover,
.nav-login:hover {
  opacity: 0.7;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 810px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    253deg,
    rgba(0, 0, 0, 0) 20%,
    rgba(0, 0, 0, 1) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 697px;
  margin-left: 144px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 24px;
  height: 24px;
  opacity: 0.8;
}

.hero-badge span {
  color: #eef1f5;
  font-size: 16px;
  font-weight: 400;
}

.hero-title {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.07;
  color: #f0f1f1;
  margin-bottom: 24px;
  letter-spacing: 0.56px;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  color: #ced7e4;
  max-width: 578px;
  margin-bottom: 48px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #eef1f5;
  border-radius: 4px;
  color: #171d23;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Problems Section */
.problems-section {
  background: #ffffff;
  padding: 0 144px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  min-height: 810px;
  justify-content: center;
}

.section-wrapper {
  width: 100%;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.section-label {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #697683;
  text-align: left;
}

.section-title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.11;
  color: #171d23;
}

.section-subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  color: #576779;
  max-width: 619px;
}

.problems-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.ai-badge {
  position: absolute;
  right: 0;
  top: 60px;
}

.carousel-nav {
  display: flex;
  gap: 12px;
  position: absolute;
  right: 0;
  bottom: 10px;
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e4e8ed;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.carousel-arrow:hover {
  background: #f5f7fa;
  border-color: #ced7e4;
}

.carousel-arrow:active {
  background: #e4e8ed;
}

.carousel-arrow svg {
  width: 20px;
  height: 20px;
  stroke: #313b46;
}

.carousel-arrow.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.carousel-arrow.disabled:hover {
  background: #ffffff;
  border-color: #e4e8ed;
}

.cards-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: #313b46 transparent;
}

.cards-container::-webkit-scrollbar {
  height: 8px;
}

.cards-container::-webkit-scrollbar-track {
  background: transparent;
}

.cards-container::-webkit-scrollbar-thumb {
  background: #313b46;
  border-radius: 4px;
}

.problem-card {
  flex: 0 0 368px;
  height: 505px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.problem-card-bg {
  position: absolute;
  top: -39px;
  left: 0;
  width: 100%;
  height: 544px;
  object-fit: cover;
  z-index: 1;
}

.card-employment .problem-card-bg {
  top: 0;
  left: 10px;
  width: 358px;
  height: 486px;
}

.card-family .problem-card-bg {
  top: -39px;
  height: 579px;
}

.card-consumer .problem-card-bg {
  top: -165px;
  left: -68px;
  width: 454px;
  height: 714px;
}

.card-general .problem-card-bg {
  top: -86px;
  left: -4px;
  width: 375px;
  height: 590px;
}

.card-criminal .problem-card-bg {
  top: -45px;
  left: -17px;
  width: 402px;
  height: 559px;
}

.card-employment {
  background: #010101;
}

.card-category {
  position: relative;
  z-index: 3;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: auto;
  padding-top: 320px;
}

.card-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 136px;
}

.card-property .card-content {
  backdrop-filter: blur(16.6px);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
}

.card-answer {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.8);
}

/* Stats Section */
.stats-section {
  background: #ffffff;
  padding: 120px 144px;
}

.stats-wrapper {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.stats-header {
  max-width: 697px;
}

.stats-title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  color: #101828;
  margin-bottom: 24px;
}

.stats-subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  color: #101828;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 200px;
  padding: 24px;
  border-left: 1px solid #e4e8ed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.stat-item:first-child {
  border-left: none;
}

.stat-label {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  color: #576779;
}

.stat-value {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.2;
  color: #313b46;
}

/* Dark Section */
.dark-section {
  background: #0d1116;
  padding: 80px 144px;
  position: relative;
}

.dark-content {
  margin: 0 auto;
}

.dark-title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.11;
  color: #eef1f5;
  margin-bottom: 16px;
}

.dark-subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  color: #ced7e4;
  max-width: 800px;
  margin-bottom: 48px;
}

.app-screenshot {
  width: 100%;

  border-radius: 4px;
  margin: 0 auto;
  display: block;
}

/* Footer */
.footer {
  background: #0d1116;
  padding: 33px 80px;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  opacity: 0.93;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.footer-powered {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-powered span {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

.footer-powered img {
  height: 55px;
  width: auto;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-badges img {
  height: 100px;
  width: auto;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.32);
  margin-bottom: 30px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 37px;
}

.footer-links span {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-links span:hover {
  opacity: 0.7;
}

.footer-social {
  display: none;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 100px;
  transition: background 0.2s;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: rgba(255, 255, 255, 0.8);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-contact:hover {
  opacity: 0.7;
}

.footer-contact svg {
  width: 24px;
  height: 24px;
}

.footer-contact span {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

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

.hero-content.reveal {
  opacity: 1;
  transform: translateY(0);
}

.reveal-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal-children.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-children.revealed > *:nth-child(1) {
  transition-delay: 0s;
}
.reveal-children.revealed > *:nth-child(2) {
  transition-delay: 0.1s;
}
.reveal-children.revealed > *:nth-child(3) {
  transition-delay: 0.2s;
}
.reveal-children.revealed > *:nth-child(4) {
  transition-delay: 0.3s;
}
.reveal-children.revealed > *:nth-child(5) {
  transition-delay: 0.4s;
}
.reveal-children.revealed > *:nth-child(6) {
  transition-delay: 0.5s;
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-content {
    margin-left: 80px;
  }

  .problems-section,
  .stats-section,
  .dark-section {
    padding-left: 80px;
    padding-right: 80px;
  }
}

@media (max-width: 992px) {
  .hero-bg {
    width: 100%;
    height: 100%;
    left: 0;
    object-position: right;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-content {
    margin-left: 48px;
    max-width: 90%;
  }

  .problems-section,
  .stats-section,
  .dark-section {
    padding-left: 48px;
    padding-right: 48px;
  }

  .stats-grid {
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 1 1 50%;
    border-left: none;
    border-top: 1px solid #e4e8ed;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-top: none;
  }

  .stat-item:nth-child(even) {
    border-left: 1px solid #e4e8ed;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-badges {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 14px 24px;
  }

  .nav-links {
    display: none;
  }

  .hero-bg {
    width: 100%;
    height: 100%;
    left: 0;
    object-position: 70% center;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-content {
    margin-left: 24px;
    margin-right: 24px;
    margin-top: 80px;
  }

  .problems-section,
  .stats-section,
  .dark-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section-title,
  .stats-title,
  .dark-title {
    font-size: 28px;
  }

  .stat-value {
    font-size: 40px;
  }

  .footer {
    padding: 33px 24px;
  }
}
