/* ------ CSS Reset/Defaults ------ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.4;
    color: #333;
    background: #f8f9fa;
}

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

/* ------ Header (Hero Section) ------ */
header {
    background: linear-gradient(135deg, #29A4DB 0%, #00c4ff 100%);
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
}

.logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

header h1 {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: bold;
}

header p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* ------ Main Container ------ */
main {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
}

/* ------ Intro Section ------ */
.intro {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.intro h2 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #29A4DB;
}

.intro p {
    font-size: 16px;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: #29A4DB;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 18px;
    transition: background 0.3s, box-shadow 0.3s;
    font-weight: 600;
    margin-top: 20px;
}

.telegram-icon {
    width: 24px;
    height: auto;
    margin-right: 8px;
}

.cta-button:hover {
    background: #29A4DB;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}


/* ------ Features Section ------ */
.features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Ровно 2 колонки на больших экранах */
    gap: 20px;
}

/* На экранах уже чем 768px карточки идут одна под другой */
@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr; /* Одна колонка для мобильных */
    }
}

.feature-item {
    background: #ffffff;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    /* Добавляем голубую обводку: */
    border: 2px solid #00c4ff;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #29A4DB;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #29A4DB;
}

.feature-content p {
    font-size: 15px;
    line-height: 1.5;
}

/* ------ Subscription Section ------ */
.subscription-info {
    margin-top: 40px;
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.subscription-info h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #00aaff;
}

.subscription-info p {
    font-size: 16px;
    margin-bottom: 15px;
    max-width: 600px;
    margin: 0 auto 20px;
}

.price-block {
    background: #f1f8fe;
    border: 2px solid #00c4ff;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto 20px;
}

.price-text {
    font-size: 22px;
    font-weight: 600;
    color: #007bff;
}

.subscription-button {
    display: inline-block;
    background: #29A4DB;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 16px;
    transition: background 0.3s, box-shadow 0.3s;
    font-weight: 600;
}

.subscription-button:hover {
    background: #258ebd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ------ Additional Info Sections ------ */
.info-block {
    margin: 40px 0;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.info-block h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #29A4DB;
}

.info-block p {
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* ------ Footer ------ */
footer {
    text-align: center;
    margin: 30px auto 20px;
    font-size: 14px;
    color: #777;
}

footer p {
    margin-bottom: 5px;
}

.highlight {
    position: relative;         /* Для абсолютного позиционирования псевдоэлемента */
    color: #ffffff;
    background-color: #ff5722;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    overflow: hidden;           /* Скрываем выходящий за границы эффект */
}

/* Псевдоэлемент, создающий эффект блеска */
.highlight::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

/* Ключевые кадры для анимации блеска */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
