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

:root {
    --neon-purple: #a855f7;
    --neon-blue: #3b82f6;
    --primary-gradient: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-blue) 100%);
    --glass-bg: rgba(168, 85, 247, 0.05);
    --glass-border: rgba(168, 85, 247, 0.2);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000000;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0 80px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.logo {
    width: 400px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.logo:hover {
    transform: scale(1.05) translateY(-5px);
}

.logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px var(--neon-purple)) drop-shadow(0 0 50px var(--neon-blue));
    transition: filter 0.4s ease;
}

.logo:hover img {
    filter: drop-shadow(0 0 40px var(--neon-purple)) drop-shadow(0 0 70px var(--neon-blue)) brightness(1.1);
}

.company-name {
    font-size: 3rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.8));
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Projects Section */
.projects-section {
    padding: 40px 0;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
    box-shadow: 0 0 20px var(--neon-purple), 0 0 40px var(--neon-blue);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* Project Card with Glassmorphism */
.project-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(168, 85, 247, 0.1);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-purple);
    box-shadow:
        0 20px 60px rgba(168, 85, 247, 0.5),
        0 0 50px var(--neon-purple),
        0 0 80px var(--neon-blue);
}

.project-card:hover::before {
    opacity: 0.08;
}

.project-icon {
    width: 80px;
    height: 80px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.project-card:hover .project-icon {
    background: rgba(168, 85, 247, 0.2);
    border-color: var(--neon-purple);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px var(--neon-purple), 0 0 30px var(--neon-blue);
}

.project-icon svg {
    width: 40px;
    height: 40px;
    color: var(--neon-purple);
    filter: drop-shadow(0 0 10px var(--neon-purple));
}

.project-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 16px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* Project Button with Glassmorphism */
.project-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

.project-button:hover::before {
    left: 0;
}

.project-button:hover {
    border-color: var(--neon-purple);
    transform: translateX(5px);
    box-shadow: 0 8px 24px var(--neon-purple), 0 0 40px rgba(168, 85, 247, 0.4);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.project-button:hover .arrow-icon {
    transform: translateX(5px);
}

/* Footer */
.footer {
    text-align: center;
    padding: 60px 0 40px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .company-name {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .project-card {
        padding: 30px;
    }

    .logo {
        width: 300px;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 1.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        width: 250px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: rgba(139, 92, 246, 0.3);
    color: white;
}
