:root {
    --primary-color: #3B82F6;
    --primary-dark: #2563EB;
    --accent-color: #10B981;
    --background: #0B0E14;
    --surface: #151A23;
    --text: #F3F4F6;
    --text-muted: #9CA3AF;
    --border: #374151;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
    --container-padding: 1.5rem;
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--text);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.25rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

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

.btn--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

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

.btn--outline:hover {
    border-color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Header */
.header {
    background-color: rgba(11, 14, 20, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--surface);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 101;
}

.nav.active {
    right: 0;
}

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

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

.nav__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
}

.burger {
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 14, 20, 0.8), var(--background));
    z-index: 1;
}

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

.badge {
    display: inline-block;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 1.5rem 0 2.5rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.card {
    background-color: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

/* Features */
.features__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

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

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

/* Services */
.services__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.service-card {
    padding: 0;
    overflow: hidden;
}

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

.service-card__content {
    padding: 1.5rem;
}

/* Reviews */
.reviews__slider {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

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

/* Contact */
.contact__wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact__info {
    padding-right: 2rem;
}

.contact__title {
    font-size: 2rem;
    background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.contact__subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.contact__methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__method {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.contact__icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact__method-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact__method-value {
    font-weight: 600;
    color: var(--text);
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 0.8rem;
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    transition: var(--transition);
}

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

.captcha-group {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

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

.form-status {
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}

.error {
    color: #EF4444;
}

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

/* Footer */
.footer {
    background-color: var(--surface);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border);
}

.footer__grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

.footer__col h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer__col ul li {
    margin-bottom: 0.75rem;
}

.footer__col ul li a {
    color: var(--text-muted);
}

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

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--surface);
    border-top: 1px solid var(--primary-color);
    padding: 1.5rem;
    z-index: 1000;
    transition: bottom 0.5s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

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

.cookie-popup__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.cookie-popup__buttons {
    display: flex;
    gap: 1rem;
}

/* Modals */
.modal__overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    background-color: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius);
    z-index: 2001;
    max-height: 80vh;
    border: 1px solid var(--border);
}

.modal__content {
    overflow-y: auto;
    max-height: calc(80vh - 5rem);
    padding-right: 0.5rem;
}

.modal__content::-webkit-scrollbar {
    width: 6px;
}

.modal__content::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.modal.active,
.modal__overlay.active {
    display: block;
}

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

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

/* Responsive */
@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    .nav {
        position: static;
        height: auto;
        width: auto;
        background: none;
        flex-direction: row;
        transform: none;
    }

    .nav__list {
        flex-direction: row;
        gap: 2rem;
    }

    .nav__link {
        font-size: 1rem;
    }

    .nav__close,
    .burger {
        display: none;
    }

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

    .reviews__slider {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1000px;
        margin: 0 auto;
        gap: 2.5rem;
    }

    .contact__wrapper {
        flex-direction: row;
    }

    .contact__info,
    .contact__form {
        flex: 1;
    }

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

    .cookie-popup__content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}