/* ============================================
   BUTT SONS SHOE — Privacy Policy Stylesheet
   Color palette derived from brand logo:
   Gold: #D4A84B, #E8C36A, #F0D080
   Dark: #1B1B1D, #2A2A2E, #333338
   Light/Neutral: #F5F2EB, #E8E6E1
   ============================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: #F7F5F0;
  color: #3A3A3A;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Header ---------- */
.site-header {
  background: linear-gradient(160deg, #1B1B1D 0%, #2A2A2E 50%, #1F1D1E 100%);
  padding: 48px 24px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(212, 168, 75, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.header-logo {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px rgba(212, 168, 75, 0.25);
  border: 2px solid rgba(212, 168, 75, 0.3);
}

.header-app-name {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #E8C36A;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #F0D080 0%, #D4A84B 50%, #E8C36A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: #E8E6E1;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.85;
}

.header-gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #D4A84B, transparent);
  margin: 20px auto 0;
  border: none;
}

/* ---------- Main Content Area ---------- */
.policy-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 60px;
}

/* ---------- Effective Date ---------- */
.effective-date {
  display: inline-block;
  background: linear-gradient(135deg, #D4A84B 0%, #B8912E 100%);
  color: #1B1B1D;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 40px;
  text-transform: uppercase;
}

/* ---------- Section Blocks ---------- */
.policy-section {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 36px 32px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
}

.policy-section:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
}

/* ---------- Section Numbers & Headings ---------- */
.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #D4A84B 0%, #C49A3A 100%);
  color: #1B1B1D;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.section-heading {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1B1B1D;
  margin-bottom: 18px;
  line-height: 1.3;
}

/* ---------- Section Content ---------- */
.section-content {
  font-size: 0.96rem;
  color: #4A4A4A;
  line-height: 1.85;
}

.section-content p {
  margin-bottom: 16px;
}

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

.section-content ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
}

.section-content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.7;
}

.section-content ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #D4A84B, #C49A3A);
  border-radius: 50%;
}

/* ---------- Highlight / Emphasis Blocks ---------- */
.highlight-block {
  background: #FBF8F0;
  border-left: 3px solid #D4A84B;
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
  font-size: 0.93rem;
  color: #5A5040;
}

/* ---------- Contact Section Special ---------- */
.contact-info {
  background: #FBF8F0;
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 16px;
}

.contact-info .company-name {
  font-weight: 700;
  color: #1B1B1D;
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-info .email-link {
  color: #B8912E;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info .email-link:hover {
  color: #D4A84B;
  text-decoration: underline;
}

/* ---------- Closing Note ---------- */
.closing-note {
  text-align: center;
  font-size: 0.88rem;
  color: #888;
  margin-top: 16px;
  padding: 20px 24px;
  font-style: italic;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #1B1B1D;
  padding: 36px 24px;
  text-align: center;
  border-top: 2px solid #D4A84B;
}

.footer-content {
  max-width: 700px;
  margin: 0 auto;
}

.footer-company {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #E8C36A;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.footer-email a {
  color: #C9A94E;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-email a:hover {
  color: #F0D080;
  text-decoration: underline;
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: rgba(212, 168, 75, 0.3);
  margin: 16px auto;
  border: none;
}

.footer-updated {
  font-size: 0.82rem;
  color: #888;
  letter-spacing: 0.5px;
}

/* ---------- Back to Top Button ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #D4A84B 0%, #B8912E 100%);
  color: #1B1B1D;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(212, 168, 75, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.35s ease;
  z-index: 100;
}

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

.back-to-top:hover {
  background: linear-gradient(135deg, #E8C36A 0%, #D4A84B 100%);
  box-shadow: 0 6px 24px rgba(212, 168, 75, 0.45);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: #1B1B1D;
}

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

  .header-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
  }

  .header-app-name {
    font-size: 1.4rem;
    letter-spacing: 1.5px;
  }

  .header-subtitle {
    font-size: 0.9rem;
    letter-spacing: 3px;
  }

  .policy-container {
    padding: 32px 16px 48px;
  }

  .policy-section {
    padding: 28px 22px;
    border-radius: 12px;
    margin-bottom: 18px;
  }

  .section-heading {
    font-size: 1.2rem;
  }

  .section-content {
    font-size: 0.92rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .site-header {
    padding: 28px 16px 26px;
  }

  .header-logo {
    width: 68px;
    height: 68px;
    border-radius: 14px;
  }

  .header-app-name {
    font-size: 1.2rem;
  }

  .header-subtitle {
    font-size: 0.8rem;
    letter-spacing: 2.5px;
  }

  .policy-section {
    padding: 24px 18px;
  }

  .section-heading {
    font-size: 1.1rem;
  }

  .contact-info {
    padding: 16px 18px;
  }
}
