/* style.css */
:root {
    --bg-dark: #0f0f1a;
    --bg-darker: #07070f;
    --neon-purple: #b300ff;
    --neon-blue: #00a3ff;
    --neon-purple-glow: 0 0 10px #b300ff, 0 0 20px #b300ff, 0 0 30px #b300ff;
    --neon-blue-glow: 0 0 10px #00a3ff, 0 0 20px #00a3ff, 0 0 30px #00a3ff;
    --text-light: #ffffff;
    --text-dim: #b0b0b0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Particle Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--bg-dark);
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Glow Effects */
.neon-purple {
    color: var(--neon-purple);
    text-shadow: var(--neon-purple-glow);
}

.neon-blue {
    color: var(--neon-blue);
    text-shadow: var(--neon-blue-glow);
}

.glow-text {
    animation: glowPulse 3s infinite;
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 10px rgba(179, 0, 255, 0.5), 0 0 20px rgba(0, 163, 255, 0.3); }
    50% { text-shadow: 0 0 20px rgba(179, 0, 255, 0.8), 0 0 40px rgba(0, 163, 255, 0.6); }
}

/* Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 7, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navigation a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-family: 'Orbitron', sans-serif;
}

.navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
    transition: var(--transition);
}

.navigation a:hover::after,
.navigation a.active::after {
    width: 100%;
}

.navigation a:hover,
.navigation a.active {
    color: var(--neon-purple);
    text-shadow: var(--neon-purple-glow);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue));
    color: var(--text-light);
    box-shadow: 0 0 10px rgba(179, 0, 255, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(179, 0, 255, 0.8), 0 0 30px rgba(0, 163, 255, 0.6);
}

.btn-outline {
    border: 2px solid var(--neon-purple);
    color: var(--text-light);
    background: transparent;
    box-shadow: 0 0 5px var(--neon-purple);
}

.btn-outline:hover {
    background: var(--neon-purple);
    box-shadow: var(--neon-purple-glow);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--neon-purple);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) blur(2px);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 100%);
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-dim);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    padding: 4rem 0 2rem;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
}

/* Glass Card Effect */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(179, 0, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: var(--transition);
    opacity: 0;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-purple);
    box-shadow: 0 0 20px rgba(179, 0, 255, 0.3);
}

.glass-card:hover::before {
    opacity: 1;
    animation: shine 1.5s;
}

@keyframes shine {
    0% {
        top: -50%;
        left: -50%;
    }
    100% {
        top: 150%;
        left: 150%;
    }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--neon-purple));
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    padding: 0;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

/* Contact Section */
.contact-description {
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--text-dim);
}

.contact-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition);
}

.contact-button i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--neon-purple);
    transition: var(--transition);
}

.contact-button:hover i {
    color: var(--neon-blue);
    transform: scale(1.1);
}

.contact-button span {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
}

/* Footer */
footer {
    background: rgba(7, 7, 15, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 5px var(--neon-purple));
}

.footer-links ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--neon-purple);
    text-shadow: var(--neon-purple-glow);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-social a {
    color: var(--text-dim);
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--neon-blue);
    transform: translateY(-3px);
    text-shadow: var(--neon-blue-glow);
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navigation {
        display: none;
    }

    .navigation.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(7, 7, 15, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem;
        border-bottom: 1px solid var(--glass-border);
    }

    .navigation.active ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .auth-buttons {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links ul {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-buttons-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    h1 {
        font-size: 1.8rem;
    }

    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Lazy Loading */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}