/**
 * Student Book - Stylesheet
 * Contains styles for Privacy Policy and Account Deletion
 */

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

:root {
  --primary-color: #2563eb;
  --secondary-color: #3b82f6;
  --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --card-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #60a5fa;
  --success: #10b981;
}

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

body {
  font-family: "Tajawal", "Inter", sans-serif;
  background: var(--bg-gradient);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

header {
  text-align: center;
  margin-bottom: 5rem;
  animation: fadeInDown 1s ease-out;
}

.logo-container {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.logo-container svg {
  width: 80px;
  height: 80px;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, var(--accent));
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.policy-content {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 4rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.3s both;
}

section {
  margin-bottom: 4rem;
}

h2 {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 15px;
}

h2::before {
  content: "";
  width: 6px;
  height: 28px;
  background: var(--primary-color);
  border-radius: 3px;
  display: inline-block;
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-main);
  opacity: 0.85;
  font-size: 1.1rem;
}

ul {
  list-style: none;
  margin-bottom: 2rem;
  margin-top: 1rem;
}

li {
  margin-bottom: 1.2rem;
  padding-right: 2.5rem;
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  padding: 1rem 2.5rem 1rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease;
  color: var(--text-main);
}

li:hover {
  transform: translateX(-5px);
  background: rgba(255, 255, 255, 0.18);
}

li::after {
  content: "✓";
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--success);
  font-weight: bold;
}

.service-link {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  display: inline-block;
  margin-right: 0.6rem;
  margin-top: 0.4rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 6px;
}

.service-link:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--accent);
}

footer {
  text-align: center;
  margin-top: 5rem;
  padding-bottom: 3rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-card {
  background: linear-gradient(
    145deg,
    rgba(37, 99, 235, 0.1),
    rgba(96, 165, 250, 0.05)
  );
  border-radius: 20px;
  padding: 2.5rem;
  margin-top: 3rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
  text-align: center;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.contact-item svg {
  color: var(--accent);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 2rem 1rem;
  }

  .policy-content {
    padding: 2rem 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.4rem;
  }
}
