/**
 * СТИЛИ ДЛЯ СТРАНИЦЫ "ЗАЙМ ПОД ПТС ОНЛАЙН"
 * Конверсионно-оптимизированный дизайн
 */

/* Hero Section */
.hero-online {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-online::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-online .hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    background: linear-gradient(135deg, #ff8f00 0%, #ff6f00 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.hero-online .hero-title .highlight {
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.feature-item i {
    font-size: 32px;
    color: #ffd700;
}

.feature-item strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.feature-item span {
    font-size: 14px;
    opacity: 0.9;
}

.btn.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
}

.hero-note {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.hero-image img {
    max-width: 100%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Advantages */
.advantages-online {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: #2d3748;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #718096;
    margin-bottom: 50px;
}

.advantage-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    height: 100%;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.advantage-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2d3748;
}

.advantage-card p {
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.steps-timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
}

.step-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 35px;
    top: 70px;
    width: 2px;
    height: calc(100% + 20px);
    background: linear-gradient(180deg, #667eea, #764ba2);
    opacity: 0.3;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.step-content {
    flex: 1;
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
}

.step-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2d3748;
}

.step-content p {
    color: #718096;
    margin-bottom: 12px;
    line-height: 1.6;
}

.step-time {
    display: inline-block;
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
}

.step-time i {
    margin-right: 4px;
}

/* Form Section */
.form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.loan-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.form-group label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-text {
    color: #718096;
    font-size: 14px;
}

.btn-block {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.4);
}

.form-note {
    text-align: center;
    margin-top: 16px;
    color: #718096;
    font-size: 14px;
}

.form-note i {
    color: #48bb78;
    margin-right: 4px;
}

/* Form Benefits */
.form-benefits {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.form-benefits h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #2d3748;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.benefit-text strong {
    display: block;
    font-size: 16px;
    color: #2d3748;
    margin-bottom: 4px;
}

.benefit-text p {
    color: #718096;
    font-size: 14px;
    margin: 0;
}

.trust-badges {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.badge-item {
    text-align: center;
    flex: 1;
}

.badge-item i {
    font-size: 32px;
    color: #667eea;
    margin-bottom: 8px;
    display: block;
}

.badge-item span {
    font-size: 13px;
    color: #718096;
    font-weight: 600;
}

/* Requirements */
.requirements-section {
    padding: 80px 0;
    background: white;
}

.requirements-box {
    background: #f8f9fa;
    padding: 32px;
    border-radius: 16px;
    height: 100%;
}

.requirements-box h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #2d3748;
}

.requirements-box h3 i {
    color: #667eea;
    margin-right: 8px;
}

.requirements-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-box li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
    display: flex;
    align-items: center;
}

.requirements-box li:last-child {
    border-bottom: none;
}

.requirements-box li i {
    color: #48bb78;
    margin-right: 12px;
    font-size: 18px;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.accordion .card {
    border: none;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.accordion .card-header {
    background: white;
    border: none;
    padding: 0;
}

.accordion .btn-link {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    text-decoration: none;
    transition: all 0.3s ease;
}

.accordion .btn-link:hover {
    color: #667eea;
    background: #f8f9fa;
}

.accordion .card-body {
    padding: 0 24px 24px;
    color: #718096;
    line-height: 1.7;
}

/* Guarantees */
.guarantees-section {
    padding: 80px 0;
    background: white;
}

.guarantee-card {
    text-align: center;
    padding: 32px 16px;
}

.guarantee-card i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 16px;
}

.guarantee-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2d3748;
}

.guarantee-card p {
    color: #718096;
    font-size: 14px;
    margin: 0;
}

/* CTA */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cta-box {
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-box .btn-light {
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-box .btn-light:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.cta-note {
    margin-top: 24px;
    font-size: 16px;
}

.cta-note a {
    color: #ffd700;
    font-weight: 700;
    text-decoration: none;
}

.cta-note a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-online {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-item {
        padding: 12px;
    }

    .section-title {
        font-size: 28px;
    }

    .advantage-card {
        padding: 24px;
    }

    .steps-timeline {
        padding: 0 16px;
    }

    .step-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .step-item::after {
        left: 35px;
    }

    .loan-form {
        padding: 24px;
    }

    .form-benefits {
        margin-top: 30px;
        padding: 24px;
    }

    .trust-badges {
        flex-direction: column;
        gap: 12px;
    }

    .cta-box h2 {
        font-size: 28px;
    }

    .cta-box p {
        font-size: 16px;
    }
}
