/* Terms of Service Modern Styles */

.modern-terms-section {
  background: linear-gradient(to bottom, #f8f4ff, white);
  min-height: 100vh;
  padding: 4rem 0;
}

.terms-header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 3rem 0;
  background: linear-gradient(135deg, #744aab, #a27fcf);
  border-radius: 20px;
  color: white;
  position: relative;
  overflow: hidden;
}

.terms-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.terms-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.terms-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.last-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
}

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

.terms-intro {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
  border-left: 5px solid #744aab;
}

.terms-intro h2 {
  color: #744aab;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.terms-intro p {
  color: #666;
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.terms-section {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.terms-section:hover {
  box-shadow: 0 10px 30px rgba(116, 74, 171, 0.15);
  transform: translateY(-2px);
}

.terms-section h2 {
  color: #744aab;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f0f0f0;
}

.terms-section h2 i {
  background: linear-gradient(135deg, #744aab, #a27fcf);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.subsection {
  margin-bottom: 2.5rem;
}

.subsection h3 {
  color: #333;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1rem;
}

.subsection h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: linear-gradient(135deg, #744aab, #a27fcf);
  border-radius: 2px;
}

.subsection ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.subsection li {
  padding: 0.8rem 0;
  color: #666;
  line-height: 1.6;
  position: relative;
  padding-left: 2rem;
}

.subsection li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.8rem;
  color: #744aab;
  font-size: 0.9rem;
}

.subsection li strong {
  color: #333;
  font-weight: 600;
}

.subsection p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.subsection a {
  color: #744aab;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.subsection a:hover {
  color: #a27fcf;
  text-decoration: underline;
}

.terms-notice {
  background: linear-gradient(135deg, #fff3cd, #fef7e0);
  border: 2px solid #ffc107;
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.terms-notice i {
  color: #f57c00;
  font-size: 1.5rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.terms-notice p {
  margin: 0;
  color: #333;
  font-weight: 500;
}

.contact-section {
  margin-top: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background: #f8f4ff;
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(116, 74, 171, 0.1);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(116, 74, 171, 0.15);
  background: white;
}

.contact-card h3 {
  color: #744aab;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-card h3 i {
  background: linear-gradient(135deg, #744aab, #a27fcf);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.contact-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-card li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0;
  color: #666;
}

.contact-card li i {
  color: #744aab;
  width: 16px;
  text-align: center;
}

.terms-footer {
  background: linear-gradient(135deg, #744aab, #a27fcf);
  border-radius: 20px;
  padding: 3rem;
  margin-top: 3rem;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.terms-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.footer-content h3 i {
  color: #4ade80;
}

.footer-content p {
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.footer-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

.footer-link i {
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-terms-section {
    padding: 2rem 0;
  }
  
  .terms-header {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }
  
  .terms-title {
    font-size: 2.2rem;
  }
  
  .terms-subtitle {
    font-size: 1.1rem;
  }
  
  .terms-content {
    padding: 0 1rem;
  }
  
  .terms-intro,
  .terms-section {
    padding: 2rem 1.5rem;
  }
  
  .terms-section h2 {
    font-size: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .subsection h3 {
    font-size: 1.2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-card {
    padding: 1.5rem;
  }
  
  .terms-footer {
    padding: 2rem 1.5rem;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .last-updated {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .terms-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .terms-section h2 {
    font-size: 1.3rem;
  }
  
  .terms-section h2 i {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .subsection h3 {
    font-size: 1.1rem;
  }
  
  .contact-card h3 {
    font-size: 1.1rem;
  }
  
  .footer-content h3 {
    font-size: 1.3rem;
    flex-direction: column;
    gap: 0.3rem;
  }
  
  .footer-link {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}
