:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --secondary: #334155;
    --accent: #3b82f6;
    --accent-dark: #1d4ed8;
    --accent-light: #60a5fa;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text: #f8fafc;
    --text-secondary: #cbd5e1;
    --card-bg: rgba(30, 41, 59, 0.7);
    --border: rgba(100, 116, 139, 0.2);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Анимированный градиентный фон */
.gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg,
    var(--primary) 0%,
    #1a1f3a 25%,
    #1e2a4a 50%,
    #1a1f3a 75%,
    var(--primary) 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Тонкие линии на фоне */
.background-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image:
            linear-gradient(90deg, transparent 99%, rgba(59, 130, 246, 0.05) 99%),
            linear-gradient(0deg, transparent 99%, rgba(59, 130, 246, 0.05) 99%);
    background-size: 50px 50px;
    opacity: 0.3;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Хедер */
header {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
}

.logo-text span {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

nav a:hover {
    color: var(--text);
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transition: var(--transition);
}

nav a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
}

/* Герой секция */
.hero {
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--card-bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* Секция ссылок */
.links-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.links-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.link-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.link-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.link-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.2));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent);
    flex-shrink: 0;
}

.link-content {
    flex: 1;
}

.link-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.link-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.link-url {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.link-url:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Статистика */
.stats-section {
    padding: 80px 0;
    background-color: rgba(15, 23, 42, 0.5);
    border-radius: var(--radius-lg);
    margin: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
}

.stat-value {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Почему лучший */
.features-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
    color: var(--accent);
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Безопасность */
.security-section {
    padding: 80px 0;
}

.security-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    padding-top: 10px;
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* PGP верификация */
.pgp-section {
    padding: 80px 0;
    background-color: rgba(15, 23, 42, 0.5);
    border-radius: var(--radius-lg);
    margin: 40px 0;
}

.pgp-container {
    max-width: 800px;
    margin: 0 auto;
}

.pgp-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-top: 40px;
}

.pgp-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.pgp-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.2));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--success);
}

.pgp-title {
    font-size: 24px;
    font-weight: 700;
}

.pgp-key {
    background-color: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    color: var(--text-secondary);
}

/* FAQ */
.faq-section {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.faq-question {
    padding: 24px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question:after {
    content: '+';
    font-size: 24px;
    color: var(--accent);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-input {
    display: none;
}

.faq-input:checked + .faq-question:after {
    transform: rotate(45deg);
}

.faq-input:checked + .faq-question + .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
}

/* Футер */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 14px;
}

.disclaimer {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 40px;
}

.disclaimer h4 {
    color: var(--danger);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .stats-grid,
    .features-grid,
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .step {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-light);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-top: 1px solid var(--border);
    }

    nav ul.active {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 32px;
    }

    .stats-grid,
    .features-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .link-card {
        flex-direction: column;
        gap: 20px;
    }

    .link-icon {
        align-self: flex-start;
    }
}

/* Анимации при скролле */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Уникальные детали */
.official-banner {
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    color: white;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.official-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

/* Графики статистики */
.chart-container {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.chart {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
}

.chart-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.chart-bar {
    height: 20px;
    background-color: var(--secondary);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
}

.chart-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 10px;
    width: 0;
    animation: fillChart 2s ease forwards;
}

@keyframes fillChart {
    to { width: var(--width); }
}

.chart-label {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Мобильное меню на чистом CSS */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-btn {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: 2px solid var(--accent);
        border-radius: var(--radius-sm);
        color: var(--accent);
        font-size: 24px;
        cursor: pointer;
        transition: var(--transition);
    }

    .mobile-menu-btn:hover {
        background: rgba(59, 130, 246, 0.1);
    }

    .mobile-menu-toggle:checked ~ nav ul {
        display: flex !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-light);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-top: 1px solid var(--border);
        z-index: 100;
    }

    .mobile-menu-toggle:checked ~ nav {
        display: block;
    }

    nav ul {
        display: none !important;
    }
}

/* Анимации без JavaScript */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge, .hero-title, .hero-subtitle, .hero-cta,
.section-header, .link-card, .stat-card, .feature-card,
.step, .pgp-card, .faq-item, .chart {
    animation: fadeIn 0.8s ease-out forwards;
}

.hero-title { animation-delay: 0.1s; }
.hero-subtitle { animation-delay: 0.2s; }
.hero-cta { animation-delay: 0.3s; }
.section-header { animation-delay: 0.1s; }
.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.15s; }
.stat-card:nth-child(3) { animation-delay: 0.2s; }
.stat-card:nth-child(4) { animation-delay: 0.25s; }

/* FAQ аккордеон без JavaScript */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 24px;
}

.faq-question {
    padding: 24px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--accent);
    transition: var(--transition);
}

.faq-input:checked + .faq-question::after {
    transform: rotate(45deg);
    content: '−';
}

.faq-input:checked + .faq-question + .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
}

/* Фикс для анимации графика */
.chart-fill {
    animation: fillChart 2s ease forwards;
    animation-delay: 0.5s;
}

/* Статические анимации для всех блоков */
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}