* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: #05070a;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* КРАСИВЫЙ ЖИВОЙ ФОН: теперь круги плавно пульсируют и вращаются */
.bg-glows {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.glow-1, .glow-2 {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 135, 0.09) 0%, rgba(0,0,0,0) 70%);
    filter: blur(50px);
    animation: advancedGlow 25s infinite alternate ease-in-out;
}
.glow-1 { top: 5%; left: -120px; }
.glow-2 { 
    top: 55%; 
    right: -120px; 
    background: radial-gradient(circle, rgba(96, 239, 255, 0.09) 0%, rgba(0,0,0,0) 70%); 
    animation-duration: 32s; 
}

@keyframes advancedGlow {
    0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
    50% { transform: translate3d(60px, 90px, 0) scale(1.25) rotate(180deg); }
    100% { transform: translate3d(-30px, 40px, 0) scale(0.95) rotate(360deg); }
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

.green-icon { color: #00ff87; margin-left: 10px; }
.green { color: #00ff87; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 20px; }

/* Главный Экран */
.hero { text-align: center; padding: 110px 20px 70px; }
.hero h1 {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.4;
    background: linear-gradient(45deg, #00ff87, #60efff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}
.hero p { font-size: 1.2rem; color: #94a3b8; max-width: 750px; margin: 0 auto 40px; }
.btn-primary {
    display: inline-block;
    padding: 16px 42px;
    background: linear-gradient(135deg, #00ff87 0%, #00a86b 100%);
    color: #000;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 0 25px rgba(0, 255, 135, 0.3);
    font-size: 1.1rem;
    transition: transform 0.2s;
}
.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 0 35px rgba(0, 255, 135, 0.6);
}

/* Лента выплат */
.payout-feed-container {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    height: 150px;
    overflow: hidden;
    position: relative;
}
.payout-feed {
    position: absolute;
    width: 100%;
    transform: translate3d(0,0,0);
    animation: scrollFeed 14s linear infinite;
}
.payout-item {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    color: #cbd5e1;
    font-size: 0.95rem;
    text-align: center;
}
@keyframes scrollFeed {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(0, -180px, 0); }
}

/* Преимущества */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.benefit-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}
.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 135, 0.2);
    background: rgba(255, 255, 255, 0.02);
}
.benefit-card .icon { font-size: 2.8rem; margin-bottom: 15px; }
.benefit-card h3 { margin-bottom: 10px; font-size: 1.3rem; }
.benefit-card p { color: #94a3b8; font-size: 0.95rem; line-height: 1.6; }

/* Статистика (Фикс разметки) */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.stat-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
}
.stat-number { font-size: 2.4rem; color: #00ff87; margin-bottom: 5px; font-weight: 900; }
.stat-card p { color: #64748b; font-size: 1rem; }

/* Блок Официального Одобрения Властями */
.gov-approval-banner {
    background: linear-gradient(135deg, rgba(0, 255, 135, 0.03) 0%, rgba(96, 239, 255, 0.01) 100%);
    border: 1px dashed rgba(0, 255, 135, 0.25);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
}
.gov-badge {
    display: inline-block;
    background: #00ff87;
    color: #000;
    padding: 4px 14px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 15px;
}
.gov-approval-banner h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 700;
}
.gov-approval-banner p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 850px;
    margin: 0 auto;
}

/* Документы и триггер зума */
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.doc-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    position: relative;
}
.doc-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(0, 255, 135, 0.12);
    color: #00ff87;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 0.75rem;
    z-index: 3;
}
.zoom-preview-trigger {
    position: relative;
    cursor: pointer;
    display: inline-block;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}
.doc-img {
    width: 100%;
    max-width: 240px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s;
}
.zoom-preview-trigger:hover .doc-img { transform: scale(1.04); }
.overlay-zoom {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: rgba(0,0,0,0.6);
    color: #60efff;
    padding: 6px 0;
    font-size: 0.8rem;
    font-weight: 600;
}
.doc-item h4 { margin-bottom: 8px; font-size: 1.25rem; color: #60efff; }
.doc-item p { color: #94a3b8; font-size: 0.9rem; }

/* Чат карусель */
.case-intro { text-align: center; color: #94a3b8; max-width: 700px; margin: 0 auto 20px; font-size: 1rem; }
.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    color: #60efff;
    font-weight: 600;
    font-size: 0.85rem;
}
.hint-arrows i { animation: bounce 1.5s infinite; margin: 0 6px; }

.chat-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 15px 5px;
    scroll-snap-type: x mandatory;
}
.chat-carousel::-webkit-scrollbar { height: 4px; }
.chat-carousel::-webkit-scrollbar-thumb { background: #00ff87; border-radius: 10px; }
.chat-step {
    flex: 0 0 290px;
    scroll-snap-align: center;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.chat-step .zoom-preview-trigger .doc-img, .chat-step .zoom-preview-trigger img {
    max-width: 100%;
    height: auto;
}
.step-badge {
    background: #00ff87;
    color: #000;
    padding: 2px 12px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

/* Отзывы */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 25px; }
.review-card { background: rgba(255, 255, 255, 0.01); border: 1px solid rgba(255, 255, 255, 0.03); border-radius: 20px; padding: 25px; }
.card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.review-card .avatar { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; border: 2px solid #00ff87; }
.review-card h4 { font-size: 1.15rem; font-weight: 700; }
.status-badge { display: inline-block; padding: 2px 8px; background: rgba(0, 255, 135, 0.1); color: #00ff87; font-size: 0.7rem; border-radius: 30px; }
.review-card .story { color: #cbd5e1; font-size: 0.9rem; line-height: 1.6; }

/* Кастомное надежное модальное окно (Полностью управляемое) */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(3, 5, 8, 0.95);
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.custom-modal.active {
    display: flex;
    opacity: 1;
}
.modal-content-wrapper {
    max-width: 90%;
    max-height: 85vh;
    text-align: center;
    position: relative;
}
.modal-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 255, 135, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-close {
    position: absolute;
    top: 25px; right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10000;
}
.modal-close:hover { color: #00ff87; }
.modal-caption {
    color: #60efff;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

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

@media (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; }
    .stats, .doc-grid { grid-template-columns: 1fr; }
    .chat-step { flex: 0 0 260px; }
    h2 { font-size: 1.5rem; }
    .modal-close { top: 15px; right: 20px; font-size: 35px; }
}