/* Landing Page Components - Matches shadcn/Tailwind patterns */

* {
  box-sizing: border-box;
}

/* Container matching max-w-6xl */
.container {
  max-width: 1152px; /* 72rem = 1152px */
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Header styling matching homepage */
.site-header {
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem; /* h-16 */
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  text-decoration: none;
  font-size: 1.25rem;
  font-family: 'Nunito Sans', system-ui, -apple-system, sans-serif;
}

.nav {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.nav a:hover {
  color: var(--primary);
}

.nav a[aria-current="page"] {
  color: var(--primary);
}

/* Buttons matching shadcn patterns */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  padding: 0.5rem 1rem;
  height: 2.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn:hover {
  background-color: hsl(217, 65%, 28%);
  text-decoration: none;
}

.btn.secondary {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn.secondary:hover {
  background-color: var(--secondary);
}

/* Cards matching shadcn */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

/* Grid layouts */
.grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

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

/* Pills */
.pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--secondary);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Hero section */
.hero {
  padding: 3.5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  font-family: 'Nunito Sans', system-ui, -apple-system, sans-serif;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}

.hero p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 45rem;
  margin: 0 auto 1.5rem;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Section styling */
section {
  padding: 2rem 0;
}

section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  font-family: 'Nunito Sans', system-ui, -apple-system, sans-serif;
}

section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  font-family: 'Nunito Sans', system-ui, -apple-system, sans-serif;
}

/* FAQ */
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin: 0.5rem 0;
  background-color: var(--card);
}

.faq summary {
  cursor: pointer;
  font-weight: 500;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* CTA Panel */
.cta-panel {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 2rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background-color: var(--background);
  margin-top: 4rem;
}

.muted {
  color: var(--muted-foreground);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Responsive utilities */
@media (min-width: 640px) {
  .nav {
    display: flex;
  }
  
  .hidden-mobile {
    display: block;
  }
}

@media (max-width: 639px) {
  .nav {
    display: none;
  }
  
  .hidden-mobile {
    display: none;
  }
}