html {
    scroll-behavior: smooth;
}

.home-page {
    background: #f5f7fb;
}

.home-header {
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #ffffff;
    color: #111827;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.home-hero {
    background:
        radial-gradient(circle at 78% 22%, rgba(125, 141, 246, 0.16), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
    border-bottom: 1px solid var(--border);
}

.home-hero-inner {
    min-height: 390px;
    padding-top: 68px;
    padding-bottom: 62px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
}

.home-hero-copy {
    max-width: 760px;
}

.section-eyebrow {
    margin-bottom: 14px;
    color: #6574df;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.home-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(46px, 6.2vw, 76px);
    line-height: 0.99;
    letter-spacing: -0.055em;
}

.home-hero p {
    max-width: 650px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.65;
}

.hero-jump {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 17px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-weight: 700;
}

.hero-jump:hover {
    background: #ffffff;
}

.applications-section {
    padding: 70px 0 86px;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 30px;
}

.section-heading h2,
.about-section h2,
.contact-section h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.section-heading p,
.about-copy p,
.contact-panel p {
    color: var(--muted);
    line-height: 1.7;
}

.section-heading p {
    margin: 12px 0 0;
    font-size: 17px;
}

.app-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.showcase-card {
    min-height: 355px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #ffffff;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(17, 24, 39, 0.035);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.showcase-card:hover {
    transform: translateY(-4px);
    border-color: #d5d9e5;
    box-shadow: 0 18px 42px rgba(17, 24, 39, 0.09);
}

.showcase-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.showcase-icon {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 10px 26px rgba(17, 24, 39, 0.13);
}

.showcase-icon-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #eef1ff 0%, #ffffff 100%);
    color: #5665d0;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.showcase-open-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f5f7fb;
    color: var(--muted);
    font-size: 18px;
    transition: background 0.18s ease, color 0.18s ease;
}

.showcase-card:hover .showcase-open-icon {
    background: #111827;
    color: #ffffff;
}

.showcase-card-body {
    margin-top: 32px;
}

.showcase-card-body h3 {
    margin: 0;
    font-size: 27px;
    letter-spacing: -0.03em;
}

.showcase-card-body p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.65;
    font-size: 16px;
}

.about-section {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 70px;
    align-items: start;
}

.about-copy p {
    margin: 1px 0 22px;
    font-size: 18px;
}

.capabilities {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f3f5ff;
    color: #5665d0;
    font-size: 14px;
    font-weight: 800;
}

.contact-section {
    padding: 66px 0 74px;
}

.contact-panel {
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.contact-panel p {
    max-width: 650px;
    margin: 10px 0 0;
    font-size: 17px;
}

.contact-email {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 15px 19px;
    border-radius: 10px;
    background: #111827;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.contact-email:hover {
    background: #202938;
}

.footer-contact {
    text-decoration: none;
}

.footer-contact:hover {
    color: var(--text);
}

@media (max-width: 840px) {
    .home-header .header-inner {
        gap: 16px;
    }

    .home-header .language {
        margin-left: auto;
    }

    .home-header .menu-toggle {
        display: block;
    }

    .home-header .main-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        padding: 12px 20px 18px;
        flex-direction: column;
        align-items: stretch;
        background: #111827;
        border-top: 1px solid #273142;
    }

    .home-header .main-nav.open {
        display: flex;
    }

    .home-header .main-nav a {
        text-align: center;
    }

    .home-hero-inner {
        min-height: 0;
        padding-top: 54px;
        padding-bottom: 48px;
        display: block;
    }

    .hero-jump {
        margin-top: 28px;
    }

    .app-showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-card {
        min-height: 285px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .home-header .header-inner {
        min-height: 64px;
        padding: 0 16px;
    }

    .home-brand-mark {
        width: 34px;
        height: 34px;
        border-radius: 9px;
    }

    .home-header .brand-name {
        font-size: 18px;
    }

    .home-header .language select {
        min-width: 0;
        width: 96px;
        padding: 9px 24px 9px 10px;
        font-size: 13px;
    }

    .home-header .main-nav {
        top: 64px;
    }

    .content-width {
        padding-left: 18px;
        padding-right: 18px;
    }

    .home-hero-inner {
        padding-top: 42px;
        padding-bottom: 38px;
    }

    .home-hero h1 {
        font-size: clamp(40px, 13vw, 58px);
    }

    .home-hero p {
        margin-top: 20px;
        font-size: 17px;
    }

    .applications-section {
        padding: 46px 0 60px;
    }

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

    .showcase-card {
        min-height: 260px;
        padding: 22px;
        border-radius: 17px;
    }

    .showcase-icon {
        width: 74px;
        height: 74px;
        border-radius: 18px;
    }

    .showcase-card-body {
        margin-top: 24px;
    }

    .about-section {
        padding: 58px 0;
    }

    .contact-section {
        padding: 50px 0 58px;
    }

    .contact-email {
        width: 100%;
        justify-content: space-between;
    }

    .home-footer .footer-inner {
        padding-left: 18px;
        padding-right: 18px;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}
