:root {
    --bg: #0b0b0f;
    --bg-2: #0f0f14;
    --panel: #131319;
    --panel-2: #17171e;

    --border: #24242d;
    --border-hover: #30303a;

    --white: #f2f2f4;
    --text: #d4d4da;
    --muted: #858590;
    --dim: #5e5e68;

    --purple: #8b5cf6;
    --purple-hover: #9b70f8;
    --purple-dark: #7446dc;

    --green: #43d17d;

    --width: 1120px;
}


/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;
    line-height: 1.6;

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
}


/* ---------- SCROLLBAR ---------- */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #09090c;
}

::-webkit-scrollbar-thumb {
    background: #292932;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #373741;
}


/* ---------- NAVIGATION ---------- */

.navbar {
    width: 100%;
    height: 68px;

    border-bottom: 1px solid var(--border);

    background: #0b0b0f;
}

.nav-container {
    width: calc(100% - 40px);
    max-width: var(--width);

    height: 100%;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Logo */

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--purple);

    border-radius: 8px;

    color: #fff;

    font-size: 15px;
    font-weight: 700;
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.1;
}

.brand-name {
    color: var(--white);

    font-size: 15px;
    font-weight: 700;
}

.brand-subtitle {
    color: var(--dim);

    font-size: 9px;

    margin-top: 3px;
}


/* Navigation links */

.nav-links {
    display: flex;
    align-items: center;

    gap: 25px;
}

.nav-links a {
    color: var(--muted);

    font-size: 12px;
    font-weight: 500;

    transition: color 0.15s ease;
}

.nav-links a:hover {
    color: var(--white);
}


/* Invite button */

.nav-invite {
    padding: 8px 14px;

    border: 1px solid #6f48c5;
    border-radius: 7px;

    background: var(--purple);

    color: white;

    font-size: 11px;
    font-weight: 600;

    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}

.nav-invite:hover {
    background: var(--purple-hover);
    border-color: var(--purple-hover);
}


/* ---------- HERO ---------- */

.hero {
    width: calc(100% - 40px);
    max-width: var(--width);

    min-height: 570px;

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 390px;

    align-items: center;

    gap: 80px;
}


/* Hero content */

.hero-content {
    max-width: 620px;
}

.status-pill {
    display: inline-flex;
    align-items: center;

    padding: 5px 9px;

    margin-bottom: 18px;

    border: 1px solid #243b2d;
    border-radius: 5px;

    background: #101912;

    color: #7fd99f;

    font-size: 10px;
}

.status-dot {
    width: 6px;
    height: 6px;

    margin-right: 7px;

    border-radius: 50%;

    background: var(--green);
}


.hero h1 {
    color: var(--white);

    font-size: 58px;
    line-height: 1.02;

    letter-spacing: -2px;

    font-weight: 800;
}

.hero h1 span {
    color: var(--purple);
}

.hero-description {
    max-width: 570px;

    margin-top: 20px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 25px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 43px;

    padding: 0 17px;

    border-radius: 7px;

    font-size: 12px;
    font-weight: 600;

    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}

.button-primary {
    background: var(--purple);

    border: 1px solid var(--purple);

    color: white;
}

.button-primary:hover {
    background: var(--purple-hover);
    border-color: var(--purple-hover);
}

.button-secondary {
    background: #15151b;

    border: 1px solid var(--border);

    color: var(--text);
}

.button-secondary:hover {
    background: #1b1b22;
    border-color: var(--border-hover);
}

.hero-note {
    margin-top: 12px;

    color: var(--dim);

    font-size: 10px;
}


/* ---------- BOT PREVIEW ---------- */

.hero-card-wrapper {
    width: 100%;
}

.hero-card {
    width: 100%;

    background: var(--panel);

    border: 1px solid var(--border);

    border-radius: 12px;

    padding: 20px;
}

.bot-card-top {
    display: flex;
    align-items: center;

    gap: 12px;
}

.bot-avatar {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: var(--purple);

    color: white;

    font-size: 18px;
    font-weight: 700;
}

.bot-card-info {
    display: flex;
    flex-direction: column;
}

.bot-card-info h3 {
    color: var(--white);

    font-size: 15px;
    font-weight: 700;
}

.bot-card-info p {
    color: var(--muted);

    font-size: 10px;
}

.bot-badge {
    margin-left: auto;

    padding: 3px 6px;

    border-radius: 4px;

    background: #5865f2;

    color: white;

    font-size: 8px;
    font-weight: 700;
}

.online-indicator {
    display: none;
}

.bot-card-divider {
    height: 1px;

    margin: 18px 0;

    background: var(--border);
}

.bot-stats {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border: 1px solid var(--border);

    border-radius: 7px;

    overflow: hidden;
}

.bot-stat {
    padding: 13px 5px;

    text-align: center;

    background: #111117;

    border-right: 1px solid var(--border);
}

.bot-stat:last-child {
    border-right: 0;
}

.bot-stat strong {
    display: block;

    color: var(--white);

    font-size: 16px;
    font-weight: 700;
}

.bot-stat span {
    display: block;

    color: var(--dim);

    font-size: 9px;
}

.bot-card-footer {
    display: flex;
    align-items: center;

    margin-top: 16px;

    color: var(--muted);

    font-size: 9px;
}

.green-dot {
    width: 6px;
    height: 6px;

    margin-right: 6px;

    border-radius: 50%;

    background: var(--green);
}

.footer-time {
    margin-left: auto;

    color: var(--dim);
}


/* ---------- GENERAL SECTIONS ---------- */

.section {
    width: calc(100% - 40px);
    max-width: var(--width);

    margin: 0 auto 105px;
}

.section-heading {
    margin-bottom: 30px;
}

.section-label {
    margin-bottom: 7px;

    color: var(--purple);

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-heading h2 {
    color: var(--white);

    font-size: 30px;
    line-height: 1.2;

    letter-spacing: -0.8px;
}

.section-heading p {
    max-width: 600px;

    margin-top: 8px;

    color: var(--muted);

    font-size: 12px;
}


/* ---------- STATS ---------- */

.stats-section {
    width: calc(100% - 40px);
    max-width: var(--width);

    margin: 0 auto 105px;
}

.stats-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border: 1px solid var(--border);

    border-radius: 9px;

    overflow: hidden;
}

.stat-card {
    min-height: 82px;

    padding: 17px;

    background: var(--panel);

    border-right: 1px solid var(--border);
}

.stat-card:last-child {
    border-right: 0;
}

.stat-icon {
    display: none;
}

.stat-card strong {
    display: block;

    color: var(--white);

    font-size: 20px;
    line-height: 1.2;
}

.stat-card span {
    display: block;

    margin-top: 3px;

    color: var(--dim);

    font-size: 10px;
}


/* ---------- FEATURES ---------- */

.feature-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;
}

.feature-card {
    min-height: 210px;

    padding: 22px;

    background: var(--panel);

    border: 1px solid var(--border);

    border-radius: 10px;

    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}

.feature-card:hover {
    background: var(--panel-2);

    border-color: var(--border-hover);
}

.feature-large {
    grid-column: span 2;
}

.feature-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 17px;

    border-radius: 7px;

    background: #1b1726;

    color: var(--purple-light, #a78bfa);

    font-size: 10px;
    font-weight: 700;
}

.feature-icon.green {
    background: #121e17;
    color: #6fda98;
}

.feature-icon.blue {
    background: #121923;
    color: #75a4ed;
}

.feature-icon.orange {
    background: #211a12;
    color: #e9a35c;
}

.feature-icon.pink {
    background: #21151d;
    color: #df7ea7;
}

.feature-icon.cyan {
    background: #112023;
    color: #62c6d5;
}

.feature-card h3 {
    color: var(--white);

    font-size: 14px;
    font-weight: 700;
}

.feature-card p {
    margin-top: 8px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.75;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 5px;

    margin-top: 15px;
}

.feature-tags span {
    padding: 4px 7px;

    background: #19191f;

    border: 1px solid var(--border);

    border-radius: 4px;

    color: var(--dim);

    font-size: 8px;
}


/* ---------- COMMANDS ---------- */

.command-container {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 10px;
}

.command-category {
    background: var(--panel);

    border: 1px solid var(--border);

    border-radius: 10px;

    overflow: hidden;
}

.category-header {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 16px;

    border-bottom: 1px solid var(--border);

    background: #15151b;
}

.category-icon {
    width: 29px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px;

    background: #201936;

    color: #a78bfa;

    font-size: 9px;
    font-weight: 700;
}

.category-icon.green-icon {
    background: #132219;
    color: #6bd795;
}

.category-icon.blue-icon {
    background: #141d2b;
    color: #76a3ed;
}

.category-icon.orange-icon {
    background: #231b12;
    color: #e3a05c;
}

.category-icon.pink-icon {
    background: #241620;
    color: #df82a9;
}

.category-header h3 {
    color: var(--white);

    font-size: 12px;
    font-weight: 700;
}

.category-header p {
    color: var(--dim);

    font-size: 8px;
}

.command-list {
    padding: 6px;
}

.command-item {
    min-height: 40px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 7px 9px;

    border-radius: 5px;
}

.command-item:hover {
    background: #18181f;
}

.command-item code {
    min-width: 125px;

    padding: 4px 6px;

    background: #191722;

    border-radius: 4px;

    color: #a995dc;

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 9px;
}

.command-item span {
    color: var(--muted);

    font-size: 9px;
}


/* ---------- STATUS ---------- */

.status-panel {
    padding: 25px;

    background: var(--panel);

    border: 1px solid var(--border);

    border-radius: 10px;
}

.status-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.status-panel-header h2 {
    color: var(--white);

    font-size: 20px;
}

.big-status {
    padding: 5px 9px;

    background: #111b15;

    border: 1px solid #243b2d;

    border-radius: 5px;

    color: #7bd59c;

    font-size: 9px;
    font-weight: 600;
}

.status-services {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 7px;
}

.service {
    min-height: 43px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 9px 11px;

    background: #111117;

    border: 1px solid var(--border);

    border-radius: 6px;
}

.service-name {
    display: flex;
    align-items: center;

    color: var(--text);

    font-size: 10px;
}

.service-dot {
    width: 5px;
    height: 5px;

    margin-right: 7px;

    border-radius: 50%;

    background: var(--green);
}

.service strong {
    color: #70d79a;

    font-size: 8px;
    font-weight: 600;
}


/* ---------- HOW IT WORKS ---------- */

.steps {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;
}

.step {
    padding: 22px;

    background: var(--panel);

    border: 1px solid var(--border);

    border-radius: 10px;
}

.step-number {
    display: block;

    margin-bottom: 22px;

    color: var(--purple);

    font-family:
        Consolas,
        monospace;

    font-size: 10px;
    font-weight: 700;
}

.step h3 {
    color: var(--white);

    font-size: 13px;
}

.step p {
    margin-top: 7px;

    color: var(--muted);

    font-size: 10px;

    line-height: 1.7;
}


/* ---------- CTA ---------- */

.cta-section {
    width: calc(100% - 40px);
    max-width: var(--width);

    margin: 0 auto 90px;

    background: var(--panel);

    border: 1px solid var(--border);

    border-radius: 12px;
}

.cta-content {
    padding: 55px 30px;

    text-align: center;
}

.cta-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 15px;

    border-radius: 8px;

    background: var(--purple);

    color: white;

    font-size: 13px;
    font-weight: 700;
}

.cta-content h2 {
    color: var(--white);

    font-size: 30px;

    letter-spacing: -0.8px;
}

.cta-content p {
    max-width: 520px;

    margin: 10px auto 0;

    color: var(--muted);

    font-size: 12px;
}

.cta-content .hero-buttons {
    justify-content: center;

    margin-top: 22px;
}


/* ---------- FOOTER ---------- */

.footer {
    border-top: 1px solid var(--border);

    background: #09090c;
}

.footer-container {
    width: calc(100% - 40px);
    max-width: var(--width);

    margin: auto;

    padding: 45px 0;

    display: flex;
    justify-content: space-between;

    gap: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .brand {
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--dim);

    font-size: 10px;

    line-height: 1.7;
}

.footer-links {
    display: flex;

    gap: 70px;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.footer-column h4 {
    margin-bottom: 5px;

    color: var(--text);

    font-size: 10px;
    font-weight: 700;
}

.footer-column a {
    color: var(--dim);

    font-size: 9px;

    transition: color 0.15s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    width: calc(100% - 40px);
    max-width: var(--width);

    margin: auto;

    padding: 17px 0;

    border-top: 1px solid #19191f;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #4e4e57;

    font-size: 8px;
}


/* ---------- MOBILE ---------- */

@media (max-width: 900px) {

    .hero {
        grid-template-columns: 1fr;

        gap: 45px;

        padding: 70px 0;
    }

    .hero-content {
        max-width: 650px;
    }

    .hero-card-wrapper {
        max-width: 400px;

        margin: auto;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-large {
        grid-column: span 2;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card:nth-child(2) {
        border-right: 0;
    }

    .stat-card:nth-child(3),
    .stat-card:nth-child(4) {
        border-top: 1px solid var(--border);
    }

    .command-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
    }
}


@media (max-width: 650px) {

    .nav-links {
        display: none;
    }

    .nav-container,
    .hero,
    .section,
    .stats-section,
    .cta-section,
    .footer-container,
    .footer-bottom {
        width: calc(100% - 28px);
    }

    .hero {
        padding: 55px 0 70px;
    }

    .hero h1 {
        font-size: 43px;

        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card,
    .stat-card:nth-child(2),
    .stat-card:nth-child(3),
    .stat-card:nth-child(4) {
        border-right: 0;
        border-top: 1px solid var(--border);
    }

    .stat-card:first-child {
        border-top: 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-large {
        grid-column: span 1;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .status-services {
        grid-template-columns: 1fr;
    }

    .status-panel-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 10px;
    }

    .footer-links {
        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 25px;
    }

    .footer-bottom {
        align-items: flex-start;

        flex-direction: column;

        gap: 5px;
    }
}


@media (max-width: 420px) {

    .brand-subtitle {
        display: none;
    }

    .nav-invite {
        padding: 7px 10px;

        font-size: 9px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-card {
        padding: 15px;
    }

    .bot-stat strong {
        font-size: 14px;
    }

    .command-item {
        align-items: flex-start;

        flex-direction: column;

        gap: 5px;
    }

    .command-item code {
        min-width: auto;
    }

    .cta-content {
        padding: 45px 18px;
    }

    .cta-content h2 {
        font-size: 25px;
    }
}
