/* =========================
   🌍 RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #f4f5f7;
  color: #111;
  line-height: 1.6;
  overflow-x: hidden;
}

/* =========================
   🔝 HEADER
========================= */
.privacy-header {
  position: sticky;
  top: 0;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 16px;

  background: linear-gradient(135deg, #6a5cff, #8a7cff);
  color: #fff;

  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.privacy-title {
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  flex: 1;
}

.back-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.back-btn:active {
  background: rgba(255,255,255,0.15);
}

.header-spacer {
  width: 40px;
}

/* =========================
   📦 CONTAINER
========================= */
.privacy-container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 16px;
}

/* =========================
   🧾 CARD
========================= */
.privacy-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 14px;

  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* =========================
   📝 TEXT STYLES
========================= */
.privacy-h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.privacy-text {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.privacy-muted {
  font-size: 14px;
  color: #555;
}

.privacy-list {
  list-style: none;
  margin-top: 8px;
}

.privacy-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #333;
}

.privacy-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: #6a5cff;
  font-weight: bold;
}

/* =========================
   🛡️ NOTES
========================= */
.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  margin-top: 12px;
  padding: 12px;

  background: #f3f4ff;
  border-radius: 12px;
  font-size: 13px;
  color: #333;
}

.privacy-note i {
  color: #6a5cff;
  font-size: 16px;
  margin-top: 2px;
}

.privacy-note.warn {
  background: #fff6eb;
}

.privacy-note.warn i {
  color: #ff9800;
}

/* =========================
   📅 META
========================= */
.privacy-meta {
  margin-top: 10px;
}

.privacy-meta-item {
  font-size: 13px;
  color: #666;
}

.privacy-meta-label {
  font-weight: 600;
}

/* =========================
   📧 CONTACT
========================= */
.privacy-contact {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-top: 10px;
  font-size: 14px;
}

.privacy-contact i {
  color: #6a5cff;
}

.privacy-contact a {
  color: #6a5cff;
  text-decoration: none;
  font-weight: 600;
}

.privacy-contact a:active {
  opacity: 0.7;
}

/* =========================
   🧱 SPACING
========================= */
.privacy-bottom-space {
  height: 60px;
}

/* =========================
   📱 TABLET
========================= */
@media (min-width: 600px) {
  .privacy-title {
    font-size: 18px;
  }

  .privacy-card {
    padding: 18px 22px;
  }

  .privacy-h2 {
    font-size: 17px;
  }

  .privacy-text,
  .privacy-list li {
    font-size: 15px;
  }
}

/* =========================
   🖥️ DESKTOP
========================= */
@media (min-width: 1024px) {
  body {
    background: #eef0f4;
  }

  .privacy-container {
    padding: 24px 16px;
  }

  .privacy-card {
    margin-bottom: 18px;
  }

  .privacy-title {
    font-size: 19px;
  }
}

/* =========================
   📲 PWA SAFE AREA (iOS)
========================= */
@supports (padding: env(safe-area-inset-bottom)) {
  .privacy-bottom-space {
    height: calc(60px + env(safe-area-inset-bottom));
  }
}
