@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0284c7;
    --primary-light: #38bdf8;
    --secondary: #0f172a;
    --accent: #38bdf8;
    --dark: #020617;
    --glass: rgba(15, 23, 42, 0.7);
    --glass-thick: rgba(15, 23, 42, 0.9);
    --glass-border: rgba(56, 189, 248, 0.2);
    --glass-border-bright: rgba(56, 189, 248, 0.4);
    --nav-height: 80px;
}

.brand-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.3));
}

.logo-container img {
    height: 3.5rem;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.4));
    transition: all 0.3s ease;
}

.logo-container:hover img {
    filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.6));
    transform: scale(1.05);
}

/* Glass Select Styling */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem !important;
}

select option {
    background: #0f172a;
    color: white;
    padding: 10px;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--dark);
    color: #f1f5f9;
    overflow-x: hidden;
}

h1,
h2,
h3,
.font-heading {
    font-family: 'Orbitron', sans-serif;
}

/* Base Tech Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.glass-thick {
    background: var(--glass-thick);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-bright);
}

.glass-hover:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.text-glow {
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-tech {
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: var(--dark);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--accent));
    border-radius: 10px;
    border: 2px solid var(--dark);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.neon-border {
    position: relative;
    overflow: hidden;
}

.neon-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: translateX(-100%);
    animation: slideLine 3s infinite;
}

@keyframes slideLine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 10% 10%, rgba(2, 132, 199, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(56, 189, 248, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.3) 0%, transparent 60%);
    pointer-events: none;
}

/* 3D & Advanced Aesthetics */
.perspective-1000 {
    perspective: 1000px;
}

.preserve-3d {
    transform-style: preserve-3d;
}

.tilt-card {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform: perspective(1000px) rotateX(0) rotateY(0);
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(2deg) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(2, 132, 199, 0.4), 0 0 20px rgba(56, 189, 248, 0.1);
}

.floating-icon {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.4));
    animation: float-3d 10s infinite ease-in-out;
}

@keyframes float-3d {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) translateY(0);
    }

    33% {
        transform: translate(20px, -30px) rotate(5deg) translateY(-10px);
    }

    66% {
        transform: translate(-10px, 15px) rotate(-3deg) translateY(5px);
    }
}

.pulse-aura {
    animation: aura 4s infinite alternate ease-in-out;
}

@keyframes aura {
    0% {
        box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
    }

    100% {
        box-shadow: 0 0 40px rgba(56, 189, 248, 0.5);
    }
}

/* Page Entry */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Glow Utilities */
.glow-on-hover:hover {
    box-shadow: 0 0 30px rgba(2, 132, 199, 0.4);
}

.border-glow {
    border-color: var(--glass-border-bright);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
}

.blur-sphere {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
    animation: float 25s infinite alternate ease-in-out;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(80px, 80px) scale(1.2);
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(80px, 80px) scale(1.2);
    }
}

/* Cyber Core Hero Visuals */
.cyber-core-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    background: radial-gradient(circle at 50% 50%, #06113c 0%, #010413 100%);
}

.energy-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    animation: pulse-orb 10s infinite alternate ease-in-out;
}

@keyframes pulse-orb {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.5) translate(100px, 50px);
        opacity: 0.6;
    }
}

.core-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(56, 189, 248, 0.1);
}

.core-outer {
    width: 600px;
    height: 600px;
    animation: rotate 20s linear infinite;
}

.core-middle {
    width: 400px;
    height: 400px;
    animation: rotate 15s linear infinite reverse;
    border-color: rgba(56, 189, 248, 0.2);
}

.core-inner {
    width: 250px;
    height: 250px;
    animation: rotate 10s linear infinite;
    border-color: rgba(56, 189, 248, 0.3);
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.data-stream {
    position: absolute;
    top: -100px;
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--primary-light), transparent);
    animation: stream 5s linear infinite;
}

@keyframes stream {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(120vh);
        opacity: 0;
    }
}

/* Brand Marquee */
.brand-marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 4rem;
    padding: 2rem 0;
}

.brand-scroll {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 4rem;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.brand-logo {
    height: 35px;
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.brand-logo:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

/* AI & Cyberpunk Effects */
.scanlines {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: linear-gradient(to bottom,
            transparent 50%,
            rgba(56, 189, 248, 0.1) 51%);
    background-size: 100% 4px;
    pointer-events: none;
    opacity: 0.8;
}

.glitch-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    background: radial-gradient(circle at 50% 50%, rgba(2, 132, 199, 0.2) 0%, transparent 70%);
    mix-blend-mode: color-dodge;
    pointer-events: none;
    animation: glitch-anim 4s infinite linear;
}

@keyframes glitch-anim {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
        filter: hue-rotate(0deg);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
        filter: hue-rotate(15deg);
    }

    51% {
        opacity: 0.2;
    }

    52% {
        opacity: 0.7;
    }
}

.character-float {
    animation: float-ai 6s infinite ease-in-out;
}

@keyframes float-ai {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

.text-glow-ai {
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.6), 0 0 20px rgba(56, 189, 248, 0.3);
}

.hologram-flicker {
    animation: flicker 4s infinite;
}

@keyframes flicker {

    0%,
    19.999%,
    22%,
    62.999%,
    64%,
    64.999%,
    70%,
    100% {
        opacity: 1;
    }

    20%,
    21.999%,
    63%,
    63.999%,
    65%,
    69.999% {
        opacity: 0.4;
    }
}