/* === Fonts === */
@font-face {
    font-family: 'Bauhaus BC';
    src: local('Bauhaus BC'), local('Bauhaus 93'), local('BauhausStd-Medium');
    font-weight: normal;
    font-style: normal;
}

/* === Variables === */
:root {
    --primary-purple: #b47aeb;
    --secondary-purple: #9b5de5;
    --dark-purple: #1a0a2e;
    --deep-purple: #0f0520;
    --accent-purple: #d4a5ff;
    --text-light: #e0d4f7;
    --text-white: #ffffff;
    --bauhaus-font: 'Bauhaus BC', 'Bauhaus 93', 'Impact', sans-serif;
}

/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--deep-purple);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* === Particle Background === */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, var(--deep-purple) 0%, var(--dark-purple) 100%);
}

#particles::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, var(--primary-purple), transparent),
        radial-gradient(2px 2px at 60% 70%, var(--secondary-purple), transparent),
        radial-gradient(1px 1px at 50% 50%, var(--accent-purple), transparent),
        radial-gradient(1px 1px at 80% 10%, var(--primary-purple), transparent),
        radial-gradient(2px 2px at 90% 60%, var(--secondary-purple), transparent),
        radial-gradient(1px 1px at 33% 80%, var(--accent-purple), transparent),
        radial-gradient(1px 1px at 10% 90%, var(--primary-purple), transparent);
    background-size: 200% 200%;
    animation: particleFloat 20s ease-in-out infinite;
    opacity: 0.4;
}

@keyframes particleFloat {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 5, 32, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(180, 122, 235, 0.2);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 5, 32, 0.95);
    box-shadow: 0 4px 30px rgba(180, 122, 235, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-purple);
}

.nav-link:hover::after {
    width: 100%;
}

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.glitch-wrapper {
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--bauhaus-font);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: var(--text-white);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    position: relative;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px var(--primary-purple),
                     0 0 30px var(--primary-purple),
                     0 0 40px var(--secondary-purple);
    }
    to {
        text-shadow: 0 0 30px var(--primary-purple),
                     0 0 40px var(--secondary-purple),
                     0 0 50px var(--secondary-purple);
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--accent-purple);
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--secondary-purple), var(--primary-purple));
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(180, 122, 235, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(180, 122, 235, 0.5);
}

.cta-button span {
    position: relative;
    z-index: 2;
}

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.cta-button:hover .button-glow {
    transform: translate(-50%, -50%) scale(2);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-purple);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-purple);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* === Section Styles === */
.section {
    padding: 6rem 2rem;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === About Section === */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.lead {
    font-size: 1.5rem;
    color: var(--accent-purple);
    margin-bottom: 2rem;
    font-weight: 300;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* === Services Section === */
.services-section {
    background: rgba(26, 10, 46, 0.5);
}

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

.service-card {
    background: rgba(180, 122, 235, 0.05);
    border: 1px solid rgba(180, 122, 235, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(180, 122, 235, 0.1), rgba(155, 93, 229, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 20px 40px rgba(180, 122, 235, 0.3);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px var(--primary-purple));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    position: relative;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
}

/* Service Card as Link */
.service-card-link {
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.service-card-link:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Card Badge */
.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: var(--text-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(180, 122, 235, 0.4);
    animation: pulse 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(180, 122, 235, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(180, 122, 235, 0.8);
    }
}

/* === Contact Section === */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.contact-info {
    margin-bottom: 3rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: rgba(180, 122, 235, 0.1);
    border: 2px solid var(--primary-purple);
    border-radius: 50px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: var(--primary-purple);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(180, 122, 235, 0.4);
}

.contact-icon {
    font-size: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* === Footer === */
.footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(180, 122, 235, 0.2);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* === Responsive === */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .section {
        padding: 4rem 1rem;
    }

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

    .stats {
        gap: 2rem;
    }
}

/* === Animations === */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}
