/*-----------------------------------*\
  #POLICY PAGES STYLES
\*-----------------------------------*/

/**
 * Enhanced styles for Privacy Policy, Terms & Conditions, and FAQ pages
 * Modern, professional design with improved readability and user experience
 */

/* POLICY HERO SECTION ENHANCEMENTS */
.contact-hero {
  background-color: var(--bg-misty-rose);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-block: 160px 80px;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(73, 95, 239, 0.9), rgba(0, 59, 91, 0.8));
  z-index: 1;
}

.contact-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  z-index: 1;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-white);
  max-width: 800px;
  margin: 0 auto;
}

.contact-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-weight: 500;
}

.contact-hero .hero-title {
  color: var(--text-white);
  margin-block: 20px 25px;
  font-size: clamp(3.2rem, 5vw, 5.6rem);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.contact-hero .hero-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.8rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ENHANCED POLICY CONTENT */
.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
  position: relative;
}

.policy-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--bg-majorelle-blue), var(--bg-ocean-blue));
  border-radius: 2px;
}

.policy-section {
  margin-bottom: 50px;
  padding: 40px;
  background: var(--bg-white);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(73, 95, 239, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.policy-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border-color: rgba(73, 95, 239, 0.2);
}

.policy-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bg-majorelle-blue), var(--bg-ocean-blue));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.policy-section:hover::before {
  transform: scaleX(1);
}

.policy-section .section-title {
  color: var(--text-gunmetal);
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.policy-section .section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, var(--bg-majorelle-blue), var(--bg-ocean-blue));
  border-radius: 2px;
}

.policy-section .section-text {
  color: var(--text-granite-gray);
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ENHANCED POLICY LISTS */
.policy-list {
  list-style: none;
  padding-left: 0;
  margin-top: 25px;
  display: grid;
  gap: 12px;
}

.policy-list li {
  padding: 15px 20px;
  padding-left: 50px;
  position: relative;
  background: rgba(73, 95, 239, 0.03);
  border-radius: 12px;
  border-left: 3px solid var(--bg-majorelle-blue);
  transition: all 0.3s ease;
}

.policy-list li:hover {
  background: rgba(73, 95, 239, 0.08);
  transform: translateX(5px);
}

.policy-list li::before {
  content: "✓";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bg-majorelle-blue);
  font-weight: bold;
  font-size: 1.4rem;
  width: 20px;
  height: 20px;
  background: rgba(73, 95, 239, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ENHANCED CONTACT INFO */
.contact-info {
  margin-top: 30px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(73, 95, 239, 0.05), rgba(0, 59, 91, 0.05));
  border-radius: 16px;
  border: 1px solid rgba(73, 95, 239, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bg-majorelle-blue), var(--bg-ocean-blue));
}

.contact-info p {
  margin: 12px 0;
  font-size: 1.6rem;
  color: var(--text-granite-gray);
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info strong {
  color: var(--text-gunmetal);
  font-weight: 600;
  min-width: 80px;
}

.contact-info a {
  color: var(--text-majorelle-blue);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 4px 8px;
  border-radius: 6px;
}

.contact-info a:hover {
  background: rgba(73, 95, 239, 0.1);
  text-decoration: none;
  transform: translateY(-1px);
}

/* FAQ SPECIFIC STYLES */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px 60px;
}

.faq-header {
  margin-top: 90px;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.faq-header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--bg-majorelle-blue), var(--bg-ocean-blue));
  border-radius: 2px;
}

.faq-header h1 {
  font-size: clamp(3.2rem, 5vw, 4.8rem);
  color: var(--text-gunmetal);
  margin-bottom: 20px;
  font-weight: 700;
}

.faq-header p {
  font-size: 1.8rem;
  color: var(--text-granite-gray);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 50px;
}

.category-title {
  font-size: 2.6rem;
  color: var(--text-gunmetal);
  margin-bottom: 30px;
  padding: 20px 30px;
  background: linear-gradient(135deg, var(--bg-majorelle-blue), var(--bg-ocean-blue));
  color: white;
  border-radius: 15px;
  font-weight: 600;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.category-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.category-title:hover::before {
  left: 100%;
}

.faq-item {
  background: var(--bg-white);
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(73, 95, 239, 0.1);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-color: rgba(73, 95, 239, 0.2);
}

.faq-question {
  padding: 25px 30px;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-gunmetal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}

.faq-question:hover {
  background: rgba(73, 95, 239, 0.03);
}

.faq-question::after {
  content: '+';
  font-size: 2.4rem;
  color: var(--bg-majorelle-blue);
  font-weight: 300;
  transition: transform 0.3s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(73, 95, 239, 0.1);
  border-radius: 50%;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
  background: var(--bg-majorelle-blue);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(73, 95, 239, 0.02);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 30px 25px 30px;
}

.faq-answer p {
  color: var(--text-granite-gray);
  line-height: 1.8;
  font-size: 1.6rem;
  padding-top: 15px;
  border-top: 1px solid rgba(73, 95, 239, 0.1);
}

/* CONTACT CTA ENHANCEMENT */
.contact-cta {
  background: linear-gradient(135deg, var(--bg-majorelle-blue), var(--bg-ocean-blue));
  color: var(--text-white);
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>');
}

.contact-cta h3 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.contact-cta p {
  margin-bottom: 30px;
  opacity: 0.95;
  font-size: 1.7rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.contact-cta .btn {
  background: var(--bg-white);
  color: var(--text-majorelle-blue);
  font-weight: 600;
  padding: 15px 35px;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-cta .btn:hover {
  background: var(--bg-misty-rose);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .contact-hero {
    padding-block: 140px 60px;
  }
  
  .contact-hero .hero-title {
    font-size: 3.2rem;
  }
  
  .policy-content {
    padding: 60px 15px;
  }
  
  .policy-section {
    padding: 25px 20px;
    margin-bottom: 30px;
  }
  
  .policy-section .section-title {
    font-size: 2rem;
    padding-left: 15px;
  }
  
  .policy-list li {
    padding: 12px 15px 12px 40px;
  }
  
  .contact-info {
    padding: 20px;
  }
  
  .faq-container {
    padding: 60px 15px 40px;
  }
  
  .faq-header h1 {
    font-size: 2.8rem;
  }
  
  .category-title {
    font-size: 2rem;
    padding: 15px 20px;
  }
  
  .faq-question {
    padding: 20px;
    font-size: 1.6rem;
  }
  
  .faq-answer {
    padding: 0 20px 20px 20px;
  }
  
  .contact-cta {
    padding: 35px 25px;
  }
  
  .contact-cta h3 {
    font-size: 2.4rem;
  }
}

@media (max-width: 480px) {
  .contact-hero .hero-subtitle {
    padding: 10px 20px;
    font-size: 1.4rem;
  }
  
  .policy-section .section-title::before {
    display: none;
  }
  
  .policy-section .section-title {
    padding-left: 0;
  }
  
  .policy-list li::before {
    left: 15px;
  }
  
  .policy-list li {
    padding-left: 45px;
  }
}

/* PRINT STYLES */
@media print {
  .contact-hero,
  .contact-cta,
  .faq-question::after {
    display: none;
  }
  
  .policy-section,
  .faq-item {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
  
  .faq-answer {
    max-height: none !important;
    padding: 15px 0 !important;
  }
}

/* ACCESSIBILITY IMPROVEMENTS */
.faq-question:focus {
  outline: 2px solid var(--bg-majorelle-blue);
  outline-offset: 2px;
}

.policy-section:focus-within {
  border-color: var(--bg-majorelle-blue);
}

/* ANIMATION ENHANCEMENTS */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.policy-section {
  animation: slideInUp 0.6s ease-out;
}

.policy-section:nth-child(even) {
  animation-delay: 0.1s;
}

.policy-section:nth-child(odd) {
  animation-delay: 0.2s;
} 