/* Legal Pages Modern Editorial Styling (Terms & Conditions, Privacy Policy, Refund Policy) */

.legal-hero {
  padding-top: 160px;
  padding-bottom: 70px;
  background: radial-gradient(ellipse at top, #1c1917 0%, #0c0a09 70%, #000000 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
}

.legal-hero-kicker {
  color: #D4AF37;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}

.legal-hero-title {
  font-size: 3.2rem;
  margin-bottom: 15px;
  color: #ffffff;
  line-height: 1.15;
  font-family: 'Instrument Serif', serif;
  font-weight: normal;
  letter-spacing: -0.5px;
}

.legal-hero-meta {
  color: #a8a29e;
  font-size: 0.95rem;
  max-width: 750px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
}

.legal-content-section {
  padding: 60px 0 100px 0;
  background-color: #FAF9F6;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* Sticky Navigation Sidebar */
.legal-sidebar {
  position: sticky;
  top: 110px;
  background: #ffffff;
  border: 1px solid #e7e5e4;
  border-radius: 20px;
  padding: 24px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.legal-sidebar-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.3rem;
  color: #1c1917;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f5f5f4;
}

.legal-sidebar-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
  padding-right: 5px;
}

.legal-sidebar-nav::-webkit-scrollbar {
  width: 4px;
}
.legal-sidebar-nav::-webkit-scrollbar-thumb {
  background: #D4AF37;
  border-radius: 4px;
}

.legal-sidebar-nav a {
  font-size: 0.82rem;
  color: #57534e;
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'Inter', sans-serif;
}

.legal-sidebar-nav a:hover,
.legal-sidebar-nav a.active {
  color: #0c0a09;
  background: #f5f5f4;
  font-weight: 600;
}

/* Legal Cards Body */
.legal-intro-box {
  background: #ffffff;
  border: 1px solid #D4AF37;
  border-radius: 20px;
  padding: 28px 32px;
  margin-bottom: 35px;
  position: relative;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.08);
}

.legal-intro-box p {
  color: #292524;
  font-size: 0.95rem;
  line-height: 1.75;
  font-family: 'Inter', sans-serif;
}

.legal-card {
  background: #ffffff;
  border: 1px solid #e7e5e4;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  scroll-margin-top: 110px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.legal-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.legal-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f5f5f4;
}

.legal-section-badge {
  background: rgba(212, 175, 55, 0.15);
  color: #b48a1d;
  border: 1px solid rgba(212, 175, 55, 0.4);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}

.legal-card-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.65rem;
  color: #1c1917;
  margin: 0;
  font-weight: normal;
}

.legal-card-body {
  color: #57534e;
  font-size: 0.92rem;
  line-height: 1.8;
  font-family: 'Inter', sans-serif;
}

.legal-card-body p {
  margin-bottom: 14px;
}

.legal-card-body p:last-child {
  margin-bottom: 0;
}

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

.legal-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

.legal-list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: #D4AF37;
  font-size: 1.2rem;
  line-height: 1;
}

.legal-highlight-box {
  background: #fdfbf7;
  border-left: 3px solid #D4AF37;
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 20px 0;
}

.legal-highlight-box strong {
  color: #1c1917;
}

.legal-contact-card {
  background: #0c0a09;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  color: #ffffff;
  margin-top: 40px;
  text-align: center;
}

.legal-contact-card h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.legal-contact-card p {
  color: #a8a29e;
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
}

.legal-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #D4AF37;
  color: #000000;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.legal-contact-btn:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
  
  .legal-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 30px;
  }
  
  .legal-hero-title {
    font-size: 2.3rem;
  }
}
