﻿:root {
    --bg: #070812;
    --card: #101228;
    --purple: #8b5cf6;
    --purple-2: #a855f7;
    --blue: #3b82f6;
    --cyan: #22d3ee;
    --text: #e5e7eb;
    --muted: #8b90a7;
    --border: rgba(139,92,246,.25);
}

* {
    font-family: 'Vazirmatn',sans-serif
}

body {
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden
}

/* ===== Navbar ===== */
.navbar {
    background: rgba(7,8,18,.75);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.05)
}

    .navbar .nav-link {
        color: var(--muted);
        margin: 0 .55rem;
        font-size: .92rem;
        transition: .2s
    }

        .navbar .nav-link:hover, .navbar .nav-link.active {
            color: #fff
        }

        .navbar .nav-link.active {
            position: relative
        }

            .navbar .nav-link.active::after {
                content: '';
                position: absolute;
                bottom: -6px;
                right: 50%;
                transform: translateX(50%);
                width: 24px;
                height: 3px;
                border-radius: 3px;
                background: var(--purple)
            }

.logo-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg,var(--purple),var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 0 25px rgba(139,92,246,.5)
}

.btn-neon {
    background: linear-gradient(135deg,var(--purple),var(--purple-2));
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: .6rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 0 25px rgba(139,92,246,.45);
    transition: .25s
}

    .btn-neon:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 0 40px rgba(139,92,246,.65)
    }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    padding: .6rem 1.5rem;
    font-weight: 500
}

    .btn-ghost:hover {
        border-color: var(--purple);
        color: #fff
    }

/* ===== Hero ===== */
.hero {
    padding: 70px 0 40px;
    position: relative
}

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(600px 300px at 85% 20%,rgba(139,92,246,.14),transparent), radial-gradient(500px 300px at 20% 60%,rgba(59,130,246,.10),transparent);
        pointer-events: none
    }

    .hero .tagline {
        color: var(--purple-2);
        font-size: .95rem
    }

    .hero h1 {
        font-size: 3.2rem;
        font-weight: 800;
        line-height: 1.4
    }

        .hero h1 .grad {
            background: linear-gradient(90deg,#818cf8,#c084fc);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent
        }

    .hero p.lead {
        color: var(--muted);
        font-size: 1.05rem;
        line-height: 2;
        max-width: 480px;
        margin-inline: auto
    }

.hero-card {
    background: rgba(16,18,40,.8);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem 1.2rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 35px rgba(59,130,246,.12);
    min-width: 190px
}

    .hero-card .hc-title {
        color: var(--cyan);
        font-size: .8rem;
        margin-bottom: .4rem
    }

    .hero-card .hc-val {
        font-weight: 700;
        font-size: .95rem
    }

    .hero-card .hc-up {
        color: #34d399;
        font-size: .75rem
    }

.server-box {
    width: 150px;
    height: 190px;
    margin: 0 auto;
    border-radius: 16px;
    background: linear-gradient(160deg,#141636,#0b0d24);
    border: 1px solid rgba(139,92,246,.4);
    box-shadow: 0 0 60px rgba(139,92,246,.35);
    padding: 14px
}

    .server-box .logo-badge {
        width: 40px;
        height: 40px;
        margin: 6px auto 14px
    }

    .server-box .row-slot {
        height: 16px;
        border-radius: 5px;
        background: #1a1d3f;
        border: 1px solid rgba(139,92,246,.3);
        margin-bottom: 10px;
        position: relative
    }

        .server-box .row-slot::after {
            content: '';
            position: absolute;
            left: 6px;
            top: 6px;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #34d399;
            box-shadow: 0 0 8px #34d399
        }

/* ===== Brands ===== */
.brands {
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 22px 0
}

.brand-item {
    color: var(--muted);
    font-weight: 700;
    font-size: 1.05rem;
    opacity: .75;
    transition: .2s;
    display: flex;
    align-items: center;
    gap: .4rem;
    justify-content: center
}

    .brand-item:hover {
        opacity: 1;
        color: #fff
    }

    .brand-item i {
        color: var(--purple-2)
    }

/* ===== Dashboard mockup ===== */
.dash {
    background: var(--card);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 20px;
    padding: 1.2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,.5)
}

    .dash .side-item {
        font-size: .8rem;
        color: var(--muted);
        padding: .45rem .7rem;
        border-radius: 8px;
        margin-bottom: .3rem;
        display: flex;
        align-items: center;
        gap: .45rem
    }

        .dash .side-item.active {
            background: rgba(139,92,246,.18);
            color: #fff
        }

    .dash .metric {
        background: #0c0e24;
        border-radius: 12px;
        padding: .9rem;
        text-align: center
    }

        .dash .metric .val {
            font-weight: 800;
            font-size: 1.15rem
        }

        .dash .metric .lbl {
            font-size: .72rem;
            color: var(--muted)
        }

        .dash .metric .trend {
            font-size: .7rem
        }

.up {
    color: #34d399
}

.down {
    color: #f87171
}

.chart-box {
    background: #0c0e24;
    border-radius: 12px;
    height: 170px;
    position: relative;
    overflow: hidden
}

    .chart-box svg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%
    }

/* ===== Services ===== */
.service-card {
    background: linear-gradient(180deg,rgba(16,18,40,.9),rgba(12,13,32,.9));
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 20px;
    padding: 2rem 1.4rem;
    height: 100%;
    transition: .3s
}

    .service-card:hover {
        transform: translateY(-6px);
        border-color: var(--border)
    }

    .service-card .icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.7rem;
        margin: 0 auto 1.2rem
    }

    .service-card h5 {
        font-weight: 700;
        font-size: 1.05rem
    }

    .service-card p {
        color: var(--muted);
        font-size: .85rem;
        line-height: 1.9
    }

    .service-card .more {
        color: var(--purple-2);
        font-size: .82rem;
        text-decoration: none
    }

.ic-purple {
    background: rgba(139,92,246,.15);
    color: #c084fc
}

.ic-blue {
    background: rgba(59,130,246,.15);
    color: #60a5fa
}

.ic-cyan {
    background: rgba(34,211,238,.15);
    color: var(--cyan)
}

.ic-pink {
    background: rgba(236,72,153,.15);
    color: #f472b6
}

/* ===== Feature strip ===== */
.feat-strip {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 26px 0
}

    .feat-strip .feat {
        display: flex;
        align-items: center;
        gap: .6rem;
        color: var(--muted);
        font-size: .88rem;
        justify-content: center
    }

        .feat-strip .feat i {
            color: var(--purple-2);
            font-size: 1.1rem
        }

        .feat-strip .feat b {
            color: #fff;
            font-weight: 700
        }

/* floating animation */
@keyframes float {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

.float {
    animation: float 5s ease-in-out infinite
}

.float2 {
    animation: float 6s ease-in-out infinite;
    animation-delay: 1.2s
}

.float3 {
    animation: float 7s ease-in-out infinite;
    animation-delay: 2.2s
}

.CustomerColor {
    background-color: rgba(60,141,188,0.9);
}