/* -----------------------
   NEXUS Dark Long-Scroll
   HTML + CSS only (no JS)
   ----------------------- */

:root {
    --bg-1: #07060a;
    --bg-2: #05041a;
    --accent-p: #b76bff; /* purple */
    --accent-c: #00f2a6; /* cyan/green */
    --alert: #ff4458;     /* red */
    --muted: #99a0ab;
    --card-bg: rgba(255,255,255,0.02);
    --glass: rgba(255,255,255,0.03);
    --max-width: 1100px;
}




/* Reset + base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #e6edf3;
    background:
            radial-gradient(1200px 600px at 10% 6%, rgba(120,40,200,0.08), transparent 6%),
            radial-gradient(900px 420px at 90% 85%, rgba(0,150,170,0.06), transparent 6%),
            linear-gradient(180deg,#071028 0%, #050417 60%, #0b0410 100%);
    background-attachment: fixed; /* фиксируем фон */
    background-repeat: no-repeat;
    background-size: cover;       /* растягиваем на весь экран */
    min-height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Overlay grid background (optional) */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
            linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 120px 120px, 120px 120px;
    opacity: 0.07;
    mix-blend-mode: overlay;
}

/* Background image with controllable opacity */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: url('bg-grid.png') center/cover no-repeat;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

a { color: inherit; }

.wrap {
    width: 100%;
    max-width: var(--max-width);
    padding: 40px 24px;
    position: relative;
    z-index: 3;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 18px;
    color: var(--accent-p);
    text-shadow: 0 0 18px rgba(183,107,255,0.18);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-c);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(0,242,166,0.12);
}

nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

nav a {
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
}

.cta {
    padding: 8px 14px;
    border-radius: 8px;
    background: linear-gradient(180deg,var(--alert),#d52a3a);
    color: white;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(255,68,88,0.12);
}

.hero {
    display: block;
    text-align: center;
    padding: 64px 16px 56px;
}

.hero h1 {
    font-size: 46px;
    margin: 0 0 18px;
    line-height: 1.02;
    color: #fff;
    text-shadow: 0 6px 40px rgba(183,107,255,0.08);
}

.hero h1 .accent {
    color: var(--accent-p);
    text-shadow: 0 0 24px rgba(183,107,255,0.18);
}

.hero p {
    max-width: 820px;
    margin: 0 auto 26px;
    color: var(--muted);
    font-size: 15px;
}

.hero .controls {
    display: inline-flex;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
}

.btn-prim {
    background: linear-gradient(180deg,var(--alert),#d52a3a);
    color: white;
    box-shadow: 0 10px 40px rgba(255,68,88,0.12);
}

.btn-ghost {
    border: 1px solid rgba(0,242,166,0.14);
    color: var(--accent-c);
    backdrop-filter: blur(4px);
}

section {
    padding: 48px 0;
    border-top: 1px solid rgba(255,255,255,0.02);
}

h2.section-title {
    font-size: 28px;
    margin: 18px 0 26px;
    text-align: center;
    color: #fff;
}

h2.section-title .accent {
    color: var(--accent-p);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.card {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    padding: 22px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.03);
    box-shadow: 0 8px 30px rgba(2,6,23,0.6);
}

.card .icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(0,242,166,0.06), rgba(183,107,255,0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: var(--accent-c);
    font-weight: 700;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

/* Links grid */
.links-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.access a{
    text-decoration: none;
}
.link-content{
    margin-top: 10px;
}
.link-content a{
    text-decoration: none;
    color: rgba(255, 255, 255, 0.71);
}
.link-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-radius: 10px;
    background: var(--glass);
    border: 1px solid rgba(0,242,166,0.03);
}

.link-left {
    display: flex;
    gap: 14px;
    align-items: center;
}

.status {
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(0,242,166,0.08);
    color: var(--accent-c);
    font-weight: 600;
}

.access {
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.02);
    color: var(--muted);
}

/* Security matrix */
.matrix {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

/* Advantages grid */
.advantages {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    margin-top: 6px;
}

/* stats row */
.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 26px;
}

.stat {
    flex: 1;
    text-align: center;
}

.stat .num {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-c);
}

.stat p {
    margin: 6px 0 0;
    color: var(--muted);
}

/* Crypto */
.crypto {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 16px;
}

.coin {
    padding: 18px 30px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.02);
}

/* Footer */
footer {
    margin-top: 44px;
    padding: 36px 0;
    color: var(--muted);
    width: 100%;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-start;
}

.small {
    font-size: 13px;
}

/* responsive */
@media (max-width: 980px) {
    .cards, .advantages, .matrix { grid-template-columns: repeat(2,1fr); }
    .links-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .cards, .advantages, .matrix { grid-template-columns: 1fr; }
    header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .hero h1 { font-size: 36px; }
    .footer-inner { flex-direction: column; }
    .stats { flex-direction: column; gap: 12px; }
}

/* subtle hover glows */
.card:hover {
    border-color: rgba(183,107,255,0.18);
    transform: translateY(-6px);
    transition: all .28s;
}

.link-block:hover {
    box-shadow: 0 6px 28px rgba(0,0,0,0.6);
    transform: translateY(-4px);
    transition: all .22s;
}