:root {
    --hx-red: #dc2626;
    --hx-red-dark: #b91c1c;
    --hx-red-soft: #fee2e2;
    --hx-ink: #1f2937;
    --hx-muted: #5b6472;
    --hx-line: #e5e7eb;
    --hx-soft: #f9fafb;
    --hx-dark: #1f2937;
    --hx-shadow: 0 18px 42px rgba(31, 41, 55, 0.12);
}

html {
    scroll-behavior: smooth;
}

.hx-container {
    width: min(1180px, calc(100vw - 2rem));
    margin: 0 auto;
}

.hx-hero {
    position: relative;
    min-height: 74vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.hx-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hx-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.86), rgba(31, 41, 55, 0.62), rgba(31, 41, 55, 0.2));
}

.hx-hero__content {
    position: relative;
    padding: 5rem 0 4.5rem;
}

.hx-badge,
.hx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--hx-red);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hx-badge {
    color: #fecaca;
}

.hx-badge::before,
.hx-eyebrow::before {
    content: "";
    width: 2.2rem;
    height: 2px;
    background: currentColor;
}

.hx-hero h1 {
    margin: 1rem 0 1.1rem;
    max-width: 780px;
    font-size: 5rem;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0;
}

.hx-hero p {
    max-width: 720px;
    margin: 0 0 1.7rem;
    color: #f3f4f6;
    font-size: 1.15rem;
    line-height: 1.75;
}

.hx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.78rem 1.15rem;
    border-radius: 0.5rem;
    font-weight: 700;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.hx-btn:hover {
    transform: translateY(-1px);
}

.hx-btn--primary {
    color: #fff;
    background: var(--hx-red);
    box-shadow: 0 14px 28px rgba(220, 38, 38, 0.22);
}

.hx-btn--primary:hover {
    background: var(--hx-red-dark);
}

.hx-btn--secondary {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.86);
}

.hx-btn--secondary:hover {
    color: var(--hx-ink);
    background: #fff;
}

.hx-btn--dark {
    color: #fff;
    background: var(--hx-dark);
}

.hx-section {
    padding: 4.5rem 0;
    scroll-margin-top: 5rem;
}

.hx-section--white {
    background: #fff;
}

.hx-section--pattern {
    background:
        radial-gradient(circle at 8% 18%, rgba(220, 38, 38, 0.08), transparent 24rem),
        linear-gradient(180deg, #ffffff 0%, #f9fafb 52%, #f3f4f6 100%);
}

.hx-section--pattern .hx-image-card {
    box-shadow: 0 20px 44px rgba(31, 41, 55, 0.16);
}

.hx-section--soft {
    background: var(--hx-soft);
}

.hx-section--dark {
    background: var(--hx-dark);
}

.hx-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 3rem;
    align-items: center;
}

.hx-split--reverse {
    grid-template-columns: minmax(360px, 1.05fr) minmax(0, 0.95fr);
}

.hx-split--reverse .hx-copy {
    order: 2;
}

.hx-copy h2,
.hx-section-head h2,
.hx-app-band h2,
.hx-final h2 {
    margin: 0.75rem 0 1rem;
    color: var(--hx-ink);
    font-size: 3.2rem;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: 0;
}

.hx-copy p,
.hx-section-head p,
.hx-app-band p,
.hx-final p {
    color: var(--hx-muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.hx-image-card {
    margin: 0;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: var(--hx-shadow);
    background: #fff;
}

.hx-image-card img,
.hx-feature img,
.hx-app-band > img,
.hx-final > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hx-image-card {
    aspect-ratio: 16 / 9;
}

.hx-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.6rem;
}

.hx-stat-row > div {
    padding: 1.15rem;
    border: 1px solid var(--hx-line);
    border-radius: 0.5rem;
    background: #fff;
}

.hx-stat-row strong {
    display: block;
    color: var(--hx-red);
    font-size: 1.8rem;
    line-height: 1;
}

.hx-stat-row span {
    display: block;
    margin-top: 0.45rem;
    color: var(--hx-muted);
    font-size: 0.9rem;
}

.hx-section-head {
    max-width: 780px;
    margin-bottom: 2rem;
}

.hx-section-head--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.hx-section-head--center .hx-eyebrow::before {
    display: none;
}

.hx-problem-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
    gap: 1.5rem;
    align-items: stretch;
}

.hx-card-grid {
    display: grid;
    gap: 1rem;
}

.hx-card-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hx-card {
    padding: 1.25rem;
    border: 1px solid var(--hx-line);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 10px 26px rgba(31, 41, 55, 0.06);
}

.hx-card h3,
.hx-feature h3 {
    margin: 0;
    color: var(--hx-ink);
    font-size: 1.08rem;
    font-weight: 800;
}

.hx-card__top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.7rem;
}

.hx-card__icon,
.hx-platform-list__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: var(--hx-red-soft);
    color: var(--hx-red);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.hx-card p,
.hx-feature p {
    margin: 0;
    color: var(--hx-muted);
    line-height: 1.65;
}

.hx-platform-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.25rem;
}

.hx-platform-list article {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid var(--hx-line);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 10px 24px rgba(31, 41, 55, 0.055);
}

.hx-platform-list strong {
    display: block;
    color: var(--hx-ink);
    margin-bottom: 0.2rem;
}

.hx-platform-list span:not(.hx-platform-list__icon) {
    display: block;
    color: var(--hx-muted);
    line-height: 1.6;
}

.hx-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.hx-feature {
    overflow: hidden;
    border: 1px solid var(--hx-line);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 10px 26px rgba(31, 41, 55, 0.06);
}

.hx-feature img {
    height: 11.5rem;
}

.hx-feature div {
    padding: 1rem;
}

.hx-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.3rem;
}

.hx-chip-list span {
    padding: 0.58rem 0.85rem;
    border: 1px solid var(--hx-line);
    border-radius: 0.5rem;
    background: #fff;
    color: var(--hx-ink);
    font-size: 0.92rem;
    font-weight: 700;
}

.hx-app-band {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: 2rem;
    align-items: center;
    padding: 1.25rem;
    border: 1px solid var(--hx-line);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: var(--hx-shadow);
}

.hx-app-band > img {
    aspect-ratio: 16 / 9;
    border-radius: 0.5rem;
}

.hx-faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    align-items: start;
}

.hx-faq__item {
    overflow: hidden;
    border: 1px solid var(--hx-line);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 10px 24px rgba(31, 41, 55, 0.05);
}

.hx-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 0;
    background: transparent;
    color: var(--hx-ink);
    font: inherit;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.hx-faq__question::after {
    content: "+";
    color: var(--hx-red);
    font-size: 1.35rem;
    line-height: 1;
    transition: transform 160ms ease;
}

.hx-faq__item.is-open .hx-faq__question::after {
    transform: rotate(45deg);
}

.hx-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 220ms ease;
}

.hx-faq__answer p {
    margin: 0;
    padding: 0 1.1rem 1rem;
    color: var(--hx-muted);
    line-height: 1.65;
}

.hx-final {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: center;
    color: #fff;
}

.hx-final > img {
    aspect-ratio: 16 / 9;
    border-radius: 0.5rem;
}

.hx-final h2,
.hx-final p {
    color: #fff;
}

.hx-final p {
    color: #d1d5db;
}

.hx-final .hx-eyebrow {
    color: #fecaca;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 420ms ease, transform 420ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .hx-split,
    .hx-split--reverse,
    .hx-problem-layout,
    .hx-app-band,
    .hx-final {
        grid-template-columns: 1fr;
    }

    .hx-split--reverse .hx-copy {
        order: 0;
    }

    .hx-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .hx-hero {
        min-height: 70vh;
    }

    .hx-hero__overlay {
        background: rgba(17, 24, 39, 0.72);
    }

    .hx-hero h1 {
        font-size: 3rem;
    }

    .hx-copy h2,
    .hx-section-head h2,
    .hx-app-band h2,
    .hx-final h2 {
        font-size: 2.25rem;
    }

    .hx-section {
        padding: 3.5rem 0;
    }

    .hx-stat-row,
    .hx-card-grid--three,
    .hx-platform-list,
    .hx-feature-grid,
    .hx-faq {
        grid-template-columns: 1fr;
    }

    .hx-actions,
    .hx-btn {
        width: 100%;
    }
}
