/* CSS Variables - Design Tokens */
:root {
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(240, 10%, 3.9%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(240, 10%, 3.9%);
  --primary: hsl(120, 50%, 36%);
  --primary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(240, 4.8%, 95.9%);
  --muted-foreground: hsl(240, 3.8%, 46.1%);
  --border: hsl(240, 5.9%, 90%);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Utility Classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.container-sm {
  max-width: 56rem;
}

.container-md {
  max-width: 64rem;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  border-radius: 0.375rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 3rem;
  font-size: 1rem;
}

/* Header */
.header {
  background-color: var(--background);
  padding: 1.25rem 0.5rem;
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

.logo-accent {
  color: var(--primary);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.875rem;
  color: hsl(240, 10%, 3.9%, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--foreground);
}

.nav-mobile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hamburger {
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

.mobile-menu {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .nav-mobile {
    display: none;
  }
}

/* Hero Section */
.hero {
  padding: 5rem 1.5rem;
  background-color: hsl(240, 4.8%, 95.9%, 0.5);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.hero-card {
  background-color: var(--card);
  border-radius: 1rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 2.5rem;
  }
}

/* Features Section */
.features {
  padding: 4rem 1.5rem;
  background-color: var(--background);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-card {
  background-color: var(--card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  background-color: hsl(120, 50%, 36%, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Steps Section */
.steps {
  padding: 4rem 1.5rem;
  background-color: hsl(240, 4.8%, 95.9%, 0.3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  max-width: 42rem;
}

.steps-grid {
  display: grid;
  gap: 1.5rem;
}

.step-card {
  background-color: var(--card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.step-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Contact Section */
.contact {
  padding: 4rem 1.5rem;
  background-color: hsl(240, 4.8%, 95.9%, 0.3);
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.contact-card {
  background-color: var(--card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

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

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: hsl(120, 50%, 36%, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-title {
  font-weight: 600;
}

.contact-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.contact-link {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* About Page */
.about-page {
  flex: 1;
  padding: 4rem 1.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-content {
  /* Text content container */
}

.about-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .about-title {
    font-size: 2.25rem;
  }
}

.about-text {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-text:last-child {
  margin-bottom: 0;
}

.about-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Legal Pages (Terms & Privacy) */
.legal-page {
  flex: 1;
  padding: 4rem 1.5rem;
}

.legal-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--foreground);
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.legal-section {
  /* Section container */
}

.legal-heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.legal-text {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.legal-list {
  list-style: disc;
  list-style-position: inside;
  margin-top: 0.5rem;
  color: var(--muted-foreground);
  line-height: 1.8;
}

.legal-list li {
  margin-bottom: 0.25rem;
}

.legal-link {
  color: var(--primary);
  text-decoration: none;
  transition: text-decoration 0.2s;
}

.legal-link:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: var(--muted);
  padding: 1.5rem;
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary);
}
