/* ===========================================
   LEGAL PAGES - Privacy Policy & Terms of Service
   Navy + Gold theme
   =========================================== */

.legal-hero {
  padding: 8rem 0 3rem;
  text-align: center;
  background: var(--gradient-shield);
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: hsl(220 30% 14% / 0.8);
  border: 1px solid hsl(220 25% 20%);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.legal-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.legal-subtitle {
  color: var(--muted-foreground);
  font-size: 1rem;
}

/* Content */
.legal-content-section {
  padding: 3rem 0 5rem;
}

.legal-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.legal-intro {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-section {
  margin-bottom: 2.25rem;
}

.legal-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1rem;
}

.legal-section h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 3px;
  height: 1.1em;
  border-radius: 2px;
  background: var(--gradient-gold);
}

.legal-section p {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.legal-section strong {
  color: var(--foreground);
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
}

.legal-section ul li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 0.35rem;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.legal-contact {
  background: hsl(220 30% 14% / 0.6);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 0.5rem;
}

.legal-contact p {
  margin-bottom: 0.25rem;
}

.legal-contact a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-contact a:hover {
  color: var(--gold-light);
}

/* Responsive */
@media (max-width: 768px) {
  .legal-card {
    padding: 1.75rem 1.25rem;
  }

  .legal-hero {
    padding: 6rem 0 2rem;
  }
}

/* ===========================================
   LEGAL HERO VISUAL ENHANCEMENTS
   =========================================== */

.legal-hero-visual {
  position: relative;
  overflow: hidden;
}

.legal-hero-graphic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.legal-hero-graphic svg {
  width: 100%;
  height: 100%;
}

.legal-hero-visual .container {
  position: relative;
  z-index: 1;
}

/* ===========================================
   AI COMPONENT — APPROVAL-FIRST AI CALLOUT
   =========================================== */

.ai-component {
  background: linear-gradient(135deg, hsl(220 35% 10%) 0%, hsl(260 30% 12%) 100%);
  border: 1px solid hsl(260 50% 50% / 0.3);
  border-radius: 1.25rem;
  padding: 2rem 2.5rem;
  margin: 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.ai-component::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(260 50% 60% / 0.6), hsl(42 65% 58% / 0.4), transparent);
}

.ai-component-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.ai-orb {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(260 60% 55%), hsl(220 70% 55%));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px hsl(260 60% 55% / 0.4);
  flex-shrink: 0;
  animation: pulse-orb 3s ease-in-out infinite;
}

@keyframes pulse-orb {
  0%, 100% { box-shadow: 0 0 20px hsl(260 60% 55% / 0.4); }
  50% { box-shadow: 0 0 35px hsl(260 60% 55% / 0.7); }
}

.ai-orb svg { color: white; }

.ai-component-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: 0.01em;
}

.ai-component-subtitle {
  font-size: 0.8rem;
  color: hsl(260 50% 70%);
  margin-top: 0.125rem;
}

.ai-query-display {
  background: hsl(220 40% 6%);
  border: 1px solid hsl(220 25% 18%);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-family: 'DM Mono', 'Fira Code', monospace;
  font-size: 0.8125rem;
}

.ai-query-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(260 50% 65%);
  margin-bottom: 0.375rem;
  font-family: inherit;
}

.ai-query-text { color: var(--foreground); line-height: 1.5; }

.ai-response-display {
  background: hsl(220 40% 7%);
  border: 1px solid hsl(42 65% 58% / 0.2);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

.ai-response-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(42 65% 65%);
  margin-bottom: 0.375rem;
  font-family: 'DM Mono', monospace;
}

.ai-response-text {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.ai-response-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.ai-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  background: hsl(42 65% 58% / 0.1);
  border: 1px solid hsl(42 65% 58% / 0.2);
  border-radius: 9999px;
  font-size: 0.6875rem;
  color: hsl(42 65% 65%);
  font-family: 'DM Mono', monospace;
}

.ai-approval-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: hsl(150 50% 30% / 0.15);
  border: 1px solid hsl(150 50% 40% / 0.3);
  border-radius: 0.625rem;
  font-size: 0.8125rem;
  color: hsl(150 60% 65%);
}

.ai-approval-banner svg { flex-shrink: 0; }
