/* Современные кнопки */
.btn-primary-custom {
    background: #83B235;
    border: none;
    color: white;
    padding: 14px 15px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(131, 178, 53, 0.3);
    text-transform: none;
    letter-spacing: 0.3px;
}

.btn-primary-custom:hover {
    background: #6a912c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(131, 178, 53, 0.4);
}

/* Hero секция с анимированным фоном */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    border-radius: 24px;
    padding: 80px 40px;
    margin: 40px 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section::before {
    content: "🚀";
    position: absolute;
    font-size: 200px;
    opacity: 0.1;
    right: -50px;
    top: -50px;
    animation: float 6s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    color: white;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Современные карточки */
.row-eq-height {
    display: flex;
    flex-wrap: wrap;
}

.row-eq-height > [class*='col-'] {
    display: flex;
    flex-direction: column;
}
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #83B235 0%, #6a912c 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 15px auto;

}

.feature-icon-wrapper i {
    color: white;
    font-size: 28px;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
    text-align: center;
}

.feature-description {
    color: #718096;
    font-size: 15px;
    line-height: 1.7;
}

/* Секция преимуществ */
.benefits-section {
    background: white;
    border-radius: 24px;
    padding: 48px;
    margin: 60px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: #2d3748;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.benefit-check {
    width: 24px;
    height: 24px;
    background: #83B235;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.benefit-check::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.benefit-text {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.6;
}

/* CTA секция */
.cta-section {
    background: linear-gradient(135deg, #83B235 0%, #6a912c 100%);
    border-radius: 24px;
    padding: 60px 40px;
    margin: 60px 0;
    text-align: center;
    box-shadow: 0 20px 40px rgba(131, 178, 53, 0.3);
}

.cta-title {
    color: white;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 32px;
}

.btn-white {
    background: white;
    color: #83B235;
    padding: 14px 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: #f8f9fa;
    color: #6a912c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}



/* Адаптивность */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-section {
        padding: 60px 30px;
    }

    .benefits-section {
        padding: 32px 24px;
    }
}
/* Основные стили модального окна */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 25px;
    border-radius: 12px 12px 0 0;
}

.modal-header .close {
    color: white;
    opacity: 0.8;
    font-size: 28px;
    transition: all 0.3s ease;
}

.modal-header .close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.modal-title {
    font-weight: 300;
    font-size: 24px;
}

.modal-body {
    padding: 0;
    background: #f8f9fa;
}

.modal-footer {
    border: none;
    padding: 20px;
    background: #f8f9fa;
}

/* Навигационные вкладки */
.nav-tabs {
    border: none;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-tabs > li > a {
    border: none;
    border-radius: 0;
    color: #6c757d;
    padding: 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-tabs > li > a:hover {
    background: #f8f9fa;
    color: #667eea;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    color: #667eea;
    background: white;
    border: none;
}

.nav-tabs > li.active > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { width: 0; }
    to { width: 60%; }
}

/* Контент вкладок */
.tab-content {
    padding: 40px 30px;
    background: white;
}

/* Формы */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    color: #495057;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /*display: block;*/
}

/* Обертка для input с иконкой */
.input-wrapper {
    position: relative;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px !important;
    padding: 12px 45px 12px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    width: 100%;
    height: auto;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.1);
    background: white;
    outline: none;
}

/* Иконки в полях ввода - теперь относительно input */
.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group.focused .input-icon {
    color: #667eea;
}

/* Валидация */
.form-group.has-error .form-control {
    border-color: #dc3545;
    background: #fff5f5;
}

.form-group.has-success .form-control {
    border-color: #28a745;
    background: #f0fff4;
}

.error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 8px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-group.has-error .error-message {
    display: block;
}

.help-block {
    margin-top: 8px;
    font-size: 13px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Подсказки */
.help-block {
    font-size: 13px;
    margin-top: 8px;
    color: #6c757d;
    opacity: 0.8;
}
/*размытие в конце строки*/
.blur-end {
    position: relative;
    -webkit-mask-image: linear-gradient(to right, black 70%, transparent 100%);
    mask-image: linear-gradient(to right, black 70%, transparent 100%);
}
.user-email{
    font-weight: bold;
}

/* Секция "О проекте" */
.about-section {
    margin: 80px 0;
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border-radius: 24px;
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

.about-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-lead {
    font-size: 20px;
    text-align: center;
    color: #4a5568;
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-block {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.about-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.about-block-title {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.about-text {
    color: #718096;
    font-size: 15px;
    line-height: 1.7;
}

/* Цепочка процесса */
.process-chain {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin: 50px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.process-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    color: #2d3748;
    margin-bottom: 40px;
}

.chain-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.chain-item {
    flex: 1;
    text-align: center;
    min-width: 120px;
    padding: 0 10px;
}

.chain-icon {
    font-size: 48px;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

.chain-item:nth-child(1) .chain-icon { animation-delay: 0s; }
.chain-item:nth-child(3) .chain-icon { animation-delay: 0.2s; }
.chain-item:nth-child(5) .chain-icon { animation-delay: 0.4s; }
.chain-item:nth-child(7) .chain-icon { animation-delay: 0.6s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.chain-label {
    font-weight: 600;
    font-size: 18px;
    color: #2d3748;
    margin-bottom: 8px;
}

.chain-desc {
    font-size: 13px;
    color: #718096;
    line-height: 1.4;
}

.chain-arrow {
    font-size: 30px;
    color: #83B235;
    margin: 0 15px;
    font-weight: bold;
}

.chain-footnote {
    text-align: center;
    color: #4a5568;
    font-size: 15px;
    line-height: 1.6;
    margin-top: 20px;
}

/* Сетка дополнительных функций */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-mini {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.feature-mini:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.feature-mini i {
    font-size: 36px;
    color: #83B235;
    margin-bottom: 15px;
}

.feature-mini h5 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.feature-mini p {
    font-size: 14px;
    color: #718096;
    line-height: 1.6;
}

/* Заметка от разработчиков */
.developer-note {
    background: linear-gradient(135deg, #83B235 0%, #6a912c 100%);
    border-radius: 20px;
    padding: 30px;
    margin: 50px 0;
    box-shadow: 0 10px 30px rgba(131, 178, 53, 0.3);
}

.note-content {
    text-align: center;
    color: white;
}

.note-content i {
    font-size: 32px;
    margin-bottom: 15px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.note-content p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .chain-container {
        flex-direction: column;
    }

    .chain-arrow {
        transform: rotate(90deg);
        margin: 15px 0;
    }

    .chain-item {
        margin-bottom: 20px;
    }

    .about-title {
        font-size: 32px;
    }

    .about-lead {
        font-size: 18px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}