/* =========================
MODERN TERMS & CONDITIONS PAGE
WHITE LUXURY UI
========================= */

.terms-section {
  position: relative;

  padding: 130px 8%;

  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 50%, #ffffff 100%);

  overflow: hidden;
}

/* FLOATING BACKGROUND GLOWS */

.terms-section::before,
.terms-section::after {
  content: "";

  position: absolute;

  border-radius: 50%;

  filter: blur(100px);

  z-index: 0;

  animation: floatGlow 8s ease-in-out infinite;
}

.terms-section::before {
  width: 420px;
  height: 420px;

  background: rgba(0, 132, 255, 0.08);

  top: -120px;
  left: -120px;
}

.terms-section::after {
  width: 350px;
  height: 350px;

  background: rgba(0, 194, 255, 0.08);

  bottom: -120px;
  right: -120px;
}

@keyframes floatGlow {
  0% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(25px) scale(1.05);
  }

  100% {
    transform: translateY(0px) scale(1);
  }
}

/* CONTAINER */

.terms-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 2;
}

/* TOP */

.terms-top {
  text-align: center;

  max-width: 850px;

  margin: auto auto 80px;
}

.terms-top .section-subtitle {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 10px 22px;

  border-radius: 100px;

  /* background: #f1c32b1c; */

  color: #e4ba31;

  font-weight: 600;

  font-size: 14px;

  letter-spacing: 1px;

  backdrop-filter: blur(12px);

  animation: fadeUp 1s ease;
  margin-bottom: 0;
}

.terms-top h2 {
  font-size: 62px;

  line-height: 1.08;

  color: #0b1b2b;

  margin: 24px 0 22px;

  font-weight: 800;

  animation: fadeUp 1s ease 0.2s both;
}

.terms-top p {
  color: #64748b;

  line-height: 1.9;

  font-size: 17px;

  animation: fadeUp 1s ease 0.4s both;
}

/* TERMS GRID */

.terms-card {
  display: grid;
  gap: 28px;
}

/* MODERN CARD */

.terms-block {
  display: flex;
  gap: 35px;

  align-items: flex-start;
}

.term-number {
  min-width: 90px;
  height: 90px;

  border-radius: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #dfb734, #f5d97a);

  color: #fff;

  font-size: 30px;
  font-weight: 800;

  box-shadow: 0 15px 35px rgba(223, 183, 52, 0.25);
}

.term-content {
  flex: 1;
}

.term-content h3 {
  font-size: 30px;

  color: #0b1b2b;

  margin-bottom: 25px;

  font-weight: 800;
}

.term-list {
  list-style: none;

  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column;

  gap: 16px;
}

.term-list li {
  display: flex;
  gap: 14px;

  align-items: flex-start;

  padding: 16px 20px;

  border-radius: 16px;

  background: #f8fafc;

  color: #64748b;

  line-height: 1.8;

  transition: all 0.3s ease;
}

.term-list li:hover {
  transform: translateX(8px);

  background: #f1f5f9;
}

.term-list strong {
  color: #dfb734;

  min-width: 40px;

  font-size: 15px;

  font-weight: 700;
}

/* =========================
DESCRIPTION SECTION
========================= */

.description-sec {
  display: flex;
  gap: 30px;

  align-items: flex-start;

  padding: 45px;

  margin-bottom: 40px;

  border-radius: 32px;

  background: rgba(255, 255, 255, 0.85);

  backdrop-filter: blur(20px);

  border: 1px solid rgba(0, 0, 0, 0.06);

  box-shadow:
    0 10px 40px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.description-content h3 {
  font-size: 32px;

  color: #0b1b2b;

  margin-bottom: 18px;

  font-weight: 800;
}

.description-content p {
  color: #64748b;

  line-height: 1.9;

  font-size: 16px;

  margin-bottom: 14px;
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .terms-card,
  .policy-list {
    grid-template-columns: 1fr;
  }

  .terms-top h2 {
    font-size: 46px;
  }

  .policy-top {
    flex-direction: column;

    text-align: center;
  }

  .policy-top h3 {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .terms-section {
    padding: 90px 5%;
  }

  .terms-block,
  .important-policy {
    padding: 28px;
  }

  .terms-top h2 {
    font-size: 36px;
  }

  .terms-block h3 {
    font-size: 24px;
  }

  .policy-top h3 {
    font-size: 26px;
  }
}
