/* Legal Pages Styles */
.legal-nav {
  background: rgba(13, 33, 66, 0.95);
  backdrop-filter: blur(20px);
}

.legal-page {
  padding-top: 80px;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-gray) 0%, white 100%);
}

.legal-hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 70%, rgba(0, 229, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255, 107, 53, 0.2) 0%, transparent 50%);
  animation: pulseFlow 8s ease-in-out infinite;
}

.legal-hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, white, var(--crystal-aqua));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

.legal-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.legal-content {
  padding: 4rem 0;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 25px;
  padding: 3rem;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.content-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--crystal-aqua), var(--primary-blue), var(--bright-orange));
}

.legal-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(31, 75, 153, 0.1);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1rem;
}

.legal-section h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--crystal-aqua), var(--primary-blue));
  border-radius: 2px;
}

.legal-section h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--dark-blue);
  margin: 1.5rem 0 1rem 0;
}

.legal-section p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: #444;
}

.legal-section ul {
  margin: 1rem 0;
  padding-left: 0;
  list-style: none;
}

.legal-section ul li {
  margin: 0.8rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
  line-height: 1.6;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  background: var(--crystal-aqua);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.contact-info {
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--light-gray), rgba(31, 75, 153, 0.05));
  border-radius: 15px;
  border: 1px solid rgba(31, 75, 153, 0.1);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-crystal);
}

.contact-item i {
  font-size: 1.2rem;
  color: var(--crystal-aqua);
  width: 20px;
  text-align: center;
}

.contact-item a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--crystal-aqua);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

/* Mobile Responsiveness for Legal Pages */
@media (max-width: 768px) {
  .legal-hero h1 {
    font-size: 2rem;
  }
  
  .content-wrapper {
    margin: 0 1rem;
    padding: 2rem 1.5rem;
  }
  
  .legal-section h2 {
    font-size: 1.5rem;
  }
  
  .contact-info {
    padding: 1rem;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
}

/* Enhanced Legal Page Effects */
.legal-section {
  transition: all 0.3s ease;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1rem 0;
}

.legal-section:hover {
  background: rgba(31, 75, 153, 0.02);
  transform: translateX(5px);
}

.effective-date {
  background: linear-gradient(45deg, var(--crystal-aqua), var(--primary-blue));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-crystal);
}

.legal-highlight {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(31, 75, 153, 0.1));
  border: 1px solid var(--crystal-aqua);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  position: relative;
}

.legal-highlight::before {
  content: '!';
  position: absolute;
  top: -10px;
  left: 20px;
  width: 20px;
  height: 20px;
  background: var(--crystal-aqua);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.8rem;
}
