/* privacy-style.css */

/* Base resets & typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: #1a1a1a;
}

body {
  position: relative;
  overflow-x: hidden;
}

/* Animated background shapes */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3), transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3), transparent 50%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Centered container with glassmorphism */
.container {
  max-width: 800px;
  margin: 3rem auto;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header & navigation */
header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 25px;
  color: #667eea;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

nav a:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
  text-decoration: none;
}

/* Last updated badge */
p strong:first-child {
  font-weight: 600;
  color: #764ba2;
}

/* Sections */
h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2a2a2a;
  position: relative;
  padding-left: 1rem;
}

h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

p {
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #4a4a4a;
  line-height: 1.8;
}

ul {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

ul li {
  margin-bottom: 0.75rem;
  color: #4a4a4a;
  line-height: 1.8;
  position: relative;
  padding-left: 0.5rem;
}

ul li strong {
  color: #2a2a2a;
  font-weight: 600;
}

/* Links */
a {
  color: #667eea;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

a:hover {
  color: #764ba2;
  border-bottom-color: #764ba2;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(102, 126, 234, 0.2);
  color: #666;
}

footer p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

footer a {
  color: #667eea;
  font-weight: 500;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    margin: 1.5rem;
    padding: 2rem;
  }

  header h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  nav {
    flex-direction: column;
    align-items: center;
  }

  nav a {
    width: 100%;
    max-width: 200px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    margin: 1rem;
    padding: 1.5rem;
    border-radius: 15px;
  }

  header h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.2rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection styling */
::selection {
  background: rgba(102, 126, 234, 0.2);
  color: #2a2a2a;
}

::-moz-selection {
  background: rgba(102, 126, 234, 0.2);
  color: #2a2a2a;
}