:root {
    --bg-color: #050505;
    --text-color: #e5e5e5;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
    --accent-glow: rgba(200, 200, 255, 0.05);
}

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

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

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

/* Background effects */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    animation: float 25s infinite ease-in-out alternate;
}

.blob-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(30, 40, 60, 0.6) 0%, rgba(10, 10, 15, 0) 70%);
    top: -15%;
    left: -15%;
}

.blob-2 {
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(20, 30, 40, 0.5) 0%, rgba(5, 5, 5, 0) 70%);
    bottom: -25%;
    right: -25%;
    animation-delay: -12s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(60px, 60px) scale(1.05);
    }
}

/* Glassmorphism utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.8);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 6%;
    background: rgba(5, 5, 5, 0.3);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 6px;
    background: linear-gradient(135deg, #ffffff 0%, #666666 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    opacity: 0.6;
}

.nav-links a:hover {
    color: #fff;
    opacity: 1;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6%;
    position: relative;
}

.hero-content {
    text-align: center;
    padding: 5rem 4rem;
    border-radius: 20px;
    max-width: 900px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-content:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px var(--accent-glow);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(to right, #ffffff, #888888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    font-weight: 200;
    color: #a0a0a0;
    letter-spacing: 1px;
}

/* Services */
.services-section {
    padding: 10rem 6%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 6rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
}

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

.service-card {
    padding: 4rem 3rem;
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-icon {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.service-card p {
    font-weight: 200;
    color: #999;
    font-size: 1.05rem;
    line-height: 1.7;
}

.service-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
}

/* Footer */
.footer {
    padding: 5rem 6%;
    border-top: 1px solid var(--glass-border);
    margin-top: 6rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
}

.footer-section p {
    font-weight: 200;
    color: #888;
    font-size: 1rem;
    line-height: 1.8;
}

.contact-link {
    color: #e5e5e5;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    padding-bottom: 2px;
}

.contact-link:hover {
    border-color: #fff;
    color: #fff;
}

.copyright {
    text-align: center;
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.85rem;
    font-weight: 200;
    color: #444;
    letter-spacing: 1px;
}

/* Responsiveness */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-content {
        padding: 3rem 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-links {
        display: none;
    }
}