/* ========================================================
   RYLSE ENGINE - PREMIUM STYLESHEET (Vercel/Linear Vibe)
   ======================================================== */

/* --- RESET & GLOBAL DEFAULTS --- */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: rgba(255,255,255,0.1); }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: 'Source Sans 3', sans-serif; scroll-behavior: smooth; background-color: #000; }
body { background-color: #000; color: #fff; overflow-x: hidden; width: 100%; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
::selection { background-color: #812B2C; color: #fff; }
button { -webkit-appearance: none; appearance: none; background: transparent; border: none; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; outline: none; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; display: block; }

/* --- FONTS & TYPOGRAPHY UTILITIES --- */
.font-sans { font-family: 'Source Sans 3', sans-serif; }
.font-display { font-family: 'Hanken Grotesk', sans-serif; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.font-normal { font-weight: 400; } .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-5xl { font-size: 3rem; line-height: 1; } .text-6xl { font-size: 3.75rem; line-height: 1; } .text-7xl { font-size: 4.5rem; line-height: 1; }
.tracking-tight { letter-spacing: -0.025em; } .tracking-tighter { letter-spacing: -0.05em; } .tracking-wider { letter-spacing: 0.05em; } .tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; } .text-center { text-align: center; } .text-left { text-align: left; } .leading-tight { line-height: 1.15; } .leading-relaxed { line-height: 1.625; } .whitespace-nowrap { white-space: nowrap; }

/* --- COLOR UTILITIES --- */
.text-white { color: #fff; } .text-black { color: #000; } .text-gray-200 { color: #e5e7eb; } .text-gray-300 { color: #d1d5db; } .text-gray-400 { color: #9ca3af; } .text-gray-500 { color: #6b7280; } .text-brand-red { color: #812B2C; }
.text-purple-400 { color: #c084fc; } .text-blue-300 { color: #93c5fd; } .text-blue-400 { color: #60a5fa; } .text-yellow-200 { color: #fef08a; } .text-yellow-500 { color: #eab308; } .text-green-300 { color: #86efac; } .text-green-400 { color: #4ade80; }
.bg-black { background-color: #000; } .bg-transparent { background-color: transparent; } .bg-white { background-color: #fff; } .bg-brand-red { background-color: #812B2C; }

/* OPACITY BACKGROUNDS */
.bg-black\/30 { background-color: rgba(0,0,0,0.3); } .bg-black\/40 { background-color: rgba(0,0,0,0.4); } .bg-black\/50 { background-color: rgba(0,0,0,0.5); } .bg-black\/80 { background-color: rgba(0,0,0,0.8); } .bg-black\/95 { background-color: rgba(0,0,0,0.95); }
.bg-white\/5 { background-color: rgba(255,255,255,0.05); } .bg-white\/10 { background-color: rgba(255,255,255,0.1); } .bg-white\/\[0\.03\] { background-color: rgba(255,255,255,0.03); } .bg-white\/\[0\.08\] { background-color: rgba(255,255,255,0.08); }
.bg-brand-red\/10 { background-color: rgba(129,43,44,0.1); } .bg-brand-red\/20 { background-color: rgba(129,43,44,0.2); } .bg-blue-500\/20 { background-color: rgba(59,130,246,0.2); } .bg-purple-900\/10 { background-color: rgba(88,28,135,0.1); }

/* BORDERS & BORDER RADIUS */
.border { border-width: 1px; } .border-y { border-top-width: 1px; border-bottom-width: 1px; } .border-b { border-bottom-width: 1px; } .border-t { border-top-width: 1px; }
.border-white\/5 { border-color: rgba(255,255,255,0.05); } .border-white\/10 { border-color: rgba(255,255,255,0.1); } .border-white\/20 { border-color: rgba(255,255,255,0.2); }
.border-white\/\[0\.05\] { border-color: rgba(255,255,255,0.05); } .border-white\/\[0\.08\] { border-color: rgba(255,255,255,0.08); }
.border-brand-red\/20 { border-color: rgba(129,43,44,0.2); } .border-brand-red\/30 { border-color: rgba(129,43,44,0.3); } .border-brand-red\/40 { border-color: rgba(129,43,44,0.4); }
.rounded-full { border-radius: 9999px; } .rounded-xl { border-radius: 0.75rem; } .rounded-2xl { border-radius: 1rem; } .rounded-3xl { border-radius: 1.5rem; }

/* --- LAYOUT UTILITIES --- */
.block { display: block; } .hidden { display: none; } .flex { display: flex; } .inline-flex { display: inline-flex; } .grid { display: grid; }
.flex-col { flex-direction: column; } .flex-grow { flex-grow: 1; } .flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; } .justify-center { justify-content: center; } .justify-between { justify-content: space-between; }
.self-start { align-self: flex-start; } .object-contain { object-fit: contain; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); } .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-[5px] { gap: 5px; } .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; } .gap-12 { gap: 3rem; } .gap-16 { gap: 4rem; }
.space-y-6 > * + * { margin-top: 1.5rem; } .space-y-8 > * + * { margin-top: 2rem; } .space-y-36 > * + * { margin-top: 9rem; }

/* SPACING (Padding/Margin) */
.p-4 { padding: 1rem; } .p-6 { padding: 1.5rem; } .p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; } .px-5 { padding-left: 1.25rem; padding-right: 1.25rem; } .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; } .px-8 { padding-left: 2rem; padding-right: 2rem; } .px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; } .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; } .py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; } .py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; } .py-4 { padding-top: 1rem; padding-bottom: 1rem; } .py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; } .py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; } .py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; } .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; } .py-40 { padding-top: 10rem; padding-bottom: 10rem; }
.pt-8 { padding-top: 2rem; } .pt-20 { padding-top: 5rem; } .pt-32 { padding-top: 8rem; } .pb-10 { padding-bottom: 2.5rem; } .pb-20 { padding-bottom: 5rem; }
.mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 0.75rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; } .mb-10 { margin-bottom: 2.5rem; } .mb-12 { margin-bottom: 3rem; } .mb-20 { margin-bottom: 5rem; } .mt-6 { margin-top: 1.5rem; } .mt-10 { margin-top: 2.5rem; } .my-4 { margin-top: 1rem; margin-bottom: 1rem; } .my-20 { margin-top: 5rem; margin-bottom: 5rem; } .ml-1 { margin-left: 0.25rem; } .mr-2 { margin-right: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* SIZING & POSITIONING */
.w-2 { width: 0.5rem; } .w-3 { width: 0.75rem; } .w-5 { width: 1.25rem; } .w-6 { width: 1.5rem; } .w-10 { width: 2.5rem; } .w-12 { width: 3rem; } .w-14 { width: 3.5rem; } .w-40 { width: 10rem; } .w-80 { width: 20rem; } .w-full { width: 100%; } .w-auto { width: auto; } .w-max { width: max-content; }
.h-2 { height: 0.5rem; } .h-[2px] { height: 2px; } .h-3 { height: 0.75rem; } .h-5 { height: 1.25rem; } .h-6 { height: 1.5rem; } .h-7 { height: 1.75rem; } .h-10 { height: 2.5rem; } .h-12 { height: 3rem; } .h-14 { height: 3.5rem; } .h-20 { height: 5rem; } .h-40 { height: 10rem; } .h-80 { height: 20rem; } .h-full { height: 100%; } .h-px { height: 1px; } .min-h-screen { min-height: 100vh; } .min-h-\[90vh\] { min-height: 90vh; }
.max-w-xs { max-width: 20rem; } .max-w-md { max-width: 28rem; } .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-\[200px\] { max-width: 200px; }

.relative { position: relative; } .absolute { position: absolute; } .fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; } .top-0 { top: 0; } .right-0 { right: 0; } .bottom-0 { bottom: 0; }
.top-\[-10\%\] { top: -10%; } .right-\[-10\%\] { right: -10%; } .left-\[-10\%\] { left: -10%; }
.left-1\/2 { left: 50%; } .-translate-x-1\/2 { transform: translateX(-50%); }
.z-0 { z-index: 0; } .z-10 { z-index: 10; } .z-40 { z-index: 40; } .z-50 { z-index: 50; } .z-\[100\] { z-index: 100; }

.overflow-hidden { overflow: hidden; } .overflow-x-auto { overflow-x: auto; } .overflow-y-auto { overflow-y: auto; }
.pointer-events-none { pointer-events: none; } .pointer-events-auto { pointer-events: auto; } .cursor-pointer { cursor: pointer; } .outline-none { outline: none; }

/* --- EFFECTS, BLURS & TRANSITIONS --- */
.blur-2xl { filter: blur(40px); } .blur-\[60px\] { filter: blur(60px); } .blur-\[80px\] { filter: blur(80px); } .blur-\[100px\] { filter: blur(100px); } .blur-\[120px\] { filter: blur(120px); } .blur-\[150px\] { filter: blur(150px); }
.backdrop-blur-md { backdrop-filter: blur(12px); } .backdrop-blur-xl { backdrop-filter: blur(24px); } .backdrop-blur-2xl { backdrop-filter: blur(40px); }
.opacity-0 { opacity: 0; } .opacity-20 { opacity: 0.2; } .opacity-50 { opacity: 0.5; } .opacity-75 { opacity: 0.75; } .opacity-80 { opacity: 0.8; }
.scale-95 { transform: scale(0.95); } .scale-100 { transform: scale(1); }

.transition-all { transition-property: all; transition-duration: 300ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 200ms; }
.transition-transform { transition-property: transform; transition-duration: 300ms; }
.transition-opacity { transition-property: opacity; transition-duration: 300ms; }
.duration-300 { transition-duration: 300ms; } .duration-500 { transition-duration: 500ms; } .duration-700 { transition-duration: 700ms; }

/* HOVER STATES */
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:bg-gray-200:hover { background-color: #e5e7eb; }
.hover\:bg-white\/5:hover { background-color: rgba(255,255,255,0.05); } .hover\:bg-white\/10:hover { background-color: rgba(255,255,255,0.1); }
.hover\:border-brand-red\/50:hover { border-color: rgba(129,43,44,0.5); } .hover\:border-white\/50:hover { border-color: rgba(255,255,255,0.5); }
.hover\:text-white:hover { color: #fff; } .hover\:translate-x-2:hover { transform: translateX(0.5rem); } .hover\:opacity-100:hover { opacity: 1; }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:bg-brand-red\/20 { background-color: rgba(129,43,44,0.2); } .group:hover .group-hover\:bg-blue-500\/40 { background-color: rgba(59,130,246,0.4); }
.group:hover .group-hover\:border-brand-red\/40 { border-color: rgba(129,43,44,0.4); } .group:hover .group-hover\:border-blue-500\/40 { border-color: rgba(59,130,246,0.4); } .group:hover .group-hover\:border-white\/20 { border-color: rgba(255,255,255,0.2); }
.group:hover .group-hover\:border-blue-500\/30 { border-color: rgba(59,130,246,0.3); } .group:hover .group-hover\:border-yellow-500\/30 { border-color: rgba(234,179,8,0.3); } .group:hover .group-hover\:border-\[\#00ADD8\]\/30 { border-color: rgba(0,173,216,0.3); } .group:hover .group-hover\:border-white\/30 { border-color: rgba(255,255,255,0.3); }
.group:hover .group-hover\:text-brand-red { color: #812B2C; } .group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:bg-\[\#1e293b\] { background-color: #1e293b; } .group:hover .group-hover\:bg-\[\#422006\] { background-color: #422006; } .group:hover .group-hover\:bg-\[\#083344\] { background-color: #083344; } .group:hover .group-hover\:bg-white\/10 { background-color: rgba(255,255,255,0.1); } .group:hover .group-hover\:bg-white { background-color: #fff; }

/* GRADIENTY BAZOWE */
.bg-gradient-to-r { background-image: linear-gradient(to right, #ffffff, #d1d5db, #812B2C); }
.from-transparent { --tw-gradient-from: transparent; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.via-white\/15 { --tw-gradient-stops: var(--tw-gradient-from), rgba(255,255,255,0.15), var(--tw-gradient-to, transparent); }
.to-transparent { --tw-gradient-to: transparent; }

/* --- RESPONSIVE BREAKPOINTS (TAILWIND STYLE) --- */
@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; } .sm\:w-auto { width: auto; }
}
@media (min-width: 768px) {
    .md\:hidden { display: none; } .md\:block { display: block; } .md\:flex { display: flex; }
    
    /* GŁÓWNE FIXY GRID DLA STOPKI */
    .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\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    
    .md\:col-span-2 { grid-column: span 2 / span 2; } 
    .md\:col-span-3 { grid-column: span 3 / span 3; } 
    .md\:col-span-4 { grid-column: span 4 / span 4; }
    .md\:col-start-3 { grid-column-start: 3; }
    
    .md\:text-left { text-align: left; } .md\:text-base { font-size: 1rem; line-height: 1.5rem; } .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; } .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; } .md\:text-5xl { font-size: 3rem; line-height: 1; } .md\:text-6xl { font-size: 3.75rem; line-height: 1; } .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
    .md\:p-10 { padding: 2.5rem; } .md\:p-12 { padding: 3rem; } .md\:gap-8 { gap: 2rem; } .md\:gap-32 { gap: 8rem; } .md\:divide-x > * + * { border-left-width: 1px; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .lg\:text-6xl { font-size: 3.75rem; line-height: 1; } .lg\:text-\[7rem\] { font-size: 7rem; line-height: 1.05; }
}


/* ========================================================
   CRAZY CUSTOM UI/UX ANIMATIONS & COMPONENTS
   ======================================================== */

.home-spotlight {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 1;
    --mouse-x: 50vw; --mouse-y: 50vh;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(129, 43, 44, 0.15) 0%, rgba(60, 20, 100, 0.08) 40%, transparent 80%);
    will-change: background;
}

.bg-grid-pattern {
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.premium-glass-card {
    background: linear-gradient(145deg, rgba(20,20,22,0.6) 0%, rgba(10,10,12,0.8) 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.06); border-radius: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
}
.premium-glass-card:hover {
    transform: translateY(-4px); border-color: rgba(255,255,255,0.15); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255,255,255,0.15);
}

.sdk-card {
    background: rgba(10,10,12,0.6); border: 1px solid rgba(255,255,255,0.05); border-radius: 1.25rem; padding: 2rem; display: flex; flex-direction: column; backdrop-filter: blur(12px); transition: all 0.3s ease;
}
.sdk-card:hover { background: rgba(15,15,18,0.9); border-color: rgba(255,255,255,0.1); transform: translateY(-4px); }
.sdk-icon-wrapper { width: 3.5rem; height: 3.5rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,0.05); transition: all 0.3s ease; }
.code-pill { padding: 0.75rem 1rem; border-radius: 0.75rem; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.05); font-family: monospace; font-size: 0.75rem; transition: border-color 0.3s ease; }

.magical-gradient-text {
    background-size: 200% auto; color: #fff; background-image: linear-gradient(to right, #ffffff 0%, #9ca3af 20%, #d8b4fe 40%, #812B2C 60%, #ffffff 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shineText 6s linear infinite; display: inline-block;
}
@keyframes shineText { to { background-position: 200% center; } }

/* 6. INFINITE MARQUEE (Naprawione na telefony!) */
.marquee-container {
    display: flex; flex-wrap: nowrap; overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-content {
    display: flex; flex-shrink: 0; min-width: 100%; justify-content: space-around;
    animation: scroll-left 25s linear infinite;
}
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* 7. REVEAL ANIMATIONS */
.reveal-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; }
.reveal-up.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 100ms; } .delay-200 { transition-delay: 200ms; } .delay-300 { transition-delay: 300ms; }

/* 8. PING ANIMATION */
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
.animate-ping { animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite; }