:root {
    color-scheme: dark;
    --ink: #f7f1e8;
    --muted: #d9cdbf;
    --gold: #d7ad66;
    --teal: #8fd6d0;
    --violet: #9d8cff;
    --panel: rgba(12, 16, 18, 0.5);
    --line: rgba(255, 255, 255, 0.22);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100svh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #101214;
}

.background-slider {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: #101214;
}

.background-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-image: var(--slide-image);
    background-position: center;
    background-size: cover;
    transform: scale(1.045);
    transition: opacity 1200ms ease, transform 7600ms ease;
    will-change: opacity, transform;
}

.background-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(4, 6, 8, 0.88) 0%, rgba(4, 6, 8, 0.7) 44%, rgba(4, 6, 8, 0.24) 100%),
        linear-gradient(180deg, rgba(4, 6, 8, 0.28) 0%, rgba(4, 6, 8, 0.78) 100%);
}

.slider-controls {
    position: fixed;
    left: clamp(28px, 5vw, 72px);
    bottom: clamp(20px, 4vw, 44px);
    z-index: 2;
    display: flex;
    gap: 9px;
    align-items: center;
}

.slider-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    color: inherit;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    transition: width 180ms ease, background 180ms ease, border-color 180ms ease;
}

.slider-dot.is-active,
.slider-dot[aria-current="true"] {
    width: 30px;
    border-color: rgba(215, 173, 102, 0.95);
    background: var(--gold);
}

.slider-dot:focus-visible {
    outline: 3px solid rgba(143, 214, 208, 0.85);
    outline-offset: 4px;
}

.landing-shell {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100svh;
    align-items: center;
    padding: clamp(28px, 5vw, 72px);
}

.landing-content {
    width: min(100%, 760px);
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(2.6rem, 7vw, 5.65rem);
    line-height: 0.95;
    letter-spacing: 0;
}

.intro {
    max-width: 560px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.65;
}

.service-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: clamp(32px, 5vw, 48px);
}

.service-button {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    color: #fffaf2;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 18px 34px rgba(0, 0, 0, 0.24);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.service-button:hover,
.service-button:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 24px 42px rgba(0, 0, 0, 0.3);
}

.service-button:focus-visible {
    outline: 3px solid rgba(143, 214, 208, 0.85);
    outline-offset: 4px;
}

.service-icon {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
}

.service-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.service-button-crm .service-icon {
    color: var(--gold);
}

.service-button-connect .service-icon {
    color: var(--teal);
}

.service-button-support .service-icon {
    color: var(--violet);
}

@media (max-width: 760px) {
    .background-slide {
        background-position: 58% center;
    }

    .slider-controls {
        top: 18px;
        right: 18px;
        bottom: auto;
        left: auto;
    }

    .landing-shell {
        align-items: flex-end;
        padding: 18px;
    }

    .landing-content {
        padding: 22px;
    }

    .service-actions {
        grid-template-columns: 1fr;
    }

    .service-button {
        min-height: 64px;
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }

    .background-slide {
        transform: none !important;
    }
}
