:root {
    --primary-color: #0c0a09; 
    --secondary-color: #1a1a2e; 
    --accent-color: #ec4899; 
    --accent-color-2: #8b5cf6; 
    --text-color: #f9fafb;
    --text-muted-color: #a1a1aa;
    --font-family: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--primary-color);
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
    background-image: radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.1), transparent 30%), 
                      radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.1), transparent 40%);
    background-attachment: fixed;
}

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

header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(12, 10, 9, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav a {
    color: var(--text-muted-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
}

main {
    padding-top: 100px;
}

section {
    padding: 4rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero {
    position: relative;
    text-align: center;
    padding: 6rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2; 
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--accent-color), var(--accent-color-2), var(--accent-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-animation 4s ease infinite;
    text-shadow: 0 0 15px rgba(236, 72, 153, 0.5);
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted-color);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-color), var(--accent-color-2));
    color: var(--text-color);
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 35px rgba(139, 92, 246, 0.7);
}

.about {
    padding: 5rem 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
    border: 1px solid var(--accent-color-2);
}

.contact {
    text-align: center;
    padding: 5rem 0;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

service-card {
    background-color: rgba(26, 26, 46, 0.7);
    padding: 2.5rem;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.4);
}

footer {
    background-color: transparent;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted-color);
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    nav {
        display: none;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
}
