/* --------------------------------------------- */
/* Home hero                                     */
/* --------------------------------------------- */

.home-hero {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    align-items: center;
    gap: 58px;
    min-height: calc(100vh - 88px);
    padding-top: 76px;
}

.home-hero-content {
    position: relative;
    z-index: 2;
}

.home-hero h1 {
    max-width: 920px;
}

.hero-sub {
    max-width: 720px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 18px;
}


.process-panel {
    position: relative;
    display: grid;
    gap: 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.045));
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.process-panel::before {
    content: "";
    position: absolute;
    left: 51px;
    top: 54px;
    bottom: 54px;
    width: 1px;
    background: linear-gradient(
        180deg,
        transparent,
        var(--accent),
        transparent
    );
    opacity: 0.55;
}

.process-step {
    position: relative;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    padding: 22px 0;
}

.process-step:first-child {
    padding-top: 0;
}

.process-step:last-child {
    padding-bottom: 0;
}

.process-number {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.process-content {
    padding: 2px 0 0;
}

.process-content strong {
    display: block;
    margin-bottom: 7px;
    color: var(--text);
    font-size: 21px;
    line-height: 1.15;
}

.process-content p {
    max-width: 34ch;
    margin: 0;
    color: var(--muted);
}


/* --------------------------------------------- */
/* Home intro                                    */
/* --------------------------------------------- */

.home-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    padding: 42px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-intro > p {
    font-size: 19px;
}


/* --------------------------------------------- */
/* Ways of working                               */
/* --------------------------------------------- */

.ways-of-working {
    padding-top: 80px;
}

/* --------------------------------------------- */
/* Hero links                                    */
/* --------------------------------------------- */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
    max-width: none;
}

.hero-actions .btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 230px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.075);
    color: var(--text);
    text-decoration: none;
}

.hero-actions .btn:focus-visible {
    outline: none;
    border-color: rgba(125, 211, 252, 0.7);
    box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.14);
}

.hero-actions .btn::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 10px;
    height: 1px;
    background: currentColor;
    opacity: 0.45;
    transform: scaleX(0.72);
    transform-origin: center;
    transition:
        opacity 160ms ease,
        transform 160ms ease;
}

.hero-actions .btn:hover {
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, 0.42);
    background: rgba(125, 211, 252, 0.09);
    color: var(--accent);
}

.hero-actions .btn:hover::after {
    opacity: 0.9;
    transform: scaleX(1);
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.075);
    color: var(--text);
}


@media (max-width: 560px) {
    .hero-actions {
        display: grid;
    }

    .hero-actions .btn {
        width: 100%;
        min-width: 0;
    }
}
.home-proof-points {
    position: relative;
    display: grid;
    gap: 0;
    padding-left: 22px;
}

.home-proof-points::before {
    content: "";
    position: absolute;
    left: 42px;
    top: 22px;
    bottom: 22px;
    width: 1px;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(125, 211, 252, 0.45),
        transparent
    );
}

.home-proof-point {
    position: relative;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 18px;
    padding: 20px 0;
}

.home-proof-number {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(125, 211, 252, 0.34);
    border-radius: 999px;
    background: rgba(8, 13, 24, 0.92);
    color: var(--accent);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.08em;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.home-proof-point h3 {
    margin-bottom: 6px;
    font-size: 20px;
    letter-spacing: -0.025em;
}

.home-proof-point p {
    max-width: 46ch;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

/* --------------------------------------------- */
/* Home final CTA                                */
/* --------------------------------------------- */

.home-final-cta-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    align-items: center;
    padding: 44px;
    border: 1px solid rgba(125, 211, 252, 0.24);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 82% 20%, rgba(125, 211, 252, 0.18), transparent 34%),
        radial-gradient(circle at 12% 90%, rgba(255, 255, 255, 0.08), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035));
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.home-final-cta-card::before {
    content: "";
    position: absolute;
    left: 34px;
    right: 34px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.58), transparent);
}

.home-final-cta-content {
    max-width: 760px;
}

.home-final-cta-content h2 {
    margin-bottom: 14px;
}

.home-final-cta-content p {
    max-width: 720px;
    margin: 0;
}

.home-final-cta-actions {
    display: grid;
    gap: 12px;
    min-width: 240px;
}

.home-final-cta-actions .btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
    overflow: hidden;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease,
        color 180ms ease;
}

.home-final-cta-actions .btn:hover {
    transform: translateY(-2px);
}

.home-final-cta-actions .btn-primary {
    border: 1px solid rgba(125, 211, 252, 0.55);
    background: linear-gradient(135deg, var(--accent), #dff8ff);
    color: var(--dark-text);
    box-shadow:
        0 14px 34px rgba(125, 211, 252, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.home-final-cta-actions .btn-primary:hover {
    box-shadow:
        0 18px 46px rgba(125, 211, 252, 0.28),
        0 0 0 6px rgba(125, 211, 252, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.home-final-cta-actions .btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
    color: var(--text);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-final-cta-actions .btn-secondary:hover {
    border-color: rgba(125, 211, 252, 0.38);
    color: var(--accent);
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.24),
        0 0 0 6px rgba(125, 211, 252, 0.075),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}


/* --------------------------------------------- */
/* Home bottom responsive                        */
/* --------------------------------------------- */

@media (max-width: 900px) {
    .home-proof-card,
    .home-final-cta-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 34px;
    }

    .home-final-cta-actions {
        min-width: 0;
    }
}

@media (max-width: 560px) {
    .home-proof-card,
    .home-final-cta-card {
        padding: 24px;
    }

    .home-proof-points article {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .home-intro {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}