/* Global Variables */
:root {
    --bg-color: #050505;
    /* Deep Matte Black */
    --surface-color: #121212;
    --text-primary: #FFFFFF;
    --text-secondary: #AAAAAA;
    --accent-color: #FFFFFF;
    /* High contrast white */

    /* Glassmorphism Tokens */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 16px;
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);

    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #030101;
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--text-primary);
    color: var(--bg-color);
    font-weight: 600;
    border-radius: 30px;
    border: 2px solid var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: transparent;
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* Header / Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: padding 0.3s ease, background 0.3s ease;
}

header.scrolled {
    padding: 15px 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
    z-index: 1001;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links li a {
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.7;
}

.nav-links li a:hover,
.nav-links li a.active {
    opacity: 1;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-primary);
}

/* Sections */
section {
    padding: 100px 0;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom right, #ffffff, #888888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Footer */
footer {
    padding: 50px 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
    text-align: center;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        height: 100%;
        text-align: center;
        transition: 0.3s;
        padding-top: 100px;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* ========== MOUSE TRACKER ========== */
/* .mouse-tracker {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.mouse-tracker.hover {
    width: 500px;
    height: 500px;
    opacity: 1;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, rgba(59, 130, 246, 0.15) 40%, transparent 70%);
} */

/* ========== ANIMATED SPHERE ========== */
.sphere-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.animated-sphere {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a2463 0%, #1e5bea 30%, #00d4ff 60%, #0a2463 100%);
    position: relative;
    box-shadow:
        0 0 80px rgba(30, 91, 234, 0.5),
        0 0 120px rgba(0, 212, 255, 0.3),
        inset -30px -30px 60px rgba(0, 0, 0, 0.4),
        inset 20px 20px 40px rgba(255, 255, 255, 0.1);
    animation: spherePulse 4s ease-in-out infinite, sphereFloat 6s ease-in-out infinite;
    transition: transform 0.1s ease-out;
}

.animated-sphere::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 60%;
    height: 30%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    border-radius: 50%;
    filter: blur(5px);
}

.animated-sphere::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 10%;
    width: 80%;
    height: 10%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.6), transparent);
    border-radius: 50%;
    animation: waveGlow 3s ease-in-out infinite;
}

@keyframes spherePulse {

    0%,
    100% {
        box-shadow: 0 0 80px rgba(30, 91, 234, 0.5), 0 0 120px rgba(0, 212, 255, 0.3), inset -30px -30px 60px rgba(0, 0, 0, 0.4), inset 20px 20px 40px rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow: 0 0 100px rgba(30, 91, 234, 0.7), 0 0 150px rgba(0, 212, 255, 0.5), inset -30px -30px 60px rgba(0, 0, 0, 0.4), inset 20px 20px 40px rgba(255, 255, 255, 0.1);
    }
}

@keyframes sphereFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes waveGlow {

    0%,
    100% {
        opacity: 0.4;
        transform: translateY(0) scaleX(0.8);
    }

    50% {
        opacity: 0.8;
        transform: translateY(5px) scaleX(1);
    }
}

.hero-video {
    mix-blend-mode: screen;
    width: 370px;
}

/* Responsive sphere */
@media (max-width: 900px) {
    .sphere-container {
        width: 300px;
        height: 300px;
    }

    .animated-sphere {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 600px) {
    .sphere-container {
        width: 250px;
        height: 250px;
    }

    .animated-sphere {
        width: 180px;
        height: 180px;
    }

    .mouse-tracker {
        display: none;
    }

    .hero-video {
        mix-blend-mode: screen;
        width: 246px;
    }
}