* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #172033;
    background: #ffffff;
    line-height: 1.6;
}

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

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


/* =========================
   HEADER
   ========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e8ebf0;
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.main-nav {
    display: none;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4d586b;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #155eef;
}


/* =========================
   HERO
   ========================= */

.hero {
    background:
        linear-gradient(
            135deg,
            #f5f8ff 0%,
            #ffffff 55%,
            #eef5ff 100%
        );
    padding: 76px 0 84px;
    border-bottom: 1px solid #edf0f5;
}

.hero-content {
    max-width: 850px;
}

.eyebrow {
    margin: 0 0 12px;
    color: #155eef;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(2.5rem, 10vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.hero-text {
    max-width: 720px;
    margin: 24px 0 0;
    color: #566176;
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 32px;
}


/* =========================
   BUTTONS
   ========================= */

.button {
    display: inline-flex;
    min-height: 50px;
    padding: 13px 20px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

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

.button-primary {
    color: #ffffff;
    background: #155eef;
    box-shadow: 0 8px 20px rgba(21, 94, 239, 0.18);
}

.button-primary:hover {
    background: #0f4dcc;
    box-shadow: 0 12px 25px rgba(21, 94, 239, 0.24);
}

.button-secondary {
    color: #172033;
    background: #ffffff;
    border: 1px solid #d9dee8;
}

.button-secondary:hover {
    background: #f7f9fc;
}


/* =========================
   SECTIONS
   ========================= */

.section {
    padding: 72px 0;
}

.section-light {
    background: #f7f9fc;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.section-heading h2,
.demo-card h2,
.contact-card h2 {
    margin: 0;
    font-size: clamp(2rem, 6vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-heading > p:last-child {
    margin-top: 18px;
    color: #667085;
}


/* =========================
   SERVICE CARDS
   ========================= */

.solutions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.solution {
    padding: 26px;
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(23, 32, 51, 0.04);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.solution:hover {
    transform: translateY(-4px);
    border-color: #cbd7ee;
    box-shadow: 0 14px 30px rgba(23, 32, 51, 0.08);
}

.solution-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 12px;
    color: #155eef;
    background: #edf4ff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.solution h3 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.3;
}

.solution p {
    margin: 10px 0 0;
    color: #667085;
    font-size: 0.96rem;
}


/* =========================
   BENEFITS
   ========================= */

.benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.benefit {
    padding: 26px;
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 16px;
}

.benefit h3 {
    margin: 0;
    font-size: 1.2rem;
}

.benefit p {
    margin: 10px 0 0;
    color: #667085;
}


/* =========================
   DEMO
   ========================= */

.demo-card {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 32px;
    border-radius: 20px;
    background: #172033;
    color: #ffffff;
}

.demo-card .eyebrow {
    color: #8fb5ff;
}

.demo-card h2 {
    margin-top: 0;
}

.demo-card p:not(.eyebrow) {
    max-width: 650px;
    margin-bottom: 0;
    color: #c7cfdd;
}

.demo-card .button {
    align-self: flex-start;
}


/* =========================
   CONTACT
   ========================= */

.contact-section {
    padding-top: 40px;
}

.contact-card {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.contact-card p:not(.eyebrow) {
    max-width: 680px;
    margin: 20px auto 28px;
    color: #667085;
}

.contact-card .button {
    width: 100%;
}


/* =========================
   FOOTER
   ========================= */

.site-footer {
    padding: 34px 0;
    background: #f7f9fc;
    border-top: 1px solid #e5e9f0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-inner strong {
    font-size: 1.1rem;
}

.footer-inner p {
    margin: 4px 0 0;
    color: #667085;
    font-size: 0.9rem;
}


/* =========================
   TABLET
   ========================= */

@media (min-width: 640px) {

    .container {
        width: min(1120px, calc(100% - 48px));
    }

    .hero {
        padding: 100px 0 110px;
    }

    .hero-actions {
        flex-direction: row;
        align-items: center;
    }

    .hero-actions .button {
        width: auto;
    }

    .solutions {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits {
        grid-template-columns: repeat(3, 1fr);
    }

    .demo-card {
        padding: 42px;
    }

    .contact-card .button {
        width: auto;
    }

    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}


/* =========================
   DESKTOP
   ========================= */

@media (min-width: 900px) {

    .container {
        width: min(1120px, calc(100% - 64px));
    }

    .header-inner {
        min-height: 76px;
    }

    .main-nav {
        display: flex;
        align-items: center;
        gap: 28px;
    }

    .hero {
        padding: 125px 0 135px;
    }

    .hero-text {
        font-size: 1.18rem;
    }

    .solutions {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .solution {
        padding: 30px;
    }

    .section {
        padding: 96px 0;
    }

    .demo-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 48px;
    }

    .contact-section {
        padding-bottom: 110px;
    }
}


/* =========================
   LARGE DESKTOP
   ========================= */

@media (min-width: 1200px) {

    .hero h1 {
        font-size: 5.2rem;
    }

    .solutions {
        grid-template-columns: repeat(4, 1fr);
    }

    .solution:last-child {
        grid-column: span 2;
    }
}


/* =========================
   REDUCED MOTION
   ========================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}
