:root {
    --primary-color: #9d00ff;
    --secondary-color: #ff00ff;
    --accent-color: #00ffff;
    --background-dark: #0a0a0a;
    --background-light: #1a1a1a;
    --text-color: #ffffff;
    --text-secondary: #b3b3b3;
    --heading-font: 'Orbitron', sans-serif;
    --body-font: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--body-font);
}

h1, h2, h3, .logo, .cta-button {
    font-family: var(--heading-font);
    letter-spacing: 2px;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 var(--primary-color),
                     -0.05em -0.025em 0 var(--secondary-color),
                     -0.025em 0.05em 0 var(--accent-color);
    }
    14% {
        text-shadow: 0.05em 0 0 var(--primary-color),
                     -0.05em -0.025em 0 var(--secondary-color),
                     -0.025em 0.05em 0 var(--accent-color);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 var(--primary-color),
                     0.025em 0.025em 0 var(--secondary-color),
                     -0.05em -0.05em 0 var(--accent-color);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 var(--primary-color),
                     0.025em 0.025em 0 var(--secondary-color),
                     -0.05em -0.05em 0 var(--accent-color);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 var(--primary-color),
                     0.05em 0 0 var(--secondary-color),
                     0 -0.05em 0 var(--accent-color);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 var(--primary-color),
                     0.05em 0 0 var(--secondary-color),
                     0 -0.05em 0 var(--accent-color);
    }
    100% {
        text-shadow: -0.025em 0 0 var(--primary-color),
                     -0.025em -0.025em 0 var(--secondary-color),
                     -0.025em -0.05em 0 var(--accent-color);
    }
}

@keyframes scanline {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100vh);
    }
}

@keyframes flicker {
    0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
        opacity: 1;
    }
    20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
        opacity: 0.4;
    }
}

body {
    background-color: var(--background-dark);
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 1px, rgba(0, 255, 157, 0.1) 1px),
        linear-gradient(transparent 1px, rgba(0, 255, 157, 0.1) 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 255, 157, 0.1) 50%
    );
    background-size: 100% 4px;
    animation: scanline 8s linear infinite;
    pointer-events: none;
    z-index: 2;
}

/* Header Styles */
.header {
    background-color: rgba(26, 26, 26, 0.9);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.5);
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
    animation: glitch 2s infinite;
    text-transform: uppercase;
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--background-dark), var(--background-light));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 1px, rgba(0, 255, 157, 0.1) 1px),
        linear-gradient(transparent 1px, rgba(0, 255, 157, 0.1) 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    animation: flicker 0.15s infinite;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color),
                 0 0 40px var(--primary-color),
                 0 0 60px var(--primary-color);
    animation: glitch 2s infinite;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-shadow: 0 0 15px var(--accent-color),
                 0 0 30px rgba(0, 255, 255, 0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    letter-spacing: 0.5px;
    background: linear-gradient(
        90deg,
        var(--accent-color) 0%,
        #ffffff 50%,
        var(--accent-color) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px var(--primary-color);
    font-family: var(--heading-font);
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: var(--background-dark);
    box-shadow: 0 0 30px var(--primary-color),
                0 0 50px var(--primary-color);
    transform: scale(1.05);
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background-color: var(--background-light);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: rgba(10, 10, 10, 0.8);
    padding: 2rem;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.2);
}

.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.5);
    border-color: var(--accent-color);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* About Section */
.about {
    padding: 5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-shadow: 0 0 5px var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background-color: var(--background-light);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 1px, rgba(157, 0, 255, 0.1) 1px),
        linear-gradient(transparent 1px, rgba(157, 0, 255, 0.1) 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    pointer-events: none;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--primary-color);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--heading-font);
    letter-spacing: 1px;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.3);
    background-color: rgba(10, 10, 10, 0.9);
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    padding: 1rem 2rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-family: var(--heading-font);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 10px rgba(157, 0, 255, 0.3);
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(157, 0, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.submit-button:hover {
    background-color: var(--primary-color);
    color: var(--background-dark);
    box-shadow: 0 0 30px rgba(157, 0, 255, 0.5);
    transform: scale(1.02);
}

.submit-button:hover::before {
    left: 100%;
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    padding: 3rem 2rem;
    border-top: 1px solid var(--primary-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 0 5px var(--primary-color);
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .contact {
        padding: 3rem 1rem;
    }
    
    .form-input {
        padding: 0.8rem 1rem;
    }
}

.subscribe-group {
    margin-top: -0.5rem;
}

.subscribe-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 45px;
}

.subscribe-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-custom {
    position: absolute;
    left: 0;
    height: 28px;
    width: 28px;
    background-color: rgba(10, 10, 10, 0.8);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 6px;
    backdrop-filter: blur(5px);
    box-shadow: inset 0 0 10px rgba(157, 0, 255, 0.1);
}

.checkbox-custom::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 7px;
    padding: 1px;
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--secondary-color),
        var(--accent-color)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
                  linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box,
          linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.subscribe-checkbox:checked ~ .checkbox-custom {
    background-color: rgba(157, 0, 255, 0.2);
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.4),
                inset 0 0 15px rgba(157, 0, 255, 0.4);
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    display: none;
    left: 9px;
    top: 4px;
    width: 6px;
    height: 12px;
    border: solid var(--primary-color);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    box-shadow: 2px 2px 5px rgba(157, 0, 255, 0.5);
}

.subscribe-checkbox:checked ~ .checkbox-custom::after {
    display: block;
    animation: checkmark 0.2s ease-in-out;
}

@keyframes checkmark {
    0% {
        transform: rotate(45deg) scale(0);
        opacity: 0;
    }
    100% {
        transform: rotate(45deg) scale(1);
        opacity: 1;
    }
}

.subscribe-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: var(--body-font);
    text-shadow: 0 0 5px rgba(157, 0, 255, 0.3);
}

.subscribe-label:hover .checkbox-custom {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2),
                inset 0 0 10px rgba(0, 255, 255, 0.1);
}

.subscribe-label:hover .checkbox-custom::before {
    opacity: 1;
}

.subscribe-label:hover .subscribe-text {
    color: var(--text-color);
    text-shadow: 0 0 8px rgba(157, 0, 255, 0.5);
} 