:root {
    /* Colors */
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --primary-color: #00ff88;
    /* Neon Green */
    --primary-dark: #00cc6a;
    --secondary-color: #7000ff;
    /* Purple */
    --surface-color: #121212;
    --border-color: #333;

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utils */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.d-block {
    display: block;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Components */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn--primary {
    background-color: var(--primary-color);
    color: #000;
}

.btn--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
}

.btn--outline {
    border: 1px solid var(--text-color);
    color: var(--text-color);
    margin-left: 10px;
    background: transparent;
}

.btn--outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Header */
.header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header__container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

.logo span {
    color: var(--primary-color);
}

.nav__list {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav__link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav__link:hover {
    color: var(--primary-color);
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
    max-width: 600px;
    margin-bottom: 40px;
}

.hero__bg-glow {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(20%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.service-card p {
    color: #a0a0a0;
    font-size: 0.95rem;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info p {
    color: #a0a0a0;
    margin-bottom: 30px;
}

.contact-details span {
    font-size: 1.5rem;
    margin-right: 10px;
    vertical-align: middle;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-form {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn--submit {
    width: 100%;
    border: none;
}

.form-status {
    margin-top: 15px;
    text-align: center;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: #666;
    margin-top: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        background: rgba(5, 5, 5, 0.95);
    }

    .nav {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #050505;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 90;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav__list {
        flex-direction: column;
        gap: 40px;
    }

    .nav__link {
        font-size: 2rem;
    }

    .hamburger-menu {
        display: block;
        z-index: 1000;
        position: relative;
    }

    /* Hamburger animation */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero__title {
        font-size: 2.5rem;
    }
}