@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* The Void & Crimson Palette - Ultra Premium */
    --p-brand: #ff1f1f;
    --p-brand-glow: rgba(255, 31, 31, 0.4);
    --p-bg: #030303;
    --p-surface: #0a0a0a;
    --p-surface-light: #161616;
    --p-glass: rgba(10, 10, 10, 0.7);
    --p-border: rgba(255, 255, 255, 0.05);
    --p-text: #ffffff;
    --p-text-dim: #94a3b8;
    --p-text-muted: #64748b;

    /* Depth & Effects */
    --blur-glass: 20px;
    --shadow-deep: 0 30px 60px rgba(0, 0, 0, 0.8);
    --grad-crimson: linear-gradient(135deg, #ff1f1f 0%, #7f0000 100%);
    --grad-dark: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--p-bg);
    color: var(--p-text);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Cinematic Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 31, 31, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 31, 31, 0.02) 0%, transparent 50%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

/* Re-imagined Navigation (Sticky but sleek) */
.nav-standard {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(var(--blur-glass));
    -webkit-backdrop-filter: blur(var(--blur-glass));
    border-bottom: 1px solid var(--p-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Re-imagined Glass Panel */
.glass-panel {
    background: var(--p-glass);
    backdrop-filter: blur(var(--blur-glass));
    -webkit-backdrop-filter: blur(var(--blur-glass));
    border: 1px solid var(--p-border);
    border-radius: 28px;
    box-shadow: var(--shadow-deep);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.glass-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-dark);
    pointer-events: none;
    opacity: 0.5;
}

.glass-panel:hover {
    border-color: rgba(255, 31, 31, 0.3);
    transform: translateY(-5px);
    background: rgba(15, 15, 15, 0.8);
}

/* Advanced Buttons */
.btn {
    border-radius: 16px;
    font-weight: 700;
    padding: 0.8rem 1.8rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--grad-crimson);
    color: white;
    box-shadow: 0 10px 30px var(--p-brand-glow);
}

.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px var(--p-brand-glow);
    filter: brightness(1.1);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Input Fields */
input,
select,
textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--p-brand);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(255, 31, 31, 0.1);
}

label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--p-text-dim);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Badges */
.status-badge {
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.status-active,
.status-inside {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-pending {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.status-cancelled,
.status-outside {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Animations */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--p-bg);
}

::-webkit-scrollbar-thumb {
    background: #1a1a1a;
    border-radius: 10px;
    border: 3px solid var(--p-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--p-brand);
}

/* Mobile Adjustments — extended in responsive.css */
@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    h1 { font-size: clamp(1.8rem, 6vw, 3rem); }
    h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
}
@media (max-width: 480px) {
    .container { padding: 0 0.85rem; }
}