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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    background:
        radial-gradient(circle at 20% 30%, #3a3aff, transparent 50%),
        radial-gradient(circle at 80% 70%, #d61fa8, transparent 50%),
        #0f0f14;
    min-height: 100vh;
    line-height: 1.6;
}

/* ===== КОНТЕЙНЕР ===== */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* === ХЛЕБНЫЕ КРОШКИ === */
.breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0 10px;
    font-size: 14px;
    opacity: 0.7;
}
.breadcrumbs-left {
    display: flex;
    align-items: center;
}

.lk-link {
    color: #fff;
    text-decoration: none;
    transition: 0.2s;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lk-link:hover {
    color: #4a6cff;
    text-decoration: underline;
}

/* Скрываем иконку на компьютерах */
.lk-icon {
    display: none;
}

.breadcrumbs a {
    color: #fff;
    text-decoration: none;
    transition: 0.2s;
}
.breadcrumbs a:hover {
    color: #4a6cff;
    text-decoration: underline;
}
.breadcrumbs span {
    margin: 0 8px;
    opacity: 0.5;
}

.hero-section {
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto 20px;
    opacity: 0.95;
}

.hero-subtitle {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #dddddd;
    opacity: 0.85;
}

/* ===== КАТЕГОРИИ ===== */
.categories-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}
.category-link {
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.category-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(74, 108, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 108, 255, 0.3);
}

/* ===== BADGE ===== */
.free-badge {
    position: absolute;
    top: -16px;
    right: 20px;
    background: #4a6cff;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    white-space: nowrap;
}
/* ===== BUTTON ===== */
.card-btn-free {
    display: inline-block;
    margin-top: 15px;
    padding: 5px 24px;
    background: linear-gradient(135deg, #4a6cff, #7c2bff);
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.grid {
    display: grid;
    gap: 35px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-bottom: 80px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 35px;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.card:hover {
    transform: translateY(-12px);
    border-color: #4a6cff66;
    box-shadow: 0 18px 55px rgba(74, 108, 255, 0.5), 0 0 60px #d61fa822;
}

.card::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, #4a6cff44, transparent 70%);
    top: 0;
    right: 0;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: translate(-20px, 20px);
}

.card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
}

.card p {
    font-size: 16px;
    opacity: 0.85;
    color: #ddd;
}

/* ===== PREMIUM CARD ===== */
.card-premium {
    border: 2px solid #4CAF50;
    background: linear-gradient(145deg, rgba(76, 175, 80, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow: 0 0 25px rgba(76, 175, 80, 0.15);
}

.card-premium:hover {
    border-color: #66bb6a;
    box-shadow: 0 18px 55px rgba(76, 175, 80, 0.4), 0 0 60px #4CAF5033;
    transform: translateY(-12px);
}

.card-premium::before {
    background: radial-gradient(circle, #4CAF5044, transparent 70%);
}

/* ===== BADGE ===== */
.premium-badge {
    position: absolute;
    top: -8px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    white-space: nowrap;
}
/* ===== BUTTON ===== */
.card-btn-detail {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 24px;
    background: #4CAF50;
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.card-btn-detail:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
}

/* === ФОРМА ОБРАТНОЙ СВЯЗИ === */
.feedback-section-final {
    max-width: 800px;
    margin: 60px auto 40px;
    text-align: center;
    padding: 0 20px;
}

.feedback-title-final {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.feedback-form-final {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feedback-textarea-final {
    width: 100%;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    padding: 15px;
    font-family: inherit; 
    font-size: 15px;
    line-height: 1.5;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.feedback-textarea-final:focus {
    border-color: #4a6cff;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(74, 108, 255, 0.15);
}

.feedback-textarea-final::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.feedback-btn-final {
    background: linear-gradient(135deg, #4a6cff, #7c2bff);
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 108, 255, 0.3);
}

.feedback-btn-final:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 108, 255, 0.5);
    background: linear-gradient(135deg, #5b7dff, #8c3bff);
}

.feedback-btn-final:active {
    transform: translateY(0);
}

.benefits-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 80px 0;
    text-align: center;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 20px;
    border-radius: 20px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(74, 108, 255, 0.3);
}

.benefit-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.benefit-text {
    font-size: 15px;
    opacity: 0.85;
    line-height: 1.5;
}

.audience-section {
    margin: 80px 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    padding: 60px 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.audience-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== TEXT BLOCK ===== */
.text-block {
    max-width: 900px;
    margin: 100px auto 60px;
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.85;
}

.text-block h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: #fff;
    opacity: 1;
}

.text-block h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #e0e0e0;
    opacity: 1;
}

.text-block p,
.text-block ul {
    font-size: 16px;
    margin-bottom: 20px;
}

.text-block li {
    margin-bottom: 10px;
}

.text-block ul {
    margin-left: 20px;
}

.footer {
    padding: 80px 60px 40px;
    background: #0f0f14;
    margin-top: 120px;
    color: #ffffffbb;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 18px;
    font-weight: 700;
}

.footer-column h4 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 14px;
}

.footer-column p,
.footer-column li {
    line-height: 1.6;
    opacity: 0.85;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-column a {
    color: #ffffffcc;
    text-decoration: none;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.footer-column a:hover {
    color: #fff;
    text-shadow: 0 0 10px #4a6cff, 0 0 16px #ff2bd6;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    font-size: 14px;
    opacity: 0.55;
}
/* ===== АДАПТИВНОСТЬ (MEDIA QUERIES) ===== */

/* Планшеты и большие телефоны (до 1024px) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
    
    .grid {
        gap: 25px;
    }
    
    .card {
        padding: 25px;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    /* Контейнер и отступы */
    .container {
        padding: 0 15px;
    }
    /* Скрываем текст кабинета на телефонах */
    .lk-text {
        display: none;
    }

    /* Показываем и стилизуем кругляшек на телефонах */
    .lk-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        font-size: 16px;
        transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    }

    .lk-link:hover .lk-icon {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(74, 108, 255, 0.6);
        transform: translateY(-2px);
    }

    /* Герой-секция */
    .hero-section {
        padding: 20px 0;
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    /* Навигация */ 
   .categories-nav {
        gap: 10px;
        margin-bottom: 40px;
    }
    
    .category-link {
        padding: 12px 20px;
        font-size: 14px;
        width: auto;
        text-align: center;
    }
    
    /* Сетки и карточки */
    .grid {
        gap: 20px;
        margin-bottom: 60px;
    }
    
    .card {
        padding: 25px 20px;
        border-radius: 18px;
        margin-bottom: 24px;
    }
    
    .card::before {
        width: 120px;
        height: 120px;
    }
    
    .card h3 {
        font-size: 20px;
    }
    
    .card p {
        font-size: 14px;
    }
  
    .feedback-section-final {
        padding: 0;
    }
  
    .feedback-form-final {
        padding: 10px 5px;
    }
    
    .feedback-btn-final {
        width: 100%;
    }
    
    /* Бенефиты */
    .benefits-section {
        gap: 20px;
        margin: 60px 0;
    }
    
    .benefit-card {
        padding: 25px 15px;
    }
    
    .benefit-icon {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .benefit-title {
        font-size: 18px;
    }
    
    .benefit-text {
        font-size: 14px;
    }
    
    /* Аудитория */
    .audience-section {
        margin: 60px 0;
        padding: 40px 20px;
        border-radius: 20px;
    }
    
    .audience-grid {
        gap: 15px;
        margin-top: 30px;
    }
    
    /* Текстовый блок */
    .text-block {
        margin: 60px auto 40px;
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    .text-block h2 {
        font-size: 26px;
        margin-bottom: 20px;
    }
    
    .text-block h3 {
        font-size: 20px;
        margin: 25px 0 12px;
    }
    
    .text-block p,
    .text-block ul {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    /* Футер */
    .footer {
        padding: 50px 20px 30px;
        margin-top: 80px;
        border-radius: 20px 20px 0 0; /* Скругление только сверху */
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-column h3 {
        font-size: 22px;
    }
    
    .footer-column h4 {
        font-size: 18px;
    }
    
    .footer-bottom {
        margin-top: 40px;
        font-size: 13px;
    }
}

/* Маленькие телефоны (до 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .category-link {
        padding: 10px 18px;
        font-size: 13px;
        width: auto;
        flex-shrink: 0;
    }
    
    .card {
        padding: 20px 15px;
        border-radius: 16px;
    }
    
    .card h3 {
        font-size: 18px;
    }
    
    .card-btn-detail {
        width: 100%;
        text-align: center;
        padding: 6px 20px;
    }
    
    .card-btn-free {
        width: 100%;
        text-align: center;
        padding: 6px 20px;
    }
    
    .premium-badge {
        font-size: 10px;
        padding: 5px 10px;
        right: 15px;
    }
    
    .text-block {
        padding: 20px 15px;
    }
    
    .text-block h2 {
        font-size: 24px;
    }
}