:root {
    --regio-red: #E30613;
    --regio-black: #111827;
    --regio-dark: #1F2937;
    --regio-light: #F9FAFB;
    --regio-white: #FFFFFF;
    --regio-border: #E5E7EB;
    --ease-fluid: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    background-color: var(--regio-white);
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--regio-black);
}

.font-heading {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.02em; /* Tighter tracking for aggressive look */
}

/* B2B Magnetic Button */
.btn-b2b {
    background: var(--regio-red);
    color: white;
    padding: 12px 28px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.2);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* transition is faster for magnetic snap back */
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.btn-b2b::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: all 0.7s var(--ease-fluid);
    z-index: 1;
}

.btn-b2b:hover::before {
    left: 100%;
}

.btn-b2b:hover {
    box-shadow: 0 10px 25px rgba(227, 6, 19, 0.4);
    background: #cc0510;
}

.btn-b2b span {
    position: relative;
    z-index: 2;
    pointer-events: none; /* Prevents text from interfering with JS hover */
}

/* Hero Background */
.hero-bg {
    background: linear-gradient(to right, rgba(17, 24, 39, 0.95) 0%, rgba(17, 24, 39, 0.8) 50%, rgba(17, 24, 39, 0.4) 100%),
                url('https://images.unsplash.com/photo-1597404294360-feeeda04612e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
}

.accent-line {
    width: 60px;
    height: 4px;
    background-color: var(--regio-red);
}

/* Corporate Cards */
.corporate-card {
    background: var(--regio-white);
    border: 1px solid var(--regio-border);
    transition: transform 0.5s var(--ease-fluid), box-shadow 0.5s var(--ease-fluid), border-color 0.5s var(--ease-fluid);
}

.corporate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.08);
    border-color: rgba(227, 6, 19, 0.2);
}

/* Image Blend for Renders */
.blend-render {
    mix-blend-mode: multiply;
    transition: transform 0.6s var(--ease-fluid);
}
.corporate-card:hover .blend-render {
    transform: scale(1.05) rotate(2deg);
}

/* Grayscale Logos */
.grayscale-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.5s var(--ease-fluid);
}

.brand-card:hover .grayscale-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Custom Brands Card */
.brand-card {
    background: var(--regio-black);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s var(--ease-fluid);
}

.brand-card:hover {
    border-color: rgba(227, 6, 19, 0.5);
    background: #000000;
    box-shadow: 0 15px 30px -10px rgba(227, 6, 19, 0.15);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s var(--ease-fluid);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--regio-white);
    border: 1px solid var(--regio-border);
    color: var(--regio-black);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.5s var(--ease-fluid);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

/* Impeccable Animations */
.impeccable-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-fluid), transform 0.8s var(--ease-fluid);
    will-change: opacity, transform;
}

.impeccable-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.impeccable-stagger-1 { transition-delay: 0.1s; }
.impeccable-stagger-2 { transition-delay: 0.2s; }
.impeccable-stagger-3 { transition-delay: 0.3s; }
.impeccable-stagger-4 { transition-delay: 0.4s; }

/* Subtle pulse for the hero line */
@keyframes fluid-pulse {
    0% { opacity: 0.8; width: 60px; }
    50% { opacity: 1; width: 80px; }
    100% { opacity: 0.8; width: 60px; }
}

.accent-line.animated {
    animation: fluid-pulse 4s var(--ease-fluid) infinite;
}
