/* ─────────────────────────────────────────────
   HUZAIFA ARTS – Privacy Policy Stylesheet
   Color Palette (extracted from logo):
     Deep Navy  : #0d1b3e
     Gold       : #c9a227
     Light Gold : #e8c54a
     Silver     : #d0d5e0
     White      : #ffffff
     Page BG    : #f4f6fb
     Text Dark  : #1a2340
     Text Mid   : #4a5568
   ───────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: #f4f6fb;
  color: #1a2340;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ─── HEADER ─────────────────────────────────── */
.site-header {
  background: linear-gradient(135deg, #0d1b3e 0%, #162447 60%, #1a2f5e 100%);
  padding: 48px 24px 0;
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(201,162,39,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(201,162,39,0.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.header-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
}

.header-logo-wrap {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 24px;
  background: rgba(255,255,255,0.07);
  border: 2px solid rgba(201,162,39,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
}

.header-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  display: block;
}

.header-text {
  flex: 1;
}

.header-brand {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.header-brand span {
  color: #c9a227;
}

.header-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 400;
}

.header-badge {
  display: inline-block;
  margin-top: 14px;
  background: linear-gradient(90deg, #c9a227, #e8c54a);
  color: #0d1b3e;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(201,162,39,0.4);
}

.header-wave {
  line-height: 0;
  position: relative;
  z-index: 1;
}

.header-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ─── MAIN / CONTAINER ────────────────────────── */
.policy-main {
  background-color: #f4f6fb;
  padding: 0 16px 80px;
}

.policy-container {
  max-width: 820px;
  margin: 0 auto;
}

/* ─── INTRO CARD ─────────────────────────────── */
.intro-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 40px;
  margin-top: 40px;
  margin-bottom: 16px;
  border: 1px solid rgba(201,162,39,0.2);
  box-shadow: 0 4px 24px rgba(13,27,62,0.07);
  text-align: center;
}

.intro-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  display: block;
}

.intro-text {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.85;
  max-width: 640px;
  margin: 0 auto;
}

.intro-text strong {
  color: #0d1b3e;
  font-weight: 600;
}

.effective-date {
  margin-top: 20px;
  font-size: 0.82rem;
  color: #8a95a8;
  letter-spacing: 0.04em;
}

.effective-date strong {
  color: #c9a227;
  font-weight: 600;
}

/* ─── SECTION DIVIDER ────────────────────────── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,0.25), transparent);
  margin: 8px 0;
}

/* ─── POLICY SECTION ─────────────────────────── */
.policy-section {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 40px;
  margin: 12px 0;
  border: 1px solid rgba(208,213,224,0.6);
  box-shadow: 0 2px 16px rgba(13,27,62,0.05);
  display: flex;
  gap: 28px;
  align-items: flex-start;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.policy-section:hover {
  box-shadow: 0 6px 28px rgba(13,27,62,0.10);
  border-color: rgba(201,162,39,0.3);
}

.section-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0d1b3e, #1a2f5e);
  color: #c9a227;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(13,27,62,0.2);
  margin-top: 4px;
}

.section-body {
  flex: 1;
  min-width: 0;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0d1b3e;
  margin-bottom: 14px;
  line-height: 1.3;
}

.section-text {
  font-size: 0.96rem;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 14px;
}

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

/* ─── POLICY LIST ────────────────────────────── */
.policy-list {
  list-style: none;
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #2d3a52;
  background: #f8f9fd;
  border-radius: 10px;
  padding: 10px 14px;
  border-left: 3px solid #c9a227;
  line-height: 1.6;
}

.list-icon {
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 1px;
}

/* ─── NOTICE BOXES ───────────────────────────── */
.notice-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 14px 0;
  font-size: 0.93rem;
  line-height: 1.75;
}

.notice-box p {
  margin: 0;
  color: #2d3a52;
}

.notice-box p strong {
  font-weight: 700;
}

.notice-box .notice-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.notice-safe {
  background: rgba(201,162,39,0.07);
  border: 1px solid rgba(201,162,39,0.25);
}

.notice-warn {
  background: rgba(245,158,11,0.07);
  border: 1px solid rgba(245,158,11,0.28);
}

/* ─── CONTACT EMAIL ──────────────────────────── */
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  background: linear-gradient(135deg, #0d1b3e, #1a2f5e);
  color: #e8c54a;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 18px rgba(13,27,62,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1.5px solid rgba(201,162,39,0.35);
}

.contact-email:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(13,27,62,0.35);
  background: linear-gradient(135deg, #162447, #1f3570);
}

.email-icon {
  font-size: 1.1rem;
}

/* ─── AGREEMENT BANNER ───────────────────────── */
.agreement-banner {
  margin-top: 32px;
  background: linear-gradient(135deg, #0d1b3e 0%, #1a2f5e 100%);
  border-radius: 20px;
  padding: 28px 36px;
  text-align: center;
  box-shadow: 0 6px 28px rgba(13,27,62,0.22);
  border: 1px solid rgba(201,162,39,0.25);
}

.agreement-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
}

.agreement-banner p::before {
  content: '"';
  color: #c9a227;
  font-size: 1.4rem;
  font-style: normal;
  line-height: 0;
  vertical-align: -6px;
  margin-right: 4px;
}

.agreement-banner p::after {
  content: '"';
  color: #c9a227;
  font-size: 1.4rem;
  font-style: normal;
  line-height: 0;
  vertical-align: -6px;
  margin-left: 4px;
}

/* ─── FOOTER ─────────────────────────────────── */
.site-footer {
  background: linear-gradient(135deg, #0d1b3e 0%, #162447 100%);
  padding: 48px 24px 36px;
  text-align: center;
  border-top: 3px solid #c9a227;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 16px;
  border: 2px solid rgba(201,162,39,0.3);
  background: rgba(255,255,255,0.06);
  padding: 6px;
  margin-bottom: 6px;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.footer-email {
  color: #c9a227;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

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

.footer-updated {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-top: 6px;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin-top: 2px;
}

/* ─── BACK TO TOP ────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a227, #e8c54a);
  color: #0d1b3e;
  border: none;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(201,162,39,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
  z-index: 999;
  pointer-events: none;
}

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

.back-to-top:hover {
  box-shadow: 0 8px 28px rgba(201,162,39,0.6);
  transform: translateY(-3px);
}

/* ─── FADE-IN ANIMATION ──────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 640px) {
  .site-header {
    padding: 36px 16px 0;
  }

  .header-inner {
    flex-direction: column;
    text-align: center;
    gap: 18px;
    padding-bottom: 32px;
  }

  .header-logo-wrap {
    width: 90px;
    height: 90px;
  }

  .header-brand {
    font-size: 1.7rem;
  }

  .intro-card,
  .policy-section {
    padding: 24px 20px;
  }

  .policy-section {
    flex-direction: column;
    gap: 16px;
  }

  .section-number {
    width: 42px;
    height: 42px;
    font-size: 0.7rem;
    border-radius: 12px;
  }

  .section-title {
    font-size: 1.15rem;
  }

  .contact-email {
    font-size: 0.85rem;
    padding: 11px 20px;
    word-break: break-all;
  }

  .agreement-banner {
    padding: 22px 20px;
  }

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

@media (max-width: 400px) {
  .policy-list li {
    font-size: 0.88rem;
  }

  .section-text,
  .notice-box {
    font-size: 0.88rem;
  }
}
