/* ===== Breadcrumbs ===== */
.breadcrumbs {
    padding: 15px 0;
    margin-bottom: 20px;
    font-size: 14px;
    color: #909090;
}

.breadcrumbs a {
    color: #6c5ce7;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: #a29bfe;
    text-decoration: underline;
}

.breadcrumbs span {
    color: #b0b0b0;
}

/* ===== Стили для страницы "Метод" ===== */

.method-container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 20px;
}

/* Введение */
.method-intro {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 20px;
    border-left: 5px solid #667eea;
}

.method-intro h2 {
    color: #4a5568;
    font-size: 2.2em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead-text {
    font-size: 1.2em;
    line-height: 1.8;
    color: #4a5568;
    max-width: none;
    margin: 0;
}

/* История метода */
.method-story {
    margin-bottom: 60px;
}

.story-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.story-card .icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.story-card h3 {
    color: #2d3748;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.story-card p {
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.highlight {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    font-weight: 600;
    color: #2d3748;
    font-size: 1.2em;
    margin-top: 25px;
}

/* Уникальность подхода */
.method-unique {
    margin-bottom: 60px;
}

.method-unique h2 {
    text-align: center;
    color: #2d3748;
    font-size: 2em;
    margin-bottom: 40px;
    position: relative;
}

.method-unique h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Аналогия */
.analogy-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
}

.analogy-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 30px;
    background: #f7fafc;
    border-radius: 20px;
}

.circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.circle:hover {
    transform: translateY(-5px);
}

.circle.astro {
    background: linear-gradient(135deg, #667eea 0%, #5a67d8 100%);
    color: white;
}

.circle.numer {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
}

.circle.synthesis {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.circle span {
    font-weight: 600;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.circle small {
    font-size: 0.9em;
    opacity: 0.9;
}

.plus-sign, .equals-sign {
    font-size: 2em;
    color: #718096;
    font-weight: bold;
}

.analogy-text {
    max-width: none;
    margin: 0;
    font-size: 1.1em;
    line-height: 1.8;
    color: #4a5568;
}

.analogy-text strong {
    color: #2d3748;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Преимущества */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.benefit-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* Научная основа */
.method-science {
    margin-bottom: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 20px;
}

.method-science h2 {
    color: #2d3748;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
}

.science-content {
    max-width: none;
    margin: 0;
}

.science-content p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 25px;
    text-align: center;
}

.science-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.science-list li {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 15px;
    border-left: 4px solid #667eea;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.science-list li strong {
    display: block;
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.science-list li span {
    color: #4a5568;
    line-height: 1.6;
    display: block;
}

/* Применение в кризис */
.method-application {
    margin-bottom: 60px;
}

.crisis-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.crisis-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.crisis-icon {
    font-size: 3em;
}

.crisis-header h3 {
    color: #2d3748;
    font-size: 1.8em;
    margin: 0;
}

.crisis-highlight {
    color: #e53e3e;
    background: linear-gradient(135deg, rgba(229, 62, 62, 0.1) 0%, rgba(234, 32, 39, 0.1) 100%);
    padding: 2px 8px;
    border-radius: 5px;
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.app-card {
    background: #f7fafc;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.app-card:hover {
    background: white;
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.1);
}

.app-card h4 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.app-card p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95em;
}

/* Призыв к действию */
.method-cta {
    margin-bottom: 60px;
}

.cta-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px;
    border-radius: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
}

.cta-icon {
    font-size: 4em;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-card p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    opacity: 0.95;
}

.cta-emphasis {
    font-size: 1.2em !important;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid rgba(255, 255, 255, 0.5);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-btn {
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    min-width: 200px;
}

.cta-btn.primary {
    background: white;
    color: #667eea;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn.primary:hover {
    background: #f7fafc;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

.cta-final {
    font-style: italic;
    font-size: 1.1em !important;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.signature {
    margin-top: 40px;
    font-size: 1.2em;
    position: relative;
    z-index: 1;
}

.signature strong {
    font-size: 1.3em;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Адаптивность */
@media (max-width: 768px) {
    .method-container {
        padding: 10px;
    }
    
    .method-intro {
        padding: 20px;
    }
    
    .method-intro h2 {
        font-size: 1.8em;
    }
    
    .lead-text {
        font-size: 1.1em;
    }
    
    .story-card {
        padding: 25px;
    }
    
    .analogy-visual {
        flex-direction: column;
        gap: 15px;
    }
    
    .circle {
        width: 130px;
        height: 130px;
    }
    
    .plus-sign, .equals-sign {
        transform: rotate(90deg);
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .method-science {
        padding: 25px;
    }
    
    .crisis-section {
        padding: 25px;
    }
    
    .crisis-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .application-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-card {
        padding: 30px 20px;
    }
    
    .cta-card h2 {
        font-size: 1.8em;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .method-intro h2 {
        font-size: 1.5em;
    }
    
    .story-card h3 {
        font-size: 1.4em;
    }
    
    .method-unique h2,
    .method-science h2 {
        font-size: 1.6em;
    }
    
    .cta-card h2 {
        font-size: 1.5em;
    }
}

/* ===== НОВЫЕ СТИЛИ для обновлённой структуры ===== */

/* Подход: Астропсихология, усиленная нумерологией */
.method-unique h2 {
    text-align: center;
    color: #2d3748;
    font-size: 2.2em;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.method-unique h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.approach-intro {
    max-width: 100%;
    margin: 0 auto 50px;
    text-align: center;
    padding: 30px;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.approach-intro p {
    font-size: 1.15em;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 20px;
}

.approach-intro .highlight {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #667eea;
    font-weight: 600;
    color: #2d3748;
    font-size: 1.2em;
    margin-top: 25px;
    text-align: left;
}

/* Примеры синтеза */
.synthesis-examples {
    margin-bottom: 60px;
}

.synthesis-examples h3 {
    text-align: center;
    color: #2d3748;
    font-size: 1.8em;
    margin-bottom: 40px;
    position: relative;
}


.example-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.example-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 30px;
    position: relative;
}

.example-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
}

.example-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
}

.example-header h4 {
    font-size: 1.5em;
    margin: 0;
    color: white;
}

.example-body {
    padding: 30px;
}

.system-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e2e8f0;
}

.system-point:last-child {
    border-bottom: none;
    margin-bottom: 25px;
    padding-bottom: 0;
}

.system-name {
    flex-shrink: 0;
    width: 150px;
    font-weight: 700;
    color: #2d3748;
    font-size: 1.1em;
    padding-right: 15px;
}

.system-desc {
    flex: 1;
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.05em;
}

.system-desc strong {
    color: #2d3748;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.synthesis-point {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(135deg, #f0f4ff 0%, #f8f0ff 100%);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #48bb78;
    margin-top: 15px;
}

.synthesis-icon {
    font-size: 2em;
    margin-right: 20px;
    flex-shrink: 0;
}

.synthesis-desc {
    flex: 1;
    color: #2d3748;
    line-height: 1.7;
    font-size: 1.1em;
}

.synthesis-desc strong {
    color: #2d3748;
    font-weight: 700;
}

.synthesis-desc em {
    color: #667eea;
    font-style: normal;
    font-weight: 600;
}

/* Для кого этот метод */
.method-application {
    margin-bottom: 60px;
}

.method-application h2 {
    text-align: center;
    color: #2d3748;
    font-size: 2.2em;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.method-application h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ed8936, #dd6b20);
    border-radius: 2px;
}

.application-intro {
    max-width: none;
    margin: 0 0 40px;
    text-align: center;
    font-size: 1.15em;
    color: #4a5568;
    line-height: 1.8;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Всегда 4 карточки на десктопе */
    gap: 30px;
    margin-bottom: 50px;
}

.audience-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.audience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e0;
}

.audience-card:hover::before {
    opacity: 1;
}

.audience-icon {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #667eea;
}

.audience-card h4 {
    color: #2d3748;
    font-size: 1.4em;
    margin-bottom: 15px;
    min-height: 3em;
}

.audience-card p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.05em;
}

.audience-card p strong {
    color: #2d3748;
    font-weight: 600;
}

.application-conclusion {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid #667eea;
    text-align: center;
    max-width: none;
    margin: 0;
}

.application-conclusion p {
    font-size: 1.2em;
    line-height: 1.8;
    color: #2d3748;
    margin: 0;
}

.application-conclusion strong {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Адаптивность для новых элементов */
@media (max-width: 992px) {
    .approach-intro {
        padding: 25px;
    }
    
    .example-body {
        padding: 25px;
    }
    
    .system-point {
        flex-direction: column;
        gap: 10px;
    }
    
    .system-name {
        width: 100%;
        padding-right: 0;
    }
    
    .synthesis-point {
        flex-direction: column;
        gap: 15px;
    }
    
    .synthesis-icon {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .method-unique h2,
    .method-application h2 {
        font-size: 1.8em;
    }
    
    .approach-intro,
    .application-intro {
        padding: 20px;
    }
    
    .example-header {
        padding: 20px;
    }
    
    .example-header h4 {
        font-size: 1.3em;
    }
    
    .synthesis-examples h3 {
        font-size: 1.5em;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .application-conclusion {
        padding: 30px 20px;
    }
    
    .application-conclusion p {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .method-unique h2,
    .method-application h2 {
        font-size: 1.6em;
        padding-bottom: 15px;
    }
    
    .approach-intro .highlight {
        padding: 20px 15px;
        font-size: 1.1em;
    }
    
    .example-body {
        padding: 20px;
    }
    
    .synthesis-point {
        padding: 20px;
    }
    
    .audience-card {
        padding: 25px;
    }
    
    .audience-card h4 {
        font-size: 1.3em;
    }
}

/* ===== Стили для кнопки обратной связи ===== */
.feedback-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.feedback-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.feedback-btn i {
    font-size: 1.1em;
}

/* ===== Стили для модального окна ===== */
.feedback-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.feedback-modal.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.feedback-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2em;
    color: #a0aec0;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.feedback-modal-close:hover {
    color: #4a5568;
}

.feedback-modal-content h2 {
    color: #2d3748;
    font-size: 1.8em;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feedback-description {
    color: #718096;
    margin-bottom: 30px;
    font-size: 1.05em;
    line-height: 1.6;
}

.feedback-form-group {
    margin-bottom: 20px;
}

.feedback-form-group label {
    display: block;
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.feedback-form-group input,
.feedback-form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: #f8fafc;
    box-sizing: border-box;
}

.feedback-form-group input:focus,
.feedback-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.feedback-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.feedback-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.feedback-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.feedback-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.feedback-success,
.feedback-error {
    text-align: center;
    padding: 30px;
}

.feedback-success i {
    font-size: 4em;
    color: #48bb78;
    margin-bottom: 15px;
}

.feedback-success p {
    color: #2d3748;
    font-size: 1.2em;
    font-weight: 600;
}

.feedback-error i {
    font-size: 4em;
    color: #e53e3e;
    margin-bottom: 15px;
}

.feedback-error p {
    color: #2d3748;
    font-size: 1.1em;
}

/* Адаптивность для модального окна */
@media (max-width: 768px) {
    .feedback-btn {
        top: 15px;
        right: 15px;
        padding: 10px 16px;
        font-size: 0.9em;
    }

    .feedback-modal-content {
        padding: 30px 25px;
        margin: 10px;
    }

    .feedback-modal-content h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .feedback-btn {
        padding: 10px;
        border-radius: 50%;
    }

    .feedback-btn span {
        display: none;
    }

    .feedback-modal-content {
        padding: 25px 20px;
    }

    .feedback-form-group input,
    .feedback-form-group textarea {
        padding: 12px 14px;
    }
}

/* ===== Фон страницы — прозрачность 70% ===== */
.container.about-page {
    background: rgba(255, 255, 255, 0.3);
}

/* ===== Info page layout (справка) ===== */
.info-page-layout {
    display: flex;
    gap: 2rem;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 20px;
    align-items: flex-start;
}

.info-nav {
    flex-shrink: 0;
    width: 240px;
    position: sticky;
    top: 100px;
}

.info-nav-toggle {
    display: none;
    width: 100%;
    padding: 10px 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 10px;
}

.info-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 12px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.info-nav-list li {
    border-bottom: 1px solid #e2e8f0;
}

.info-nav-list li:last-child {
    border-bottom: none;
}

.info-nav-list a {
    display: block;
    padding: 10px 14px;
    color: #4a5568;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}

.info-nav-list a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.info-content {
    flex: 1;
    min-width: 0;
}

/* Accordion (сворачиваемые пункты) */
.info-accordion-item {
    margin-bottom: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.info-accordion-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #2d3748;
    background: #f7fafc;
    border: none;
    cursor: pointer;
    list-style: none;
    text-align: left;
    transition: background 0.2s;
}

.info-accordion-head::-webkit-details-marker {
    display: none;
}

.info-accordion-head::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.85rem;
    color: #667eea;
    transition: transform 0.25s ease;
}

.info-accordion-item[open] .info-accordion-head::after {
    transform: rotate(180deg);
}

.info-accordion-head:hover {
    background: #edf2f7;
}

.info-accordion-body {
    padding: 18px 18px 22px;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}

.info-accordion-body p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.info-section {
    margin-bottom: 3rem;
    padding-top: 1rem;
}

.info-section h2 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.info-section p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.info-img-wrap {
    margin: 1rem 0;
    max-width: 100%;
}

.info-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.info-img-placeholder {
    display: block;
    padding: 2rem;
    background: #edf2f7;
    border: 1px dashed #a0aec0;
    border-radius: 8px;
    color: #718096;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .info-page-layout {
        flex-direction: column;
    }

    .info-nav {
        width: 100%;
        position: static;
    }

    .info-nav-toggle {
        display: block;
    }

    .info-nav-list {
        display: none;
    }

    .info-nav-list.is-open {
        display: block;
    }
}