/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Tailwind Slate Palette & Custom Colors */
    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-slate-900: #0f172a;
    --color-white: #ffffff;
    --color-black: #000000;

    /* Brand Colors */
    --color-gray-pixel: #374151;
    /* Gray 700 - used as brand accent */
    --color-remisseriet: #1e3a8a;
    /* Deep Blue */
    --color-processeriet: #101828;
    /* Dark Blue/Gray */

    /* Typography */
    --font-sans: 'Inter', sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-slate-600);
    background-color: var(--color-slate-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-slate-900);
    line-height: 1.25;
    font-weight: 700;
}

h1:focus,
h2:focus,
h3:focus,
h4:focus,
h5:focus,
h6:focus {
    outline: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s;
}

ul {
    list-style: none;
}

/* Utilities (Tailwind Mapping) */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    /* px-6 */
    padding-right: 1.5rem;
    max-width: 1280px;
    /* Default tailwind container max-width roughly */
}

/* Spacing */
.section-spacing {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .section-spacing {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

/* Flexbox & Grid */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.space-x-2> :not([hidden])~ :not([hidden]) {
    margin-left: 0.5rem;
}

.space-x-3> :not([hidden])~ :not([hidden]) {
    margin-left: 0.75rem;
}

.space-x-4> :not([hidden])~ :not([hidden]) {
    margin-left: 1rem;
}

.space-x-6> :not([hidden])~ :not([hidden]) {
    margin-left: 1.5rem;
}

.space-x-10> :not([hidden])~ :not([hidden]) {
    margin-left: 2.5rem;
}

.space-y-2> :not([hidden])~ :not([hidden]) {
    margin-top: 0.5rem;
}

.space-y-4> :not([hidden])~ :not([hidden]) {
    margin-top: 1rem;
}

.space-y-6> :not([hidden])~ :not([hidden]) {
    margin-top: 1.5rem;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }

    .sm\:space-y-0> :not([hidden])~ :not([hidden]) {
        margin-top: 0;
    }

    .sm\:space-x-4> :not([hidden])~ :not([hidden]) {
        margin-left: 1rem;
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:pt-48 {
        padding-top: 12rem;
    }

    .md\:pb-32 {
        padding-bottom: 8rem;
    }

    .md\:text-6xl {
        font-size: 3.75rem;
        line-height: 1.1;
    }

    .md\:text-xl {
        font-size: 1.25rem;
        line-height: 1.75;
    }

    .md\:block {
        display: block;
    }

    .md\:hidden {
        display: none;
    }

    .md\:flex {
        display: flex;
    }

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:space-y-0> :not([hidden])~ :not([hidden]) {
        margin-top: 0;
    }

    .hidden.md\:block {
        display: block;
    }

    /* Fix specificity */
    .hidden.md\:flex {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Colors & Backgrounds */
.bg-slate-50 {
    background-color: var(--color-slate-50);
}

.bg-white {
    background-color: var(--color-white);
}

.bg-transparent {
    background-color: transparent;
}

.bg-gray-pixel {
    background-color: var(--color-gray-pixel);
}

.bg-remisseriet {
    background-color: var(--color-remisseriet);
}

.bg-processeriet {
    background-color: var(--color-processeriet);
}

.bg-white\/5 {
    background-color: rgba(255, 255, 255, 0.05);
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.bg-white\/20 {
    background-color: rgba(255, 255, 255, 0.2);
}

.text-slate-900 {
    color: var(--color-slate-900);
}

.text-slate-800 {
    color: var(--color-slate-800);
}

.text-slate-700 {
    color: var(--color-slate-700);
}

.text-slate-600 {
    color: var(--color-slate-600);
}

.text-slate-400 {
    color: var(--color-slate-400);
}

.text-white {
    color: var(--color-white);
}

.text-gray-pixel {
    color: var(--color-gray-pixel);
}

.hover\:text-gray-pixel:hover {
    color: var(--color-gray-pixel);
}

.hover\:text-slate-600:hover {
    color: var(--color-slate-600);
}

.hover\:bg-slate-600:hover {
    background-color: var(--color-slate-600);
}

.hover\:bg-slate-100:hover {
    background-color: var(--color-slate-100);
}

.hover\:bg-white\/20:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.hover\:underline:hover {
    text-decoration: underline;
}

/* Borders & Shadows */
.border {
    border-width: 1px;
    border-style: solid;
}

.border-t {
    border-top-width: 1px;
    border-top-style: solid;
}

.border-y {
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-style: solid;
}

.border-slate-100 {
    border-color: var(--color-slate-100);
}

.border-slate-200 {
    border-color: var(--color-slate-200);
}

.border-slate-300 {
    border-color: var(--color-slate-300);
}

.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1);
}

.border-white\/30 {
    border-color: rgba(255, 255, 255, 0.3);
}

.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), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-sm {
    border-radius: 0.125rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Text Sizes & Weights */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.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;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.uppercase {
    text-transform: uppercase;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-xl {
    max-width: 36rem;
}

.max-w-none {
    max-width: none;
}

.text-center {
    text-align: center;
}

/* Component Specifics */
.aspect-video {
    aspect-ratio: 16 / 9;
}

.overflow-hidden {
    overflow: hidden;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.opacity-20 {
    opacity: 0.2;
}

.opacity-80 {
    opacity: 0.8;
}

.opacity-90 {
    opacity: 0.9;
}

.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

.top-0 {
    top: 0;
}

.top-full {
    top: 100%;
}

.left-0 {
    left: 0;
}

.w-full {
    width: 100%;
}

.w-6 {
    width: 1.5rem;
}

.w-3\/4 {
    width: 75%;
}

.h-6 {
    height: 1.5rem;
}

.h-2 {
    height: 0.5rem;
}

.h-20 {
    height: 5rem;
}

.h-12 {
    height: 3rem;
}

.h-10 {
    height: 2.5rem;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

/* Transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.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: 150ms;
}

/* Prose (simplified from Tailwind Prose) */
.prose-lg p {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Custom Abstract Grid Background pattern */
.abstract-grid {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Button & Link Classes */
.inline-flex {
    display: inline-flex;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.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;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.pt-12 {
    padding-top: 3rem;
}

.pt-20 {
    padding-top: 5rem;
}

.pt-32 {
    padding-top: 8rem;
}

.pb-12 {
    padding-bottom: 3rem;
}

.pb-20 {
    padding-bottom: 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-16 {
    margin-bottom: 4rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

/* Navbar Scroll/Fixed hack */
/* Since we don't have JS for scroll detection in static SSR easily without adding <script>,
   we will make the navbar permanently white or glassmorphism.
   The user wants design match, so let's default to the "scrolled" look (white/shadow) or glass?
   Original design has transparent at top.
   Let's try position sticky with a slight background.
*/
.site-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-slate-200);
}

.blend-multiply {
    mix-blend-mode: multiply;
}

/* Animations */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px) scale(1.1);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1.1);
    }
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}