/* ============================================
   Privacy Policy Page Styles
   ============================================ */

/* --- Page Layout --- */
.privacy-page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 20px 40px;
}

.privacy-page .top-bar {
  margin-bottom: 24px;
}

.privacy-page .logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s ease;
}

.privacy-page .logo:hover {
  opacity: 0.8;
}

/* --- Hero Area --- */
.privacy-hero {
  text-align: center;
  margin-bottom: 32px;
  animation: fade-up 0.5s ease both;
}

.privacy-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.privacy-app-name {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.privacy-updated {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.7;
  padding: 6px 14px;
  display: inline-block;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-top: 8px;
}

/* --- Intro Paragraph --- */
.privacy-intro {
  padding: 20px 24px;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 24px;
  animation: fade-up 0.5s 0.1s ease both;
}

.privacy-intro p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* --- Policy Sections --- */
.policy-section {
  position: relative;
  padding: 24px 24px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: border-color 0.3s ease, transform 0.3s ease;
  animation: fade-up 0.5s ease both;
}

.policy-section:nth-child(odd) {
  animation-delay: 0.15s;
}

.policy-section:nth-child(even) {
  animation-delay: 0.2s;
}

.policy-section:hover {
  border-color: rgba(240, 160, 48, 0.3);
  transform: translateY(-2px);
}

.section-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  line-height: 1;
  user-select: none;
}

.policy-section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
  padding-right: 48px;
}

.policy-section h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 16px;
  margin-bottom: 8px;
}

.policy-section p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.policy-section ul {
  list-style: none;
  padding: 0;
  margin: 8px 0;
}

.policy-section ul li {
  position: relative;
  padding-left: 20px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.policy-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

/* --- Contact Email --- */
.contact-email {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  color: #0c0c0f;
  background: var(--gradient);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-email:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

/* --- Footer --- */
.privacy-footer {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  animation: fade-up 0.5s 0.3s ease both;
}

.back-link {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: var(--surface-glass);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 12px;
}

.back-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.privacy-footer .footer-note {
  margin-top: 12px;
}

/* --- Responsive: Tablet --- */
@media (min-width: 500px) {
  .privacy-page {
    padding: 24px 32px 48px;
  }

  .privacy-hero h1 {
    font-size: 2.4rem;
  }

  .privacy-app-name {
    font-size: 1rem;
  }

  .privacy-intro p {
    font-size: 0.95rem;
  }

  .policy-section h2 {
    font-size: 1.15rem;
  }

  .policy-section p,
  .policy-section ul li {
    font-size: 0.9rem;
  }

  .section-number {
    font-size: 2.5rem;
  }
}

/* --- Responsive: Desktop --- */
@media (min-width: 900px) {
  .privacy-page {
    max-width: 800px;
    padding: 32px 48px 56px;
  }

  .privacy-hero h1 {
    font-size: 3rem;
  }

  .privacy-app-name {
    font-size: 1.1rem;
  }

  .privacy-intro {
    padding: 28px 32px;
  }

  .privacy-intro p {
    font-size: 1rem;
  }

  .policy-section {
    padding: 28px 32px;
  }

  .policy-section h2 {
    font-size: 1.25rem;
  }

  .policy-section h3 {
    font-size: 0.95rem;
  }

  .policy-section p,
  .policy-section ul li {
    font-size: 0.95rem;
  }

  .section-number {
    font-size: 3rem;
    top: 24px;
    right: 28px;
  }
}

/* --- Responsive: Large Desktop --- */
@media (min-width: 1200px) {
  .privacy-page {
    max-width: 900px;
    padding: 40px 64px 64px;
  }

  .privacy-hero h1 {
    font-size: 3.4rem;
  }

  .policy-section {
    padding: 32px 40px;
  }

  .policy-section h2 {
    font-size: 1.35rem;
  }

  .policy-section p,
  .policy-section ul li {
    font-size: 1rem;
  }
}
