@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background: #FFFFFF;
    color: #353535;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.page {
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: #FFFFFF;
}

/* ===== АНИМАЦИИ ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-scale {
    animation: fadeInScale 0.8s ease-out forwards;
    opacity: 0;
}

.animated {
    animation-play-state: running !important;
}

/* ===== НАВИГАЦИЯ ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(53, 53, 53, 0.95);
    backdrop-filter: blur(10px);
    padding: 0 40px;
    transition: all 0.3s;
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.navbar-logo {
    color: #d4de38;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.navbar-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.navbar-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.navbar-links a:hover {
    color: #d4de38;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4de38;
    transition: width 0.3s;
}

.navbar-links a:hover::after {
    width: 100%;
}

.navbar-cta {
    background: #d4de38;
    color: #353535;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.navbar-cta:hover {
    background: #bfc832;
}

/* ===== ОБЛОЖКА ===== */
.cover {
    min-height: 100vh;
    background: linear-gradient(135deg, #353535 0%, #2a2a2a 50%, #353535 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 80px;
    position: relative;
    overflow: hidden;
}

.cover::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    background: radial-gradient(ellipse at 30% 20%, rgba(212, 222, 56, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(212, 222, 56, 0.08) 0%, transparent 50%);
}

.cover-badge {
    position: relative;
    z-index: 1;
    background: rgba(212, 222, 56, 0.15);
    border: 1px solid rgba(212, 222, 56, 0.3);
    backdrop-filter: blur(10px);
    padding: 8px 24px;
    border-radius: 50px;
    color: #d4de38;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.cover h1 {
    position: relative;
    z-index: 1;
    color: white;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cover h1 span {
    color: #d4de38;
}

.cover-subtitle {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 50px;
}

.cover-stats {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

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

.cover-stat-number {
    color: #d4de38;
    font-size: 36px;
    font-weight: 700;
}

.cover-stat-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

.cover-footer {
    position: absolute;
    bottom: 40px;
    z-index: 1;
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

/* ===== СТРАНИЦЫ ===== */
.content-page {
    min-height: 100vh;
    padding: 60px 80px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== КОНТЕЙНЕР КОНТЕНТА ===== */
.section-label,
.section-title,
.section-desc,
.options-list,
.tariffs-grid,
.comparison-table {
    width: 100%;
    max-width: 1200px;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #d4de38;
    margin-bottom: 10px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: #353535;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.8s ease-out;
}

.section-desc {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 35px;
    max-width: 500px;
}

/* ===== КАРТОЧКИ ТАРИФОВ ===== */
.tariffs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.tariff-card {
    border: 1px solid #EEEBE5;
    border-radius: 16px;
    padding: 28px;
    position: relative;
    background: #FFFFFF;
    animation: fadeInScale 0.8s ease-out;
}

.tariff-card.featured {
    border-color: #d4de38;
    background: linear-gradient(135deg, #fafbe8, #f5f7d6);
    grid-column: 1 / -1;
}

.tariff-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #d4de38;
    color: #353535;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tariff-name {
    font-size: 20px;
    font-weight: 700;
    color: #353535;
    margin-bottom: 4px;
}

.tariff-price {
    font-size: 32px;
    font-weight: 800;
    color: #353535;
    margin-bottom: 4px;
}

.tariff-price span {
    font-size: 16px;
    font-weight: 400;
    color: #9ca3af;
}

.tariff-slots {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #EEEBE5;
}

.tariff-features {
    list-style: none;
}

.tariff-features li {
    font-size: 13px;
    color: #4b5563;
    padding: 4px 0;
    padding-left: 22px;
    position: relative;
}

.tariff-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d4de38;
    font-weight: 700;
}

.tariff-features li.highlight {
    font-weight: 600;
    color: #353535;
}

/* ===== ТАБЛИЦА ===== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin-top: 20px;
}

.comparison-table thead th {
    background: #353535;
    color: white;
    padding: 12px 10px;
    text-align: center;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-table thead th:first-child {
    text-align: left;
    border-radius: 8px 0 0 0;
}

.comparison-table thead th:last-child {
    border-radius: 0 8px 0 0;
}

.comparison-table thead th.gen {
    background: #353535;
}

.comparison-table thead th.tit {
    background: #4a4a4a;
}

.comparison-table thead th.par {
    background: #5f5f5f;
}

.comparison-table thead th.inf {
    background: #7a7a7a;
}

.comparison-table tbody td {
    padding: 10px;
    border-bottom: 1px solid #EEEBE5;
    text-align: center;
    color: #4b5563;
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: #353535;
    padding-right: 15px;
}

.comparison-table tbody tr:hover {
    background: #fafbe8;
}

.table-section-row td {
    background: #EEEBE5 !important;
    font-weight: 700 !important;
    color: #353535 !important;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-top: 16px !important;
    border-bottom: 2px solid #d4de38 !important;
}

.check {
    color: #d4de38;
    font-weight: 700;
    font-size: 16px;
}

.cross {
    color: #d1d5db;
    font-size: 16px;
}

.text-val {
    color: #353535;
    font-weight: 600;
}

/* ===== ОПИСАНИЯ ===== */
.options-list {
    margin-top: 20px;
}

.option-item {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 3px solid #EEEBE5;
}

.option-item.accent {
    border-left-color: #d4de38;
}

.option-item.dark {
    border-left-color: #353535;
}

.option-item.light {
    border-left-color: #EEEBE5;
}

.option-name {
    font-size: 14px;
    font-weight: 700;
    color: #353535;
    margin-bottom: 4px;
}

.option-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

/* ===== АККОРДЕОН ГЛОССАРИЙ ===== */
.glossary-section {
    width: 100%;
    max-width: 1200px;
}

.glossary-toggle {
    width: 100%;
    background: #353535;
    color: white;
    border: none;
    padding: 20px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    margin-bottom: 4px;
    animation: fadeInUp 0.6s ease-out;
}

.glossary-toggle:hover {
    background: #4a4a4a;
}

.glossary-toggle .arrow {
    font-size: 20px;
    transition: transform 0.3s;
    color: #d4de38;
}

.glossary-toggle.active .arrow {
    transform: rotate(180deg);
}

.glossary-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    border-radius: 0 0 12px 12px;
}

.glossary-content.open {
    max-height: 5000px;
}

.glossary-content .options-list {
    padding: 20px 0;
}

/* ===== КОНТАКТЫ ===== */
.contact-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #353535 0%, #2a2a2a 50%, #353535 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 50px;
    position: relative;
}

.contact-page h2 {
    color: white;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-page p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    background: rgba(212, 222, 56, 0.1);
    border: 1px solid rgba(212, 222, 56, 0.2);
    padding: 16px 32px;
    border-radius: 12px;
    color: white;
    font-size: 16px;
}

.contact-label {
    font-size: 11px;
    color: #d4de38;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

/* ===== ФОРМА ЗАЯВКИ ===== */
.form-section {
    margin-top: 40px;
    width: 100%;
    max-width: 500px;
}

.form-group {
    margin-bottom: 16px;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 11px;
    color: #d4de38;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 222, 56, 0.2);
    border-radius: 8px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #d4de38;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.form-select option {
    background: #353535;
    color: white;
}

.form-textarea {
    min-height: 80px;
    resize: vertical;
}

.form-button {
    width: 100%;
    padding: 14px;
    background: #d4de38;
    color: #353535;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-button:hover {
    background: #bfc832;
}

.form-note {
    margin-top: 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
}

@media print {
    body {
        background: white;
    }

    .page {
        box-shadow: none;
    }

    .cover,
    .contact-page {
        height: 100vh;
    }
}

/* ===== БУРГЕР МЕНЮ ===== */
.navbar-burger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}

.navbar-burger span {
    width: 25px;
    height: 3px;
    background: #d4de38;
    border-radius: 2px;
    transition: all 0.3s;
}

.navbar-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

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

.navbar-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== МОБИЛКА ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }

    .navbar-burger {
        display: flex;
    }

    .navbar-links {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(53, 53, 53, 0.98);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }

    .navbar-links.active {
        max-height: 300px;
    }

    .navbar-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-links a {
        display: block;
        padding: 15px 20px;
        font-size: 14px;
    }

    .navbar-cta {
        display: none;
    }

    .cover {
        padding: 60px 20px;
        min-height: auto;
        padding-top: 100px;
    }

    .cover h1 {
        font-size: 28px;
    }

    .cover-subtitle {
        font-size: 14px;
    }

    .cover-stats {
        flex-direction: column;
        gap: 20px;
    }

    .cover-stat-number {
        font-size: 24px;
    }

    .cover-badge {
        font-size: 10px;
        padding: 6px 16px;
    }

    .content-page {
        padding: 60px 20px;
    }

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

    .tariff-card.featured {
        grid-column: 1;
    }

    .comparison-table {
        font-size: 10px;
    }

    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 8px 5px;
    }

    .comparison-table tbody td:first-child {
        padding-right: 8px;
    }

    .contact-page {
        padding: 40px 20px;
    }

    .contact-page h2 {
        font-size: 24px;
    }

    .form-section {
        max-width: 100%;
    }

    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    .page {
        width: 100vw;
        overflow-x: hidden;
    }

    .comparison-table {
        width: 100%;
        overflow-x: auto;
        display: block;
    }

    .comparison-table thead,
    .comparison-table tbody {
        display: block;
        width: 100%;
    }

    .comparison-table thead th {
        font-size: 9px;
        padding: 6px 3px;
    }

    .comparison-table tbody td {
        font-size: 9px;
        padding: 6px 3px;
    }

    .comparison-table tbody td:first-child {
        font-size: 8px;
        padding-right: 3px;
    }
}
