:root {
    --primary-color: #00f2ea;
    --secondary-color: #ff0055;
    --bg-dark: #0b0c15;
    --bg-card: #161823;
    --text-light: #f0f2f5;
    --text-gray: #a0a0a0;
    --font-heading: 'Chakra Petch', sans-serif;
    --font-body: 'Mukta', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
.btn,
.logo__text,
.hero__badge {
    font-family: var(--font-heading);
}

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

ul {
    list-style: none;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 12, 21, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.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: var(--primary-color);
}

.nav__list {
    display: none;
}

.burger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    transition: var(--transition);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    padding: 20px;
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
}

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

.mobile-menu__link {
    display: block;
    padding: 15px 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--bg-dark), transparent 80%), rgba(0, 0, 0, 0.6);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero__badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 242, 234, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

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

.btn--primary {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 242, 234, 0.3);
}

.btn--primary:hover {
    background: #fff;
    box-shadow: 0 0 25px rgba(0, 242, 234, 0.6);
}

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

.btn--outline:hover {
    background: var(--text-light);
    color: #000;
}

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

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

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

.section__title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 15px auto 0;
}

/* Cards */
.features__grid,
.services__grid,
.reviews__grid {
    display: grid;
    gap: 30px;
}

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

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

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

.feature-card__title,
.service-card__title {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card__text,
.service-card__text {
    color: var(--text-gray);
}

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

.review-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
}

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

.review-card__name {
    font-size: 1.1rem;
}

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

.review-card__text {
    font-style: italic;
    color: #ddd;
}

/* Contact */
.contact__wrapper {
    display: grid;
    gap: 40px;
}

.contact__info h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

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

.contact__info i {
    color: var(--primary-color);
    width: 25px;
}

.contact__form {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

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

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

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

.captcha-group input {
    width: 80px;
    margin-bottom: 0;
}

.error-msg {
    color: var(--secondary-color);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.success-msg {
    color: var(--primary-color);
    margin-top: 15px;
    text-align: center;
}

.hidden {
    display: none !important;
}

/* Footer */
.footer {
    background: #000;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer__col h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer__col p,
.footer__col a {
    color: var(--text-gray);
    margin-bottom: 10px;
    display: block;
}

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

.footer__bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #666;
}

/* 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.9);
    background: var(--bg-card);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 10px;
    z-index: 2001;
    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: none;
    border: none;
    color: var(--text-gray);
    font-size: 1.5rem;
    cursor: pointer;
}

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

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

.modal-content p {
    margin-bottom: 15px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--bg-card);
    padding: 20px;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

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

/* Desktop Queries */
@media (min-width: 768px) {
    .nav__list {
        display: flex;
        gap: 30px;
    }

    .burger {
        display: none;
    }

    .mobile-menu {
        display: none;
    }

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

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

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

    .cookie-popup {
        width: 400px;
        left: auto;
        right: 20px;
    }
}

@media (min-width: 1024px) {
    .features__grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .footer__container {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero__title {
        font-size: 3.5rem;
    }
}