:root {
    --bg-dark: #050508;
    --bg-card: #0d0d14;
    --cyan: #00f0ff;
    --purple: #a855f7;
    --magenta: #ff00aa;
    --text: #e0e0ff;
    --text-muted: #a0a0c0;
    --glow: 0 0 20px rgba(0, 240, 255, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

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

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

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

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

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

.logo img {
    height: 50px;
    border-radius: 8px;
    transition: transform 0.3s;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
}

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

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cyan);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: url('images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5, 5, 8, 0.85) 0%, rgba(168, 85, 247, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--glow);
}

.tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    margin-bottom: 10px;
    color: var(--text);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--cyan);
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.6);
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About */
.about-text p {
    font-size: 1.15rem;
    margin-bottom: 20px;
    color: var(--text-muted);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--cyan);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--cyan);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: var(--glow);
}

.service-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--cyan);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    text-align: left;
    color: var(--text);
}

.service-card li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
    padding-left: 20px;
}

.service-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--purple);
}

.additional-services {
    text-align: center;
    margin-top: 40px;
}

.additional-services h3 {
    margin-bottom: 25px;
    color: var(--text);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.tags span {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--cyan);
    color: var(--cyan);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.tags span:hover {
    background: var(--cyan);
    color: #000;
}

/* Portfolio */
.portfolio-intro {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: -30px auto 50px;
    font-size: 1.1rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.2);
    transition: all 0.4s;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.25);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 8px;
}

.engine {
    color: var(--cyan);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Why */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-item {
    background: var(--bg-card);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.why-item:hover {
    border-color: var(--purple);
    transform: translateY(-5px);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.why-item h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 12px;
    color: var(--text);
}

.why-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact */
.contact {
    background: linear-gradient(180deg, transparent, rgba(0, 240, 255, 0.03));
    text-align: center;
}

.contact-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-box {
    background: var(--bg-card);
    border: 1px solid var(--cyan);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.1);
}

.contact-box p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.email-link {
    display: block;
    font-size: 1.4rem;
    color: var(--cyan);
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 30px;
    transition: color 0.3s;
}

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

/* Footer */
.footer {
    background: #020204;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.footer p {
    color: var(--text-muted);
    margin-bottom: 5px;
}

.footer-tag {
    color: var(--cyan);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 8, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid var(--cyan);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .stats {
        flex-direction: column;
        gap: 30px;
    }

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

    .hero {
        min-height: 600px;
    }
}