:root {
    --bg-main: #060913;
    --bg-surface: rgba(16, 22, 38, 0.6);
    --text-main: #f0f4f8;
    --text-muted: #94a3b8;
    --accent-primary: #00f0ff;
    --accent-secondary: #7000ff;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glow-primary: 0 0 20px rgba(0, 240, 255, 0.5);
    --glow-secondary: 0 0 30px rgba(112, 0, 255, 0.4);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body, html {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background Glows */
.glow-bg {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,240,255,0.08) 0%, rgba(6,9,19,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.glow-bg.secondary {
    top: 40%;
    left: 60%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(112,0,255,0.08) 0%, rgba(6,9,19,0) 70%);
}

/* Typography elements */
h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Base interactive elements */
a {
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--accent-secondary), #3a00b8);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--glow-secondary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--text-main);
    border-radius: 30px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Glass UI Component */
.glass {
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

#navbar.scrolled {
    padding: 1rem 0;
    background: rgba(6, 9, 19, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}

.logo-icon {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 400;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 2rem;
    position: relative;
}

.hero-content {
    flex: 1;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 20px;
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-actions {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}

/* Holographic Globe Animation */
.hologram-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.planet {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #00f0ff, #001f3f);
    box-shadow: 0 0 40px rgba(0,240,255,0.4), inset 0 0 20px rgba(255,255,255,0.5);
    z-index: 10;
    animation: pulseGlobe 4s ease-in-out infinite alternate;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 50%;
    transform-style: preserve-3d;
}

.orbit-1 {
    width: 200px;
    height: 200px;
    animation: rotateOrbit 10s linear infinite;
    border-top: 1px solid var(--accent-primary);
}

.orbit-2 {
    width: 250px;
    height: 250px;
    animation: rotateOrbit 15s linear infinite reverse;
    border-bottom: 1px solid var(--accent-secondary);
    transform: rotateX(60deg);
}

.orbit-3 {
    width: 320px;
    height: 320px;
    animation: rotateOrbit 20s linear infinite;
    border-left: 1px solid var(--accent-primary);
    transform: rotateY(70deg) rotateX(20deg);
}

@keyframes rotateOrbit {
    0% { transform: rotate3d(1, 1, 1, 0deg); }
    100% { transform: rotate3d(1, 1, 1, 360deg); }
}

@keyframes pulseGlobe {
    0% { box-shadow: 0 0 20px rgba(0,240,255,0.4), inset 0 0 20px rgba(255,255,255,0.5); }
    100% { box-shadow: 0 0 50px rgba(0,240,255,0.7), inset 0 0 30px rgba(255,255,255,0.8); }
}


/* Services Section */
.services {
    max-width: 1200px;
    margin: 8rem auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.card:hover::before {
    transform: translateX(100%);
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(0, 240, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.card p {
    font-size: 1rem;
}

/* Stats Section */
.stats {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 4rem 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-main);
    background: linear-gradient(135deg, #fff, var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Footer */
.footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h4 {
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-size: 1.125rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer ul li a {
    color: var(--text-muted);
}

.footer ul li a:hover {
    color: var(--accent-primary);
}

.mt-2 {
    margin-top: 1rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Animations Trigger Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade-in-up.appear, .fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

/* Responsive Media Queries */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    
    p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 4rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile behavior */
    }
}
