/* Modern Legal Pages Styling - Matching Power of Attorney Design */

.legal-page {
  min-height: 100vh;
}

/* Hero Section - Matching Power of Attorney style */
.legal-hero {
  background: linear-gradient(135deg, #f28a4b 0%, #f28a4b 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-icon {
  font-size: 3.5rem;
  color: #fff;
}

.legal-hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
  color: #fff;
}

.legal-hero-meta {
  margin-top: 2rem;
}

.last-updated {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

/* Content Section */
.legal-content-section {
  padding: 80px 0;
  background: #f8fafc;
}

.legal-content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

/* Card Styles */
.legal-intro-card,
.legal-section-card,
.legal-contact-card {
  margin-bottom: 2rem;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 2rem;
}

.legal-highlight-card {
  background: linear-gradient(135deg, #34a7e5 0%, #51b1e6 100%);
  color: #fff;
}

.legal-highlight-card .intro-title,
.legal-highlight-card h4 {
  color: #fff !important;
}

.legal-highlight-card ul {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0 0 1.5rem 1.5rem;
  padding: 0;
}

.legal-highlight-card li {
  margin-bottom: 0.75rem;
}

.legal-highlight-card a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
}

.legal-intro-card:hover,
.legal-section-card:hover,
.legal-contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Introduction Card */
.legal-intro-card {
  background: linear-gradient(135deg, #34a7e5 0%, #51b1e6 100%);
  color: white;
}

.intro-content {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
}

.intro-icon {
  font-size: 2.5rem;
  color: #f28a4b;
  margin-top: 0.5rem;
}

.intro-title {
  color: white !important;
  font-size: 1.8rem !important;
  margin-bottom: 1rem !important;
}

.intro-description {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 !important;
}

/* Section Cards */
.legal-section-card {
  background: white;
}

.section-header {
  margin-bottom: 2rem;
}

.section-title {
  color: #212529 !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-icon {
  color: #f28a4b;
  font-size: 1.8rem;
}

.section-description {
  color: #6b7280;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 !important;
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid #34a7e5;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: #e2e8f0;
  transform: translateX(5px);
}

.info-icon {
  font-size: 2rem;
  margin-top: 0.25rem;
}

.info-content h4 {
  color: #212529;
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-content p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Usage List */
.usage-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.usage-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid #f28a4b;
  transition: all 0.3s ease;
}

.usage-item:hover {
  background: #fef3c7;
  transform: translateX(5px);
}

.usage-icon {
  font-size: 2rem;
  margin-top: 0.25rem;
}

.usage-content h4 {
  color: #212529;
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.usage-content p {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Contact Card */
.legal-contact-card {
  background: linear-gradient(135deg, #f28a4b 0%, #ff9f5a 100%);
  color: white;
}

.contact-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 2rem;
  color: white;
}

.contact-title {
  color: white !important;
  font-size: 1.8rem !important;
  margin: 0 !important;
}

.contact-description {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.1rem;
  margin-bottom: 1.5rem !important;
}

.contact-info {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.contact-item {
  color: white;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-link {
  color: white !important;
  text-decoration: underline;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: #212529 !important;
  text-decoration: none;
}

/* Text Styles */
.protection-text,
.cookies-text,
.governing-text,
.payment-text,
.disclaimer-text,
.liability-text {
  color: #6b7280;
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .legal-hero {
    padding: 60px 0;
  }
  
  .legal-hero-title {
    font-size: 2.5rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .hero-icon {
    font-size: 3rem;
  }
  
  .legal-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .legal-content-section {
    padding: 60px 0;
  }
  
  .intro-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .intro-icon {
    margin-top: 0;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 1.6rem !important;
  }
  
  .contact-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .legal-hero-title {
    font-size: 2rem;
  }
  
  .legal-hero-subtitle {
    font-size: 1rem;
  }
  
  .intro-content,
  .info-item,
  .usage-item {
    padding: 1rem;
  }
  
  .section-title {
    font-size: 1.4rem !important;
  }
}
