@font-face {
    font-family: "Lufga";
    src: local("Lufga"), local("Lufga Regular");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blue: #0b5cfc;
    --blue-dark: #074acb;
    --ink: #1b1f2e;
    --muted: #747887;
    --line: #e5e7ec;
    --soft: #f5f6f8;
    --white: #fff;
    --shadow: 0 16px 50px rgba(27, 31, 46, .08);
    --radius: 28px;
    --font: "Lufga", "Avenir Next", "Segoe UI", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--ink);
    font-family: var(--font);
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

button, input, select, textarea {
    font: inherit;
}

nav {
    z-index: 100;
    width: min(1100px, calc(100% - 40px));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    width: 200px;
    height: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--ink);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 600;
    transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue);
}

.btn-nav {
    padding: 11px 19px;
    border-radius: 12px;
    background: var(--ink);
    color: var(--white) !important;
}

.hero {
    width: min(1100px, calc(100% - 40px));
    min-height: 530px;
    margin: 6px auto 0;
    padding: 68px 64px;
    position: relative;
    overflow: hidden;
    border-radius: 38px;
    background: var(--soft);
}

.hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -130px;
    top: -180px;
    border-radius: 50%;
    background: var(--blue);
}

.hero::after {
    content: "";
    position: absolute;
    width: 270px;
    height: 270px;
    right: 120px;
    bottom: -180px;
    border: 52px solid rgba(11, 92, 252, .1);
    border-radius: 50%;
}

.hero-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 310px;
    align-items: center;
    gap: 70px;
}

.hero-eyebrow,
.section-eyebrow,
.badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 9px;
    background: var(--white);
    color: var(--blue);
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 620px;
    margin: 21px 0 20px;
    font-size: clamp(2.7rem, 5vw, 4.45rem);
    line-height: .98;
    letter-spacing: -.065em;
}

.hero h1 em,
.contact h2 em {
    color: var(--blue);
    font-style: normal;
}

.hero-sub {
    max-width: 530px;
    color: var(--muted);
    font-size: 1rem;
}

.hero-ctas {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-primary,
.btn-secondary,
.btn-submit {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.btn-primary,
.btn-submit {
    background: var(--blue);
    color: var(--white);
}

.btn-primary:hover,
.btn-submit:hover {
    transform: translateY(-2px);
    background: var(--blue-dark);
    box-shadow: 0 12px 28px rgba(11, 92, 252, .22);
}

.btn-secondary {
    border-color: var(--line);
    background: var(--white);
    color: var(--ink);
}

.hero-visual {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.hero-app-icon {
    width: 190px;
    aspect-ratio: 1;
    margin-left: auto;
    border: 12px solid rgba(255, 255, 255, .25);
    border-radius: 60px;
    box-shadow: 0 30px 60px rgba(3, 38, 109, .25);
    transform: rotate(4deg);
}

.hero-app-icon img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 48px;
}

.hero-stat-cards {
    display: grid;
    gap: 8px;
}

.stat-card {
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 13px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 25px rgba(7, 45, 120, .1);
}

.stat-card strong {
    color: var(--blue);
    font-size: 1rem;
}

.stat-card span {
    color: var(--muted);
    font-size: .73rem;
}

.features,
.products,
.contact {
    padding: 88px 20px;
}

.section-inner,
.contact-inner,
.footer-top,
.footer-bottom {
    width: min(1000px, 100%);
    margin: 0 auto;
}

.section-eyebrow {
    padding-left: 0;
    background: transparent;
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
    align-items: end;
    gap: 50px;
}

.section-title {
    max-width: 690px;
    margin-top: 15px;
    font-size: clamp(2.15rem, 3.7vw, 3.35rem);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.section-sub {
    max-width: 600px;
    margin: 0 0 5px;
    color: var(--muted);
}

.features-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.feature-card {
    min-height: 230px;
    padding: 28px;
    display: grid;
    grid-template-rows: 48px auto 1fr;
    align-content: start;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.feature-card:nth-child(1),
.feature-card:nth-child(4) {
    background: var(--soft);
}

.feature-card:hover {
    z-index: 1;
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eaf1ff;
}

.feature-icon svg {
    width: 23px;
    height: 23px;
}

.feature-card h3 {
    margin: 0;
    font-size: 1.1rem;
}

.feature-card p {
    max-width: 360px;
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
}

.products {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
    padding: 50px;
    border-radius: 38px;
    background: var(--soft);
}

.products-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.product-card {
    min-height: 610px;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 0;
    border-radius: 25px;
    background: var(--white);
    box-shadow: 0 12px 35px rgba(27, 31, 46, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.product-header {
    min-height: 150px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.product-header::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -45px;
    bottom: -75px;
    border: 28px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
}

.product-ah .product-header {
    background: #e1f8e9;
}

.product-tv .product-header {
    background: #eaf3ff;
}

.product-logo {
    display: block;
    width: auto;
    object-fit: contain;
    object-position: left center;
}

.product-logo.ah {
    height: 90px;
}

.product-logo.tv {
    width: min(245px, 78%);
    height: auto;
}

.product-desc {
    min-height: 0;
    margin: 0 30px;
    padding: 26px 0 22px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: .9rem;
}

.product-features {
    padding: 24px 30px 4px;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: start;
    gap: 15px 18px;
}

.product-features li {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .81rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.check {
    width: 19px;
    height: 19px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf1ff;
    color: var(--blue);
}

.link-more {
    width: calc(100% - 60px);
    min-height: 48px;
    margin: auto 30px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-size: .88rem;
    font-weight: 800;
    padding: 0 16px;
    border-radius: 12px;
    background: var(--soft);
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.product-ah .check {
    background: #dff7e8;
    color: #01b155;
}

.product-ah .link-more {
    background: #e1f8e9;
    color: #01a552;
}

.product-ah .link-more:hover {
    background: #01b155;
    color: var(--white);
}

.product-tv .link-more:hover {
    background: var(--blue);
    color: var(--white);
}

.contact {
    padding-top: 88px;
}

.contact-inner {
    padding: 62px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 60px;
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    background: linear-gradient(135deg, var(--ink) 0%, #202943 100%);
    color: var(--white);
}

.contact-left .badge {
    background: rgba(255, 255, 255, .08);
}

.contact-left h2 {
    margin: 20px 0;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.05;
    letter-spacing: -.05em;
}

.contact-left p {
    color: #aeb2bf;
    font-size: .9rem;
}

.contact-inner::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    left: -170px;
    bottom: -220px;
    border: 60px solid rgba(11, 92, 252, .28);
    border-radius: 50%;
}

.contact-left,
.contact-inner > div:last-child {
    position: relative;
    z-index: 1;
}

.contact-form {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .07);
}

.contact-form .full {
    grid-column: 1 / -1;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    color: #c9ccd4;
    font-size: .71rem;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 9px;
    outline: none;
    background: rgba(255, 255, 255, .06);
    color: var(--white);
    font-size: .8rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--blue);
}

.form-field textarea {
    min-height: 90px;
    resize: vertical;
}

.form-field option {
    color: var(--ink);
}

.btn-submit {
    grid-column: 1 / -1;
    margin-top: 4px;
}

footer {
    margin-top: 70px;
    padding: 56px 20px 25px;
    background: var(--soft);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr .6fr 1fr;
    gap: 70px;
}

.footer-brand .logo {
    width: 170px;
    height: auto;
}

.footer-brand p {
    max-width: 330px;
    margin-top: 19px;
    color: var(--muted);
    font-size: .82rem;
}

.footer-col h4 {
    margin-bottom: 15px;
    font-size: .77rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
    display: grid;
    gap: 9px;
}

.footer-col a,
.contact-item {
    color: var(--muted);
    font-size: .78rem;
    text-decoration: none;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    margin-top: 42px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .72rem;
}

.footer-bottom a {
    color: inherit;
    text-decoration: none;
}

.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity .7s cubic-bezier(.2, .7, .2, 1),
        transform .7s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-ready [data-reveal="left"] {
    transform: translateX(-38px);
}

.reveal-ready [data-reveal="right"] {
    transform: translateX(38px);
}

.reveal-ready [data-reveal="scale"] {
    transform: scale(.92);
}

.reveal-ready [data-reveal].visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 900px) {
    nav {
        height: 70px;
    }

    .nav-links li:not(:last-child) {
        display: none;
    }

    .nav-logo img {
        width: 135px;
    }

    .hero {
        padding: 60px 40px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .section-head {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .section-sub {
        margin: 0;
    }

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

    .products {
        padding: 62px 32px;
    }

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

    .product-card {
        min-height: 0;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    nav,
    .hero,
    .products {
        width: min(100% - 24px, 1100px);
    }

    .hero {
        min-height: auto;
        padding: 54px 24px;
        border-radius: 25px;
    }

    .hero::before {
        width: 240px;
        height: 240px;
        right: -160px;
        top: -100px;
    }

    .hero h1 {
        font-size: clamp(2.15rem, 11vw, 2.55rem);
        line-height: 1.02;
        overflow-wrap: anywhere;
    }

    .hero-ctas,
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .features,
    .products,
    .contact {
        padding: 78px 12px;
    }

    .products {
        padding-left: 18px;
        padding-right: 18px;
        border-radius: 25px;
    }

    .section-title,
    .contact-left h2 {
        font-size: clamp(1.9rem, 9.5vw, 2.35rem);
        overflow-wrap: anywhere;
    }

    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 205px;
        padding: 24px;
    }

    .product-features {
        grid-template-columns: 1fr;
        padding-left: 20px;
        padding-right: 20px;
    }

    .product-desc {
        margin-left: 20px;
        margin-right: 20px;
    }

    .link-more {
        width: calc(100% - 40px);
        margin-left: 20px;
        margin-right: 20px;
    }

    .product-header {
        min-height: 135px;
        padding: 24px 20px;
    }

    .product-logo.ah {
        height: 78px;
    }

    .product-desc {
        min-height: 0;
    }

    .contact-inner {
        padding: 32px 20px;
        border-radius: 22px;
    }

    .contact-form {
        padding: 14px;
        grid-template-columns: 1fr;
    }

    .contact-form .full,
    .btn-submit {
        grid-column: 1;
    }

    footer {
        margin-top: 60px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

    .reveal-ready [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
