/* =================================
   СТИЛИ ДЛЯ СТАТЬИ "ЧТО ДАЕТ ВКЛЮЧЕНИЕ В РЕЕСТР МИНПРОМТОРГА"
   Файл: registry-benefits.css
   ================================= */

.registry-benefits-expanded {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.8;
    color: #2c3e50;
}

.rbe-intro-block {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 30px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.rbe-intro-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
    animation: rbe-shine 3s ease-in-out infinite;
}

@keyframes rbe-shine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.rbe-intro-title {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

.rbe-intro-subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

.rbe-standalone-block {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    border-left: 6px solid #2196f3;
    border-radius: 20px;
    padding: 40px;
    margin: 50px 0;
    box-shadow: 0 15px 35px rgba(33, 150, 243, 0.1);
    position: relative;
    overflow: hidden;
}

.rbe-standalone-block::after {
    content: '💡';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    opacity: 0.3;
}

.rbe-standalone-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1976d2;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.rbe-standalone-text {
    font-size: 1.1rem;
    color: #37474f;
    line-height: 1.7;
    font-weight: 400;
}

.rbe-benefits-section {
    margin: 70px 0;
}

.rbe-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.rbe-section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.rbe-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.rbe-section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

.rbe-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 35px;
    margin: 50px 0;
}

.rbe-benefit-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.rbe-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #667eea, #764ba2, #ff6b6b, #4ecdc4);
    background-size: 300% 100%;
    animation: rbe-gradient-flow 4s ease-in-out infinite;
}

@keyframes rbe-gradient-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.rbe-benefit-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.3);
}

.rbe-benefit-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.rbe-benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
    flex-shrink: 0;
}

.rbe-benefit-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    margin: 0;
}

.rbe-benefit-description {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    font-weight: 400;
}

.rbe-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 15px;
    padding: 20px;
}

.rbe-benefit-list li {
    padding: 10px 0;
    padding-left: 35px;
    position: relative;
    color: #495057;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.rbe-benefit-list li:last-child {
    border-bottom: none;
}

.rbe-benefit-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.3rem;
    width: 25px;
    height: 25px;
    background: rgba(39, 174, 96, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rbe-case-studies {
    margin: 80px 0;
}

.rbe-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.rbe-case-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    border: 2px solid #e9ecef;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.rbe-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #28a745, #20c997);
}

.rbe-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.15);
    border-color: #28a745;
}

.rbe-case-company {
    font-size: 1.4rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rbe-case-company::before {
    content: '🏢';
    font-size: 1.2rem;
}

.rbe-case-industry {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.rbe-case-description {
    color: #495057;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.rbe-case-results {
    background: linear-gradient(135deg, #e8f5e8, #f1f8f1);
    border-radius: 15px;
    padding: 20px;
    border-left: 4px solid #28a745;
}

.rbe-case-results h5 {
    color: #28a745;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rbe-case-results h5::before {
    content: '📈';
    font-size: 1rem;
}

.rbe-case-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.rbe-metric {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.rbe-metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #28a745;
    display: block;
    margin-bottom: 5px;
}

.rbe-metric-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 600;
}

.rbe-statistics-showcase {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    border-radius: 30px;
    padding: 60px 40px;
    margin: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.rbe-statistics-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: rbe-pattern-move 30s linear infinite;
}

@keyframes rbe-pattern-move {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.rbe-stats-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    /* ИСПРАВЛЕНИЕ: Делаем заголовок более контрастным */
    color: #ffffff !important;
    background: linear-gradient(45deg, #ffffff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255,255,255,0.5);
}

.rbe-stats-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.rbe-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.rbe-stat-item {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.rbe-stat-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.rbe-stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #ff6b6b, #ffa500, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    text-shadow: none;
}

.rbe-stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.4;
    font-weight: 500;
}

.rbe-process-roadmap {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 30px;
    padding: 60px 40px;
    margin: 80px 0;
    position: relative;
}

.rbe-process-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
}

.rbe-process-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.rbe-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
}

.rbe-process-step {
    background: white;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.rbe-process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.rbe-step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    position: relative;
    z-index: 2;
}

.rbe-step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.rbe-step-description {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.rbe-step-details {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    padding: 15px;
    font-size: 0.9rem;
    color: #495057;
    font-style: italic;
}

.rbe-requirements-comprehensive {
    margin: 80px 0;
}

.rbe-requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.rbe-requirement-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 35px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.rbe-requirement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.rbe-requirement-card:hover {
    border-color: #667eea;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
    transform: translateY(-5px);
}

.rbe-requirement-card:hover::before {
    transform: scaleX(1);
}

.rbe-requirement-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.rbe-requirement-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

.rbe-requirement-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
}

.rbe-requirement-text {
    color: #6c757d;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 20px;
}

.rbe-requirement-checklist {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    padding: 20px;
}

.rbe-requirement-checklist h6 {
    color: #667eea;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rbe-requirement-checklist h6::before {
    content: '📋';
    font-size: 0.9rem;
}

.rbe-checklist-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rbe-checklist-items li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #495057;
    font-size: 0.95rem;
}

.rbe-checklist-items li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.rbe-final-cta {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    color: white;
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    margin: 80px 0;
    position: relative;
    overflow: hidden;
}

.rbe-final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 80px 80px;
    opacity: 0.3;
}

.rbe-cta-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.rbe-cta-text {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.rbe-cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.rbe-cta-button {
    background: white;
    color: #ff6b6b;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.rbe-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    color: #ff6b6b;
}

.rbe-cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.rbe-cta-button.secondary:hover {
    background: white;
    color: #ff6b6b;
}

/* Адаптивность */
@media (max-width: 768px) {
    .registry-benefits-expanded {
        padding: 15px;
    }
    
    .rbe-intro-block {
        padding: 40px 25px;
    }
    
    .rbe-intro-title {
        font-size: 2.4rem;
    }
    
    .rbe-intro-subtitle {
        font-size: 1.2rem;
    }
    
    .rbe-benefits-grid,
    .rbe-cases-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .rbe-benefit-card {
        padding: 30px;
    }
    
    .rbe-benefit-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .rbe-process-roadmap,
    .rbe-statistics-showcase,
    .rbe-final-cta {
        padding: 40px 25px;
    }
    
    .rbe-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .rbe-stat-number {
        font-size: 2.8rem;
    }
    
    .rbe-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .rbe-cases-grid {
        grid-template-columns: 1fr;
    }

    .rbe-case-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}