:root {
    --primary-color: #00F0FF;
    --secondary-color: #7000FF;
    --accent-color: #FF0055;
    --bg-color: #0B0B0E;
    --card-bg: #15151A;
    --text-color: #E0E0E0;
    --text-muted: #A0A0A0;
    --font-main: 'Outfit', sans-serif;
    --header-height: 80px;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

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

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;
    background: linear-gradient(90deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.btn--primary {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

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

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

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

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

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

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

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

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

.logo__text {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo__highlight {
    color: var(--primary-color);
}

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

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

/* Burger */
.burger {
    display: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero */
.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;
    margin-top: -var(--header-height);
    /* Pull up behind header */
    padding-top: var(--header-height);
}

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

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

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

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

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

/* 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: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    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 */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

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

.service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.85;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(0, 240, 255, 0.3);
}

.service-card:hover .service-card__img {
    transform: scale(1.08);
    opacity: 0.6;
}

.service-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 10%, rgba(0, 0, 0, 0.7) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-card__content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.service-card:hover .service-card__content h3 {
    color: var(--primary-color);
}

/* 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: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.review-card__name {
    font-weight: 600;
}

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

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

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

.contact__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.contact__list i {
    color: var(--primary-color);
}

.contact__desc {
    margin-bottom: 10px;
}

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

.form__group {
    margin-bottom: 20px;
}

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

.form__input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.form__result {
    margin-top: 15px;
    text-align: center;
    min-height: 20px;
}

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

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

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

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

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

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

.footer__list a,
.footer__link {
    color: var(--text-muted);
    font-size: 0.95rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.footer__list a:hover,
.footer__link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

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

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background: rgba(21, 21, 26, 0.95);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9000;
    transform: translateY(150%);
    transition: transform 0.5s ease;
}

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

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

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

/* Modal */
.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: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

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

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

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

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

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

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


/* Responsive */
@media (max-width: 1024px) {
    .service-card--wide {
        grid-column: span 1;
    }
}

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

    .logo__text {
        font-size: 1rem;
    }

    .burger {
        display: block;
        z-index: 1001;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #111;
        padding-top: 100px;
        transition: 0.4s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

    .nav.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav__link {
        font-size: 1.2rem;
    }

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

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

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

    .hero__title {
        font-size: 2.5rem;
    }

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

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

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

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