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

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input[type="submit"] {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.abonement-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* Фиксация шапки - предотвращение "плывущего" логотипа */
.header__main {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 2000;
    background: #2d363e !important;
}

/* Дополнительная фиксация для логотипа */
.header__main .header__logo {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header__main .header__logo-link {
    display: inline-block;
    position: relative;
    line-height: 0;
}

.header__main .header__logo-link img {
    display: block;
    width: auto;
    height: auto;
    max-width: 150px;
    max-height: 40px;
    object-fit: contain;
    vertical-align: middle;
}

section {
    margin-bottom: 40px;
    scroll-margin-top: 80px;
}
@media (min-width: 768px) {
    section {
        margin-bottom: 60px;
        scroll-margin-top: 90px;
    }
}

.section-faq {
    margin-top: 20px;
    margin-bottom: 20px;
}
@media (min-width: 768px) {
    .section-faq {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}


.section-title,
.intro-title {
    font-family: 'Roboto Slab', serif;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 25px;
    color: #333;
    line-height: 1.3;
}
@media (min-width: 768px) {
    .section-title,
    .intro-title {
        font-size: 30px;
        margin-bottom: 40px;
        color: #333;
    }
}


.section-title .highlight {
    color: #0FA6AB;
    font-size: 30px;
    font-weight: 900;
}

.section-intro {
    margin-bottom: 40px;
}
@media (min-width: 768px) {
    .section-intro {
        margin-bottom: 50px;
    }
}

.intro-title {
    font-size: 26px;
    color: #333;
}
@media (min-width: 768px) {
    .intro-title {
        font-size: 32px;
        color: #333;
    }
}

.intro-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}
@media (min-width: 992px) {
    .intro-benefits {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.intro-benefit-item {
    background-color: #f5f5f5; /* Светлее чем #e8e8e8 */
    border-radius: 12px;
    padding: 20px 20px 20px 60px;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    position: relative;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
@media (min-width: 992px) {
    .intro-benefit-item {
        padding: 60px 20px 20px 20px;
        text-align: center;
        min-height: 120px;
        font-size: 18px;
        justify-content: center;
        flex-direction: column;
    }
}


.icon-checkmark {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-color: transparent; /* Прозрачный фон */
    border: 2px solid #999; /* Серая граница */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    flex-shrink: 0;
}
@media (min-width: 992px) {
    .icon-checkmark {
        width: 32px;
        height: 32px;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        border-width: 2px;
        border-color: #ccc; /* Более светлая серая граница */
    }
}

.icon-checkmark::after {
    content: '';
    display: block;
    width: 8px;
    height: 14px;
    border: solid #0FA6AB;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg); /* Правильное центрирование */
}
@media (min-width: 992px) {
    .icon-checkmark::after {
        width: 8px;
        height: 14px;
        transform: translate(-50%, -50%) rotate(45deg);
    }
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.feature-item {
    background-color: #f5f5f5; /* Светлее чем #e8e8e8 */
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 200px;
}
@media (min-width: 768px) {
    .feature-item {
        min-height: 230px;
    }
}
@media (min-width: 992px) {
    .feature-item {
        padding: 25px;
        min-height: 260px;
    }
}


.feature-icon {
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
    margin-bottom: auto;
    margin-top: 10px;
    width: 100%;
    height: auto;
}
@media (min-width: 992px) {
    .feature-icon {
        max-width: 120px;
        max-height: 120px;
        margin-top: 15px;
    }
}


.feature-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-top: 15px;
    line-height: 1.4;
}
@media (min-width: 992px) {
    .feature-text {
        font-size: 16px;
        margin-top: 20px;
        line-height: 1.6;
    }
}

.feature-item--highlight {
    background-color: #0FA6AB;
    color: #fff;
}

.feature-item--highlight .feature-text {
    color: #fff;
}

.feature-item--highlight .feature-icon {
    filter: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
}
@media (min-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}


.card {
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card:hover {
    background-color: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
@media (min-width: 992px) {
    .card {
        padding: 30px 25px;
    }
}

/* Убран hover эффект */

.card--bordered {
    border: 2px solid #0FA6AB;
}

.card__content {
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (min-width: 992px) {
    .card__content {
        margin-bottom: 25px;
    }
}
.card__fragments {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 5px;
    text-align: center;
}
@media (min-width: 992px) {
    .card__fragments {
        font-size: 60px;
    }
}
.card__fragments-label {
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
    text-transform: lowercase;
    text-align: center;
}
@media (min-width: 992px) {
    .card__fragments-label {
        font-size: 14px;
        margin-bottom: 20px;
    }
}
.card__type {
    font-family: 'Roboto Slab', serif;
    font-size: 18px;
    font-weight: 700;
    color: #0FA6AB;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
}
@media (min-width: 992px) {
    .card__type {
        font-size: 20px;
        margin-bottom: 25px;
    }
}
.card__price-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}
@media (min-width: 992px) {
    .card__price-info {
        margin-bottom: 20px;
    }
}
.card__price-current {
    font-size: 28px;
    font-weight: 700;
    color: #ff9800;
}
.card__price-current .currency {
    font-size: 22px;
    font-weight: normal;
    margin-left: 2px;
}
@media (min-width: 992px) {
    .card__price-current {
        font-size: 32px;
    }
    .card__price-current .currency {
        font-size: 24px;
    }
}
.card__discount-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
@media (min-width: 992px) {
    .card__discount-container {
        gap: 15px;
    }
}

.card__price-original {
    font-size: 14px;
    color: #888;
    text-decoration: line-through;
}
.card__price-original .currency {
    font-size: 12px;
}
@media (min-width: 992px) {
    .card__price-original {
        font-size: 16px;
    }
    .card__price-original .currency {
        font-size: 14px;
    }
}
.card__discount {
    background-color: #ff9800;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
@media (min-width: 992px) {
    .card__discount {
        font-size: 14px;
        width: 45px;
        height: 45px;
    }
}
.card__form {
    margin-top: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.card__button {
    background-color: #0FA6AB;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 15px;
    border-radius: 10px;
    width: 100%;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    text-align: center;
}
@media (min-width: 992px) {
    .card__button {
        font-size: 18px;
        padding: 15px 20px;
    }
}


.card__button:hover {
    background-color: #0b8a8e;
}

.card__button:active {
    background-color: #097074;
    transform: scale(0.98);
}

.card__button:focus {
    outline: 2px solid #0FA6AB;
    outline-offset: 2px;
}

.lower-promo-banner {
    margin: 0 auto 40px auto;
    display: block;
    text-align: center;
    max-width: 100%;
    width: 100%;
}
@media (min-width: 768px) {
    .lower-promo-banner {
        margin-bottom: 60px;
    }
}
.lower-promo-banner img {
    display: inline-block;
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
}
@media (min-width: 992px) {
    .lower-promo-banner img {
        border-radius: 15px;
    }
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-intro {
    padding: 0;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}
@media (min-width: 768px) {
    .faq-intro {
        padding: 0;
        margin-bottom: 30px;
        font-size: 14px;
        line-height: 1.7;
    }
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
@media (min-width: 768px) {
    .faq-list {
        gap: 15px;
    }
}

.faq-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #eee;
    overflow: hidden;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    list-style: none;
    width: 100%;
}
@media (min-width: 768px) {
    .faq-question {
        padding: 18px 20px;
        font-size: 18px;
    }
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
    margin-left: 10px;
    transition: transform 0.3s ease;
}
@media (min-width: 768px) {
    .faq-icon {
        margin-left: 15px;
    }
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: #0FA6AB;
    transition: transform 0.3s ease;
}
.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.faq-icon::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
@media (min-width: 768px) {
    .faq-icon::before {
        height: 3px;
    }
    .faq-icon::after {
        width: 3px;
    }
}

details[open] .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}
.faq-answer {
    padding: 0 15px 15px 15px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}
@media (min-width: 768px) {
    .faq-answer {
        padding: 0 20px 20px 20px;
        font-size: 15px;
        line-height: 1.7;
    }
}
.faq-answer p {
    margin-bottom: 10px;
}
.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Дополнительные улучшения */
.abonement-page {
    min-height: calc(100vh - 72px);
}

/* Улучшение читаемости текста */
.intro-benefit-item {
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.intro-benefit-item:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

@media (min-width: 992px) {
    .intro-benefit-item:hover {
        transform: translateY(-3px);
    }
}

/* Улучшение карточек тарифов */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Убран hover эффект transform */

/* Улучшение FAQ */
.faq-item {
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: #0FA6AB;
}

.faq-question {
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #0FA6AB;
}

/* Адаптивность для мобильных */
@media (max-width: 767px) {
    .abonement-page {
        padding: 15px;
    }
    
    .intro-title {
        font-size: 22px;
        margin-bottom: 20px;
        color: #333;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
        color: #333;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature-item {
        min-height: 180px;
        padding: 15px;
    }
    
    .card {
        padding: 20px;
    }
}