/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", "DM Sans", sans-serif;
    font-optical-sizing: auto;
    background-color: hsl(220, 5%, 8%);
    color: hsl(220, 5%, 90%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Neural Background */
.neural-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#neural-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Main Container */
.main-container {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    color: white;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2.5rem;
    background-color: hsla(220, 5%, 8%, 0.8);
    border-bottom: 1px solid hsla(220, 5%, 16%, 0.2);
}

@media (max-width: 768px) {
    .header {
        padding: 1rem 1rem;
    }
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo-link:hover {
    color: hsl(200, 80%, 60%);
}

.logo-img {
    height: 2rem;
    width: auto;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    height: 2.5rem;
    padding: 0 1.25rem;
    background: linear-gradient(to right, hsl(200, 80%, 60%), hsl(221, 83%, 53%));
    color: hsl(200, 80%, 5%);
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-button:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    flex: 1;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 64rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    animation: fade-in-up 1s ease-out forwards;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-gradient {
    background: linear-gradient(to right, hsl(200, 80%, 60%), hsl(221, 83%, 53%));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1.125rem;
    color: white;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.75;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.contact-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-label {
    font-size: 1.125rem;
    color: white;
}

.contact-email {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: hsl(200, 80%, 60%);
}

/* Footer */
.footer {
    background-color: hsla(220, 5%, 8%, 0.5);
    border-top: 1px solid hsla(220, 5%, 16%, 0.2);
    padding: 2rem 1rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 72rem;
    margin: 0 auto;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 0.375rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-icon:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.04);
}

.icon {
    width: 1.5rem;
    height: 1.5rem;
}

.footer-text {
    font-size: 0.875rem;
}

/* Animations */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 1s ease-out forwards;
}