@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.scroll-smooth { scroll-behavior: smooth; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sr-only:focus { position: absolute; width: auto; height: auto; padding: 0.5rem; margin: 0; overflow: visible; clip: auto; white-space: normal; }

.text-white { color: #fff; }
.text-slate-50 { color: #f8fafc; }
.text-slate-100 { color: #f1f5f9; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.text-blue-600 { color: #2563eb; }
.text-blue-700 { color: #1d4ed8; }
.text-green-700 { color: #15803d; }
.text-red-600 { color: #dc2626; }
.text-yellow-400 { color: #facc15; }

.bg-white { background-color: #fff; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-200 { background-color: #e2e8f0; }
.bg-slate-700 { background-color: #334155; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-900 { background-color: #0f172a; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-blue-600 { background-color: #2563eb; }
.bg-blue-700 { background-color: #1d4ed8; }
.bg-blue-900 { background-color: #1e3a8a; }
.bg-green-100 { background-color: #dcfce7; }
.bg-red-50 { background-color: #fef2f2; }

.hover\:bg-blue-700:hover { background-color: #1d4ed8; }
.hover\:bg-blue-50:hover { background-color: #eff6ff; }
.hover\:bg-slate-100:hover { background-color: #f1f5f9; }
.hover\:bg-slate-800:hover { background-color: #1e293b; }
.hover\:text-blue-600:hover { color: #2563eb; }
.hover\:text-white:hover { color: #fff; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }

.border { border-width: 1px; }
.border-0 { border-width: 0; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }
.border-slate-700 { border-color: #334155; }
.border-slate-800 { border-color: #1e293b; }
.border-blue-600 { border-color: #2563eb; }
.border-white\/30 { border-color: rgba(255, 255, 255, 0.3); }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }

.transition { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 200ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }

.transform { transform: translateX(0); }
.-translate-x-full { transform: translateX(-100%); }
.translate-x-0 { transform: translateX(0); }

.backdrop-blur-md { backdrop-filter: blur(12px); }
.opacity-20 { opacity: 0.2; }
.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }
.grayscale { filter: grayscale(100%); }

.aspect-video { aspect-ratio: 16 / 9; }
.aspect-square { aspect-ratio: 1 / 1; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.inset-y-0 { top: 0; bottom: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.top-2 { top: 0.5rem; }
.left-2 { left: 0.5rem; }
.top-24 { top: 6rem; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.block { display: block; }
.hidden { display: none; }
.grid { display: grid; }

.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-32 { height: 8rem; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.min-h-screen { min-height: 100vh; }

.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-48 { width: 12rem; }
.w-64 { width: 16rem; }
.w-full { width: 100%; }
.w-auto { width: auto; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-none { max-width: none; }

.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.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-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-8 { padding-bottom: 2rem; }
.pt-8 { padding-top: 2rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }

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

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.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-6xl { font-size: 3.75rem; line-height: 1; }

.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }

.tracking-wide { letter-spacing: 0.025em; }
.uppercase { text-transform: uppercase; }

.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

.container { width: 100%; max-width: 80rem; margin-left: auto; margin-right: auto; }

.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mr-3 { margin-right: 0.75rem; }
.mr-4 { margin-right: 1rem; }
.ml-auto { margin-left: auto; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.divide-y > * + * { border-top-width: 1px; }
.divide-slate-100 > * + * { border-color: #f1f5f9; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

.prose { color: #374151; max-width: 65ch; }
.prose p { margin-top: 1.25em; margin-bottom: 1.25em; }
.prose h2 { font-size: 1.5em; font-weight: 700; margin-top: 1.5em; margin-bottom: 0.75em; }
.prose h3 { font-size: 1.25em; font-weight: 600; margin-top: 1.5em; margin-bottom: 0.75em; }
.prose ul { list-style-type: disc; padding-left: 1.5em; margin-top: 1.25em; margin-bottom: 1.25em; }
.prose li { margin-top: 0.25em; margin-bottom: 0.25em; }

.dark .prose { color: #e2e8f0; }
.dark .dark\:prose-invert { color: #e2e8f0; }
.dark .dark\:bg-slate-700 { background-color: #334155; }
.dark .dark\:bg-slate-800 { background-color: #1e293b; }
.dark .dark\:bg-slate-900 { background-color: #0f172a; }
.dark .dark\:bg-slate-900\/50 { background-color: rgba(15, 23, 42, 0.5); }
.dark .dark\:border-slate-600 { border-color: #475569; }
.dark .dark\:border-slate-700 { border-color: #334155; }
.dark .dark\:border-slate-800 { border-color: #1e293b; }
.dark .dark\:text-slate-100 { color: #f1f5f9; }
.dark .dark\:text-slate-300 { color: #cbd5e1; }
.dark .dark\:text-slate-400 { color: #94a3b8; }
.dark .dark\:text-white { color: #fff; }
.dark .dark\:hover\:bg-slate-800:hover { background-color: #1e293b; }

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

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:flex-row { flex-direction: row; }
    .md\:items-center { align-items: center; }
    .md\:justify-between { justify-content: space-between; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:w-48 { width: 12rem; }
    .md\:inline-flex { display: inline-flex; }
    .md\:translate-x-0 { transform: translateX(0); }
    .md\:gap-8 { gap: 2rem; }
    .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:gap-16 { gap: 4rem; }
}

@media (min-width: 1280px) {
    .xl\:gap-16 { gap: 4rem; }
}

/* Additional utilities for modern homepage */
.bg-slate-950\/85 { background-color: rgba(2, 6, 23, 0.85); }
.bg-slate-950\/60 { background-color: rgba(2, 6, 23, 0.6); }
.bg-white\/80 { background-color: rgba(255, 255, 255, 0.8); }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-blue-600\/10 { background-color: rgba(37, 99, 235, 0.1); }
.bg-blue-600\/20 { background-color: rgba(37, 99, 235, 0.2); }
.bg-blue-700\/95 { background-color: rgba(29, 78, 216, 0.95); }
.bg-indigo-800\/95 { background-color: rgba(55, 48, 163, 0.95); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.text-blue-400 { color: #60a5fa; }
.text-slate-300 { color: #cbd5e1; }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.hover\:-translate-y-0\.5:hover { transform: translateY(-2px); }
.hover\:-translate-y-1:hover { transform: translateY(-4px); }
.hover\:scale-105:hover { transform: scale(1.05); }
.scale-105 { transform: scale(1.05); }
.max-w-\[160px\] { max-width: 160px; }
.z-40 { z-index: 40; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }
.ring-2 { box-shadow: 0 0 0 2px; }
.ring-white { --tw-ring-color: #fff; }
.dark .dark\:ring-slate-700 { --tw-ring-color: #334155; }
.animate-bounce { animation: bounce 2s infinite; }
@keyframes bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

/* Smooth section transitions */
section { transition: background-color 0.3s ease; }

/* Theme: Blue (#106EBE) + Mint (#0FFCBE) */
:root {
    --color-primary: #106EBE;
    --color-primary-dark: #0d5aa3;
    --color-primary-light: #e6f1fb;
    --color-accent: #0FFCBE;
    --color-accent-dark: #0ce0aa;
}

/* Override blue utilities to theme primary */
.text-blue-600, .text-blue-700, .hover\:text-blue-600:hover { color: var(--color-primary) !important; }
.bg-blue-600, .bg-blue-700, .hover\:bg-blue-700:hover, .bg-blue-500 { background-color: var(--color-primary) !important; }
.border-blue-600 { border-color: var(--color-primary) !important; }
.bg-blue-50 { background-color: var(--color-primary-light) !important; }
.bg-blue-100 { background-color: #d3e7f9 !important; }
.shadow-blue-600\/20 { box-shadow: 0 10px 15px -3px rgba(16, 110, 190, 0.2); }
.shadow-blue-900\/40 { box-shadow: 0 10px 15px -3px rgba(16, 110, 190, 0.4); }

/* Mint accent utilities */
.text-mint { color: var(--color-accent); }
.bg-mint { background-color: var(--color-accent); }
.border-mint { border-color: var(--color-accent); }
.hover\:bg-mint:hover { background-color: var(--color-accent-dark); }

/* Gradient replacements */
.from-blue-700 { --tw-gradient-from: var(--color-primary); }
.via-blue-600 { --tw-gradient-via: var(--color-primary); }
.to-indigo-800 { --tw-gradient-to: #0e4a85; }
.bg-gradient-to-br.from-blue-700.via-blue-600.to-indigo-800 { background-image: linear-gradient(to bottom right, var(--color-primary), var(--color-primary), #0e4a85); }

/* Fallbacks for arbitrary theme colors used in templates */
.text-\[\#0FFCBE\] { color: #0FFCBE; }
.text-\[\#106EBE\] { color: #106EBE; }
.text-\[\#0f172a\] { color: #0f172a; }
.bg-\[\#106EBE\] { background-color: #106EBE; }
.bg-\[\#0FFCBE\] { background-color: #0FFCBE; }
.bg-\[\#0ce0aa\] { background-color: #0ce0aa; }
.bg-\[\#0d5aa3\] { background-color: #0d5aa3; }
.border-\[\#0FFCBE\]\/30 { border-color: rgba(15, 252, 190, 0.3); }
.shadow-\[\#0FFCBE\]\/20 { box-shadow: 0 10px 15px -3px rgba(15, 252, 190, 0.2); }
.shadow-\[\#106EBE\]\/20 { box-shadow: 0 10px 15px -3px rgba(16, 110, 190, 0.2); }
.hover\:bg-\[\#0ce0aa\]:hover { background-color: #0ce0aa; }
.hover\:bg-\[\#0d5aa3\]:hover { background-color: #0d5aa3; }

/* Mobile menu utilities */
.translate-x-0 { transform: translateX(0); }
.translate-x-full { transform: translateX(100%); }
.w-72 { width: 18rem; }
.right-0 { right: 0; }
.hover\:text-\[\#106EBE\]:hover { color: #106EBE; }
