:root {
    --bg: #0c1015;
    --primary: #6842ff;
    --primary-light: #8a6aff;
    --text: #10141a;
    --muted: #5a6676;
    --surface: #ffffff;
    --surface-alt: #f4f7fb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--surface);
    line-height: 1.6;
}

img {
    max-width: 100%;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.hero {
    background: linear-gradient(140deg, #160f2b, #0d1726 60%, #081421 100%);
    color: #f8fafe;
    padding: 6rem 0 5rem;
}

.hero__content {
    max-width: 560px;
}

.hero__content h1 {
    font-size: clamp(2.5rem, 5vw, 3.4rem);
    margin: 0 0 1rem;
}

.subtitle {
    font-size: 1.15rem;
    color: rgba(241, 245, 249, 0.85);
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 15px 30px rgba(104, 66, 255, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(104, 66, 255, 0.35);
}

.button--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: none;
}

.button--ghost:hover {
    border-color: white;
}

.hero__image {
    width: clamp(280px, 32vw, 360px);
    height: clamp(260px, 30vw, 320px);
    margin-top: 2rem;
    margin-left: auto;
    border-radius: 36px;
    background: linear-gradient(160deg, rgba(104, 66, 255, 0.65), rgba(46, 213, 255, 0.3));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 25px 60px rgba(8, 14, 64, 0.45);
}

.section {
    padding: 4.5rem 0;
}

.section--alt {
    background: var(--surface-alt);
}

.section h2 {
    margin-top: 0;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.grid--tech {
    gap: 1.2rem;
}

.card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.card--compact {
    padding: 1.4rem 1.5rem;
}

.screenshot-group {
    display: grid;
    gap: 2rem;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.screenshot-copy p {
    margin-top: 0;
}

.steps {
    counter-reset: steps;
    display: grid;
    gap: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.steps li {
    padding-left: 3.2rem;
    position: relative;
}

.steps li::before {
    counter-increment: steps;
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(104, 66, 255, 0.25);
}

.footer {
    background: #070b11;
    color: rgba(255, 255, 255, 0.8);
    padding: 2.5rem 0;
}

.footer__content {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: center;
}

.footer__title {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #fff;
}

.footer__links {
    display: flex;
    gap: 1.2rem;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.subpage-header {
    background: linear-gradient(160deg, #160f2b, #0f172a 70%, #07111f);
    color: #f1f5f9;
    padding: 4rem 0 3rem;
}

.subpage-header h1 {
    margin: 1rem 0 0.3rem;
}

.breadcrumb {
    color: rgba(241, 245, 249, 0.8);
    font-size: 0.9rem;
}

.policy {
    padding: 3rem 0 4rem;
    max-width: 820px;
}

.policy section + section {
    margin-top: 2rem;
}

.policy ul {
    margin: 0.8rem 0 0;
    padding-left: 1.2rem;
}

@media (max-width: 780px) {
    .hero {
        padding-top: 5rem;
    }

    .hero__image {
        margin-left: 0;
    }

    .cta-group {
        width: 100%;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background: #05070b;
        color: rgba(237, 242, 247, 0.92);
    }

    .card {
        background: #0f172a;
        color: rgba(226, 232, 240, 0.95);
        box-shadow: 0 20px 45px rgba(8, 13, 36, 0.55);
    }

    .section--alt {
        background: #0a101b;
    }

    a {
        color: var(--primary-light);
    }

    .policy {
        color: rgba(226, 232, 240, 0.95);
    }
}
