/* Minimal fallback styles for public site when Tailwind CDN fails */
/* Typography */
html, body { margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif; color: #111827; background: #F9FAFB; }
h1, h2, h3 { margin: 0 0 0.75rem; font-weight: 700; color: #111827; }
p { margin: 0 0 1rem; color: #4B5563; line-height: 1.6; }
a { color: #6D28D9; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout containers */
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.mt-20 { margin-top: 5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.text-center { text-align: center; }

/* Colors & backgrounds */
.bg-white { background: #ffffff; }
.bg-gray-50 { background: #F9FAFB; }
.bg-gray-100 { background: #F3F4F6; }
.text-white { color: #ffffff; }
.text-gray-900 { color: #111827; }
.text-gray-700 { color: #374151; }
.text-gray-600 { color: #4B5563; }
.text-purple-100 { color: #E9D5FF; }
.text-purple-600 { color: #7C3AED; }
.gradient-bg { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }

/* Sizing utilities */
.h-10 { height: 2.5rem; }
.w-10 { width: 2.5rem; }
.h-12 { height: 3rem; }
.w-12 { width: 3rem; }
.h-24 { height: 6rem; }
.w-24 { width: 6rem; }

/* Radius & shadow */
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0,0,0,0.1); }

/* Flex & grid */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.grid { display: grid; gap: 2rem; }
.grid-cols-1 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* Text sizes & weights */
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

/* Components-ish */
nav { background: #ffffff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(0,0,0,0.05); }
.nav-link { color: #374151; transition: color .2s ease; }
.nav-link:hover { color: #7C3AED; }
.card-hover { transition: transform .2s ease, box-shadow .2s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.12); }

/* Helpers used by detection */
.hidden { display: none !important; }

