:root {
    /* Deep Space Gradient instead of flat black */
    --bg-gradient: linear-gradient(135deg, #090a10 0%, #12101e 100%);
    --surface-color: rgba(255, 255, 255, 0.03);
    --surface-border: rgba(255, 255, 255, 0.08);
    --accent-cyan: #00f0ff;
    --accent-purple: #9d4edd;
    --text-main: #b4c5d6;
    --text-white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg-gradient);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* --- Dynamic Animated Background Orbs --- */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: float 12s infinite ease-in-out alternate;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 240, 255, 0.15);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(157, 78, 221, 0.15);
    bottom: -150px;
    right: -100px;
    animation-delay: -6s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* --- Global Typography --- */
h1, h2, h3, .logo {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-white);
}

/* --- Glassmorphism Navbar --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(9, 10, 16, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--surface-border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    margin-left: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.btn-neon {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--surface-border);
    padding: 12px 28px;
    border-radius: 30px; /* Modern pill shape */
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    text-decoration: none;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
}

.btn-neon:hover {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -1px;
}

/* Gradient Animated Text for Main Heading */
.hero h1 span {
    background: linear-gradient(to right, var(--accent-cyan), var(--accent-purple), var(--accent-cyan));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero p {
    font-size: 1.25rem;
    max-width: 650px;
    margin-bottom: 50px;
    font-weight: 300;
    color: #aeb9c7;
}

/* --- Services Section --- */
.services {
    padding: 100px 5%;
    position: relative;
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-header h2 {
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 15px;
}

.services-header p {
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    font-weight: 600;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* Premium Dynamic Cards */
.card {
    background: var(--surface-color);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: translateY(-12px);
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 240, 255, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: inline-block;
    background: linear-gradient(135deg, rgba(0,240,255,0.1), rgba(157,78,221,0.1));
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s ease;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(0,240,255,0.2);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.card p {
    font-size: 0.95rem;
    font-weight: 300;
    color: #9ba9b8;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--surface-border);
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}/* --- Mobile View & Hamburger Menu --- */
.menu-toggle {
    display: none;
    color: var(--accent-cyan);
    font-size: 2rem;
    cursor: pointer;
    z-index: 101;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show hamburger icon on mobile */
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(9, 10, 16, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        border-bottom: 1px solid var(--accent-cyan);
        display: none; /* Hide menu by default on mobile */
    }
    
    .nav-links.active {
        display: flex; /* Show menu when clicked */
    }
    
    .nav-links a {
        margin: 15px 0;
        font-size: 1.1rem;
    }
    
    /* Adjust text size for mobile */
    .hero h1 { font-size: 3rem; }
    .services-header h2, .section-header h2 { font-size: 2.2rem; }
}