/* Основные сбросы */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #FFFFFF;
    color: #303948;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Хедер */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: #FFFFFF;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(48, 57, 72, 0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(60, 190, 242, 0.1));
}

.logo-badge {
    background-color: #3cbef2;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    letter-spacing: 0.3px;
}

.navigation {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: #303948;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
}

.nav-link:hover {
    color: #3cbef2;
    background: rgba(60, 190, 242, 0.05);
}

.mobile-menu-btn {
    display: none;
    font-size: 20px;
    cursor: pointer;
    color: #303948;
    padding: 8px;
}

/* Герой секция */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0 80px;
    gap: 40px;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #303948;
}

.hero-title strong {
    color: #3cbef2;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-subtitle strong {
    color: #3cbef2;
    font-weight: 600;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4a5568;
}

.feature i {
    color: #3cbef2;
    font-size: 14px;
}

.primary-link-display {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.primary-link-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.primary-link-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #303948;
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-status {
    background: #10b981;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
}

.primary-link-content {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 15px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: #303948;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.primary-link-actions {
    display: flex;
    gap: 10px;
}

.primary-link-actions button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.copy-primary-link {
    background: #3cbef2;
    color: white;
}

.copy-primary-link:hover {
    background: #2aa8d8;
}

.validate-now {
    background: #f1f5f9;
    color: #303948;
    border: 1px solid #cbd5e1;
}

.validate-now:hover {
    background: #e2e8f0;
}

.hero-visual {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.security-badge {
    background: linear-gradient(135deg, #3cbef2, #2aa8d8);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(60, 190, 242, 0.15);
}

.security-badge i {
    font-size: 36px;
    margin-bottom: 10px;
}

.security-badge span {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

/* Секции */
.section-header {
    margin-bottom: 40px;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #303948;
}

.section-title strong {
    color: #3cbef2;
}

.section-description {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
}

/* Зеркала */
.mirrors-section {
    padding: 80px 0;
}

.mirrors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.mirror-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mirror-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: #3cbef2;
}

.mirror-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.mirror-card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #303948;
}

.mirror-badge {
    background: #3cbef2;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 8px;
}

.mirror-status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
}

.status-dot.active {
    background: #10b981;
}

.status-text {
    font-size: 12px;
    color: #64748b;
}

.mirror-address {
    background: white;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 15px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #303948;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mirror-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 12px;
    color: #64748b;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mirror-actions {
    display: flex;
    gap: 10px;
}

.mirror-actions button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.action-copy {
    background: #3cbef2;
    color: white;
}

.action-copy:hover {
    background: #2aa8d8;
}

.action-verify {
    background: #f1f5f9;
    color: #303948;
    border: 1px solid #cbd5e1;
}

.action-verify:hover {
    background: #e2e8f0;
}

.mirrors-note {
    background: rgba(60, 190, 242, 0.05);
    border: 1px solid rgba(60, 190, 242, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.note-icon {
    color: #3cbef2;
    font-size: 20px;
    flex-shrink: 0;
}

.note-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #303948;
}

.note-content p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
}

/* Валидатор */
.validator-section {
    padding: 80px 0;
    background: #f8fafc;
}

.validator-container {
    max-width: 800px;
    margin: 0 auto;
}

.validator-input-group {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.input-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #303948;
}

.input-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.validator-input {
    flex: 1;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #303948;
    outline: none;
    transition: border-color 0.2s;
}

.validator-input:focus {
    border-color: #3cbef2;
    box-shadow: 0 0 0 3px rgba(60, 190, 242, 0.1);
}

.validator-button {
    padding: 14px 24px;
    background: #3cbef2;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    white-space: nowrap;
}

.validator-button:hover {
    background: #2aa8d8;
}

.input-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
}

.validation-result {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
    min-height: 100px;
}

.result-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-align: center;
    padding: 20px 0;
}

.result-placeholder i {
    font-size: 32px;
    margin-bottom: 12px;
    color: #cbd5e1;
}

.validator-info {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.validator-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #303948;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.info-icon {
    color: #3cbef2;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-content h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #303948;
}

.info-content p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

/* Гайд */
.guide-section {
    padding: 80px 0;
}

.guide-steps {
    max-width: 800px;
    margin: 0 auto 40px;
}

.guide-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.step-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #3cbef2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #303948;
}

.step-content p {
    color: #4a5568;
    line-height: 1.6;
}

.security-tips {
    background: rgba(60, 190, 242, 0.05);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(60, 190, 242, 0.1);
}

.security-tips h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #303948;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tip-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.tip-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #303948;
}

.tip-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* Маркет */
.market-section {
    padding: 80px 0;
    background: #f8fafc;
}

.market-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.feature-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    color: #3cbef2;
    font-size: 24px;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #303948;
}

.feature-content p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 14px;
}

.market-stats {
    background: white;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
}

.market-stats h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #303948;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #3cbef2;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
}

.market-verification {
    background: rgba(60, 190, 242, 0.05);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(60, 190, 242, 0.1);
}

.market-verification h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #303948;
    display: flex;
    align-items: center;
    gap: 10px;
}

.verification-list {
    list-style: none;
}

.verification-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: #4a5568;
    line-height: 1.5;
}

.verification-list li i {
    color: #10b981;
    margin-top: 3px;
    flex-shrink: 0;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #303948;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    color: #4a5568;
    line-height: 1.6;
    font-size: 14px;
}

.faq-answer p {
    margin-bottom: 10px;
}

.faq-answer code {
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #3cbef2;
}

/* Summary */
.summary-section {
    padding: 80px 0;
    background: #f8fafc;
}

.summary-container {
    max-width: 800px;
    margin: 0 auto;
}

.summary-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #303948;
    text-align: center;
}

.summary-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.summary-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.summary-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #303948;
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-card ul {
    list-style: none;
}

.summary-card li {
    margin-bottom: 10px;
    color: #4a5568;
    line-height: 1.5;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.summary-card li:before {
    content: "•";
    color: #3cbef2;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 1px;
}

.summary-card code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #3cbef2;
}

.summary-cta {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.cta-message {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    background: rgba(60, 190, 242, 0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(60, 190, 242, 0.1);
}

.cta-message i {
    color: #3cbef2;
    font-size: 20px;
    flex-shrink: 0;
}

.cta-message p {
    color: #4a5568;
    text-align: left;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.cta-button {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.cta-button.primary {
    background: #3cbef2;
    color: white;
}

.cta-button.primary:hover {
    background: #2aa8d8;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: #f1f5f9;
    color: #303948;
    border: 1px solid #cbd5e1;
}

.cta-button.secondary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

/* Футер */
.footer {
    background: #303948;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    min-width: 0;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.footer-description {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 20px;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #3cbef2;
}

.footer-status {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #cbd5e1;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.disclaimer-icon {
    color: #94a3b8;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.disclaimer-content p {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.copyright {
    color: #64748b;
    font-size: 12px;
    margin-top: 20px;
}

/* Уведомления */
.notification-layer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 0 60px;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: 30px;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .primary-link-actions {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .navigation {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .mirrors-grid {
        grid-template-columns: 1fr;
    }
    
    .input-wrapper {
        flex-direction: column;
    }
    
    .validator-button {
        width: 100%;
        justify-content: center;
    }
    
    .guide-step {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .summary-content {
        grid-template-columns: 1fr;
    }
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mirror-card, .feature-card, .faq-item, .summary-card {
    animation: fadeIn 0.3s ease-out;
}

/* Оптимизация производительности */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Скроллбар */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Улучшение читаемости */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Поддержка темной темы */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a202c;
        color: #e2e8f0;
    }
    
    .header, .primary-link-display, .mirror-card, 
    .validator-input-group, .validation-result,
    .validator-info, .guide-step, .tip-card,
    .feature-card, .market-stats, .summary-card,
    .summary-cta, .faq-item {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .hero-title, .section-title, .mirror-card-header h3,
    .faq-question, .summary-card h3, .feature-content h3,
    .tip-card h4, .info-content h5 {
        color: #e2e8f0;
    }
    
    .hero-subtitle, .step-content p, .feature-content p,
    .tip-card p, .info-content p, .faq-answer,
    .summary-card li, .footer-description {
        color: #cbd5e1;
    }
    
    .validator-input, .primary-link-content, .mirror-address {
        background: #1a202c;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .security-tips, .market-verification, .mirrors-note {
        background: rgba(60, 190, 242, 0.1);
        border-color: rgba(60, 190, 242, 0.3);
    }
    
    .footer {
        background: #1a202c;
    }
}