/* OKX - НОВЫЙ ПРОСТОЙ ДИЗАЙН */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    font-size: 18px;
}

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

/* HEADER */
.header {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid #222;
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
}

.logo-icon {
    background: linear-gradient(135deg, #a0ff1f, #7acc00);
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 24px;
    font-weight: 900;
}

.nav {
    display: flex;
    gap: 10px;
}

.nav a {
    color: #ccc;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.nav a:hover {
    background: rgba(160, 255, 31, 0.1);
    color: #a0ff1f;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #a0ff1f, #7acc00);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(160, 255, 31, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #444;
    color: #fff;
}

.btn-secondary:hover {
    border-color: #a0ff1f;
    color: #a0ff1f;
}

/* HERO */
.hero {
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 22px;
    color: #ccc;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* FEATURES */
.features {
    padding: 100px 0;
    background: #0f0f0f;
}

.features h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.feature-card {
    background: #1a1a1a;
    border: 2px solid #252525;
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: #a0ff1f;
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 16px;
    color: #aaa;
    line-height: 1.7;
}

/* STATS */
.stats {
    padding: 80px 0;
    background: #0a0a0a;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    text-align: center;
}

.stat-number {
    font-size: 52px;
    font-weight: 900;
    color: #a0ff1f;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: #888;
}

/* CTA */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
}

.cta h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta p {
    font-size: 20px;
    color: #aaa;
    margin-bottom: 35px;
}

/* FOOTER */
.footer {
    background: #0a0a0a;
    border-top: 2px solid #1a1a1a;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #a0ff1f;
}

.footer-section p {
    color: #888;
    font-size: 15px;
    line-height: 1.6;
}

.footer-section a {
    display: block;
    color: #888;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #a0ff1f;
}

.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    color: #555;
    font-size: 14px;
}

/* FOOTER SOCIAL */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #888;
    text-decoration: none;
    font-size: 13px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    transition: all 0.3s;
}

.social-link:hover {
    color: #a0ff1f;
    border-color: rgba(160,255,31,0.3);
    background: rgba(160,255,31,0.06);
}

/* ====== ADVANCED PAGES STYLES ====== */

/* PRELOADER */
.loader { position: fixed; inset: 0; background: #0a0a0a; display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.6s ease, visibility 0.6s ease; }
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-ring { width: 44px; height: 44px; border: 3px solid #1e1e1e; border-top-color: #a0ff1f; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* CURSOR */
.cursor { width: 18px; height: 18px; border: 2px solid rgba(160,255,31,0.7); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: transform 0.15s; }

/* AMBIENT */
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(160,255,31,0.05) 0%, transparent 70%); pointer-events: none; }

/* TOPBAR */
.topbar { background: rgba(10,10,10,0.92); border-bottom: 1px solid #1a1a1a; padding: 16px 0; position: sticky; top: 0; z-index: 100; backdrop-filter: blur(14px); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.topbar .nav { display: flex; gap: 2px; }
.nav-link { color: #777; text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: 8px; transition: all 0.2s; white-space: nowrap; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-link.active { color: #a0ff1f; }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* BTN-GLOW & BTN-GHOST */
.btn-glow { display: inline-flex; align-items: center; justify-content: center; padding: 11px 26px; background: linear-gradient(135deg, #a0ff1f, #7acc00); color: #000; font-weight: 700; font-size: 14px; border-radius: 10px; text-decoration: none; border: none; cursor: pointer; transition: all 0.3s; }
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(160,255,31,0.35); }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; padding: 11px 26px; background: transparent; color: #fff; font-weight: 600; font-size: 14px; border-radius: 10px; text-decoration: none; border: 1px solid #333; transition: all 0.3s; }
.btn-ghost:hover { border-color: #a0ff1f; color: #a0ff1f; }

/* BURGER */
.burger { background: none; border: none; cursor: pointer; display: none; flex-direction: column; gap: 5px; padding: 6px; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }

/* MOBILE MENU */
.menu-overlay { display: none; position: fixed; inset: 0; background: #0a0a0a; z-index: 200; flex-direction: column; align-items: center; justify-content: center; }
.menu-overlay.open { display: flex; }
.menu-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.menu-link { color: #aaa; text-decoration: none; font-size: 1.3rem; font-weight: 600; padding: 10px 24px; border-radius: 10px; transition: color 0.2s; }
.menu-link:hover { color: #a0ff1f; }
.menu-cta { margin-top: 28px; }

/* PAGE HERO */
.page-hero { padding: 80px 0 56px; text-align: center; position: relative; z-index: 1; }
.tag { display: inline-flex; align-items: center; background: rgba(160,255,31,0.08); color: #a0ff1f; border: 1px solid rgba(160,255,31,0.22); border-radius: 100px; padding: 6px 18px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; }
.hero-title { font-size: 2.8rem; font-weight: 800; line-height: 1.15; margin-bottom: 18px; }
.hero-desc { font-size: 1.05rem; color: #777; max-width: 580px; margin: 0 auto; line-height: 1.75; }

/* GRAD TEXT */
.grad { background: linear-gradient(135deg, #a0ff1f 0%, #7acc00 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* SECTION */
.section { padding: 72px 0; position: relative; z-index: 1; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-title { font-size: 2rem; font-weight: 800; }

/* BENTO GRID */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* CARD */
.card { background: #111; border: 1px solid #1e1e1e; border-radius: 16px; padding: 28px; transition: border-color 0.3s, transform 0.3s; position: relative; overflow: hidden; }
.card:hover { border-color: rgba(160,255,31,0.25); transform: translateY(-3px); }
.card-icon { font-size: 34px; margin-bottom: 14px; }
.card-title { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.card-desc { font-size: 0.875rem; color: #777; line-height: 1.75; }

/* STATS */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { background: #111; border: 1px solid #1e1e1e; border-radius: 16px; padding: 28px; text-align: center; }
.stat-icon { font-size: 30px; margin-bottom: 10px; }
.stat-value { font-size: 2.4rem; font-weight: 900; color: #a0ff1f; }
.stat-title { font-size: 0.9rem; font-weight: 600; color: #fff; margin-top: 6px; }
.stat-sub { font-size: 0.78rem; color: #555; margin-top: 4px; }

/* CTA BLOCK */
.cta-block { padding: 80px 0; text-align: center; background: linear-gradient(180deg, rgba(160,255,31,0.03) 0%, transparent 100%); border-top: 1px solid #1a1a1a; position: relative; z-index: 1; }
.cta-content { max-width: 660px; margin: 0 auto; }
.cta-title { font-size: 2rem; font-weight: 800; margin-bottom: 14px; }
.cta-desc { font-size: 1rem; color: #777; margin-bottom: 30px; line-height: 1.7; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* FOOTER GRID (advanced pages) */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 32px; }
.footer-col { display: flex; flex-direction: column; }
.footer-brand { display: flex; flex-direction: column; }
.footer-about { color: #555; font-size: 14px; line-height: 1.7; margin-top: 12px; }
.footer-title { font-size: 12px; font-weight: 700; color: #a0ff1f; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-link { color: #555; text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: color 0.2s; display: block; }
.footer-link:hover { color: #a0ff1f; }
.footer-copy { color: #444; font-size: 13px; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-link-small { color: #444; text-decoration: none; font-size: 12px; transition: color 0.2s; }
.footer-link-small:hover { color: #888; }

/* ANIMATIONS */
.anim {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim.visible {
    opacity: 1;
    transform: translateY(0);
}
.char-reveal { opacity: 1; }
.stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger > *.visible {
    opacity: 1;
    transform: translateY(0);
}

/* FOOTER LEGAL INFO */
.footer-legal-info {
    border-top: 1px solid #1a1a1a;
    padding: 18px 0;
}

.footer-legal-info p {
    color: #444;
    font-size: 13px;
    line-height: 1.8;
}

/* ADAPTIVE */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .topbar .nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }

    .features h2 {
        font-size: 36px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .cta h2 {
        font-size: 36px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bento {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.6rem;
    }
}
