/* parenting_kom_app.css */

/* Логотип: Адаптивность */
.app-hero-logo {
    display: block;
    margin: 0 auto 25px;
    height: auto;
    width: 300px;
}

@media (min-width: 1024px) {
    .app-hero-logo {
        width: 500px;
    }
}

.intro-tagline {
    font-size: 18px;
    color: #888;
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.5;
}

/* Плашка релиза в шапке (для LemonSqueezy/Stripe) */
.release-notice {
    font-size: 18px;
    color: #e44c65;
    margin-top: 15px;
    font-weight: 400;
}

.release-notice i {
    color: #a4c639; /* Цвет Android */
    margin-right: 5px;
}

/* Карусель */
.kom-carousel-box {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 45px;
    margin: 0 auto; /* Центрирование */
}

/* Начиная с 768px ширина контейнера не более 740px */
@media (min-width: 768px) {
    .kom-carousel-box {
        max-width: 740px;
    }
}

.kom-viewport {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 15px;
    padding: 10px 0;
    -ms-overflow-style: none; /* IE */
    scrollbar-width: none; /* Firefox */
}

.kom-viewport::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.kom-viewport img {
    flex: 0 0 auto;
    width: 90px;
    height: auto;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    transition: transform 0.2s ease;
}

/* Увеличение картинок после 500px */
@media (min-width: 500px) {
    .kom-viewport img {
        width: 150px;
    }
}

.kom-viewport img:hover {
    transform: scale(1.03);
}

/* Кнопки управления < > */
.kom-control {
    background: #fff;
    border: 1px solid #ddd;
    color: #999;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: 0.3s;
}

.kom-control:hover {
    border-color: #e44c65;
    color: #e44c65;
}

.kom-control.prev { left: 0; }
.kom-control.next { right: 0; }

/* Модальное окно просмотра скриншотов */
.kom-modal-overlay {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.kom-modal-img {
    max-height: 85vh;
    max-width: 90%;
    border-radius: 8px;
}

.kom-close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 50px;
    cursor: pointer;
}

h2 {
    color: #e44c65;
    font-weight: bold;
}

/* --- Features Section Styles (Bootstrap Grid) --- */

#features .section-title h1 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #304352;
}

.feature-column {
    margin-bottom: 30px;
}

.feature-card {
    background: #fbfbfb;
    border: 1px solid #eee;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    height: 100%; /* Чтобы карточки в одном ряду были одинаковой высоты */
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    background: #fff;
    border-color: #e44c65;
}

.feature-card img {
    margin: 0 auto 20px;
    border-radius: 8px;
    max-width: 240px;
}

.feature-card h3 {
    color: #304352;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: none;
    letter-spacing: 1px;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #777;
    letter-spacing: 0;
}

/* Блок уведомления об обновлении Terms */
.terms-update-box {
    background: #fdf2f4;
    padding: 15px 20px;
    border-left: 4px solid #e44c65;
    margin: 20px 0;
    border-radius: 4px;
    text-align: left;
}

.terms-update-box p {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.4;
    color: #304352;
}

/* Выравнивание высоты карточек в ряду для md и lg */
@media (min-width: 768px) {
    #features .row {
        display: flex;
        flex-wrap: wrap;
    }
}


/* --- Pricing Section Styles --- */

.pricing-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid #e44c65;
    transform: scale(1.02);
}

.pricing-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.pricing-header h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    color: #304352;
    margin-bottom: 20px;
}

.pricing-header .price {
    font-size: 48px;
    font-weight: bold;
    color: #e44c65;
    margin-bottom: 30px;
}

.pricing-header .currency {
    font-size: 24px;
    vertical-align: super;
}

.pricing-header .period {
    font-size: 16px;
    color: #999;
    font-weight: normal;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    text-align: left;
    display: inline-block;
}

.pricing-features li {
    font-size: 16px;
    color: #666;
    margin-bottom: 12px;
}

.pricing-features li i {
    color: #e44c65;
    margin-right: 10px;
}

.pricing-footer .btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
}

.pricing-footer .btn.disabled {
    background: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

@media (max-width: 767px) {
    .pricing-card.featured {
        transform: none;
    }
}

/* --- Выравнивание карточек прайса по высоте --- */

@media (min-width: 768px) {
    /* Делаем строку гибким контейнером */
    #pricing .row {
        display: flex;
        flex-wrap: wrap;
    }

    /* Растягиваем колонки на всю высоту строки */
    #pricing .row > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }

    /* Заставляем карточку занять всё пространство колонки */
    .pricing-card {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    /* Толкаем футер с кнопкой в самый низ карточки */
    .pricing-footer {
        margin-top: auto;
    }
}

/* Дополнительно: если списки фич разной длины, 
   можно выровнять и их, но margin-top: auto на футере обычно достаточно */


   /* --- Footer Legal Links Styles --- */

.footer-legal-links {
    margin: 20px 0;
}

.footer-legal-links ul {
    display: inline-block; /* Позволяет центрировать весь блок */
    text-align: left;      /* Выравнивает пульки и текст внутри блока по левому краю */
    list-style-type: disc; /* Оставляет стандартные пульки */
    padding-left: 20px;    /* Отступ для пулек */
    margin: 0;
}

.footer-legal-links li {
    margin-bottom: 10px;
}

.footer-legal-links li a {
    color: #777;
    font-size: 16px;
    transition: 0.3s;
}

.footer-legal-links li a:hover {
    color: #e44c65;
    text-decoration: none;
}

/* Фикс для мобильных: чтобы не прилипало к краям */
@media (max-width: 767px) {
    .footer-legal-links ul {
        padding-left: 25px;
    }
}