:root {
    --bg-color: #0b0f19;
    --bg-color-light: #151a28;
    --primary-color: #2dd4bf;
    --primary-hover: #14b8a6;
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --border-color: #334155;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
    --header-height: 70px;
}

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

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

body {
    font-family: 'Manrope', sans-serif;
    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;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    background: none;
}

.container {
    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: 3rem;
    color: var(--white);
    background: linear-gradient(90deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Button & Gradient Text */
.text-gradient {
    color: var(--primary-color);
    background: linear-gradient(90deg, var(--primary-color), #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.btn--primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 212, 191, 0.3);
}

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

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

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

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

/* Header */
.header {
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    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: 12px;
}

.logo__text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    letter-spacing: -0.5px;
}

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

.nav__link {
    font-weight: 500;
    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;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    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: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-color);
    transform: translateX(100%);
    transition: var(--transition);
    z-index: 999;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

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

/* Hero */
.hero {
    position: relative;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('images/hero-bg.jpg') no-repeat center/cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0.7) 100%);
    z-index: 1;
}

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

.hero__badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(45, 212, 191, 0.1);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(45, 212, 191, 0.2);
}

.hero__title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

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

.feature-card {
    background: var(--bg-color-light);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    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: 2.5rem;
    margin-bottom: 20px;
}

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

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

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

.service-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-color-light);
}

.service-card__image {
    height: 200px;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-card__content {
    padding: 24px;
}

.service-card__title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--white);
}

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

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

.review-card {
    background: var(--bg-color-light);
    padding: 30px;
    border-radius: var(--radius-md);
    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%;
    object-fit: cover;
}

.review-card__name {
    font-size: 1.1rem;
    color: var(--white);
}

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



/* Contact */
.contact {
    background: linear-gradient(180deg, var(--bg-color) 0%, var(--bg-color-light) 100%);
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact__info h2 {
    margin-bottom: 16px;
    text-align: left;
}

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

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

.contact__icon {
    font-size: 1.5rem;
}

.contact__form {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

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

.form-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
    font-size: 1rem;
}

.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--primary-color);
    background: var(--bg-color-light);
    /* Or match form bg */
    padding: 0 4px;
}

/* Fix background for label on inputs */
.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
    background: #11151f;
    /* Approximate match to make it readable */
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}

.captcha-input {
    width: 80px;
}

/* Spinner */
.btn__loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-top-color: #000;
    animation: spin 1s ease-in-out infinite;
    position: absolute;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn.loading .btn__text {
    opacity: 0;
}

.btn.loading .btn__loader {
    display: block;
}

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

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

.logo--footer {
    margin-bottom: 20px;
}

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

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

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

.footer__links a,
.footer__link-btn {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer__link-btn {
    text-align: left;
    padding: 0;
}

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

/* Cookies Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 400px;
    background: var(--bg-color-light);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius-md);
    z-index: 2000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: none;
    animation: slideUp 0.5s ease;
}

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

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

.cookie-popup__content p {
    font-size: 0.9rem;
    margin-bottom: 16px;
    color: var(--text-muted);
}

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

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: 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__box {
    background: var(--bg-color);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: var(--radius-md);
    position: relative;
    padding: 40px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

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

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

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

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

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

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

    .burger {
        display: flex;
    }

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

    .hero__title {
        font-size: 2.5rem;
    }

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

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

    .section__title {
        font-size: 2rem;
    }

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

    .cookie-popup {
        left: 20px;
        right: 20px;
        bottom: 20px;
        max-width: none;
    }
}