* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #08070d;
    --bg-soft: #0e0c16;
    --card: rgba(255, 255, 255, 0.045);
    --card-hover: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.09);

    --text: #f4f1fa;
    --muted: #9690a6;

    --purple: #8b5cf6;
    --purple-light: #b794f6;
    --purple-dark: #5b21b6;

    --green: #34d399;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 50% -10%, rgba(124, 58, 237, 0.22), transparent 32%),
        radial-gradient(circle at 10% 35%, rgba(139, 92, 246, 0.08), transparent 25%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);

    background-size: 48px 48px;

    mask-image: linear-gradient(to bottom, black, transparent 85%);
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* NAV */

nav {
    height: 82px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.nav-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.logo-mark {
    width: 29px;
    height: 29px;
    border-radius: 8px;

    background:
        linear-gradient(135deg, #c4b5fd, var(--purple) 45%, #4c1d95);

    box-shadow:
        0 0 30px rgba(139, 92, 246, 0.45),
        inset 0 1px 1px rgba(255, 255, 255, 0.5);

    position: relative;
}

.logo-mark::after {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    transform: rotate(45deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--muted);
    font-size: 14px;
}

.nav-links a {
    transition: 0.2s ease;
}

.nav-links a:hover {
    color: white;
}

.nav-btn {
    padding: 9px 16px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.04);
    color: white !important;
}

/* HERO */

.hero {
    padding: 105px 0 85px;
    text-align: center;
    position: relative;
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 280px;
    border-radius: 100%;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    background: rgba(124, 58, 237, 0.22);
    filter: blur(110px);
    pointer-events: none;
    z-index: -1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(167, 139, 250, 0.2);
    background: rgba(139, 92, 246, 0.07);

    color: #c4b5fd;
    font-size: 12px;
    margin-bottom: 25px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--purple-light);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--purple);
}

h1 {
    font-size: clamp(48px, 7vw, 88px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 650;
    max-width: 900px;
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(120deg,
            #ffffff 15%,
            #ddd6fe 42%,
            #8b5cf6 82%);

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    max-width: 650px;
    margin: 28px auto 0;
    color: var(--muted);
    font-size: 17px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 13px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;

    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #9f7aea, #7c3aed);
    color: white;

    box-shadow:
        0 8px 35px rgba(124, 58, 237, 0.3),
        inset 0 1px rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 40px rgba(124, 58, 237, 0.42),
        inset 0 1px rgba(255, 255, 255, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.035);
    color: #d9d4e2;
    border-color: var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
}

/* DASHBOARD */

.dashboard-wrap {
    margin-top: 80px;
    position: relative;
}

.dashboard-wrap::before {
    content: "";
    position: absolute;
    left: 15%;
    right: 15%;
    top: -30px;
    height: 100px;
    background: rgba(139, 92, 246, 0.25);
    filter: blur(70px);
    z-index: -1;
}

.dashboard {
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 16px;
    overflow: hidden;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018));

    backdrop-filter: blur(22px);

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.48),
        inset 0 1px rgba(255, 255, 255, 0.07);
}

.dashboard-top {
    height: 48px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    color: #878092;
    font-size: 11px;
}

.window-buttons {
    display: flex;
    gap: 6px;
}

.window-buttons i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 190px 1fr;
    min-height: 460px;
}

.sidebar {
    border-right: 1px solid var(--border);
    padding: 18px 12px;
}

.sidebar-title {
    font-size: 10px;
    color: #645f6d;
    margin: 10px 9px 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.sidebar-item {
    padding: 9px 10px;
    border-radius: 7px;
    margin-bottom: 3px;
    color: #85808f;
    font-size: 12px;
}

.sidebar-item.active {
    color: #d8cff6;
    background: rgba(139, 92, 246, 0.11);
}

.main-panel {
    padding: 28px;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.panel-heading h3 {
    font-size: 17px;
    font-weight: 600;
}

.live {
    font-size: 10px;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 6px;
}

.live::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 9px var(--green);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.025);
    padding: 17px;
    border-radius: 10px;
}

.stat-label {
    font-size: 10px;
    color: #77717f;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 25px;
    letter-spacing: -0.04em;
}

.stat-change {
    font-size: 10px;
    color: var(--green);
    margin-top: 2px;
}

.chart {
    height: 210px;
    margin-top: 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    position: relative;
    overflow: hidden;

    background:
        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: 50px 42px;
}

.chart svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* LOGOS */

.trusted {
    padding: 45px 0 95px;
    text-align: center;
}

.trusted-label {
    color: #625d69;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    margin-bottom: 30px;
}

.logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    color: #57525e;
    font-weight: 700;
    font-size: 15px;
}

/* FEATURES */

.section {
    padding: 110px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 55px;
}

.eyebrow {
    color: #a78bfa;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section h2 {
    font-size: clamp(35px, 5vw, 53px);
    line-height: 1.05;
    letter-spacing: -0.045em;
    font-weight: 620;
}

.section-header p {
    color: var(--muted);
    margin-top: 20px;
    font-size: 15px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.feature {
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--card);

    padding: 28px;
    min-height: 250px;
    transition: 0.25s ease;
}

.feature:hover {
    transform: translateY(-4px);
    background: var(--card-hover);
    border-color: rgba(167, 139, 250, 0.18);
}

.feature-icon {
    width: 39px;
    height: 39px;
    border-radius: 10px;

    display: grid;
    place-items: center;

    background: rgba(139, 92, 246, 0.1);
    color: #b9a0fa;
    border: 1px solid rgba(139, 92, 246, 0.14);

    margin-bottom: 60px;
}

.feature h3 {
    font-size: 16px;
    margin-bottom: 9px;
}

.feature p {
    color: var(--muted);
    font-size: 13px;
}

/* TERMINAL */

.terminal-section {
    padding: 75px 0 115px;
}

.terminal-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 85px;
}

.terminal-copy h2 {
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.terminal-copy p {
    margin-top: 22px;
    color: var(--muted);
    font-size: 15px;
}

.terminal {
    background: #0b0911;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 14px;
    overflow: hidden;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.35),
        0 0 50px rgba(124, 58, 237, 0.08);
}

.terminal-top {
    border-bottom: 1px solid var(--border);
    height: 43px;
    padding: 0 14px;

    display: flex;
    align-items: center;
    gap: 6px;
}

.terminal-top i {
    width: 7px;
    height: 7px;
    background: rgba(255, 255, 255, 0.17);
    border-radius: 50%;
}

.terminal-body {
    padding: 25px;
    min-height: 285px;

    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;

    font-size: 12px;
    line-height: 1.9;
    color: #878091;
}

.command {
    color: #d6c7ff;
}

.green {
    color: var(--green);
}

.purple {
    color: #a78bfa;
}

/* CTA */

.cta-section {
    padding: 80px 0 120px;
}

.cta {
    min-height: 390px;
    border-radius: 20px;
    border: 1px solid rgba(167, 139, 250, 0.15);

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(circle at 50% 110%, rgba(124, 58, 237, 0.35), transparent 45%),
        rgba(255, 255, 255, 0.025);
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);

    background-size: 38px 38px;
    mask-image: radial-gradient(circle, black, transparent 75%);
}

.cta-content {
    position: relative;
    padding: 40px;
}

.cta h2 {
    font-size: clamp(38px, 5vw, 58px);
    letter-spacing: -0.045em;
    line-height: 1;
}

.cta p {
    color: var(--muted);
    max-width: 500px;
    margin: 20px auto 29px;
}

/* FOOTER */

footer {
    border-top: 1px solid var(--border);
    padding: 30px 0 40px;
    color: #5e5964;
    font-size: 12px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    gap: 20px;
}

/* RESPONSIVE */

@media (max-width: 850px) {
    .nav-links a:not(.nav-btn) {
        display: none;
    }

    .hero {
        padding-top: 75px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .feature-icon {
        margin-bottom: 35px;
    }

    .terminal-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 26px, 1180px);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .dashboard-wrap {
        margin-top: 55px;
    }

    .main-panel {
        padding: 17px;
    }

    .chart {
        height: 160px;
    }

    .section,
    .terminal-section {
        padding: 80px 0;
    }

    .logos {
        gap: 25px;
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
}