@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');*{margin:0;padding:0;box-sizing:border-box}body{font-family:'Inter',sans-serif;background:#f5f7fc;color:#1a2634;line-height:1.4}.app{display:flex;min-height:100vh}.sidebar{width:280px;background:rgba(255,255,255,0.96);backdrop-filter:blur(10px);border-right:1px solid rgba(0,0,0,0.05);box-shadow:4px 0 20px rgba(0,0,0,0.02);display:flex;flex-direction:column;position:sticky;top:0;height:100vh;padding:1.5rem 1rem}.logo{display:flex;align-items:center;gap:12px;font-size:1.6rem;font-weight:700;background:linear-gradient(135deg,#1e466e,#2c5a8c);-webkit-background-clip:text;background-clip:text;color:transparent;margin-bottom:2rem;padding-left:0.5rem}.logo i{background:none;color:#1e466e;font-size:1.8rem}.nav{display:flex;flex-direction:column;gap:0.25rem;flex:1}.nav-item{display:flex;align-items:center;gap:12px;padding:0.6rem 1rem;border-radius:14px;color:#4a5b6e;text-decoration:none;font-weight:500;transition:all 0.2s;line-height:1.3}.nav-item i{width:24px;font-size:1.1rem}.nav-item:hover,.nav-item.active{background:rgba(30,70,110,0.08);color:#1e466e}.sidebar-footer{margin-top:auto;padding-top:1.5rem;font-size:0.75rem;color:#7e8c9e;text-align:center}.fav-badge{background:#ff9800;color:white;border-radius:30px;padding:2px 8px;font-size:0.7rem;margin-left:8px}.main{flex:1;padding:1.5rem 2rem;overflow-x:auto}.main-header{margin-bottom:1.5rem}.main-header h1{font-size:1.8rem;font-weight:700;background:linear-gradient(135deg,#1e466e,#2a5f8a);-webkit-background-clip:text;background-clip:text;color:transparent;display:inline-flex;align-items:center;gap:10px}.badge{background:#ff9800;color:white;font-size:0.7rem;padding:4px 12px;border-radius:40px;font-weight:500}.main-header p{color:#5b6f82;margin-top:0.3rem;font-size:0.9rem}.filters{display:flex;gap:15px;align-items:flex-end;flex-wrap:wrap;margin-bottom:1.5rem;background:white;padding:0.8rem 1.2rem;border-radius:20px;box-shadow:0 2px 8px rgba(0,0,0,0.02)}.filter-group{display:flex;flex-direction:column;gap:4px}.filter-group label{font-size:0.75rem;font-weight:600;color:#4a5b6e}select,input{padding:6px 14px;border-radius:30px;border:1px solid #e2e8f0;background:#f8fafc;font-family:inherit;font-size:0.85rem}.btn-reset{background:none;border:1px solid #e2e8f0;padding:6px 16px;border-radius:30px;color:#1e466e;cursor:pointer;transition:0.2s}.btn-reset:hover{background:#1e466e;color:white;border-color:#1e466e}.filter-stats{margin-left:auto;font-size:0.8rem;background:#f1f5f9;padding:4px 12px;border-radius:30px;color:#1e466e}.programs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px}.program-card{background:white;border-radius:24px;box-shadow:0 8px 20px -8px rgba(0,0,0,0.08);transition:transform 0.2s,box-shadow 0.2s;overflow:hidden;display:flex;flex-direction:column;border:1px solid rgba(255,255,255,0.5)}.program-card:hover{transform:translateY(-3px);box-shadow:0 15px 30px -12px rgba(0,0,0,0.12)}.card-header{padding:1rem 1rem 0.3rem;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.card-icon{width:42px;height:42px;background:#eef2ff;border-radius:20px;display:flex;align-items:center;justify-content:center;font-size:1.4rem;color:#1e466e}.card-header h3{flex:1;font-size:1rem;font-weight:600;line-height:1.3}.card-header h3 a{text-decoration:none;color:#1a2634;transition:color 0.2s}.card-header h3 a:hover{color:#ff9800}.rating-stars{display:flex;align-items:center;gap:3px;color:#ffb829;font-size:0.7rem}.rating-value{margin-left:4px;font-weight:600;color:#2c3e66;font-size:0.8rem}.card-body{padding:0 1rem 0.8rem;flex:1}.price{font-weight:700;font-size:1.1rem;color:#2c7a4d;margin:6px 0}.short-desc{font-size:0.8rem;color:#5b6f82;line-height:1.4;margin:6px 0}.features{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.feature-tag{background:#f1f5f9;padding:3px 8px;border-radius:20px;font-size:0.65rem;font-weight:500;color:#2c3e66}.feature-tag.free{background:#e6f7ec;color:#2e7d32}.best-for{font-size:0.7rem;color:#ff8c42;background:#fff4e6;display:inline-block;padding:3px 10px;border-radius:20px}.card-footer{padding:0.6rem 1rem 1rem;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf2f7;margin-top:4px}.btn-comments-toggle,.btn-link{background:none;border:none;font-weight:500;font-size:0.75rem;cursor:pointer;display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:30px;transition:0.2s}.btn-comments-toggle{color:#4a5b6e;background:#f1f5f9}.btn-comments-toggle:hover{background:#e2e8f0}.btn-link{background:#1e466e;color:white;text-decoration:none}.btn-link:hover{background:#ff9800}.favorite-btn{background:none;border:none;font-size:1rem;cursor:pointer;padding:0 4px;transition:transform 0.1s}.favorite-btn:active{transform:scale(0.9)}.pagination-controls{display:flex;justify-content:center;align-items:center;gap:15px;margin:25px 0}.pagination-controls button,.pagination-controls a{background:#1e466e;color:white;border:none;padding:6px 16px;border-radius:30px;cursor:pointer;text-decoration:none;font-size:0.85rem}.pagination-controls button:disabled,.pagination-controls a.disabled{background:#ccc;cursor:not-allowed}.static-page{background:white;border-radius:24px;padding:1.5rem;box-shadow:0 8px 20px -8px rgba(0,0,0,0.05)}.about-content ul,.contacts-content{line-height:1.5}.stats{display:flex;gap:1.5rem;margin-top:1.5rem;flex-wrap:wrap}.stat{background:#f1f5f9;padding:0.5rem 1.2rem;border-radius:40px;font-weight:500;font-size:0.85rem}.contact-card{margin:0.8rem 0;padding:0.6rem 1rem;background:#f8fafc;border-radius:16px;display:inline-flex;align-items:center;gap:10px}.article-item{margin-bottom:1.2rem;border-bottom:1px solid #eef2f6;padding-bottom:0.8rem}.article-meta{font-size:0.75rem;color:#7f8c8d;margin-top:0.3rem}.form-group{margin-bottom:0.8rem}.form-group label{display:block;margin-bottom:0.2rem;font-weight:500;font-size:0.85rem}.form-group input,.form-group select{width:100%;max-width:280px;padding:6px 12px;border-radius:30px;border:1px solid #ccc}.btn-primary{background:#1e466e;color:white;border:none;padding:8px 20px;border-radius:30px;cursor:pointer;font-size:0.85rem}.static-page.article-full,.article-content-full{max-width:860px;margin:0 auto;font-size:1rem;line-height:1.5;color:#1f2d3d}.article-full h1,.article-content-full h1{font-size:2rem;font-weight:700;margin:1rem 0 0.8rem;line-height:1.3}.article-full h2,.article-content-full h2{font-size:1.5rem;font-weight:600;margin:1.2rem 0 0.6rem;padding-bottom:0.2rem;border-bottom:1px solid #eef2f6}.article-full h3,.article-content-full h3{font-size:1.25rem;font-weight:600;margin:1rem 0 0.4rem}.article-full p,.article-content-full p{margin-bottom:0.8rem;line-height:1.5}.article-full ul,.article-content-full ul,.article-full ol,.article-content-full ol{margin:0.5rem 0 0.8rem 1.5rem}.article-full li,.article-content-full li{margin-bottom:0.2rem;line-height:1.45}.article-full blockquote,.article-content-full blockquote{margin:1rem 0;padding:0.6rem 1.2rem;background:#f8fafc;border-left:4px solid #ff9800;font-style:italic;border-radius:0 16px 16px 0}.article-full table,.article-content-full table{width:100%;border-collapse:collapse;margin:1rem 0;font-size:0.85rem}.article-full th,.article-content-full th{background:#1e466e;color:white;padding:6px 10px}.article-full td,.article-content-full td{border:1px solid #e2e8f0;padding:6px 10px}.article-full img,.article-content-full img{max-width:100%;height:auto;border-radius:16px;margin:0.8rem 0}.article-full a,.article-content-full a{color:#1e466e;text-decoration:underline;text-underline-offset:2px}.article-full a:hover,.article-content-full a:hover{color:#ff9800}.article-meta{font-size:0.75rem;color:#6c86a3;margin-bottom:1rem;padding-bottom:0.3rem;border-bottom:1px solid #eef2f6;display:flex;gap:1rem}.article-announce{font-size:1rem;background:#f0f4fa;padding:0.8rem 1.2rem;border-radius:20px;margin:1rem 0;color:#1e466e;font-weight:500;border-left:4px solid #ff9800}.modal-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.6);backdrop-filter:blur(6px);z-index:10000;justify-content:center;align-items:center}.modal-overlay.active{display:flex}.modal-container{background:white;width:90%;max-width:700px;max-height:85vh;border-radius:28px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 40px rgba(0,0,0,0.2)}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:linear-gradient(135deg,#1e466e,#2a5f8a);color:white}.modal-header h3{margin:0;font-size:1.2rem}.modal-close{background:rgba(255,255,255,0.15);border:none;color:white;font-size:24px;cursor:pointer;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center}.modal-body{padding:16px 20px;overflow-y:auto;background:#f8fafc;flex:1}.modal-comment{background:white;border-radius:16px;padding:12px;margin-bottom:12px;border-left:3px solid #ff9800}.modal-comment-header{display:flex;justify-content:space-between;margin-bottom:6px}.modal-comment-author{font-weight:700;font-size:0.9rem}.modal-comment-rating{color:#ffb829;font-size:0.7rem}.modal-comment-text{font-size:0.85rem;line-height:1.4;margin:6px 0}.modal-comment-date{font-size:0.65rem;color:#7c8b9c}.modal-footer{padding:16px 20px;background:white;border-top:1px solid #e2e8f0}.modal-footer h4{margin:0 0 10px 0;font-size:1rem}.modal-form-row{display:flex;gap:12px;margin-bottom:12px}.modal-form-row input,.modal-form-row select{flex:1;padding:8px 12px;border-radius:30px;border:1px solid #e2e8f0;font-size:0.85rem}.modal-footer textarea{width:100%;padding:8px 12px;border-radius:16px;border:1px solid #e2e8f0;resize:vertical;margin-bottom:12px;font-size:0.85rem}.modal-footer button{background:#1e466e;color:white;border:none;padding:8px 20px;border-radius:30px;cursor:pointer;font-size:0.85rem}@media (max-width:900px){.app{flex-direction:column}.sidebar{width:100%;height:auto;position:relative;flex-direction:row;flex-wrap:wrap;padding:0.8rem;gap:0.5rem}.logo{margin-bottom:0}.nav{flex-direction:row;flex-wrap:wrap;gap:0.3rem}.main{padding:1rem}.programs-grid{grid-template-columns:1fr}.modal-form-row{flex-direction:column}.filters{flex-direction:column;align-items:stretch}.filter-stats{margin-left:0;text-align:center}}@media (max-width:600px){.article-full h1,.article-content-full h1{font-size:1.6rem}.article-full h2,.article-content-full h2{font-size:1.3rem}.static-page.article-full,.article-content-full{font-size:0.9rem;line-height:1.45}}.about-content{max-width:860px;font-size:1rem;line-height:1.5;color:#1f2d3d}.about-content h2{font-size:1.4rem;font-weight:600;margin:1.2rem 0 0.6rem;padding-bottom:0.2rem;border-bottom:1px solid #eef2f6}.about-content p{margin-bottom:0.8rem;line-height:1.5}.about-content ul{margin:0.5rem 0 0.8rem 1.5rem}.about-content li{margin-bottom:0.2rem;line-height:1.45}.about-content .stats{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.5rem}.about-content .stat{background:#f1f5f9;padding:0.4rem 1rem;border-radius:30px;font-size:0.85rem;font-weight:500}.empty-fav{text-align:center;padding:3rem 2rem;background:#f8fafc;border-radius:32px;color:#6c86a3;font-size:1rem;border:1px dashed #cbd5e1;margin:2rem 0;box-shadow:0 4px 12px rgba(0,0,0,0.02)}.empty-fav::before{content:"\f004";font-family:"Font Awesome 6 Free";font-weight:400;display:block;font-size:3.5rem;margin-bottom:1rem;color:#ffb829;opacity:0.7}@media (max-width:600px){.empty-fav{padding:2rem 1rem;font-size:0.9rem}.empty-fav::before{font-size:2.5rem}}.program-page{background:white;border-radius:32px;padding:2rem;box-shadow:0 20px 35px -12px rgba(0,0,0,0.08);max-width:1100px;margin:0 auto}.program-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:1.5rem;gap:1rem}.program-header h1{font-size:2rem;color:#1e466e;margin:0}.program-rating{font-size:1.2rem;color:#ffb829;display:flex;align-items:center;gap:0.5rem}.program-price{font-size:1.5rem;font-weight:bold;color:#2e7d32;margin:1rem 0}.program-description,.program-features{margin:1.5rem 0}.program-description h2,.program-features h2,.program-reviews h2,.add-review h3{font-size:1.4rem;font-weight:600;margin:0 0 1rem 0;color:#1e466e}.program-description p,.program-features p{line-height:1.5;font-size:1rem}.program-free-trial,.program-best-for{display:inline-block;background:#e8f0fe;padding:0.4rem 1rem;border-radius:40px;margin-right:1rem;margin-bottom:0.5rem;font-size:0.85rem}.program-buttons{margin:2rem 0}.program-buttons .btn-primary{background:#1e466e;color:white;padding:0.7rem 1.8rem;border-radius:40px;text-decoration:none;display:inline-flex;align-items:center;gap:0.5rem;transition:background 0.2s}.program-buttons .btn-primary:hover{background:#ff9800}.program-reviews{margin-top:2rem}.review-item{border-left:3px solid #ff9800;background:#f9fafb;padding:1rem 1.2rem;margin:1rem 0;border-radius:20px}.review-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:0.5rem;flex-wrap:wrap;gap:0.5rem}.review-header strong{font-size:1rem;color:#1e466e}.review-rating{color:#ffb829;font-size:0.8rem}.review-item p{margin:0.5rem 0;line-height:1.4}.review-date{font-size:0.7rem;color:#7c8b9c;margin-top:0.5rem}.add-review{margin-top:2rem;padding-top:1rem;border-top:1px solid #e2e8f0}.add-review .form-row{display:flex;gap:1rem;margin-bottom:1rem;flex-wrap:wrap}.add-review input,.add-review select,.add-review textarea{padding:0.6rem 1rem;border-radius:40px;border:1px solid #ccc;font-family:inherit;font-size:0.9rem;flex:1}.add-review textarea{width:100%;border-radius:20px;resize:vertical;min-height:80px}.add-review button{background:#1e466e;color:white;border:none;padding:0.6rem 1.5rem;border-radius:40px;cursor:pointer;transition:background 0.2s}.add-review button:hover{background:#ff9800}.no-reviews{color:#7c8b9c;font-style:italic;text-align:center;padding:1rem}@media (max-width:768px){.program-page{padding:1rem}.program-header{flex-direction:column;align-items:flex-start}.program-header h1{font-size:1.6rem}.program-price{font-size:1.3rem}.add-review .form-row{flex-direction:column}}.site-description{background:#eef2ff;padding:1rem 1.5rem;border-radius:24px;margin-bottom:1.5rem;font-size:0.95rem;color:#1e466e;border-left:4px solid #ff9800}.site-description{background:linear-gradient(135deg,#eef2ff 0%,#e8edf9 100%);padding:1rem 1.8rem;border-radius:28px;margin-bottom:1.8rem;font-size:0.95rem;color:#1e466e;border-left:5px solid #ff9800;box-shadow:0 2px 8px rgba(0,0,0,0.02);line-height:1.5}.site-description strong{font-weight:700;color:#ff9800}@media (max-width:600px){.site-description{padding:0.8rem 1.2rem;font-size:0.85rem}}


.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1100;
    background: #1e466e;
    border: none;
    color: white;
    font-size: 1.8rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: background 0.2s;
}
.mobile-menu-toggle:hover {
    background: #ff9800;
}
.sidebar {
    transition: transform 0.3s ease-in-out;
}
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100%;
        z-index: 1050;
        transform: translateX(-100%);
        background: white;
        box-shadow: none;
        padding-top: 70px;
    }
    .sidebar.open {
        transform: translateX(0);
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    }
    .main {
        padding: 1rem;
        margin-top: 60px;
    }
    .app {
        flex-direction: column;
    }
    .logo {
        margin-bottom: 1rem;
        justify-content: center;
    }
    .nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    .nav-item {
        justify-content: flex-start;
        padding: 0.75rem 1rem;
    }
    .sidebar-footer {
        margin-top: auto;
        padding: 1rem;
        text-align: center;
    }
    /* Затемнение фона при открытом меню */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
    }
    .menu-overlay.active {
        display: block;
    }

    .btn-comments-toggle, .btn-link, .favorite-btn, .tab-btn {
        padding: 8px 12px;
        min-height: 44px;
    }
    .program-card {
        margin-bottom: 16px;
    }
    .filters {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .filter-group {
        width: 100%;
    }
    .filter-group select, .filter-group input {
        width: 100%;
        padding: 10px 14px;
    }
    .btn-reset {
        padding: 10px;
    }
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .modal-container {
        width: 95%;
        max-height: 90vh;
        border-radius: 20px;
    }
    .modal-header {
        padding: 12px 16px;
    }
    .modal-body {
        padding: 12px;
    }
    .modal-footer {
        padding: 12px;
    }
    .modal-form-row {
        flex-direction: column;
        gap: 8px;
    }
    .program-page {
        padding: 1rem;
    }
    .program-header h1 {
        font-size: 1.5rem;
    }
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .site-description {
        font-size: 0.85rem;
        padding: 0.8rem 1rem;
    }
    .pagination-controls {
        flex-wrap: wrap;
        gap: 10px;
    }
    .pagination-controls button, .pagination-controls a {
        padding: 8px 16px;
    }
}