/* ============================================
   Toy Station LTD – Privacy Policy Stylesheet
   Color palette extracted from logo:
   - Primary Blue:   #1970E8
   - Deep Navy:      #142B5E
   - Hot Pink:       #E61F84
   - Purple Accent:  #7B34D8
   - Warm Orange:    #FF9A1F
   - Soft Background:#F4F6FB
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: #2c3e50;
  background-color: #F4F6FB;
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Header ---------- */
.pp-header {
  background: linear-gradient(135deg, #142B5E 0%, #1970E8 50%, #7B34D8 100%);
  padding: 48px 24px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pp-header::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 20%, rgba(230, 31, 132, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(123, 52, 216, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.pp-header-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.pp-logo {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  margin-bottom: 20px;
  object-fit: contain;
  background: #fff;
}

.pp-header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}

.pp-header .pp-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* ---------- Main Container ---------- */
.pp-main {
  max-width: 780px;
  margin: -28px auto 0;
  padding: 0 20px 60px;
  position: relative;
  z-index: 2;
}

.pp-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(20, 43, 94, 0.07);
  padding: 40px 44px;
}

/* ---------- Effective Date Badge ---------- */
.pp-effective-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #EEF2FF, #F5EEFF);
  color: #4A44E8;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 32px;
  border: 1px solid rgba(123, 52, 216, 0.12);
}

.pp-effective-date .pp-icon {
  font-size: 0.95rem;
}

/* ---------- Introduction ---------- */
.pp-intro {
  font-size: 1rem;
  color: #495867;
  line-height: 1.8;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid #EEF0F5;
}

/* ---------- Sections ---------- */
.pp-section {
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid #EEF0F5;
}

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

.pp-section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #1970E8, #7B34D8);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 10px;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.pp-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #142B5E;
  margin-bottom: 16px;
  line-height: 1.4;
}

.pp-section p,
.pp-section li {
  font-size: 0.975rem;
  color: #495867;
  line-height: 1.8;
}

.pp-section p {
  margin-bottom: 12px;
}

.pp-section p:last-child {
  margin-bottom: 0;
}

/* ---------- Lists ---------- */
.pp-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 14px 0;
}

.pp-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
}

.pp-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1970E8, #7B34D8);
}

.pp-sublist {
  list-style: none;
  padding: 0;
  margin: 8px 0 14px 0;
}

.pp-sublist li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 6px;
}

.pp-sublist li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #E61F84;
  transform: rotate(45deg);
}

/* ---------- Sub-heading Labels ---------- */
.pp-sub-label {
  font-weight: 600;
  color: #1970E8;
  font-size: 0.95rem;
  margin-bottom: 6px;
  margin-top: 14px;
}

.pp-sub-label:first-child {
  margin-top: 0;
}

/* ---------- "We do NOT" highlight ---------- */
.pp-not-box {
  background: #FFF5F9;
  border-left: 3px solid #E61F84;
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 14px 0;
}

.pp-not-box p {
  color: #C71B74;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.pp-not-box .pp-sublist li {
  color: #7a3a5c;
}

.pp-not-box .pp-sublist li::before {
  background: #E61F84;
}

/* ---------- Contact Section ---------- */
.pp-contact-box {
  background: linear-gradient(135deg, #EEF2FF 0%, #F5EEFF 100%);
  border-radius: 12px;
  padding: 22px 26px;
  margin-top: 14px;
}

.pp-contact-box p {
  font-size: 0.95rem;
  color: #3a3f5c;
  margin-bottom: 4px;
}

.pp-contact-box a {
  color: #1970E8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.pp-contact-box a:hover {
  color: #7B34D8;
}

/* ---------- Agreement Banner ---------- */
.pp-agreement {
  text-align: center;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #EEF0F5;
}

.pp-agreement p {
  font-size: 0.975rem;
  color: #495867;
  font-weight: 500;
}

.pp-agreement strong {
  color: #142B5E;
}

/* ---------- Footer ---------- */
.pp-footer {
  text-align: center;
  padding: 32px 24px 36px;
  max-width: 780px;
  margin: 0 auto;
}

.pp-footer-inner {
  font-size: 0.85rem;
  color: #8896a7;
  line-height: 1.7;
}

.pp-footer-inner .pp-company-name {
  font-weight: 600;
  color: #142B5E;
  font-size: 0.9rem;
}

.pp-footer-inner a {
  color: #1970E8;
  text-decoration: none;
  transition: color 0.2s;
}

.pp-footer-inner a:hover {
  color: #7B34D8;
}

.pp-footer-divider {
  display: inline-block;
  margin: 0 8px;
  color: #c8d0da;
}

/* ---------- Back To Top Button ---------- */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #1970E8, #7B34D8);
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(25, 112, 232, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease, box-shadow 0.2s ease;
  z-index: 999;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  box-shadow: 0 6px 22px rgba(25, 112, 232, 0.5);
  transform: translateY(-2px);
}

#back-to-top:active {
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .pp-header {
    padding: 36px 20px 42px;
  }

  .pp-logo {
    width: 80px;
    height: 80px;
    border-radius: 18px;
  }

  .pp-header h1 {
    font-size: 1.35rem;
  }

  .pp-header .pp-subtitle {
    font-size: 0.95rem;
  }

  .pp-main {
    padding: 0 14px 48px;
    margin-top: -24px;
  }

  .pp-card {
    padding: 28px 22px;
    border-radius: 14px;
  }

  .pp-section h2 {
    font-size: 1.12rem;
  }

  .pp-section p,
  .pp-section li {
    font-size: 0.94rem;
  }

  .pp-contact-box {
    padding: 18px 20px;
  }

  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .pp-header {
    padding: 30px 16px 36px;
  }

  .pp-logo {
    width: 70px;
    height: 70px;
    border-radius: 16px;
  }

  .pp-header h1 {
    font-size: 1.2rem;
  }

  .pp-main {
    padding: 0 10px 40px;
    margin-top: -20px;
  }

  .pp-card {
    padding: 24px 18px;
    border-radius: 12px;
  }

  .pp-section-number {
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
    border-radius: 8px;
  }

  .pp-section h2 {
    font-size: 1.05rem;
  }

  .pp-effective-date {
    font-size: 0.8rem;
    padding: 6px 14px;
  }
}
