:root {
    --blue: #2e3192;
    --blue-dark: #1c1f70;
    --cyan: #00aeef;
    --ink: #121826;
    --text: #4b5563;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #f6f8fc;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(18, 24, 38, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--ink);
}

img {
    max-width: 100%;
    display: block;
}

.shell {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

/* Header */

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

.nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand img,
.logo-fallback {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

.logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: white;
    font-weight: 900;
}

.brand strong {
    display: block;
    color: var(--blue);
    font-size: 1.05rem;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    text-decoration: none;
    color: #374151;
    font-weight: 700;
}

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

.nav-cta {
    background: var(--blue);
    color: white !important;
    padding: 10px 18px;
    border-radius: 999px;
}

/* Hero */

.hero {
    padding: 86px 0 76px;
    background:
        radial-gradient(circle at top left, rgba(0, 174, 239, 0.18), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #f3f7ff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 58px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    margin: 0;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(46, 49, 146, 0.08);
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.eyebrow.light {
    background: rgba(255, 255, 255, 0.14);
    color: white;
}

.hero h1 {
    margin: 22px 0 20px;
    max-width: 760px;
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero-lead {
    margin: 0;
    max-width: 680px;
    color: var(--text);
    font-size: 1.15rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
}

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

.secondary {
    background: white;
    color: var(--blue);
    border: 1px solid var(--line);
}

.white {
    background: white;
    color: var(--blue);
}

.outline-white {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.hero-tags span {
    padding: 9px 12px;
    border-radius: 999px;
    background: white;
    border: 1px solid var(--line);
    color: #374151;
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-visual img,
.flyer-fallback {
    width: min(430px, 100%);
    border-radius: 26px;
    background: white;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.hero-visual img {
    padding: 12px;
    max-height: 610px;
    object-fit: cover;
    object-position: top;
}

.flyer-fallback {
    padding: 34px;
}

.flyer-fallback h2 {
    color: var(--blue);
    margin-top: 0;
}

.flyer-fallback li {
    margin-bottom: 10px;
}

/* Trust Strip */

.trust-strip {
    background: var(--blue);
    color: white;
}

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

.trust-grid div {
    padding: 28px 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-grid div:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-grid strong {
    display: block;
    font-size: 1rem;
}

.trust-grid span {
    display: block;
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Shared Sections */

.section {
    padding: 92px 0;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 44px;
}

.section-heading h2,
.compliance-section h2,
.product-grid h2,
.contact-box h2,
.reports-grid h2,
.implementation-grid h2 {
    margin: 18px 0 16px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.section-heading p,
.compliance-section p,
.product-grid p,
.contact-box p,
.reports-grid p,
.implementation-grid p {
    color: var(--text);
    font-size: 1.04rem;
    line-height: 1.8;
}

/* Core Features */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: 0 10px 30px rgba(18, 24, 38, 0.06);
}

.feature-card span {
    color: var(--cyan);
    font-weight: 900;
    font-size: 1.6rem;
}

.feature-card h3 {
    margin: 18px 0 10px;
    font-size: 1.2rem;
}

.feature-card p {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
}

/* Modules */

.modules-section {
    background: #ffffff;
}

.module-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 18px;
}

.module-card {
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--soft);
}

.module-card.large {
    grid-row: span 2;
    background:
        linear-gradient(135deg, rgba(46, 49, 146, 0.96), rgba(0, 174, 239, 0.82));
    color: white;
}

.module-card h3 {
    margin: 0 0 12px;
    font-size: 1.35rem;
}

.module-card p {
    margin: 0 0 20px;
    color: var(--text);
    line-height: 1.7;
}

.module-card.large p {
    color: rgba(255, 255, 255, 0.82);
}

.module-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.module-card li {
    position: relative;
    padding-left: 24px;
    color: #374151;
    font-weight: 700;
}

.module-card.large li {
    color: white;
}

.module-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 900;
}

.module-card.large li::before {
    color: white;
}

/* Reports */

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

.reports-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.report-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.report-tags span {
    padding: 10px 13px;
    border-radius: 999px;
    background: white;
    border: 1px solid var(--line);
    color: #374151;
    font-weight: 800;
    font-size: 0.9rem;
}

.report-panel {
    padding: 28px;
    border-radius: 28px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.report-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.report-panel-header strong {
    color: var(--blue);
    font-size: 1.25rem;
}

.report-panel-header span {
    color: var(--muted);
    font-weight: 700;
}

.report-list {
    display: grid;
    gap: 12px;
}

.report-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    border-radius: 16px;
    background: var(--soft);
    border: 1px solid var(--line);
}

.report-list span {
    font-weight: 700;
    color: #374151;
}

.report-list strong {
    color: var(--blue);
}

/* Operations */

.operations-section {
    background: white;
}

.operations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.operation-item {
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: white;
    box-shadow: 0 10px 30px rgba(18, 24, 38, 0.06);
}

.operation-item span {
    color: var(--cyan);
    font-size: 2rem;
    font-weight: 900;
}

.operation-item h3 {
    margin: 18px 0 10px;
    font-size: 1.15rem;
}

.operation-item p {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
}

/* Compliance */

.compliance-section {
    background: linear-gradient(135deg, var(--blue), #121447);
    color: white;
}

.compliance-section p {
    color: rgba(255, 255, 255, 0.75);
}

.compliance-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.compliance-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.compliance-list div {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-weight: 800;
}

/* Product */

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

.product-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.clean-list {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.clean-list li {
    position: relative;
    padding-left: 30px;
    color: #374151;
    font-weight: 700;
}

.clean-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 900;
}

.software-preview {
    padding: 28px;
    border-radius: 28px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.preview-header,
.preview-table div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.preview-header {
    margin-bottom: 22px;
}

.preview-header strong {
    color: var(--blue);
    font-size: 1.2rem;
}

.preview-header span {
    color: var(--muted);
    font-weight: 700;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}

.preview-stats div {
    padding: 18px;
    border-radius: 16px;
    background: var(--soft);
    border: 1px solid var(--line);
}

.preview-stats small {
    display: block;
    color: var(--muted);
}

.preview-stats strong {
    display: block;
    margin-top: 8px;
    color: var(--blue);
    font-size: 1.5rem;
}

.preview-table {
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
}

.preview-table div {
    padding: 16px;
    border-top: 1px solid var(--line);
}

.preview-table div:first-child {
    border-top: 0;
}

.preview-table strong {
    color: var(--blue);
}

/* Implementation */

.implementation-section {
    background:
        radial-gradient(circle at top left, rgba(0, 174, 239, 0.25), transparent 34%),
        linear-gradient(135deg, var(--blue), #111447);
    color: white;
}

.implementation-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.implementation-grid p {
    color: rgba(255, 255, 255, 0.76);
}

.implementation-steps {
    display: grid;
    gap: 14px;
}

.implementation-steps div {
    display: grid;
    grid-template-columns: 54px 1fr;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.implementation-steps strong {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    color: var(--blue);
    font-size: 1.2rem;
}

.implementation-steps span {
    font-weight: 800;
}

/* Contact */

.contact-section {
    padding: 86px 0;
    background: var(--blue);
}

.contact-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: white;
}

.contact-box p {
    color: rgba(255, 255, 255, 0.76);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

/* Footer */

.footer {
    padding: 34px 0;
    background: #080a24;
    color: white;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer p {
    margin: 6px 0;
    color: rgba(255, 255, 255, 0.68);
}

/* Responsive */

@media (max-width: 980px) {
    .hero-grid,
    .compliance-grid,
    .product-grid,
    .reports-grid,
    .implementation-grid,
    .module-grid {
        grid-template-columns: 1fr;
    }

    .module-card.large {
        grid-row: auto;
    }

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

    .nav-links {
        gap: 16px;
    }
}

@media (max-width: 650px) {
    .shell {
        width: min(100% - 28px, 1160px);
    }

    .nav {
        height: auto;
        min-height: 74px;
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 0;
        gap: 14px;
    }

    .nav-links {
        flex-wrap: wrap;
    }

    .trust-grid,
    .feature-grid,
    .operations-grid,
    .compliance-list,
    .preview-stats {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 56px 0;
    }

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

    .section {
        padding: 68px 0;
    }

    .report-panel-header,
    .report-list div {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-box,
    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-actions {
        justify-content: flex-start;
    }
}

.payroll-processing-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 34px;
}

.payroll-flow-card {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    margin-top: 20px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.payroll-flow-row {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.12);
}

.payroll-flow-row span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: white;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 900;
}

.payroll-flow-row strong {
    color: white;
    font-size: 0.95rem;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
}

.language-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    text-decoration: none;
    color: #374151;
    font-size: 0.82rem;
    font-weight: 800;
}

.language-option img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.12);
}

.language-option.active {
    background: rgba(46, 49, 146, 0.08);
    color: var(--blue);
}

.language-option:hover {
    background: rgba(46, 49, 146, 0.08);
    color: var(--blue);
}