/* ========================================
   SavooVid - Legal Pages Modern Stylesheet
   ======================================== */

/* Base Styles */
body {
  font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0a0a0f;
  background-image: 
    radial-gradient(at 0% 0%, rgba(255, 0, 80, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(0, 242, 234, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(255, 0, 80, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(0, 242, 234, 0.1) 0px, transparent 50%);
  color: #fff;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.8;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.01) 0px,
      transparent 1px,
      transparent 40px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.01) 0px,
      transparent 1px,
      transparent 40px
    );
  pointer-events: none;
  z-index: 1;
}

body::after {
  content: '';
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 0, 80, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: gentlePulse 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes gentlePulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.6;
  }
}

/* Navbar Styles */
.navbar {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar:hover {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 8px 32px rgba(255, 0, 80, 0.15);
}

.navbar .logo img {
  height: 45px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(255, 0, 80, 0.3));
  transition: transform 0.3s ease;
}

.navbar .logo img:hover {
  transform: scale(1.05);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.navbar a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff0050, #00f2ea);
  transition: width 0.3s ease;
}

.navbar a:hover {
  color: #ff0050;
}

.navbar a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
  transition: color 0.3s ease;
}

.menu-toggle:hover {
  color: #ff0050;
}

.lang-select {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.lang-select:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 0, 80, 0.3);
}

.lang-select select {
  background: transparent;
  color: #fff;
  border: none;
  outline: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0 5px;
}

.lang-select select option {
  background: #1a1a24;
  color: #fff;
}

/* Main Content Container */
main {
  max-width: 950px;
  margin: 60px auto;
  padding: 50px 40px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page Header */
main h1 {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff0050 0%, #00f2ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

main h1 i {
  background: linear-gradient(135deg, #ff0050, #00f2ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.5rem;
}

/* Last Updated Badge */
main > p:first-of-type {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-block;
}

/* Introduction Paragraph */
main > p:nth-of-type(2) {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(255, 0, 80, 0.05);
  border-left: 4px solid #ff0050;
  border-radius: 8px;
}

/* Section Headings */
main h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-top: 45px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255, 0, 80, 0.2);
  position: relative;
  letter-spacing: -0.3px;
}

main h2::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #ff0050, #00f2ea);
}

/* Paragraphs */
main p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 20px;
}

main p strong {
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #ff0050, #00f2ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Lists */
main ul {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

main ul li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 15px;
  padding-left: 35px;
  position: relative;
}

main ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #00f2ea;
  font-size: 1.3rem;
  font-weight: 700;
}

/* Links */
main a {
  color: #00f2ea;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
}

main a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff0050, #00f2ea);
  transition: width 0.3s ease;
}

main a:hover {
  color: #ff0050;
}

main a:hover::after {
  width: 100%;
}

/* Contact Section Highlight */
main h2:last-of-type {
  color: #00f2ea;
  border-bottom-color: rgba(0, 242, 234, 0.3);
}

/* Footer */
footer {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  padding: 35px 40px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 80px;
  position: relative;
  z-index: 10;
}

footer p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin: 10px 0;
  line-height: 1.8;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding: 0 5px;
}

footer a:hover {
  color: #ff0050;
}

footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #ff0050, #00f2ea);
  transition: width 0.3s ease;
}

footer a:hover::after {
  width: 80%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(30px);
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    gap: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  main {
    margin: 30px 15px;
    padding: 35px 25px;
    border-radius: 18px;
  }

  main h1 {
    font-size: 2rem;
    flex-direction: column;
    gap: 10px;
  }

  main h1 i {
    font-size: 2rem;
  }

  main h2 {
    font-size: 1.4rem;
    margin-top: 35px;
  }

  main p,
  main ul li {
    font-size: 1rem;
  }

  footer {
    padding: 25px 20px;
  }

  footer p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  main h1 {
    font-size: 1.7rem;
  }

  main h2 {
    font-size: 1.2rem;
  }

  main p,
  main ul li {
    font-size: 0.95rem;
  }

  .navbar .logo img {
    height: 38px;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Selection Colors */
::selection {
  background: rgba(255, 0, 80, 0.3);
  color: #fff;
}

::-moz-selection {
  background: rgba(255, 0, 80, 0.3);
  color: #fff;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 10, 15, 0.5);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff0050, #00f2ea);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00f2ea, #ff0050);
}
