:root {
    --bg-color: #0f172a;
    /* Deep Navy */
    --text-color: #e2e8f0;
    /* Light Gray */
    --primary-color: #8b5cf6;
    /* Electric Violet */
    --accent-color: #06b6d4;
    /* Cyan */
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
    --font-main: 'Outfit', sans-serif;
}

* {
    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: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section__title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.btn--sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--text-color);
}

.btn--full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav__link {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--accent-color);
}

.nav__close,
.burger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Nav */
@media (max-width: 1024px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
    }

    .nav.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
        font-size: 1.5rem;
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .burger {
        display: block;
    }
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('images/hero-bg.jpg') no-repeat center/cover;
    /* Futuristic Robot from Pexels */
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid var(--primary-color);
}

.hero__title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #cbd5e1;
}

.hero__note {
    margin-top: 15px;
    font-size: 0.8rem;
    opacity: 0.7;
}

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

.feature-card {
    background: var(--glass-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.feature-card__icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Services */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    background: var(--glass-bg);
    height: 200px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border: 1px solid var(--glass-border);
}

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

.review-card {
    background: var(--glass-bg);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.review-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact */
.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

@media (max-width: 768px) {
    .contact__wrapper {
        grid-template-columns: 1fr;
    }
}

.contact__info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact__form {
    background: var(--glass-bg);
    padding: 30px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    color: white;
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary-color);
}

.captcha-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

#captcha-question {
    white-space: nowrap;
    font-size: 1rem;
    color: var(--text-color);
}

#form-message {
    margin-top: 15px;
    text-align: center;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #020617;
    padding: 50px 0 20px;
    margin-top: 50px;
    border-top: 1px solid var(--glass-border);
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
}

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

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    background: #1e293b;
    border-radius: 15px;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.modal.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.modal__content {
    padding: 40px;
    overflow-y: auto;
    max-height: 75vh;
}

.modal__content h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.modal__content h4 {
    color: var(--accent-color);
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.modal__content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.modal__content ul,
.modal__content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.modal__content ul li,
.modal__content ol li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.modal__content a {
    color: var(--accent-color);
    text-decoration: underline;
}

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

.modal__content strong {
    color: var(--text-color);
    font-weight: 600;
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}