@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    font-family: 'Inter', sans-serif;
    color: #f4f4f5;
    background: #08090d;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% -20%, rgba(93, 83, 180, 0.18), transparent 42%),
        radial-gradient(circle at 0% 100%, rgba(39, 80, 125, 0.12), transparent 35%),
        #08090d;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image:
        linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.page {
    width: min(1120px, calc(100% - 48px));
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.header {
    padding: 34px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.08em;
}

.brand-name {
    font-size: 0.9rem;
    font-weight: 700;
}

.brand-divider {
    color: rgba(255,255,255,0.25);
}

.brand-subtitle {
    color: rgba(255,255,255,0.48);
    font-size: 0.72rem;
    font-weight: 500;
}

.hero {
    padding: 100px 0 72px;
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 18px;
    color: #8d82e8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.hero h1 {
    margin: 0;
    font-size: clamp(3.2rem, 7vw, 6rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 600;
}

.hero h1 span {
    color: rgba(255,255,255,0.42);
}

.description {
    margin: 28px 0 0;
    color: rgba(255,255,255,0.52);
    font-size: 1rem;
}

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

.service-card {
    position: relative;
    min-height: 330px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;

    color: #ffffff;
    text-decoration: none;

    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}

.service-card::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    top: -180px;
    right: -100px;
    background: radial-gradient(
        circle,
        rgba(122, 108, 231, 0.14),
        transparent 70%
    );
    pointer-events: none;
}

.service-card:not(.disabled):hover {
    transform: translateY(-5px);
    border-color: rgba(141,130,232,0.38);
    background: rgba(255,255,255,0.055);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.service-card.disabled {
    cursor: default;
    opacity: 0.72;
}

.service-card.active {
    border-color: rgba(141,130,232,0.22);
}

.card-top,
.card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-number {
    color: rgba(255,255,255,0.28);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.status {
    color: #777982;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.active .status {
    color: #8d82e8;
}

.card-content {
    position: relative;
}

.card-content h2 {
    margin: 0 0 10px;
    font-size: 2rem;
    letter-spacing: -0.035em;
    font-weight: 600;
}

.card-content p {
    margin: 0;
    max-width: 280px;
    color: rgba(255,255,255,0.43);
    font-size: 0.88rem;
    line-height: 1.6;
}

.card-action {
    position: relative;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.action-text {
    color: rgba(255,255,255,0.3);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.active .action-text {
    color: rgba(255,255,255,0.7);
}

.arrow {
    color: rgba(255,255,255,0.22);
    font-size: 1.15rem;
    transition: transform 180ms ease;
}

.active .arrow {
    color: #8d82e8;
}

.active:hover .arrow {
    transform: translateX(4px);
}

.services .service-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 8px);
    justify-self: center;
    width: 100%;
}

.footer {
    margin-top: auto;
    padding: 60px 0 28px;
    display: flex;
    justify-content: space-between;

    color: rgba(255,255,255,0.25);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
}

@media (max-width: 700px) {
    .page {
        width: min(100% - 32px, 520px);
    }

    .header {
        padding: 24px 0;
    }

    .hero {
        padding: 70px 0 48px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 14vw, 4.5rem);
    }

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

    .services .service-card:last-child {
        grid-column: auto;
        max-width: none;
    }

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

    .footer {
        padding-top: 48px;
    }
}
