/* LegalCompanion Landing Page Styles */

:root {
  --primary-color: #1e3a8a; /* Navy blue */
  --secondary-color: #3b82f6; /* Lighter blue */
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --background: #ffffff;
  --background-alt: #f9fafb;
  --border: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 2rem;
  font-size: 0.95rem;
}

nav a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero .tagline {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.hero .description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  opacity: 0.9;
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  background-color: white;
  color: var(--primary-color);
  padding: 0.875rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Content Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: var(--background-alt);
}

.section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--primary-color);
  text-align: center;
}

.section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.section p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.section ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.section li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* How It Works Grid */
.how-it-works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.95rem;
  margin: 0;
}

/* Practice Areas */
.practice-areas {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border: 2px solid var(--border);
  margin: 2rem 0;
}

.practice-areas ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.practice-areas li {
  padding: 0.75rem 1rem;
  background: var(--background-alt);
  border-radius: 6px;
  font-weight: 500;
}

.practice-areas li:before {
  content: "✓ ";
  color: var(--secondary-color);
  font-weight: 700;
  margin-right: 0.5rem;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  text-align: center;
}

.footer-links {
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
  font-size: 0.95rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-info {
  font-size: 0.875rem;
  opacity: 0.9;
}

.footer-info p {
  margin: 0.5rem 0;
}

/* Legal Pages (Privacy, Terms) */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 20px;
}

.legal-content h1 {
  font-size: 2.25rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.legal-content .updated {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.75rem;
  color: var(--text-light);
  line-height: 1.7;
}

.legal-content strong {
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  nav {
    margin-top: 1rem;
  }

  nav a {
    margin: 0 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .tagline {
    font-size: 1.1rem;
  }

  .section h2 {
    font-size: 1.75rem;
  }

  .how-it-works {
    grid-template-columns: 1fr;
  }

  .practice-areas ul {
    grid-template-columns: 1fr;
  }

  .footer-links a {
    display: block;
    margin: 0.5rem 0;
  }
}
