/* =========================================================
   Фоновое изображение и затемнение
========================================================= */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.background {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12; /* светлая тема */
    transition: opacity 0.5s ease;
    filter: blur(0.8px);
}

[data-theme="dark"] .background {
    opacity: 0.08; /* темная тема */
}

/* Основное содержимое с затемнением */
.content-wrapper {
    flex: 1;
    position: relative;
    z-index: 1;
    background-color: rgba(var(--bg-rgb), 0.82);
}

/* Стили секций, заголовков и контента страниц */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
section {
    padding: 6rem 0;
}
.page-content {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

/* Таблицы цен */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.price-table th, .price-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.price-table th {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: white;
    font-weight: 600;
}

.price-table tr:nth-child(even) {
    background-color: rgba(0,0,0,0.03);
}

.price-table tr:hover {
    background-color: rgba(67, 97, 238, 0.05);
}

/* Мобильное меню и бургер */
@media (max-width: 768px) {
    .burger {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--header-bg);
        flex-direction: column;
        width: 200px;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: var(--shadow);
    }
    .nav-links.show {
        display: flex;
    }
    .nav-links a {
        padding: 0.5rem 0;
    }
}
