/* ─── Policy Pages Styles (Privacy Policy & Terms of Service) ─── */

html {
  scroll-behavior: smooth;
}

body.inner-page {
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  bottom: 0;
  top: inherit;
  background:
    radial-gradient(ellipse 70% 60% at 12% 75%,
      rgba(190, 230, 255, 0.75) 0%,
      rgba(190, 230, 255, 0) 70%),
    radial-gradient(ellipse 70% 60% at 88% 75%,
      rgba(215, 200, 245, 0.75) 0%,
      rgba(215, 200, 245, 0) 70%),
    linear-gradient(135deg,
      #ffffff 0%,
      #f7fcff 20%,
      #eaf7ff 45%,
      #eeeafb 70%,
      #ddd3ef 100%);
}

body::after {
  background: url(./src/hero-top.png);
  position: absolute;
  left: 0;
  right: 0;
  content: "";
  bottom: inherit;
  top: 0;
  width: 100%;
  height: 470px;
  z-index: 1;
  pointer-events: none;
}

.policy-hero {
  text-align: center;
  padding: 100px 20px 45px;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.page-content-bg {
  position: relative;
  overflow: hidden;
  padding-top: 20px;
  padding-bottom: 40px;
  background:
    radial-gradient(ellipse 70% 60% at 10% 75%,
      rgba(190, 230, 255, 0.8),
      transparent 70%),
    radial-gradient(ellipse 70% 60% at 90% 75%,
      rgba(215, 200, 245, 0.8),
      transparent 70%),
    linear-gradient(180deg,
      #ffffff 0%,
      #f8fcff 20%,
      #eaf7ff 45%,
      #eeeafb 70%,
      #ddd3ef 100%);
}

.policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(50, 165, 251, 0.12);
  border: 1px solid rgba(50, 165, 251, 0.3);
  color: #1D4ED8;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.policy-badge-dot {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #32A5FB, #391E95);
  border-radius: 50%;
}

.policy-hero-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  color: #1F2937;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.policy-hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: #4B5563;
  line-height: 1.6;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Content Layout ── */
.policy-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.policy-card-container {
  width: 100%;
}

/* ── Main Policy Card ── */
.policy-main-card {
  background: #ffffff;
  border-radius: 28px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 2;
  position: relative;
}

.policy-section {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid #F3F4F6;
}

.policy-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.policy-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: 25px;
  scroll-margin-top: 120px;
}

.policy-num {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, rgba(50, 165, 251, 0.15), rgba(57, 30, 149, 0.15));
  color: #1D4ED8;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.policy-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #4B5563;
  margin-bottom: 14px;
}

.policy-text a {
  text-decoration: underline;
  color: #1F2937;
  font-weight: 500;
}

.policy-text:last-child {
  margin-bottom: 0;
}

.policy-text strong {
  color: #1F2937;
}

.policy-list {
  margin: 12px 0 16px 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.policy-list li {
  font-size: 0.975rem;
  line-height: 1.65;
  color: #4B5563;
  list-style: disc;
}

.policy-list li strong {
  color: #1F2937;
}

.policy-subsection {
  margin-top: 18px;
  padding-left: 16px;
  border-left: 3px solid rgba(50, 165, 251, 0.35);
}

.policy-subsection-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 6px;
}

/* ── Contact Box ── */
.policy-contact-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  border: 1px solid #DBEAFE;
  padding: 20px 24px;
  border-radius: 16px;
  margin: 20px 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.policy-contact-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

.policy-contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(90deg, rgba(50, 165, 251, 1) 0%, rgba(57, 30, 149, 1) 100%);
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.policy-contact-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.policy-contact-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6B7280;
}

.policy-contact-email {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2563EB;
  text-decoration: none;
  transition: color 0.2s ease;
}

.policy-contact-email:hover {
  color: #1D4ED8;
  text-decoration: underline;
}

.policy-appreciation-card {
  background: #041A41;
  color: #ffffff;
  padding: 24px;
  border-radius: 16px;
  margin-top: 24px;
}

.policy-appreciation-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.policy-appreciation-card strong {
  color: #60A5FA;
}

@media (max-width:1600px) {
  .policy-wrapper {
    padding: 0 20px 60px;
  }

  .policy-hero {
    padding: 60px 20px 50px;
  }
}

@media (max-width:1440px) {
  .policy-wrapper {
    padding: 0 20px 50px;
  }

  .policy-hero {
    padding: 50px 20px 45px;
  }
}

@media (max-width:1200px) {
  .policy-wrapper {
    padding: 0 20px 40px;
  }

  .policy-hero {
    padding: 40px 20px 40px;
  }
}


@media (max-width:1024px) {
  body::after {
    height: 150px;
    background-size: 100% 150px;
    background-repeat: no-repeat;
  }

  .policy-wrapper {
    padding: 0 20px 30px;
  }

  .policy-hero {
    padding: 30px 20px 35px;
  }
}