:root {
    --bg-color: #050914;
    --text-color: #e2e8f0;
    --accent-color: #00f0ff;
    --accent-glow: rgba(0, 240, 255, 0.5);
    --secondary-color: #7000ff;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Space Grotesk', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

.highlight {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Background Particles */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 9, 20, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

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

.nav-links li a {
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

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

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

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

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

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

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    filter: blur(150px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.4;
    top: 20%;
    left: 10%;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #94a3b8;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--accent-glow) inset;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 25px var(--accent-color);
    transform: translateY(-3px);
}

/* Glitch Effect */
.glitch-text {
    position: relative;
    color: white;
}
.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}
.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 red;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}
.glitch-text::after {
    left: -2px;
    text-shadow: -2px 0 blue;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(72px, 9999px, 83px, 0); }
    20% { clip: rect(10px, 9999px, 80px, 0); }
    40% { clip: rect(31px, 9999px, 12px, 0); }
    60% { clip: rect(98px, 9999px, 5px, 0); }
    80% { clip: rect(65px, 9999px, 34px, 0); }
    100% { clip: rect(42px, 9999px, 91px, 0); }
}
@keyframes glitch-anim2 {
    0% { clip: rect(12px, 9999px, 78px, 0); }
    20% { clip: rect(89px, 9999px, 23px, 0); }
    40% { clip: rect(45px, 9999px, 56px, 0); }
    60% { clip: rect(2px, 9999px, 90px, 0); }
    80% { clip: rect(34px, 9999px, 12px, 0); }
    100% { clip: rect(78px, 9999px, 45px, 0); }
}

/* Sections Common */
section {
    padding: 100px 5%;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    text-transform: uppercase;
}

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

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color));
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    border-color: var(--accent-glow);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.icon-wrapper {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #94a3b8;
}

/* About */
.about {
    position: relative;
}

.about::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    filter: blur(150px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.2;
    bottom: 0;
    right: 10%;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
}

/* Contact */
.contact-container {
    display: flex;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contact-info p {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-info i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.contact-form {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

.submit-btn {
    padding: 1rem;
    background: var(--accent-color);
    color: #000;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.submit-btn:hover {
    box-shadow: 0 0 20px var(--accent-color);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #02040a;
    padding: 3rem 5%;
    border-top: 1px solid var(--card-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

.footer-links a {
    margin-left: 1.5rem;
    color: #94a3b8;
    transition: color 0.3s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .contact-container {
        flex-direction: column;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-links a {
        margin: 0 0.75rem;
    }
}
