/* Babel Fish Legal Pages - Shared Styles */

:root {
  --bg-primary: #05070B;
  --bg-card: #151A24;
  --text-primary: #FFFFFF;
  --text-secondary: #A7AAB4;
  --accent-yellow: #FFD60A;
  --accent-purple: #8A3FFC;
  --border-color: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
  flex: 1;
}

/* Navigation */
.nav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.nav-logo {
  color: var(--accent-yellow);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-yellow);
}

/* Typography */
h1 {
  color: var(--accent-yellow);
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-weight: 700;
}

h2 {
  color: var(--accent-yellow);
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
  font-weight: 600;
}

h3 {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-top: 24px;
  margin-bottom: 12px;
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

a {
  color: var(--accent-yellow);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

ul, ol {
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
}

strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 8px;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.hero-description {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.card h3 {
  margin-top: 0;
  color: var(--accent-yellow);
}

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

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  color: var(--accent-yellow);
  margin: 0 0 12px 0;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Pro Section */
.pro-section {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(138, 63, 252, 0.1) 100%);
  border: 1px solid var(--accent-purple);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}

.pro-section h2 {
  color: var(--accent-purple);
  margin-top: 0;
}

.pro-badge {
  display: inline-block;
  background: var(--accent-purple);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Warning Card */
.warning-card {
  background: rgba(255, 214, 10, 0.1);
  border: 1px solid var(--accent-yellow);
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
}

.warning-card h3 {
  color: var(--accent-yellow);
  margin: 0 0 12px 0;
}

.warning-card p {
  margin: 0;
}

/* Info Card */
.info-card {
  background: rgba(138, 63, 252, 0.1);
  border: 1px solid var(--accent-purple);
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
}

.info-card h3 {
  color: var(--accent-purple);
  margin: 0 0 12px 0;
}

.info-card p {
  margin: 0;
}

/* Legal Links */
.legal-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px 0;
}

.legal-links a {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 24px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.legal-links a:hover {
  border-color: var(--accent-yellow);
  background: rgba(255, 214, 10, 0.05);
  opacity: 1;
}

/* Steps */
.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 48px;
  margin-bottom: 24px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--accent-yellow);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.step h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.step p {
  margin: 0;
}

/* Troubleshooting */
.troubleshoot-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.troubleshoot-item h4 {
  color: var(--text-primary);
  margin: 0 0 8px 0;
  font-size: 1rem;
}

.troubleshoot-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* Footer */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 32px 24px;
  margin-top: 60px;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-yellow);
}

.footer-copyright {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0;
}

/* Last Updated */
.last-updated {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

/* Contact Section */
.contact-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}

.contact-email {
  color: var(--accent-yellow);
  font-size: 1.25rem;
  font-weight: 600;
}

/* 404 Page */
.error-page {
  text-align: center;
  padding: 80px 0;
}

.error-code {
  font-size: 6rem;
  color: var(--accent-yellow);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1;
}

.error-page h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.error-page p {
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  background: var(--accent-yellow);
  color: var(--bg-primary);
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .nav-content {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    justify-content: center;
  }

  .container {
    padding: 16px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .legal-links {
    flex-direction: column;
    align-items: center;
  }

  .legal-links a {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .error-code {
    font-size: 4rem;
  }
}
