﻿:root {
    --background-one: #4f46e5;
    --background-two: #312e81;
    --accent: #7c3aed;
    --text: #172033;
    --muted: #64748b;
    --surface: rgba(255, 255, 255, 0.88);
    --border: rgba(15, 23, 42, 0.10);
    --radius: 23px;
    --hero-padding: 79px;
    --title-size: 40px;
    --card-padding: 36px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        linear-gradient(
            135deg,
            var(--background-one),
            var(--background-two)
        );
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.site-header {
    width: min(1120px, calc(100% - 32px));
    margin: 18px auto 0;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
     background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(14px);
}

.brand {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

nav {
    display: flex;
    gap: 22px;
}

nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
}

nav a:hover {
    color: var(--accent);
}

.hero {
    width: min(1120px, calc(100% - 32px));
    min-height: 540px;
    margin: 18px auto;
    padding: var(--hero-padding);
    display: grid;
    place-items: center;
    text-align: center;
     background:#ffffff;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 8px);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.09);
    backdrop-filter: blur(15px);
}

.hero-content {
    width: min(760px, 100%);
}

.eyebrow,
.section-heading span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 20px;
    font-size: clamp(40px, 7vw, var(--title-size));
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.hero p {
    max-width: 650px;
    margin: 0 auto 30px;
    color: var(--muted);
    font-size: 17px;
}

.primary-button,
.card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-weight: 750;
    text-decoration: none;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}

.primary-button {
    padding: 13px 23px;
    color: #ffffff;
    background: var(--accent);
    box-shadow: 0 12px 26px color-mix(
        in srgb,
        var(--accent) 28%,
        transparent
    );
}

.primary-button:hover,
.card-button:hover {
    transform: translateY(-2px);
}

.section {
    width: min(1120px, calc(100% - 32px));
    margin: 72px auto;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2,
.about h2 {
    margin-bottom: 0;
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    padding: var(--card-padding);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
}

.card-number {
    width: 42px;
    height: 42px;
    margin-bottom: 30px;
    display: grid;
    place-items: center;
    color: var(--accent);
    background: color-mix(
        in srgb,
        var(--accent) 10%,
        #ffffff
    );
    border-radius: 50%;
    font-size: 12px;
    font-weight: 850;
}

.card h3 {
    margin-bottom: 10px;
    font-size: 21px;
}

.card p,
.about p {
    color: var(--muted);
}

.card-button {
    padding: 10px 15px;
    color: var(--accent);
    background: color-mix(
        in srgb,
        var(--accent) 9%,
        #ffffff
    );
}

.about {
    padding: 36px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.about p {
    margin-bottom: 0;
}

footer {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 38px;
    color: var(--muted);
    text-align: center;
    font-size: 13px;
}

footer p {
    margin: 0;
}

@media (max-width: 760px) {
    .site-header {
        padding: 14px 16px;
    }

    nav {
        gap: 13px;
    }

    nav a {
        font-size: 13px;
    }

    .hero {
        min-height: 470px;
        padding: 45px 24px;
    }

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

    .about {
        padding: 27px;
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 460px) {
    nav a:last-child {
        display: none;
    }

    .hero {
        min-height: 440px;
    }
}
