:root {
    --primary: #00F0FF;
    --primary-hover: #00bfcb;
    --secondary: #7000FF;
    --accent: #FF00FF;
    --bg-color: #0F0F1A;
    --bg-card: #1A1A2E;
    --text-main: #FFFFFF;
    --text-muted: #A0A0B0;
    --gradient-main: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);

    --font-main: 'Outfit', sans-serif;

    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

h2.section__title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.btn--primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(112, 0, 255, 0.4);
}

.btn--primary:hover {
    box-shadow: 0 6px 20px rgba(112, 0, 255, 0.6);
    transform: translateY(-2px);
}

.btn--outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn--outline:hover {
    background: var(--primary);
    color: var(--bg-color);
}

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

.btn--small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.logo__text {
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__link {
    font-weight: 500;
    opacity: 0.8;
}

.nav__link:hover {
    opacity: 1;
    color: var(--primary);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
}

.burger span {
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: white;
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-menu__link {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('images/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 26, 0.7);
    background: linear-gradient(to bottom, rgba(15, 15, 26, 0.7) 0%, var(--bg-color) 100%);
}

.hero__container {
    position: relative;
    text-align: center;
    z-index: 1;
}

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

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Sections */
.section {
    padding: 80px 0;
}

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

.feature-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

.feature-card__title {
    margin-bottom: 15px;
}

.feature-card__text {
    color: var(--text-muted);
}

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

.service-card {
    background: linear-gradient(145deg, var(--bg-card), #121225);
    padding: 30px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-main);
}

.service-card__title {
    margin-bottom: 10px;
    color: var(--primary);
}

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

.review-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
}

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

.review-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.review-card__stars {
    color: #FFD700;
}

.review-card__text {
    color: var(--text-muted);
    font-style: italic;
}

/* Contacts */
.contacts__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: white;
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(112, 0, 255, 0.4);
}

.contact-form {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

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

.form-group input {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
}

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

.captcha-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.captcha-group input {
    width: 60px;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

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

.form-state.success {
    color: #4CAF50;
}

.form-state.error {
    color: #F44336;
}

/* Footer */
.footer {
    background-color: #050510;
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.logo--footer .logo__text {
    font-size: 1.5rem;
}

.footer__desc {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer__title {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer__links li {
    margin-bottom: 15px;
}

.footer__links button,
.footer__links a {
    color: var(--text-muted);
    transition: color 0.3s;
    font-size: 0.9rem;
    text-align: left;
}

.footer__links button:hover,
.footer__links a:hover {
    color: var(--primary);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.modal__close:hover {
    color: white;
}

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

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

.modal__content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.modal__content li {
    margin-bottom: 8px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 999;
    max-width: 350px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s ease;
}

.cookie-popup.active {
    transform: translateY(0);
    opacity: 1;
}

.cookie-popup p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.cookie-link {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .hero__title {
        font-size: 2.5rem;
    }

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

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

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