@import url("home-revamp.css");

.privacy-page {
  background: #f5f8fc;
  color: #223047;
}

.privacy-label,
.privacy-index__label {
  color: #00c2a8;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.privacy-hero {
  background: linear-gradient(140deg, #022d62 0%, #0a4a8a 48%, #0b2d55 100%);
  overflow: hidden;
  padding: 6rem 0 4.7rem;
  position: relative;
}

.privacy-hero::before {
  background:
    radial-gradient(circle at 18% 25%, rgba(255, 255, 255, 0.14), transparent 34%),
    radial-gradient(circle at 82% 28%, rgba(0, 194, 168, 0.2), transparent 32%);
  content: "";
  inset: 0;
  position: absolute;
}

.privacy-hero .container {
  position: relative;
  z-index: 1;
}

.privacy-hero h1 {
  color: #ffffff;
  font-size: clamp(2.25rem, 4.8vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.privacy-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.06rem;
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 780px;
}

.privacy-hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  color: #ffffff;
  padding: 1.5rem;
}

.privacy-hero-card i {
  align-items: center;
  background: rgba(0, 194, 168, 0.2);
  border-radius: 10px;
  color: #9ff7eb;
  display: inline-flex;
  font-size: 1.2rem;
  height: 46px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 46px;
}

.privacy-hero-card span,
.privacy-hero-card strong,
.privacy-hero-card a {
  display: block;
}

.privacy-hero-card span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}

.privacy-hero-card strong {
  font-size: 1.08rem;
  line-height: 1.45;
  margin-bottom: 0.6rem;
}

.privacy-hero-card a {
  color: #9ff7eb;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.privacy-content {
  padding: 4.5rem 0;
}

.privacy-index {
  background: #ffffff;
  border: 1px solid #e3ebf5;
  border-radius: 12px;
  box-shadow: 0 14px 38px rgba(2, 45, 98, 0.08);
  padding: 1.25rem;
}

.privacy-index nav {
  display: grid;
  gap: 0.35rem;
  max-height: calc(100vh - 180px);
  overflow: auto;
  padding-right: 0.15rem;
}

.privacy-index a {
  align-items: flex-start;
  border-radius: 8px;
  color: #35445b;
  display: flex;
  font-size: 0.92rem;
  font-weight: 600;
  gap: 0.65rem;
  line-height: 1.35;
  padding: 0.6rem 0.65rem;
}

.privacy-index a:hover,
.privacy-index a:focus {
  background: rgba(0, 194, 168, 0.1);
  color: #022d62;
}

.privacy-index a span {
  color: #00a892;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 700;
}

.privacy-policy-list {
  display: grid;
  gap: 1rem;
}

.privacy-policy-card {
  background: #ffffff;
  border: 1px solid #e3ebf5;
  border-radius: 12px;
  box-shadow: 0 14px 38px rgba(2, 45, 98, 0.07);
  scroll-margin-top: 110px;
}

.privacy-policy-card__head {
  align-items: center;
  border-bottom: 1px solid #e8eef6;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: auto auto minmax(0, 1fr);
  padding: 1.15rem 1.35rem;
}

.privacy-policy-card__num {
  color: #00a892;
  font-size: 0.86rem;
  font-weight: 700;
}

.privacy-policy-card__head i {
  align-items: center;
  background: rgba(0, 194, 168, 0.12);
  border-radius: 8px;
  color: #009d89;
  display: inline-flex;
  font-size: 0.95rem;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.privacy-policy-card h2 {
  color: #022d62;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.25;
  margin: 0;
}

.privacy-policy-card__body {
  padding: 1.25rem 1.35rem 1.35rem;
}

.privacy-policy-card__body p {
  color: #5b677a;
  font-size: 0.96rem;
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

.privacy-policy-card__body p:last-child {
  margin-bottom: 0;
}

.privacy-policy-card__body strong {
  color: #223047;
}

.privacy-policy-card__body a {
  color: #007f70;
  font-weight: 700;
}

.privacy-cta {
  background: #ffffff;
  padding: 0 0 4.5rem;
}

.privacy-cta__inner {
  align-items: center;
  background: #022d62;
  border-radius: 12px;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding: 2rem;
}

.privacy-cta h2 {
  color: #ffffff;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.privacy-cta p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.privacy-cta .btn-primary-round {
  background: #00c2a8;
  border-color: #00c2a8;
  color: #022d62;
  flex: 0 0 auto;
  font-weight: 700;
}

.privacy-cta .btn-primary-round:hover,
.privacy-cta .btn-primary-round:focus {
  background: #00e6c8;
  border-color: #00e6c8;
  color: #022d62;
}

@media (max-width: 991px) {
  .privacy-hero {
    padding: 4.5rem 0 3.5rem;
  }

  .privacy-content {
    padding: 3.25rem 0;
  }

  .privacy-index {
    position: static;
  }

  .privacy-index nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
  }
}

@media (min-width: 992px) {
  .privacy-sidebar-col {
    align-self: flex-start !important;
    position: -webkit-sticky;
    position: sticky;
    top: 96px;
    z-index: 2;
  }

  .privacy-index {
    max-height: calc(100vh - 120px);
    overflow: hidden;
  }

  .privacy-index nav {
    max-height: calc(100vh - 190px);
    overflow-y: auto;
  }
}

@media (max-width: 767px) {
  .privacy-hero {
    padding: 3.75rem 0 3rem;
  }

  .privacy-index nav,
  .privacy-policy-card__head {
    grid-template-columns: 1fr;
  }

  .privacy-policy-card__head {
    align-items: flex-start;
  }

  .privacy-cta__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.5rem;
  }
}
