:root {
  --background: #ffffff;
  --foreground: #171717;
}

@media (prefers-color-scheme: dark) {
  :root {
      --background: #0a0a0a;
      --foreground: #ededed;
  }
}

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

body {
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout styles */
.min-h-screen {
  min-height: 100vh;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .sm\:px-6 {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .lg\:px-8 {
      padding-left: 2rem;
      padding-right: 2rem;
  }
}

.max-w-4xl {
  max-width: 56rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Typography */
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

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

.text-gray-800 {
  color: #1f2937;
}

.text-gray-700 {
  color: #374151;
}

.text-gray-600 {
  color: #4b5563;
}

.text-gray-500 {
  color: #6b7280;
}

.text-white {
  color: #ffffff;
}

.text-blue-600 {
  color: #2563eb;
}

/* Grid and flex */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

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

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

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

/* Buttons */
button {
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background-color: #2563eb;
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  transition: background-color 0.15s;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-secondary {
  background-color: #ffffff;
  color: #374151;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid #d1d5db;
  transition: all 0.15s;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

.btn-large {
  padding: 0.75rem 2rem;
  font-weight: 600;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  font-size: 1.125rem;
}

/* Spacing utilities */
.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

/* Responsive text sizes */
@media (min-width: 640px) {
  .sm\:text-4xl {
      font-size: 2.25rem;
      line-height: 2.5rem;
  }

  .sm\:text-5xl {
      font-size: 3rem;
      line-height: 1;
  }

  .sm\:text-6xl {
      font-size: 3.75rem;
      line-height: 1;
  }

  .sm\:text-xl {
      font-size: 1.25rem;
      line-height: 1.75rem;
  }
}

@media (min-width: 768px) {
  .md\:text-6xl {
      font-size: 3.75rem;
      line-height: 1;
  }

  .md\:text-7xl {
      font-size: 4.5rem;
      line-height: 1;
  }

  .md\:flex-row {
      flex-direction: row;
  }

  .md\:gap-6 {
      gap: 1.5rem;
  }
}

/* Hero Section Specific Styles */
.hero-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-card {
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  color: #2563eb;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .bg-gray-50 {
      background-color: #111827;
  }
  
  .feature-card {
      background: #1f2937;
      color: #f3f4f6;
  }
  
  .text-gray-600 {
      color: #d1d5db;
  }
  
  .text-gray-700 {
      color: #e5e7eb;
  }
  
  .text-gray-800 {
      color: #f3f4f6;
  }
  
  .btn-secondary {
      background-color: #374151;
      color: #f3f4f6;
      border-color: #4b5563;
  }
  
  .btn-secondary:hover {
      background-color: #4b5563;
      border-color: #6b7280;
  }
}