:root {
    color-scheme: dark;
    --background: #090b10;
    --surface: rgba(20, 23, 31, 0.72);
    --surface-hover: rgba(28, 32, 43, 0.88);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);
    --text: #f6f7fb;
    --muted: #9298a8;
    --muted-2: #656b78;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% -20%, rgba(103, 82, 255, 0.13), transparent 42%),
        var(--background);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    overflow-x: hidden;
}

.background-glow {
    position: fixed;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.12;
    pointer-events: none;
}

.glow-one {
    top: -180px;
    right: -120px;
    background: #755cff;
}

.glow-two {
    bottom: -260px;
    left: -170px;
    background: #2979ff;
}

.page {
    position: relative;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 90px 0 44px;
}

.hero {
    max-width: 720px;
    margin-bottom: 76px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    margin-bottom: 28px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: #b9bdc8;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(12px);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #45e58b;
    box-shadow: 0 0 14px rgba(69, 229, 139, 0.8);
}

h1 {
    margin: 0;
    font-size: clamp(44px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 700;
}

.hero p {
    max-width: 560px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.eyebrow {
    color: var(--muted-2);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

h2 {
    margin: 7px 0 0;
    font-size: 23px;
    letter-spacing: -0.025em;
}

.service-count {
    color: var(--muted-2);
    font-size: 13px;
}

.services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.service-card {
    position: relative;
    display: flex;
    min-height: 190px;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    color: inherit;
    text-decoration: none;
    backdrop-filter: blur(18px);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    background: var(--surface-hover);
}

.service-card::after {
    position: absolute;
    width: 180px;
    height: 180px;
    right: -75px;
    bottom: -100px;
    border-radius: 50%;
    background: var(--accent);
    filter: blur(70px);
    opacity: 0.1;
    content: "";
    pointer-events: none;
}

.service-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.service-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.arrow {
    color: #777d8b;
    font-size: 21px;
    transition:
        transform 180ms ease,
        color 180ms ease;
}

.service-card:hover .arrow {
    color: #fff;
    transform: translate(3px, -3px);
}

.service-content h3 {
    margin: 0 0 7px;
    font-size: 20px;
    letter-spacing: -0.025em;
}

.service-content p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.loading {
    grid-column: 1 / -1;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--muted);
    text-align: center;
}

footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 65px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--muted-2);
    font-size: 12px;
}

.footer-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4f5561;
}

@media (max-width: 700px) {
    .page {
        width: min(100% - 28px, 1120px);
        padding-top: 52px;
    }

    .hero {
        margin-bottom: 54px;
    }

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

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

    .service-card {
        min-height: 175px;
    }
}
