:root {
    --primary-color: #00FFFF;
    --primary-dark: #00CCCC;
    --secondary-color: #6200EA;
    --accent-color: #C6FF00;
    --bg-color: #0A0E17;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-color: #FFFFFF;
    --text-muted: #B0B0B0;
    --border-color: rgba(255, 255, 255, 0.1);
    --font-family: 'Sora', sans-serif;
    --header-height: 80px;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    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: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

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

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

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

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

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

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

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

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

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

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

.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(--text-color);
}

.logo__text {
    letter-spacing: 1px;
}

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

.nav__link {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.nav__link:hover {
    color: var(--primary-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 {
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    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 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: margin-top 0.4s ease;
    /* We can use top/right transition */
    transition: right 0.4s ease;
}

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

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

.mobile-menu__link {
    font-size: 1.5rem;
    color: var(--text-muted);
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('images/hero_bg.jpg') center/cover no-repeat;
    padding-top: var(--header-height);
}

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

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

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

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

.hero__title .highlight {
    color: var(--primary-color);
}

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

.hero__actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

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

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

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

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

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

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

.service-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transition: var(--transition);
}

.service-card:hover::before {
    background: rgba(0, 0, 0, 0.6);
}

.service-card__content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.service-card__content h3 {
    margin-bottom: 5px;
}

.service-card__content p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.service-card--large {
    grid-column: span 2;
    grid-row: span 2;
}

.service-card--wide {
    grid-column: span 2;
}

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

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

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

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-card .stars {
    color: var(--accent-color);
    font-size: 0.9rem;
}

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

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

.contact__title {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact__desc {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

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

.contact__form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

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

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

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

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

.captcha-group input {
    width: 80px;
    text-align: center;
}

.form-feedback {
    margin-top: 15px;
    text-align: center;
    min-height: 24px;
}

.form-feedback.success {
    color: var(--accent-color);
}

.form-feedback.error {
    color: #ff5252;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    background-color: rgba(0, 0, 0, 0.2);
}

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

.footer h4 {
    margin-bottom: 20px;
    color: var(--text-color);
}

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

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

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

.footer p {
    color: var(--text-color);
    margin-bottom: 10px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    /* Hidden */
    left: 0;
    width: 100%;
    background: #111;
    border-top: 1px solid var(--primary-color);
    padding: 20px 0;
    z-index: 2000;
    transition: bottom 0.5s ease;
}

.cookie-popup.active {
    bottom: 0;
}

.cookie-popup__content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 3000;
    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);
    width: 90%;
    max-width: 600px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
    z-index: 3001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    max-height: 80vh;
    overflow-y: auto;
}

.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-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

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

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

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

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

    .burger {
        display: flex;
    }

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

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

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

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

    .service-card--large,
    .service-card--wide {
        grid-column: span 1;
        grid-row: span 1;
        height: 250px;
    }

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

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

    .cookie-popup__content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

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

    .hero__actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* Page Header (Internal Pages) */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Contact Page Specifics */
.contact-page__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-page__info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

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

.contact-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

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

.map-section {
    padding-bottom: 100px;
}

.map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(10, 14, 23, 0.9);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
}

@media (max-width: 992px) {
    .contact-page__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .contact-page__info {
        grid-template-columns: 1fr;
    }
}