/* ==============================================
   OsonPDF Landing Page - CSS
   landing.html dan ajratildi
   ============================================== */

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    background-color: #f9fafb;
    color: #1f2937;
}
html.dark body {
    background-color: #111827 !important;
    color: #e5e7eb !important;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* =============================================
   LAYOUT UTILITIES
============================================= */
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.max-w-6xl { max-width: 72rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-xl  { max-width: 36rem; margin-left: auto; margin-right: auto; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.inline-flex { display: inline-flex; }
.block { display: block; }
.inline-block { display: inline-block; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.z-50 { z-index: 50; }
.z-10 { z-index: 10; }
.w-full { width: 100%; }
.shrink-0 { flex-shrink: 0; }
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.space-y-4 > * + * { margin-top: 1rem; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px)  {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:p-6 { padding: 1.5rem; }
    .sm\:gap-4 { gap: 1rem; }
    .sm\:w-10 { width: 2.5rem; }
    .sm\:h-10 { height: 2.5rem; }
    .sm\:mb-3 { margin-bottom: 0.75rem; }
    .sm\:text-lg { font-size: 1.125rem; }
    .sm\:text-sm { font-size: 0.875rem; }
}
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:flex-row { flex-direction: row; }
    .md\:text-left { text-align: left; }
    .md\:text-5xl { font-size: 3rem; }
    .md\:text-lg { font-size: 1.125rem; }
    .md\:gap-6 { gap: 1.5rem; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:pt-36 { padding-top: 9rem; }
    .lg\:pb-24 { padding-bottom: 6rem; }
    .lg\:text-6xl { font-size: 3.75rem; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* =============================================
   SPACING
============================================= */
.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; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.pt-4 { padding-top: 1rem; }
.pt-28 { padding-top: 7rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }

/* =============================================
   TYPOGRAPHY
============================================= */
.text-xs   { font-size: 0.75rem; }
.text-sm   { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-3xl  { font-size: 1.875rem; }
.text-4xl  { font-size: 2.25rem; }
.text-\[10px\] { font-size: 10px; }
.font-bold     { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.tracking-tight  { letter-spacing: -0.025em; }
.tracking-wider  { letter-spacing: 0.05em; }
.uppercase { text-transform: uppercase; }
.leading-tight   { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.text-center { text-align: center; }
.whitespace-nowrap { white-space: nowrap; }

/* Colors */
.text-white       { color: #ffffff; }
.text-gray-400    { color: #9ca3af; }
.text-gray-600    { color: #4b5563; }
.text-gray-800    { color: #1f2937; }
.text-indigo-600  { color: #4f46e5; }
.text-indigo-300  { color: #a5b4fc; }
.text-yellow-500  { color: #eab308; }
.dark .dark\:text-white { color: #fff; }
.dark .dark\:text-gray-200 { color: #e5e7eb; }
.dark .dark\:text-gray-400 { color: #9ca3af; }
.dark .dark\:text-indigo-300 { color: #a5b4fc; }

/* =============================================
   BACKGROUND COLORS
============================================= */
.bg-gray-50   { background-color: #f9fafb; }
.bg-gray-100  { background-color: #f3f4f6; }
.bg-gray-900  { background-color: #111827; }
.bg-indigo-600{ background-color: #4f46e5; }
.bg-green-500 { background-color: #22c55e; }
.dark .dark\:bg-gray-800  { background-color: #1f2937; }
.dark .dark\:bg-gray-700  { background-color: #374151; }
.dark .dark\:bg-gray-900  { background-color: #111827; }

/* =============================================
   SIZES
============================================= */
.w-4  { width: 1rem; }  .h-4  { height: 1rem; }
.w-5  { width: 1.25rem; }.h-5  { height: 1.25rem; }
.w-6  { width: 1.5rem; } .h-6  { height: 1.5rem; }
.w-8  { width: 2rem; }   .h-8  { height: 2rem; }
.w-10 { width: 2.5rem; } .h-10 { height: 2.5rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }

/* =============================================
   BORDERS & ROUNDING
============================================= */
.rounded-lg  { border-radius: 0.5rem; }
.rounded-xl  { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full{ border-radius: 9999px; }
.rounded-bl-lg { border-bottom-left-radius: 0.5rem; }
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.dark .dark\:border-gray-700 { border-color: #374151; }
.border-indigo-100 { border-color: #e0e7ff; }
.dark .dark\:border-indigo-800 { border-color: #3730a3; }

/* =============================================
   SHADOWS
============================================= */
.shadow-lg  { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1); }
.shadow-md  { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1); }
.shadow-sm  { box-shadow: 0 1px 2px 0 rgba(0,0,0,.05); }

/* =============================================
   GRADIENT
============================================= */
.bg-gradient-to-r  { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-indigo-600 { --tw-gradient-from: #4f46e5; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(79,70,229,0)); }
.to-purple-600   { --tw-gradient-to: #9333ea; }
.from-indigo-400 { --tw-gradient-from: #818cf8; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(129,140,248,0)); }
.to-purple-400   { --tw-gradient-to: #c084fc; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.text-transparent { color: transparent; }

/* =============================================
   TRANSITIONS & ANIMATIONS
============================================= */
.transition       { transition: all 0.15s ease; }
.transition-all   { transition: all 0.15s ease; }
.transition-colors{ transition: color 0.15s, background-color 0.15s, border-color 0.15s; }
.duration-300 { transition-duration: 300ms; }
.hover\:-translate-y-0\.5:hover { transform: translateY(-2px); }
.hover\:-translate-y-1:hover   { transform: translateY(-4px); }
.focus\:outline-none:focus { outline: none; }

/* Theme icon animation */
.theme-icon { transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1), opacity 0.5s; }
.theme-rotate { transform: rotate(180deg); opacity: 0; }

/* =============================================
   COMPONENTS
============================================= */
.glass-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.dark .glass-nav {
    background: rgba(17, 24, 39, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.dark .glass-card {
    background: rgba(31, 41, 55, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1); }
.hover\:border-blue-500:hover   { border-color: #3b82f6; }
.hover\:border-green-500:hover  { border-color: #22c55e; }
.hover\:border-purple-500:hover { border-color: #a855f7; }
.hover\:border-indigo-500:hover { border-color: #6366f1; }
.hover\:border-pink-500:hover   { border-color: #ec4899; }
.hover\:border-orange-500:hover { border-color: #f97316; }
.hover\:bg-indigo-700:hover { background-color: #4338ca; }
.hover\:bg-gray-200:hover { background-color: #e5e7eb; }
.dark .dark\:hover\:bg-gray-700:hover { background-color: #374151; }
.hover\:text-white:hover { color: #fff; }

/* Hover icon bg change */
a.group:hover .group-hover\:bg-blue-600   { background-color: #2563eb; color: #fff; }
a.group:hover .group-hover\:bg-green-600  { background-color: #16a34a; color: #fff; }
a.group:hover .group-hover\:bg-purple-600 { background-color: #9333ea; color: #fff; }
a.group:hover .group-hover\:bg-indigo-600 { background-color: #4f46e5; color: #fff; }
a.group:hover .group-hover\:bg-pink-600   { background-color: #db2777; color: #fff; }
a.group:hover .group-hover\:bg-orange-600 { background-color: #ea580c; color: #fff; }
.group-hover\:text-white { transition: color 0.15s; }
.group:hover .group-hover\:text-white { color: #fff; }

/* Icon colors */
.text-blue-600    { color: #2563eb; }
.text-green-600   { color: #16a34a; }
.text-purple-600  { color: #9333ea; }
.text-pink-600    { color: #db2777; }
.text-orange-600  { color: #ea580c; }
.text-indigo-500  { color: #6366f1; }
.dark .dark\:text-blue-400   { color: #60a5fa; }
.dark .dark\:text-green-400  { color: #4ade80; }
.dark .dark\:text-purple-400 { color: #c084fc; }
.dark .dark\:text-pink-400   { color: #f472b6; }
.dark .dark\:text-orange-400 { color: #fb923c; }
.dark .dark\:text-indigo-400 { color: #818cf8; }

/* Icon bg light */
.bg-blue-100   { background-color: #dbeafe; }
.bg-green-100  { background-color: #dcfce7; }
.bg-purple-100 { background-color: #f3e8ff; }
.bg-pink-100   { background-color: #fce7f3; }
.bg-orange-100 { background-color: #ffedd5; }
.bg-indigo-100 { background-color: #e0e7ff; }
.bg-indigo-50  { background-color: #eef2ff; }
.dark .dark\:bg-blue-900\/40   { background-color: rgba(30,58,138,0.4); }
.dark .dark\:bg-green-900\/40  { background-color: rgba(20,83,45,0.4); }
.dark .dark\:bg-purple-900\/40 { background-color: rgba(88,28,135,0.4); }
.dark .dark\:bg-pink-900\/40   { background-color: rgba(131,24,67,0.4); }
.dark .dark\:bg-orange-900\/40 { background-color: rgba(124,45,18,0.4); }
.dark .dark\:bg-indigo-900\/40 { background-color: rgba(49,46,129,0.4); }
.dark .dark\:bg-indigo-900\/30 { background-color: rgba(49,46,129,0.3); }

/* Backdrop */
.backdrop-blur-sm  { backdrop-filter: blur(4px); }
.bg-white\/30       { background-color: rgba(255,255,255,0.3); }
.dark .dark\:bg-gray-800\/30 { background-color: rgba(31,41,55,0.3); }

/* =============================================
   BLOB ANIMATION
============================================= */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: float 10s infinite;
}
.blob-1 { top:-10%; left:-10%; width:250px; height:250px; background:#C7D2FE; border-radius:30% 70% 70% 30%; }
.blob-2 { bottom:0;  right:-5%; width:200px; height:200px; background:#FBCFE8; border-radius:70% 30% 30% 70%; }
.dark .blob-1 { background:#312e81; opacity:0.2; }
.dark .blob-2 { background:#581c87; opacity:0.2; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* =============================================
   DETAILS / SUMMARY (FAQ)
============================================= */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.group-open\:rotate-180 { transition: transform 0.3s; }
details[open] .rotate-on-open { transform: rotate(180deg); }
details[open] summary .group-open\:rotate-180 { transform: rotate(180deg); }

/* =============================================
   MISC
============================================= */
.top-0   { top: 0; }
.right-0 { right: 0; }
.inset-0 { inset: 0; }
.z-\[-1\] { z-index: -1; }
.scroll-smooth { scroll-behavior: smooth; }
