:root {
    --bg-primary: #0a0a0a;
    --text-primary: #f0f0f0;
    --accent-neon: #00ffff;
    --accent-gradient: linear-gradient(45deg, #00ffff, #4d4dff);
}

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

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    perspective: 1000px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at top right, rgba(0,255,255,0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(77,77,255,0.1), transparent 40%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    transform: translateZ(50px);
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-primary);
    opacity: 0.7;
    max-width: 800px;
    margin: 1.5rem auto;
    padding: 1rem 0;
}

.hero-subtitle-2 {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-primary);
    opacity: 0.7;
    max-width: 800px;
    margin: 1rem auto 0;
}

.projects {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 6rem 0;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: rotateX(10deg) scale(0.9);
    opacity: 0.8;
}

.project-card:hover {
    transform: rotateX(0) scale(1);
    opacity: 1;
    box-shadow: 0 20px 50px rgba(0,255,255,0.2);
}

.project-card h2 {
    font-size: 2.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.project-card p {
    font-size: 1.2rem;
    color: var(--text-primary);
    opacity: 0.8;
    margin-bottom: 2rem;
}

.project-link {
    display: inline-block;
    background: var(--accent-neon);
    color: var(--bg-primary);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.6s ease;
}

.project-link:hover::before {
    left: 100%;
}

.footer {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
    text-align: center;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    position: relative;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
        margin: 1rem auto;
        padding: 0.5rem 0;
    }
    .hero-description {
        font-size: 1rem;
        padding: 0 20px;
    }
}