/* Sayfa hazır olana kadar göster — Tailwind CDN FOUC önler */
html:not(.page-ready) body {
    opacity: 0;
}

html.page-ready body {
    opacity: 1;
    transition: opacity 0.2s ease;
}

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

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hidden {
    display: none !important;
}

.flex { display: flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.sticky { position: sticky; }
.top-0 { top: 0; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.relative { position: relative; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.w-full { width: 100%; }
.h-16 { height: 4rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-white { color: #fff; }
.text-gray-600 { color: #4b5563; }
.text-gray-900 { color: #111827; }

.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1); }

.bg-white { background-color: #fff; }
.border-b { border-bottom-width: 1px; }
.border-gray-100 { border-color: #f3f4f6; }

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-from, #2563eb), var(--tw-gradient-to, #9333ea));
}

.from-blue-600 { --tw-gradient-from: #2563eb; }
.to-purple-600 { --tw-gradient-to: #9333ea; }

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

@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\:flex { display: flex; }
    .md\:hidden { display: none; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:w-1\/2 { width: 50%; }
}
