/* Видео фон */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.home-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px 30px 20px;
    text-align: center;
	background-color: rgba(255, 255, 255, 0.9);
	border-radius: 12px;
}

/* === Hero === */
.hero {
    margin-bottom: 60px;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    display: inline-block;
    padding: 14px 46px;
    background: var(--primary-color);
    color: #fff;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: background 0.25s ease, transform 0.15s ease;
}

.hero-btn:hover {
    background: #4a6bab;
    transform: translateY(-2px);
}

/* === Features === */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 70px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px 25px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:last-child {
	display: none;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
    margin-top: 0;
}

.feature-card p {
    margin-bottom: 0;
}

.feature-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* === Footer === */
.home-footer {
    border-top: 1px solid var(--text-secondary);
    padding-top: 25px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.home-footer span {
    color: var(--primary-color);
    font-weight: 500;
}

/* === Блок с логотипами и информацией === */
.payment-info-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    text-align: center;
	background-color: rgba(255, 255, 255);
	border-radius: 12px;
	margin-top: 1.2rem;
}

.payment-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	gap: 30px;
    margin-bottom: 40px;
}

.payment-logos-line {
    max-width: 700px;
    width: 100%;
    height: auto;
}

.payment-logo-img {
    max-height: 30px; 
	height: 100%; 
	width: auto;
}

.info-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: left;
}

.info-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

.info-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.info-col p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}



.test-link-wrapper {
    margin-top: 20px;
    text-align: center;
}

.test-link-or {
    color: #6c757d;
    margin: 0 10px;
    font-size: 0.9rem;
    display: inline-block;
}

.test-link {
    display: inline-block;
    background: #f9fafb;
    color: var(--primary-color, #5b7dbd);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 20px;
    border-radius: 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
    backdrop-filter: blur(2px);
    letter-spacing: 0.2px;
}

.test-link:hover {
    background: #ffffff;
    border-color: var(--primary-color, #5b7dbd);
    box-shadow: 0 8px 20px rgba(91, 125, 189, 0.12), 0 2px 6px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
    color: var(--primary-color, #5b7dbd);
}



/* === Адаптивность === */
@media (max-width: 767.98px) {
    .home-wrapper {
        padding: 40px 16px 26px 16px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero-btn {
        padding: 14px 40px;
        font-size: 1rem;
    }

    .features {
		grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .feature-card {
        padding: 25px 20px;
    }
	
	.feature-card:last-child {
        display: block;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
    }
	
	
	
	.payment-info-wrapper {
        padding: 25px 16px;
    }
    
    .info-columns {
        gap: 20px;
    }
    
    .info-col h4 {
        font-size: 0.9rem;
    }
    
    .info-col p {
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }
	
	
	
	.info-columns {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .payment-logos {
        margin-bottom: 30px;
		gap: 20px;
    }
	
	.payment-logo-img {
		max-height: 20px; 
	}
}


@media (max-width: 375px) {
    .home-wrapper {
        padding: 30px 12px 22px 12px;
    }

    .hero-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .hero-btn {
        font-size: 0.95rem;
        padding: 12px 38px;
        border-radius: 10px;
    }

    .features {
		grid-template-columns: 1fr;
        gap: 14px;
    }

    .feature-card {
        padding: 18px 15px;
    }
	
	.feature-card:last-child {
        display: none;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .feature-card h3 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .feature-card p {
        line-height: 1.3;
    }

    .home-footer {
        font-size: 0.85rem;
        padding-top: 20px;
    }
	
	
	
	.payment-info-wrapper {
        padding: 20px 12px;
    }
    
    .info-col h4 {
        font-size: 0.85rem;
    }
    
    .info-col p {
        font-size: 0.75rem;
    }
	
	.payment-logos {
		gap: 10px;
	}
	
	.payment-logo-img {
		max-height: 14px; 
	}
}