/* ==========================================================================
   FUTURISTIC UI/UX SYSTEM - SILICON VALLEY EDITION
   DESIGNED FOR ONIS PETROLEUM
   THEME: CYBER BLUE / DEEP SPACE / GLASSMORPHISM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* FUTURISTIC COLOR PALETTE (inherits logo theme) */
    --neon-blue: var(--brand);
    --neon-blue-glow: color-mix(in srgb, var(--brand) 60%, transparent);
    --deep-space: #05070a;
    --space-surface: #0a0e14;
    --space-card: rgba(18, 24, 33, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f5f7fb;
    --text-secondary: #d6e2f3;
    --accent-glow: radial-gradient(circle at center, var(--neon-blue-glow) 0%, transparent 70%);
    
    /* 5D ANIMATION VARIABLES */
    --transition-hyper: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --ease-futuristic: cubic-bezier(0.22, 1, 0.36, 1);
}

/* GLOBAL FUTURISTIC RESET */
body {
    background-color: var(--deep-space);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-logo, .nav-link {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
}

h1, .hero-carousel h1, .about-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem) !important;
    letter-spacing: -0.04em !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.05 !important;
}

h2, .section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem) !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.1 !important;
}

h3, .operation-title, .news-title {
    font-size: clamp(1.3rem, 3vw, 1.6rem) !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 1rem !important;
}

p, .operation-desc, .news-excerpt, .hero-subtitle {
    color: var(--text-secondary) !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    font-weight: 600;
    margin-bottom: 1rem;
}

.subtitle, .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem) !important;
    max-width: 650px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 2rem !important;
    opacity: 1 !important;
}

/* BACKGROUND MESH GRADIENT (5D FEEL) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, color-mix(in srgb, var(--brand) 12%, transparent) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, color-mix(in srgb, var(--brand-2) 10%, transparent) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(10, 14, 20, 1) 0%, transparent 100%);
    z-index: -2;
    pointer-events: none;
}

/* FLOATING ORBS (ANIMATED VIA GSAP) */
.floating-orb {
    position: fixed;
    width: 300px;
    height: 300px;
    background: var(--neon-blue-glow);
    filter: blur(100px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.2;
    pointer-events: none;
}

/* GLASSMORPHISM COMPONENTS */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    transition: var(--transition-hyper);
}

.glass-card:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 30px var(--neon-blue-glow);
    transform: translateY(-10px) perspective(1000px) rotateX(2deg);
}

/* FUTURISTIC BUTTONS */
.btn-futuristic {
    background: transparent;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
    transition: var(--transition-hyper);
    cursor: pointer;
}

.btn-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brand-2) 18%, transparent), transparent);
    transition: 0.5s;
}

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

.btn-futuristic:hover {
    background: var(--neon-blue);
    color: white;
    box-shadow: 0 0 20px var(--neon-blue-glow);
}

/* NEON HEADER */
.site-header {
    background: rgba(5, 7, 10, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

/* SCANLINE EFFECT FOR THAT CYBERPUNK FEEL */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.05) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.01), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.01));
    z-index: 10000;
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    opacity: 0.1;
}

/* 5D TEXT GRADIENT */
.text-gradient {
    background: linear-gradient(to right, #ffffff, var(--brand-2), #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 5s linear infinite;
}

@keyframes textShine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* GRID LAYOUTS */
.futuristic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

/* SCROLL PROGRESS INDICATOR */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--neon-blue);
    z-index: 9999;
    width: 0%;
}
