@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --text-primary: #000000;
  --text-secondary: #4a4a4a;
  --text-light: #8a8a8a;
  --background: #ffffff;
  --surface: #f5f5f5;
  --border: #e0e0e0;
  --shadow: rgba(0, 0, 0, 0.05);
  --shadow-hover: rgba(0, 0, 0, 0.1);
}

/* Legal Page Layout */
.legal-page {
  padding-top: 100px;
  min-height: 100vh;
  background: var(--background);
}

/* Header Section */
.legal-header {
  text-align: center;
  padding: 4rem 0;
  background: var(--background);
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.back-button {
  margin-bottom: 2rem;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--background);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 0;
  font-weight: 400;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.btn-back:hover {
  background: var(--text-primary);
  color: var(--background);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Legal Content */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.legal-section {
  background: var(--background);
  border-radius: 0;
  padding: 3rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.legal-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: var(--text-primary);
  opacity: 0;
  transition: all 0.3s ease;
}

.legal-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px var(--shadow);
  border-color: var(--text-primary);
}

.legal-section:hover::before {
  opacity: 1;
}

.legal-section h2 {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-weight: 400;
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.5px;
}

.legal-section h2 i {
  color: var(--text-secondary);
  font-size: 1.3rem;
  width: 24px;
  text-align: center;
}

.legal-info p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-weight: 300;
}

.legal-info p:last-child {
  margin-bottom: 0;
}

.legal-info strong {
  color: var(--text-primary);
  font-weight: 400;
}

.legal-info a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.legal-info a:hover {
  color: var(--text-secondary);
  border-bottom-color: var(--text-secondary);
}

/* Contact Section */
.legal-contact {
  margin: 5rem 0;
  padding: 0 2rem;
}

.contact-card {
  background: var(--text-primary);
  color: var(--background);
  padding: 4rem;
  border-radius: 0;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: none;
  border: 1px solid var(--text-primary);
  position: relative;
  overflow: hidden;
}

.contact-card > * {
  position: relative;
  z-index: 2;
}

.contact-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.5px;
}

.contact-card h3 i {
  font-size: 1.4rem;
}

.contact-card p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.7;
  font-weight: 300;
}

.contact-card .btn {
  padding: 1rem 2.5rem;
  border-radius: 0;
  font-weight: 400;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid var(--background);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  background: var(--background);
  color: var(--text-primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.contact-card .btn:hover {
  transform: translateY(-2px);
  background: transparent;
  color: var(--background);
  border-color: var(--background);
}

/* Desktop Enhancements */
@media (min-width: 1024px) {
  .legal-header {
    padding: 5rem 0;
  }
  
  .page-title {
    font-size: 4rem;
  }
  
  .page-subtitle {
    font-size: 1.2rem;
  }
  
  .legal-content {
    max-width: 1000px;
  }
  
  .legal-section {
    padding: 3.5rem;
  }
  
  .legal-section h2 {
    font-size: 1.7rem;
    margin-bottom: 2.5rem;
  }
  
  .legal-info p {
    font-size: 1.05rem;
    line-height: 1.9;
  }
  
  .contact-card {
    padding: 5rem;
    max-width: 800px;
  }
  
  .contact-card h3 {
    font-size: 1.8rem;
  }
  
  .contact-card p {
    font-size: 1.2rem;
  }
}

/* Tablet Responsive */
@media (max-width: 768px) {
  .legal-page {
    padding-top: 80px;
  }
  
  .legal-header {
    padding: 3rem 0;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .legal-content {
    padding: 0 1.5rem;
  }
  
  .legal-section {
    padding: 2.5rem;
    margin-bottom: 2rem;
  }
  
  .legal-section h2 {
    font-size: 1.3rem;
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
  
  .legal-info p {
    font-size: 0.95rem;
  }
  
  .contact-card {
    padding: 3rem;
    margin: 0 1.5rem;
  }
  
  .contact-card h3 {
    font-size: 1.4rem;
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .legal-header {
    padding: 2rem 0;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 0.95rem;
  }
  
  .legal-content {
    padding: 0 1rem;
  }
  
  .legal-section {
    padding: 2rem;
  }
  
  .legal-section h2 {
    font-size: 1.1rem;
  }
  
  .legal-info p {
    font-size: 0.9rem;
  }
  
  .contact-card {
    padding: 2rem;
    margin: 0 1rem;
  }
  
  .contact-card h3 {
    font-size: 1.2rem;
  }
  
  .contact-card p {
    font-size: 0.95rem;
  }
  
  .btn-back {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }
}
