html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
body {
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  background: linear-gradient(120deg, #e0e7ff 0%, #f7f8fb 100%);
  color: #0b1220;
  display: flex;
  flex-direction: column;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 0px;
    padding-right: 0px;
  }
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}
.logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: logoPop 1s cubic-bezier(0.23, 1.02, 0.53, 0.97) 0.2s both;
}
@keyframes logoPop {
  0% {
    opacity: 0;
    transform: scale(0.7) rotate(-10deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.1) rotate(3deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
.logo-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #0b6efd 60%, #0b82ff 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(11, 110, 253, 0.08);
  animation: logoGlow 2.2s cubic-bezier(0.23, 1.02, 0.53, 0.97) 0.7s both;
}
@keyframes logoGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(11, 110, 253, 0);
  }
  60% {
    box-shadow: 0 0 32px 8px rgba(11, 110, 253, 0.18);
  }
  100% {
    box-shadow: 0 4px 16px rgba(11, 110, 253, 0.08);
  }
}
.logo-icon svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}
.logo-text {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #0b6efd;
  text-shadow: 0 2px 8px #e0e7ff;
}
.nav-link {
  text-decoration: none;
  color: #0b6efd;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid #0b6efd;
  border-radius: 10px;
  padding: 10px 24px;
  background: #fff;
  transition: background 0.2s, color 0.2s, box-shadow 0.25s, transform 0.18s;
  box-shadow: 0 2px 12px rgba(11, 110, 253, 0.07);
  animation: btnFadeIn 1.1s cubic-bezier(0.23, 1.02, 0.53, 0.97) 0.7s both;
  position: relative;
  overflow: hidden;
}
@keyframes btnFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, #0b6efd55 0%, transparent 80%);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
  z-index: 0;
  border-radius: 50%;
}
.nav-link:hover {
  background: linear-gradient(90deg, #0b82ff, #0b6efd 90%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(11, 110, 253, 0.18);
  transform: translateY(-2px) scale(1.05);
}
.nav-link:hover::after {
  width: 200%;
  height: 200%;
}
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  box-sizing: border-box;
  opacity: 1; /* boshlang'ich holatda ko‘rinadigan bo‘lsin */
  will-change: opacity;
  min-height: 0;
  padding: 0;
  margin-top: 160px;
  transition: opacity 0.6s ease;
}

/* JS yuklangandan keyin qo‘shiladigan klass */
.hero.visible {
  animation: fadeInUp 1.1s cubic-bezier(0.23, 1.02, 0.53, 0.97) 0.1s forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.hero-left {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  min-width: 0;
  animation: fadeLeft 1.2s cubic-bezier(0.23, 1.02, 0.53, 0.97) 0.5s both;
}
@keyframes fadeLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.1;
  letter-spacing: -1px;
  text-shadow: 0 2px 8px #e0e7ff;
}
.hero-desc {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 500px;
  margin-bottom: 18px;
}
.cta-btn {
  background: linear-gradient(90deg, #0b6efd, #0b82ff);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  padding: 16px 38px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(12, 20, 40, 0.08);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  animation: btnFadeIn 1.2s cubic-bezier(0.23, 1.02, 0.53, 0.97) 1s both;
}
.cta-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, #0b6efd55 0%, transparent 80%);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
  z-index: 0;
  border-radius: 50%;
}
.cta-btn:hover {
  background: linear-gradient(90deg, #0b82ff, #0b6efd 90%);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 32px rgba(11, 110, 253, 0.13);
}
.cta-btn:hover::after {
  width: 200%;
  height: 200%;
}
.hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  animation: fadeRight 1.2s cubic-bezier(0.23, 1.02, 0.53, 0.97) 0.7s both;
}
@keyframes fadeRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.hero-img {
  width: 340px;
  max-width: 100%;
  height: auto;
  user-select: none;
  display: block;
  filter: drop-shadow(0 8px 32px #a5b4fc55);
  animation: imgPop 1.2s cubic-bezier(0.23, 1.02, 0.53, 0.97) 1.2s both;
}
@keyframes imgPop {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  80% {
    opacity: 1;
    transform: scale(1.04);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 1100px) {
  .navbar {
    padding: 24px 16px;
  }
  .hero {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    gap: 24px;
    padding: 32px 10px;
  }
  .hero-left,
  .hero-right {
    width: 100%;
    flex: unset;
  }
  .hero-left {
    align-items: center;
    text-align: center;
  }
  .logo-row {
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .navbar {
    padding: 14px 4vw;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .hero {
    gap: 18px;
    padding: 18px 2vw;
    margin-top: 100px;
  }
  .logo-text {
    font-size: 1.1rem;
  }
  .logo-icon {
    width: 32px;
    height: 32px;
  }
  .hero-img {
    width: 160px;
  }
  .cta-btn {
    padding: 12px 18px;
    font-size: 1rem;
  }
}
