@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 10% 20%, #1a1f2b, #0b0e14);
    color: #e0e5ec;
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Стеклянный эффект */
.glass {
    background: rgba(26, 31, 43, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 201, 183, 0.1);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* Шапка */
header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    font-size: 3rem;
    background: linear-gradient(135deg, #00c9b7, #00a89a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo i {
    font-size: 2.5rem;
    color: #00c9b7;
    -webkit-text-fill-color: initial;
}

.tagline {
    color: #8a94a6;
    font-size: 1.2rem;
}

/* Форма */
.check-section {
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.input-group {
    display: flex;
    gap: 15px;
    max-width: 700px;
    margin: 0 auto 20px;
}

input[type="text"] {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 50px;
    background: rgba(42, 47, 60, 0.8);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
    border: 1px solid transparent;
}

input[type="text"]:focus {
    border-color: #00c9b7;
    box-shadow: 0 0 20px rgba(0, 201, 183, 0.3);
}

button {
    padding: 18px 35px;
    background: linear-gradient(135deg, #00c9b7, #009688);
    border: none;
    border-radius: 50px;
    color: #0b0e14;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 201, 183, 0.4);
}

.hint {
    color: #8a94a6;
    font-size: 0.9rem;
    margin-top: 15px;
}

.hint i {
    color: #00c9b7;
    margin-right: 5px;
}

/* Результат */
.result-section {
    padding: 40px;
    margin-bottom: 40px;
}

.result-section h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00c9b7;
}

.wallet-address-display {
    background: rgba(34, 40, 53, 0.8);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 25px;
    border-left: 4px solid #00c9b7;
}

.wallet-label {
    display: block;
    color: #8a94a6;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.wallet-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00c9b7;
    word-break: break-all;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    background: rgba(34, 40, 53, 0.8);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 2rem;
    color: #00c9b7;
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    color: #8a94a6;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

/* Круговой график */
.risk-chart-container {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.risk-chart {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(#00c9b7 0deg, #ff6b6b 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: fill 1s ease-in-out;
}

@keyframes fill {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.risk-chart-inner {
    width: 110px;
    height: 110px;
    background: #1a1f2b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #00c9b7;
}

.risk-legend {
    flex: 1;
}

.risk-label {
    display: block;
    color: #8a94a6;
    margin-bottom: 5px;
}

.risk-level {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00c9b7, #ffaa5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sources-list {
    margin-top: 20px;
}

.sources-list p {
    background: rgba(42, 47, 60, 0.8);
    padding: 12px 20px;
    border-radius: 12px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid #ff6b6b;
}

.sources-list i {
    color: #ff6b6b;
}

.action-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pdf-btn {
    background: linear-gradient(135deg, #2a2f3c, #1a1f2b);
    color: #e0e5ec;
    border: 1px solid #00c9b7;
    padding: 15px 25px;
}

.pdf-btn:hover {
    background: #00c9b7;
    color: #0b0e14;
}

.tg-support-btn {
    background: linear-gradient(135deg, #2a9fd6, #1f7ea3);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
}

.tg-support-btn:hover {
    transform: translateY(-2px);
}

/* Доверие */
.trust-section {
    padding: 50px 30px;
    margin-bottom: 40px;
    text-align: center;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.trust-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00c9b7, #009688);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #0b0e14;
    box-shadow: 0 10px 20px rgba(0,201,183,0.3);
}

.trust-name {
    font-weight: 600;
    color: #e0e5ec;
}

.trust-stats {
    font-size: 1.6rem;
    color: #ffaa5e;
    font-weight: 700;
}

/* Категории */
.info-section {
    padding: 40px;
    margin-bottom: 40px;
}

.section-sub {
    text-align: center;
    color: #8a94a6;
    max-width: 800px;
    margin: 0 auto 30px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.category-card {
    background: rgba(34, 40, 53, 0.8);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
    border-left: 3px solid #00c9b7;
}

.category-card:hover {
    transform: translateY(-5px);
    background: #222835;
}

.category-card i {
    font-size: 2rem;
    color: #00c9b7;
}

/* Тарифы */
.pricing-section {
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.toggle-label {
    padding: 10px 30px;
    background: rgba(34, 40, 53, 0.8);
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.toggle-label.active {
    background: #00c9b7;
    color: #0b0e14;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.pricing-card {
    background: rgba(34, 40, 53, 0.8);
    padding: 30px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: #00c9b7;
}

.pricing-card.popular {
    border: 2px solid #00c9b7;
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: 10px;
    right: -30px;
    background: #00c9b7;
    color: #0b0e14;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-icon {
    font-size: 3rem;
    color: #00c9b7;
    margin-bottom: 15px;
}

.pricing-price {
    margin: 20px 0;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.currency {
    font-size: 1rem;
    color: #8a94a6;
}

.period {
    font-size: 0.9rem;
    color: #8a94a6;
}

.pricing-includes {
    text-align: left;
    margin: 20px 0;
}

.pricing-includes p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-includes i {
    width: 20px;
}

.pricing-includes .fa-check-circle {
    color: #00c9b7;
}

.pricing-includes .fa-times-circle {
    color: #ff6b6b;
}

.pricing-savings {
    background: rgba(0, 201, 183, 0.1);
    padding: 8px;
    border-radius: 20px;
    margin: 15px 0;
    color: #00c9b7;
    font-weight: 600;
}

.pricing-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 30px;
    background: rgba(255,255,255,0.1);
    color: #e0e5ec;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.pricing-btn:hover {
    background: #00c9b7;
    color: #0b0e14;
}

.popular-btn {
    background: #00c9b7;
    color: #0b0e14;
}

/* Преимущества */
.benefits-section {
    padding: 40px;
    margin-bottom: 40px;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.benefit-card {
    background: rgba(34, 40, 53, 0.8);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border-top: 4px solid #00c9b7;
    transition: transform 0.2s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 2.5rem;
    color: #00c9b7;
    margin-bottom: 15px;
}

/* FAQ */
.faq-section {
    padding: 40px;
    margin-bottom: 40px;
}

.faq-list {
    display: grid;
    gap: 15px;
}

.faq-item {
    background: rgba(34, 40, 53, 0.8);
    padding: 20px;
    border-radius: 16px;
}

.faq-item strong {
    color: #00c9b7;
    display: block;
    margin-bottom: 10px;
}

.risk-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.risk-dot.green { background: #00c9b7; }
.risk-dot.yellow { background: #ffaa5e; }
.risk-dot.red { background: #ff6b6b; }

/* Контакты */
.contact-section {
    padding: 50px;
    margin-bottom: 40px;
    text-align: center;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.tg-contact-btn, .tg-support-secondary {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.tg-contact-btn {
    background: linear-gradient(135deg, #2a9fd6, #1f7ea3);
    color: white;
}

.tg-support-secondary {
    background: transparent;
    color: #2a9fd6;
    border: 2px solid #2a9fd6;
}

.tg-support-secondary:hover {
    background: #2a9fd6;
    color: white;
}

/* Футер */
footer {
    padding: 40px;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    color: #00c9b7;
    margin-bottom: 20px;
}

.footer-links a {
    color: #8a94a6;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #00c9b7;
}

/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    overflow: auto;
}

.modal-content {
    background: #1a1f2b;
    margin: 5% auto;
    padding: 30px;
    border-radius: 24px;
    max-width: 800px;
    position: relative;
    border: 1px solid #2a2f3c;
}

.close, .close-aml {
    position: absolute;
    right: 25px;
    top: 15px;
    color: #8a94a6;
    font-size: 28px;
    cursor: pointer;
}

.close:hover, .close-aml:hover {
    color: #00c9b7;
}

/* Адаптивность */
@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .risk-chart-container {
        flex-direction: column;
        text-align: center;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .trust-logos {
        gap: 15px;
    }
    
    .trust-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: scale(1);
    }
}
