/* Global Design System & Custom Components - The Oblique Group */

/* Refined Brand Palette Specifications */
:root {
    --color-primary: #0F172A;   /* Midnight Navy */
    --color-accent: #B11226;    /* Crimson Red */
    --color-secondary: #2563EB; /* Electric Blue */
    --color-bg: #FFFFFF;        /* White */
    --color-neutral: #E5E7EB;   /* Light Gray */
    --color-text: #1F2937;      /* Charcoal */
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
}

/* Material Icons */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Glassmorphism & Card Components */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-neutral);
    box-shadow: 0 40px 100px -20px rgba(15, 23, 42, 0.04);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-neutral);
}

.glass-header {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Custom Background Patterns & Glow Effects */
.hero-gradient {
    background: radial-gradient(120% 120% at 50% 10%, rgba(37, 99, 235, 0.06) 0%, rgba(255, 255, 255, 0) 100%);
}

.bg-grid-pattern {
    background-size: 30px 30px;
    background-image: linear-gradient(to right, rgba(229, 231, 235, 0.6) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(229, 231, 235, 0.6) 1px, transparent 1px);
}

.soft-glow {
    box-shadow: 0 0 80px -20px rgba(37, 99, 235, 0.25);
}

/* Micro-interactions & Animations */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-lift:hover {
    transform: translateY(-8px);
}

.floating-ui-card {
    box-shadow: 0 40px 100px -20px rgba(15, 23, 42, 0.04);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.floating-ui-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 50px 120px -20px rgba(15, 23, 42, 0.08);
}

.text-stroke {
    -webkit-text-stroke: 1px currentColor;
    color: transparent;
}

.oblique-mask {
    clip-path: polygon(10% 0, 100% 0%, 90% 100%, 0% 100%);
}

/* Scroll Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-entry {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* Custom Inputs */
.architectural-input {
    border: none;
    border-bottom: 1px solid #1F2937;
    background: transparent;
    padding: 12px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.architectural-input:focus {
    outline: none;
    border-bottom-color: #2563EB;
    box-shadow: 0 2px 0 0 rgba(37, 99, 235, 0.1);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #FFFFFF;
}
::-webkit-scrollbar-thumb {
    background: #0F172A;
    border-radius: 9999px;
}
