/* Shared CSS for Static Marketing Pages */
/* Mobile-first responsive design for FlyRacoons static pages */

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: hsl(222.2, 84%, 4.9%);
  background-color: hsl(0, 0%, 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Clash Display', Inter, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: hsl(222.2, 84%, 4.9%);
}

h1 {
  font-size: 2.25rem;
  font-weight: 700;
}

h2 {
  font-size: 1.875rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: hsl(215.4, 16.3%, 46.9%);
}

a {
  color: hsl(24, 100%, 55%);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: hsl(221.2, 83.2%, 45%);
}

/* Layout containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header styles - consistent across all pages */
.header {
  background: hsl(0, 0%, 100%);
  border-bottom: 1px solid hsl(214.3, 31.8%, 91.4%);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-image {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(222.2, 84%, 4.9%);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-outline {
  border: 1px solid hsl(214.3, 31.8%, 91.4%);
  background: transparent;
  color: hsl(222.2, 84%, 4.9%);
}

.btn-outline:hover {
  background: hsl(210, 40%, 98%);
  color: hsl(222.2, 84%, 4.9%);
}

.btn-primary {
  background: hsl(24, 100%, 55%);
  color: white;
}

.btn-primary:hover {
  background: hsl(221.2, 83.2%, 45%);
  color: white;
}

/* Mobile header adjustments */
@media (max-width: 640px) {
  .header-content {
    padding: 0.75rem 1rem;
  }
  
  .logo-text {
    font-size: 1.125rem;
  }
  
  .btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
  }
}

/* Main content area */
.main-content {
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Footer styles - mobile-optimized and consistent */
.footer {
  background: hsl(0, 0%, 100%);
  border-top: 1px solid hsl(214.3, 31.8%, 91.4%);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-image {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
}

.footer-logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(222.2, 84%, 4.9%);
}

.footer-description {
  color: hsl(215.4, 16.3%, 46.9%);
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(222.2, 84%, 4.9%);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: hsl(215.4, 16.3%, 46.9%);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: hsl(221.2, 83.2%, 53.3%);
}

.footer-button {
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: hsl(215.4, 16.3%, 46.9%);
  font-size: 0.875rem;
  padding: 0;
  transition: color 0.2s ease;
}

.footer-button:hover {
  color: hsl(221.2, 83.2%, 53.3%);
}

.footer-bottom {
  border-top: 1px solid hsl(214.3, 31.8%, 91.4%);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright {
  color: hsl(215.4, 16.3%, 46.9%);
  font-size: 0.875rem;
}

.footer-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-features {
    justify-content: flex-end;
  }
}

.footer-feature {
  color: hsl(215.4, 16.3%, 46.9%);
  font-size: 0.875rem;
  white-space: nowrap;
}

/* Mobile stacking for footer sections */
@media (max-width: 640px) {
  .footer {
    padding: 2rem 0 1.5rem;
  }
  
  .footer-grid {
    gap: 1.5rem;
  }
  
  .footer-features {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

/* Page-specific content styles */
.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: hsl(222.2, 84%, 4.9%);
}

.page-subtitle {
  font-size: 1.25rem;
  color: hsl(215.4, 16.3%, 46.9%);
  max-width: 600px;
  margin: 0 auto;
}

.section {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: hsl(222.2, 84%, 4.9%);
}

.section-content {
  line-height: 1.7;
  color: hsl(215.4, 16.3%, 46.9%);
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
  .page-title {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .main-content {
    padding: 1.5rem 0;
  }
  
  .page-header {
    padding: 1.5rem 0;
    margin-bottom: 2rem;
  }
}

/* Contact form styles */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: hsl(0, 0%, 100%);
  border: 1px solid hsl(214.3, 31.8%, 91.4%);
  border-radius: 0.5rem;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: hsl(222.2, 84%, 4.9%);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid hsl(214.3, 31.8%, 91.4%);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: hsl(221.2, 83.2%, 53.3%);
  box-shadow: 0 0 0 3px hsla(221.2, 83.2%, 53.3%, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-button {
  background: hsl(221.2, 83.2%, 53.3%);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.form-button:hover {
  background: hsl(221.2, 83.2%, 45%);
}

/* Community testimonials */
.testimonial {
  background: hsl(210, 40%, 98%);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 1rem;
  color: hsl(222.2, 84%, 4.9%);
}

.testimonial-author {
  font-weight: 500;
  color: hsl(215.4, 16.3%, 46.9%);
}

/* Utility classes */
.text-center {
  text-align: center;
}

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

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

.text-muted {
  color: hsl(215.4, 16.3%, 46.9%);
}

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

/* Smooth scrolling for internal links */
html {
  scroll-behavior: smooth;
}

/* Loading and animation utilities */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}