/* --- Root Theme Variables --- */
:root {
  --bg-color: #0e0e10;
  --text-color: #f1f1f1;
  --subtext-color: #b0b0b0;
  --accent-color: #00ffe1;
  --panel-bg: rgba(255, 255, 255, 0.03);
  --border-color: rgba(255, 255, 255, 0.08);
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  --transition: 0.3s ease;
}

/* --- Base Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Segoe UI', 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.8;
  font-size: 16px;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  position: relative;
}

/* --- Header --- */
.privacy-header {
  background: var(--panel-bg);
  backdrop-filter: blur(10px);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}
.privacy-header h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent-color);
}
.privacy-header p {
  margin-top: 10px;
  font-size: 1.1rem;
  color: var(--subtext-color);
}

/* --- TOC Sidebar --- */
.toc {
  position: sticky;
  top: 100px;
  max-width: 240px;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 12px;
  float: right;
  margin: 40px 20px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}
.toc h2 {
  font-size: 1.1rem;
  color: var(--accent-color);
  margin-bottom: 16px;
}
.toc ul {
  list-style: none;
}
.toc li {
  margin-bottom: 12px;
}
.toc a {
  color: var(--subtext-color);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.toc a:hover {
  color: var(--accent-color);
}

/* --- Content Sections --- */
.privacy-content section {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 14px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
  animation: fadeIn 0.6s ease forwards;
}
.privacy-content section h2 {
  font-size: 1.6rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  font-weight: 600;
}
.privacy-content section p {
  color: var(--text-color);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 18px;
}

/* --- Footer --- */
.privacy-footer {
  background: var(--panel-bg);
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
}
.privacy-footer .container {
  padding: 0;
  color: var(--subtext-color);
}

/* --- Animations --- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .toc {
    display: none;
  }
  .privacy-header h1 {
    font-size: 2rem;
  }
  .privacy-content section {
    padding: 30px 20px;
  }
}
