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

:root {
    --bg: #030712;
    --card: #08111f;
    --blue: #00b7ff;
    --blue2: #3b82f6;
    --text: #ffffff;
    --muted: #a8b3cf;
    --success: #22c55e;
}

body {
    font-family: Inter, sans-serif;
    background: var(--bg);
    color: white;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 183, 255, .15), transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, .15), transparent 30%),
        radial-gradient(circle at 50% 80%, rgba(139, 92, 246, .15), transparent 40%);
    z-index: -1;
}

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

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    backdrop-filter: blur(20px);
    background: rgba(3, 7, 18, .55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    z-index: 999;
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #fff, #00b7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px #00b7ff;
}

.menu {
    display: flex;
    gap: 25px;
}

.menu a {
    color: white;
    text-decoration: none;
    opacity: .8;
}

.telegram-btn {
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid #0ea5e9;
    text-decoration: none;
    color: white;
}

.hero {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    position: relative;
    z-index: 2;

    padding: 0 20px;
}

.btn {
    transition:
        transform .25s,
        box-shadow .25s,
        background .25s;
}

.btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(0, 183, 255, .25);

}

.hero-logo {
    font-size: clamp(90px, 10vw, 150px);
    line-height: .9;
    font-weight: 900;
    letter-spacing: 10px;
    background: linear-gradient(90deg, #fff, #3b82f6, #00b7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(0, 183, 255, .6);
}

.hero h1 {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 700;
    margin-top: 28px;
    max-width: 720px;
    line-height: 1.7;
}

.hero p {
    margin-top: 26px;
    font-size: 28px;
    color: var(--muted);
}

.buttons {
    margin-top: 46px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
}

.primary {
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    color: white;
}

.secondary {
    border: 1px solid rgba(255, 255, 255, .2);
    color: white;
}

.section {
    margin-top: 80px;
}

.card {
    background: rgba(8, 17, 31, .7);
    border: 1px solid rgba(59, 130, 246, .25);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 0 30px rgba(0, 183, 255, .05);
    transition:
        transform .3s,
        border-color .3s,
        box-shadow .3s;
}

.card:hover {

    transform: translateY(-6px);

    border-color: rgba(0, 183, 255, .45);

    box-shadow: 0 20px 40px rgba(0, 183, 255, .12);

}

.section-title {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    color: #00b7ff;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.terminal {
    background: black;
    border-radius: 16px;
    padding: 20px;
    font-family: monospace;
    line-height: 1.8;
    color: #52ff52;
}

.stats div {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 18px;
}

.tech {
    background: var(--card);
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .06);
    transition: .3s;
}

.tech:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(0, 183, 255, .25);
}

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

.project {
    background: var(--card);
    border-radius: 22px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, .06);
}

.project h3 {
    margin-bottom: 15px;
}

.timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 180px;
    text-align: center;
}

.year {
    font-size: 32px;
    font-weight: 800;
    color: #00b7ff;
}

footer {
    margin-top: 100px;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, .05);
}

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

.contact {
    line-height: 2;
}

@media(max-width:900px) {

    .hero-logo {
        font-size: 70px;
    }

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

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

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

    .menu {
        display: none;
    }
}

#network {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: -2;

    pointer-events: none;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: reveal .8s ease forwards;
}

.delay-1 {
    animation-delay: .2s;
}

.delay-2 {
    animation-delay: .4s;
}

.delay-3 {
    animation-delay: .6s;
}

.delay-4 {
    animation-delay: .8s;
}

.delay-5 {
    animation-delay: 1s;
}

@keyframes reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;

    left: 47%;
    transform: translateX(-50%);

    font-size: 14px;
    letter-spacing: 3px;

    opacity: .0;
}

.identity-text {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.identity-text p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.system-profile {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.profile-row {
    display: flex;
    align-items: center;

    position: relative;
    overflow: hidden;

    padding: 10px 0 10px 16px;

    transition: .25s ease;

    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.profile-row::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 3px;
    height: 100%;

    background: var(--blue);

    transform: scaleY(0);

    transition: .25s;

}

.profile-row:hover {

    transform: translateX(6px);
    color: #00b7ff;

    border-bottom-color: rgba(0, 183, 255, .25);

}

.profile-row:hover::before {

    transform: scaleY(0.8);

}

.profile-key {

    width: 100px;
    letter-spacing: .5px;
    text-transform: uppercase;

    color: var(--muted);

    font-weight: 600;
}

.profile-separator {

    width: 20px;

    color: #00b7ff;

    text-align: center;
}

.profile-value {

    flex: 1;

    color: white;

    font-weight: 600;

    transition: .25s;

}

.window-header {
    display: flex;
    align-items: center;
    gap: 16px;

    padding-bottom: 18px;
    margin-bottom: 22px;

    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.window-buttons {
    display: flex;
    transition: .25s;
    gap: 8px;
}

.card:hover .window-buttons span:nth-child(1) {

    background: #ff5f56;
}

.card:hover .window-buttons span:nth-child(2) {

    background: #ffbd2e;
}

.card:hover .window-buttons span:nth-child(3) {

    background: #27c93f;
}

.window-buttons span {

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .25);
}

.window-title {

    font-size: 14px;

    color: var(--muted);

    letter-spacing: 1px;

    text-transform: lowercase;
}

.card:hover .window-title {

    color: var(--blue);

    text-shadow: 0 0 12px rgba(0, 183, 255, .5);

}

.online {

    display: flex;
    align-items: center;
    gap: 10px;

    color: #22c55e;
}

.status-dot {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow:
        0 0 6px #22c55e,
        0 0 14px #22c55e;

    animation: pulse 2s infinite;

}

@keyframes pulse {

    0% {

        transform: scale(1);
        opacity: .8;

    }

    50% {

        transform: scale(1.35);
        opacity: 1;

    }

    100% {

        transform: scale(1);
        opacity: .8;

    }

}

.journal-output {

    display: flex;
    flex-direction: column;

    gap: 14px;

    font-family: monospace;

}

.journal-line {

    display: flex;
    align-items: center;

    gap: 16px;

}

.journal-time {

    color: var(--muted);

    width: 80px;

}

.journal-type {

    width: 50px;

    font-weight: 700;

}

.info {

    color: var(--blue);

}

.success {

    color: var(--success);

}

.warning {

    color: #facc15;

}

.error {

    color: #ef4444;

}

.journal-message {

    flex: 1;

}

.card h3 {
    font-size: 18px;
    font-weight: 600;
    gap: 20px;
}

/* ========================
   SYSTEM METRICS
 ======================== */

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {

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

}

.metric-widget {
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 16px;
    padding: 22px;

    transition:
        transform .25s,
        border-color .25s,
        box-shadow .25s;
}

.metric-widget:hover {
    transform: translateY(-4px);

    border-color: rgba(0, 183, 255, .35);

    box-shadow: 0 0 20px rgba(0, 183, 255, .12);
}

.metric-label {
    display: block;

    font-size: 12px;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: var(--muted);
}

.metric-value {
    margin-top: 14px;

    font-size: 28px;

    font-weight: 700;
}

.metric-wide {
    grid-column: span 2;
}