:root {
    --primary-color: #7000FF;
    --primary-hover: #5a00cc;
    --secondary-color: #00F0FF;
    --bg-color: #0A0A0F;
    --bg-secondary: #12121A;
    --text-color: #E0E0E0;
    --text-muted: #A0A0A0;
    --font-main: 'Outfit', sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
    --transition: all 0.3s ease;
}

* {
    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-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

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

.nav__link {
    font-size: 1rem;
    font-weight: 500;
}

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

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.mobile-menu__content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-color: var(--bg-secondary);
    padding: 80px 40px;
    transform: translateX(100%);
    transition: var(--transition);
}

.mobile-menu.active .mobile-menu__content {
    transform: translateX(0);
}

.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-menu__list {
    margin-top: 50px;
}

.mobile-menu__list li {
    margin-bottom: 20px;
}

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

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

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.7) 0%, rgba(10, 10, 15, 0.9) 100%);
}

.hero__container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__badge {
    background-color: rgba(0, 240, 255, 0.1);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn--primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn--primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(112, 0, 255, 0.4);
}

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

.btn--secondary:hover {
    border-color: var(--text-color);
    color: var(--text-color);
}

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

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.section__title--left {
    text-align: left;
    margin-top: 0;
}

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

.feature-card {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

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

.feature-card__icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card__title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

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

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

.service-card {
    background-color: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card__content {
    padding: 20px;
}

.service-card__title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.service-card__text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.review-card {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 10px;
    border-left: 3px solid var(--secondary-color);
}

.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;
}

.review-card__name {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.review-card__role {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contacts */
.contacts__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contacts__desc {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.contacts__list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contacts__form {
    background-color: var(--bg-secondary);
    padding: 40px;
    border-radius: 10px;
}

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

.form-input {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-color);
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

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

.captcha-group label {
    font-weight: 600;
    font-size: 1.2rem;
    white-space: nowrap;
}

.form-btn {
    width: 100%;
}

/* Footer */
.footer {
    background-color: #050507;
    padding: 80px 0 20px;
    font-size: 0.9rem;
}

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

.footer__logo {
    margin-bottom: 20px;
    display: inline-flex;
}

.footer__desc {
    color: var(--text-muted);
    max-width: 300px;
}

.footer__title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #fff;
}

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

.footer__links a {
    color: var(--text-muted);
}

.footer__links a:hover {
    color: var(--secondary-color);
}

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

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--bg-secondary);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    z-index: 10000;
    display: none;
    max-width: 400px;
}

.cookie-popup.show {
    display: block;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-popup__content p {
    margin-bottom: 15px;
}

.cookie-popup__content a {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    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.9);
    background-color: var(--bg-secondary);
    padding: 40px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 10px;
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

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

.modal__content h4 {
    margin: 15px 0 10px;
    color: #fff;
}

.modal__content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

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

/* Responsive Design - Mobile First Approach */

/* Large Desktops (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero__title {
        font-size: 4rem;
    }

    .section__title {
        font-size: 3rem;
    }
}

/* Tablets and Small Desktops (768px - 1024px) */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero__title {
        font-size: 2.8rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }

    .section {
        padding: 80px 0;
    }

    .section__title {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

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

    .contacts__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile Landscape and Small Tablets (480px - 768px) */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .hero {
        min-height: 500px;
    }

    .hero__title {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero__subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero__badge {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .section {
        padding: 60px 0;
    }

    .section__title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .features__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .reviews__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contacts__form {
        padding: 30px 20px;
    }

    .captcha-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .captcha-group label {
        font-size: 1rem;
    }

    .footer__container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .modal {
        padding: 30px 20px;
        width: 95%;
    }
}

/* Small Mobile Devices (up to 480px) */
@media (max-width: 480px) {
    .header {
        height: 70px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

    .hero {
        min-height: 450px;
    }

    .hero__title {
        font-size: 1.8rem;
    }

    .hero__subtitle {
        font-size: 0.95rem;
    }

    .section {
        padding: 50px 0;
    }

    .section__title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .feature-card,
    .service-card,
    .review-card {
        padding: 20px;
    }

    .feature-card__icon {
        font-size: 2.5rem;
    }

    .feature-card__title,
    .service-card__title {
        font-size: 1.2rem;
    }

    .btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }

    .contacts__desc {
        font-size: 1rem;
    }

    .contacts__list li {
        font-size: 0.95rem;
    }

    .form-input {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .footer {
        padding: 60px 0 20px;
    }

    .footer__desc {
        font-size: 0.85rem;
    }

    .cookie-popup {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 15px;
        max-width: 100%;
    }

    .cookie-popup__btns {
        flex-direction: column;
    }

    .cookie-popup__btns .btn {
        width: 100%;
    }
}

/* Extra Small Devices (up to 360px) */
@media (max-width: 360px) {
    .hero__title {
        font-size: 1.5rem;
    }

    .section__title {
        font-size: 1.4rem;
    }

    .logo span {
        font-size: 1rem;
    }
}