:root {
    --primary-color: #00e5ff;
    /* Cyan */
    --secondary-color: #2979ff;
    /* Brighter Blue */
    --accent-color: #ff4081;
    /* Pink accent for details */
    --dark-bg: #0a192f;
    /* Deep Navy */
    --card-bg: #112240;
    /* Slightly lighter navy */
    --text-color: #e6f1ff;
    --text-muted: #8892b0;
    --white: #ffffff;
    --overlay-color: rgba(10, 25, 47, 0.85);

    --font-main: 'Exo 2', sans-serif;

    --transition: all 0.3s ease;
    --shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

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

.section {
    padding: 80px 0;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--white);
    position: relative;
    display: block;
}

.section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section__title--left {
    text-align: left;
}

.section__title--left::after {
    margin: 15px 0 0;
}

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

.btn--primary {
    background: var(--primary-color);
    color: var(--dark-bg);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.btn--primary:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(41, 121, 255, 0.5);
}

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

.btn--outline:hover {
    background: rgba(0, 229, 255, 0.1);
}

.btn--full {
    width: 100%;
    text-align: center;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 15px 0;
}

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

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

.logo svg {
    transition: var(--transition);
}

.logo:hover svg {
    transform: rotate(90deg);
}

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

.nav__link {
    font-size: 1rem;
    color: var(--text-color);
    position: relative;
}

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

.nav__link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

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

.burger span:nth-child(1) {
    top: 0;
}

.burger span:nth-child(2) {
    top: 9px;
}

.burger span:nth-child(3) {
    bottom: 0;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

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

.burger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
}

/* Hero */
/* Hero */
.hero {
    height: 100vh;
    min-height: 700px;
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 60px;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.85) 0%, rgba(10, 25, 47, 0.6) 100%);
    z-index: 1;
}

.hero__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero__text {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.hero__visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.badge {
    display: inline-block;
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.hero__title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px;
    width: 100%;
    max-width: 450px;
    transform: rotateY(-12deg) rotateX(5deg);
    transition: all 0.5s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.5s;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: rotateY(0) rotateX(0) translateY(-10px);
    box-shadow: 0 30px 60px -12px rgba(0, 229, 255, 0.15);
    border-color: rgba(0, 229, 255, 0.3);
}

.glass-card__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 15px #00ff88;
    animation: pulse 2s infinite;
}

.glass-card__title {
    color: var(--white);
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.glass-card__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.glass-card__graph {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 60px;
    gap: 6px;
}

.graph-bar {
    width: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(0, 229, 255, 0.2) 100%);
    border-radius: 2px;
    height: var(--h);
    opacity: 0.8;
    transition: all 0.3s;
}

.glass-card:hover .graph-bar {
    filter: brightness(1.2);
    box-shadow: 0 0 10px var(--primary-color);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

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

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
}

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

.feature-card h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

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

.service-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;

}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

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

.service-card:hover .service-card__img {
    transform: scale(1.05);
}

.service-card__content {
    padding: 25px;
    position: relative;
    background: var(--card-bg);
    /* Ensure content covers magnified image bottom */
}

.service-card h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

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

.review-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-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;
    border: 2px solid var(--primary-color);
}

.review-card__header h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.review-card__header span {
    font-size: 0.9rem;
    color: var(--primary-color);
}

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

/* Contacts */
.contacts__wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contacts__info,
.contacts__form-wrapper {
    flex: 1;
    min-width: 300px;
}

.contacts__list {
    margin-top: 30px;
}

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

.contacts__list i {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 5px;
}

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

.form__group {
    margin-bottom: 20px;
}

.form__group label {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
    font-size: 0.95rem;
}

.form__group input {
    width: 100%;
    padding: 12px;
    background: rgba(10, 25, 47, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--white);
    font-family: inherit;
    transition: var(--transition);
}

.form__group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 229, 255, 0.3);
}

/* Footer */
.footer {
    background: #020c1b;
    padding: 60px 0 20px;
    margin-top: 50px;
}

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

.logo--footer {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

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

.footer__col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer__nav a,
.link-btn {
    color: var(--text-muted);
    font-size: 0.95rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    text-align: left;
    transition: var(--transition);
}

.footer__nav a:hover,
.link-btn:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer__contacts li {
    color: var(--text-muted);
    margin-bottom: 10px;
}

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

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--card-bg);
    border: 1px solid var(--primary-color);
    padding: 20px;
    border-radius: 10px;
    z-index: 2000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: none;
    max-width: 500px;
}

.cookie-popup__content p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal__content {
    background: var(--card-bg);
    width: 90%;
    max-width: 600px;
    padding: 40px;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal__content {
    transform: translateY(0);
}

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

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

.modal__body h3 {
    margin-bottom: 20px;
    color: var(--white);
}

.modal__body p,
.modal__body li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-color);
}

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

.success-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.text-center {
    text-align: center;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

/* Media Queries */
@media (max-width: 1024px) {
    .header__container {
        padding: 0 20px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--card-bg);
        padding: 80px 30px;
        transition: 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
    }

    .burger {
        display: block;
    }

    .hero__container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 40px;
        padding-top: 40px;
    }

    .hero__text {
        max-width: 100%;
        text-align: center;
        margin-right: 0;
    }

    .hero__visual {
        width: 100%;
    }

    .glass-card {
        margin: 0 auto;
        transform: none;
    }

    .glass-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

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

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .contacts__wrapper {
        flex-direction: column;
    }

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

    .form {
        padding: 30px 20px;
    }
}

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

    .glass-card {
        padding: 20px;
    }

    .stat-value {
        font-size: 1.4rem;
    }

    .badge {
        font-size: 0.8rem;
    }

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

    .modal__content {
        padding: 25px;
        width: 95%;
    }

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