/* Legal Pages Styling (Privacy Policy & Terms of Service) */

.legal-page-content {
  padding: 160px 0 80px;
  min-height: 100vh;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.legal-header {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 2px solid #eee;
}

.legal-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #5f259f 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-header .last-updated {
  font-size: 14px;
  color: #888;
}

.legal-content {
  background: #fff;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.legal-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

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

.legal-section h2 {
  font-size: 24px;
  font-weight: 600;
  color: #5f259f;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section h2::before {
  content: "";
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, #5f259f 0%, #a855f7 100%);
  border-radius: 2px;
}

.legal-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 25px 0 15px;
}

.legal-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.legal-section ul li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

.legal-section ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #5f259f;
  font-size: 14px;
}

.legal-section .contact-info {
  background: linear-gradient(135deg, #f8f4ff 0%, #fff 100%);
  padding: 25px;
  border-radius: 15px;
  margin-top: 20px;
  border: 1px solid #e8d4ff;
}

.legal-section .contact-info p {
  margin-bottom: 10px;
}

.legal-section .contact-info p:last-child {
  margin-bottom: 0;
}

.legal-section .contact-info a {
  color: #5f259f;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.legal-section .contact-info a:hover {
  color: #a855f7;
}

.legal-footer {
  margin-top: 40px;
  text-align: center;
}

.legal-footer .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  background: linear-gradient(135deg, #5f259f 0%, #a855f7 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(95, 37, 159, 0.3);
  cursor: pointer;
}

.legal-footer .back-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(95, 37, 159, 0.4);
  color: #fff;
}

/* Footer Links */
.footer-links {
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links span {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 10px;
}

/* FAQ Section Styling */
.faq-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8f4ff 0%, #fff 100%);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 15px;
  margin-bottom: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 30px rgba(95, 37, 159, 0.1);
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: all 0.3s;
}

.faq-question:hover {
  background: #faf8ff;
}

.faq-question h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  line-height: 1.5;
}

.faq-question .faq-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5f259f 0%, #a855f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: all 0.3s;
}

.faq-item.active .faq-question .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-content {
  padding: 0 30px 25px;
  color: #666;
  font-size: 16px;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Testimonials Section Styling */
.testimonials-section {
  padding: 120px 0;
  background: #fff;
}

.testimonial-card {
  background: linear-gradient(135deg, #f8f4ff 0%, #fff 100%);
  border-radius: 20px;
  padding: 35px;
  height: 100%;
  border: 1px solid #e8d4ff;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(95, 37, 159, 0.15);
}

.testimonial-card .stars {
  margin-bottom: 20px;
}

.testimonial-card .stars i {
  color: #fbbf24;
  font-size: 18px;
  margin-right: 3px;
}

.testimonial-card .quote {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  font-style: italic;
  margin-bottom: 25px;
}

.testimonial-card .author {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.testimonial-card .position {
  font-size: 14px;
  color: #888;
}

/* Dark Mode Styles */
html.dark-mode .legal-page-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

html.dark-mode .legal-header h1 {
  background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

html.dark-mode .legal-header .last-updated {
  color: #aaa;
}

html.dark-mode .legal-content {
  background: #1e1e30;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

html.dark-mode .legal-section {
  border-bottom-color: #333;
}

html.dark-mode .legal-section h2 {
  color: #a855f7;
}

html.dark-mode .legal-section h3 {
  color: #e0e0e0;
}

html.dark-mode .legal-section p,
html.dark-mode .legal-section ul li {
  color: #bbb;
}

html.dark-mode .legal-section .contact-info {
  background: linear-gradient(135deg, #252540 0%, #1e1e30 100%);
  border-color: #444;
}

html.dark-mode .faq-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

html.dark-mode .faq-item {
  background: #1e1e30;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

html.dark-mode .faq-question:hover {
  background: #252540;
}

html.dark-mode .faq-question h4 {
  color: #e0e0e0;
}

html.dark-mode .faq-answer-content {
  color: #aaa;
}

html.dark-mode .testimonials-section {
  background: #16213e;
}

html.dark-mode .testimonial-card {
  background: linear-gradient(135deg, #1e1e30 0%, #252540 100%);
  border-color: #444;
}

html.dark-mode .testimonial-card .quote {
  color: #bbb;
}

html.dark-mode .testimonial-card .author {
  color: #e0e0e0;
}

html.dark-mode .testimonial-card .position {
  color: #888;
}

html.dark-mode .legal-footer .back-btn {
  background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
  box-shadow: 0 5px 20px rgba(168, 85, 247, 0.3);
}

html.dark-mode .legal-footer .back-btn:hover {
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}

html.dark-mode .footer-links a {
  color: rgba(255, 255, 255, 0.6);
}

html.dark-mode .footer-links a:hover {
  color: #a855f7;
}

/* Responsive */
@media (max-width: 991px) {
  .legal-page-content {
    padding: 140px 0 60px;
  }

  .legal-header h1 {
    font-size: 32px;
  }

  .legal-content {
    padding: 30px 25px;
  }

  .legal-section h2 {
    font-size: 20px;
  }

  .faq-question h4 {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .testimonial-card {
    margin-bottom: 20px;
  }
}
