:root {
    --ink: #17142f;
    --muted: #625d78;
    --soft: #f7f8fb;
    --line: #e8e7ef;
    --primary: #3b1f70;
    --primary-dark: #20103f;
    --accent: #22a6b3;
    --success: #16a34a;
    --footer: #111827;
    --white: #ffffff;
    --shadow: 0 22px 60px rgba(26, 18, 56, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--soft);
    font-family: Inter, Arial, sans-serif;
}
a { color: inherit; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding: 0 5vw;
    border-bottom: 1px solid rgba(232, 231, 239, 0.86);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
}

.brand img, .site-footer img {
    display: block;
    width: auto;
    height: 48px;
    object-fit: contain;
}

.brand-text {
    display: inline-grid;
    gap: 0;
    text-decoration: none;
    line-height: 1;
}

.brand-text span {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.brand-text strong {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 0.85rem;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

.site-nav a:hover {
    background: #f0eef8;
    color: var(--primary);
}

.site-nav a.is-active {
    background: #f0eef8;
    color: var(--primary);
}

.site-nav .nav-cta {
    background: var(--primary);
    color: var(--white);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.is-active {
    background: var(--primary-dark);
    color: var(--white);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--primary);
    font-size: 1.35rem;
}

.hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 3rem;
    align-items: center;
    min-height: calc(100vh - 74px);
    padding: 5vw;
    background:
        linear-gradient(135deg, rgba(32, 16, 63, 0.96), rgba(59, 31, 112, 0.92)),
        url("../img/hero-rh.svg") center/cover;
    color: #fff;
}

.hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 18%, rgba(34, 166, 179, 0.28), transparent 30%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.46), rgba(15, 23, 42, 0.08));
    pointer-events: none;
}

.hero > *,
.page-hero > * {
    position: relative;
    z-index: 1;
}

.hero-home {
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.88), rgba(59, 31, 112, 0.76)),
        url("../img/hero-applications.svg") center/cover;
}

.hero-content {
    display: grid;
    gap: 1.35rem;
    max-width: 780px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero .eyebrow { color: #a9f1f3; }
h1, h2, h3, p { margin: 0; }
h1 {
    max-width: 820px;
    font-size: clamp(2.6rem, 5vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.hero h1 { color: #fff; }
h2 {
    color: var(--ink);
    font-size: clamp(2rem, 3.4vw, 3.4rem);
    line-height: 1.04;
    letter-spacing: 0;
}
h3 {
    color: var(--ink);
    font-size: 1.08rem;
}

.hero p {
    max-width: 690px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0 1.1rem;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #082f36;
}
.btn-primary:hover { background: #7be0e7; }
.btn-secondary {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.16); }

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.78);
}
.hero-proof span {
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}
.hero-proof strong { color: #fff; }

.product-panel {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.panel-topbar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 34px;
    color: var(--muted);
}
.panel-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: #ddd8ec;
}
.panel-topbar strong {
    margin-left: auto;
    color: var(--ink);
    font-size: 0.86rem;
}

.nova-product-logo {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff, #f5f7fb);
}

.nova-product-logo img {
    width: min(280px, 100%);
    height: auto;
}

.nova-product-logo p {
    color: var(--muted);
    line-height: 1.55;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
.metric-grid article, .workflow-card, .table-preview {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}
.metric-grid article {
    min-height: 112px;
}
.metric-grid i {
    color: var(--primary);
    font-size: 1.2rem;
}
.metric-grid span, .workflow-card small, .table-preview span {
    color: var(--muted);
    font-size: 0.82rem;
}
.metric-grid strong {
    color: var(--ink);
    font-size: 1.55rem;
}
.workflow-card div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.workflow-card strong { color: var(--primary); }
.progress {
    height: 10px;
    overflow: hidden;
    border-radius: 99px;
    background: #edeaf4;
}
.progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.table-preview > div {
    display: grid;
    grid-template-columns: 1fr 0.5fr 0.75fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
}
.table-preview > div:last-child { border-bottom: 0; }
.table-preview strong {
    color: var(--ink);
    font-size: 0.9rem;
}
.table-preview em {
    width: fit-content;
    padding: 0.25rem 0.45rem;
    border-radius: 999px;
    background: #fff7ed;
    color: #b45309;
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 800;
}
.table-preview em.ok {
    background: #ecfdf5;
    color: var(--success);
}

.section { padding: 5rem 5vw; }
.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 390px;
    display: grid;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(32, 16, 63, 0.96), rgba(59, 31, 112, 0.9)),
        url("../img/hero-rh.svg") center/cover;
    color: #fff;
}

.hero-services {
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(22, 78, 99, 0.74)),
        url("../img/hero-services.svg") center/cover;
}

.hero-applications {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(49, 46, 129, 0.68)),
        url("../img/hero-applications.svg") center/cover;
}

.hero-about {
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(59, 31, 112, 0.72)),
        url("../img/hero-services.svg") center/cover;
}

.hero-contact {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.76)),
        url("../img/hero-services.svg") center/cover;
}

.contact-section {
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.98), rgba(30, 64, 175, 0.9)),
        url("../img/hero-contact.svg") center/cover;
}

.page-hero h1 {
    color: #fff;
}

.page-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.75;
}

.page-hero .eyebrow {
    color: #a9f1f3;
}

.section-heading {
    display: grid;
    gap: 0.8rem;
    max-width: 860px;
    margin-bottom: 2rem;
}
.section-heading p, .security-copy p, .cta p, .site-footer p, .value-grid p, .module-grid p, .timeline p {
    color: var(--muted);
    line-height: 1.7;
}
.value-grid, .module-grid, .feature-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.value-grid article, .module-grid article, .feature-showcase article, .timeline article, .contact-card {
    display: grid;
    gap: 0.75rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}
.value-grid i, .module-grid i, .feature-showcase i, .security-list i {
    color: var(--primary);
    font-size: 1.45rem;
}
.modules { background: #fff; }
.module-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.module-grid article { min-height: 210px; }

.product-focus {
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
    gap: 1rem;
    align-items: stretch;
}

.product-visual {
    display: grid;
    align-content: center;
    gap: 1rem;
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 245, 247, 0.94)),
        url("../img/hero-rh.svg") center/cover;
    box-shadow: var(--shadow);
}

.product-visual img {
    width: min(320px, 100%);
    height: auto;
}

.product-visual p {
    color: var(--muted);
    line-height: 1.7;
}

.product-capabilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.product-capabilities article {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.product-capabilities i {
    color: var(--primary);
    font-size: 1.55rem;
}

.product-capabilities p {
    color: var(--muted);
    line-height: 1.65;
}

.feature-showcase article {
    min-height: 190px;
}

.feature-showcase p {
    color: var(--muted);
    line-height: 1.65;
}

.security {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 2rem;
    align-items: center;
    background: #f0f5f7;
}
.security-copy {
    display: grid;
    gap: 1rem;
}
.security-list {
    display: grid;
    gap: 0.8rem;
}
.security-list div {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid rgba(59, 31, 112, 0.12);
    border-radius: 16px;
    background: #fff;
}
.security-list span {
    color: var(--ink);
    font-weight: 700;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.timeline span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
}

.cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
    gap: 2rem;
    align-items: center;
    background: linear-gradient(135deg, #20103f, #3b1f70);
    color: #fff;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.78); }
.contact-card label {
    display: grid;
    gap: 0.4rem;
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 800;
}
.contact-card input, .contact-card select, .contact-card textarea {
    min-height: 46px;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0 0.8rem;
    color: var(--ink);
    font: inherit;
}

.contact-card textarea {
    min-height: 130px;
    padding: 0.75rem 0.8rem;
    resize: vertical;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-alert {
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
}

.form-alert.success {
    border: 1px solid rgba(22, 163, 74, 0.22);
    background: #ecfdf5;
    color: #166534;
}

.form-alert.error {
    border: 1px solid rgba(220, 38, 38, 0.22);
    background: #fef2f2;
    color: #991b1b;
}
.contact-card button {
    border: 0;
    cursor: pointer;
}
.contact-card small {
    color: var(--muted);
    line-height: 1.5;
}

.site-footer {
    padding: 0 5vw;
    background: var(--footer);
    color: #d1d5db;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(170px, 1fr));
    gap: 2rem;
    padding: 3.5rem 0 2.5rem;
}

.footer-brand,
.footer-column {
    display: grid;
    align-content: start;
    gap: 0.85rem;
}

.footer-brand img {
    height: 52px;
    width: fit-content;
    padding: 0.35rem 0.5rem;
    border-radius: 10px;
    background: #fff;
}

.footer-brand p,
.footer-column span,
.footer-column a,
.footer-bottom span {
    color: #cbd5e1;
    line-height: 1.65;
}

.footer-column h2 {
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-column a {
    text-decoration: none;
}

.footer-column a:hover {
    color: #67e8f9;
}

.footer-contact a,
.footer-contact span {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.footer-social {
    display: flex;
    gap: 0.65rem;
}

.footer-social a {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
}

.footer-social a:hover {
    background: rgba(103, 232, 249, 0.12);
    color: #67e8f9;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 1180px) {
    .hero, .security, .cta { grid-template-columns: 1fr; }
    .module-grid, .feature-showcase, .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-detail { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .site-header { padding: 0 1rem; }
    .brand img { height: 42px; }
    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }
    .site-nav {
        position: absolute;
        top: 74px;
        left: 1rem;
        right: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #fff;
        box-shadow: var(--shadow);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { border-radius: 12px; }
    .hero, .section { padding: 3rem 1rem; }
    .value-grid, .module-grid, .feature-showcase, .timeline, .metric-grid, .product-capabilities { grid-template-columns: 1fr; }
    .product-panel { min-width: 0; }
    .footer-main {
        grid-template-columns: 1fr;
        padding: 2.5rem 0 1.5rem;
    }
    .footer-bottom {
        flex-direction: column;
    }
    .site-footer {
        padding: 0 1rem;
    }
}
