* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #18313b;
    background: #f5f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.epil-page {
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(10, 169, 157, 0.13), transparent 28%),
        radial-gradient(circle at 84% 18%, rgba(49, 112, 202, 0.12), transparent 30%),
        linear-gradient(180deg, #f7fbfb 0%, #eef6f7 100%);
}

.epil-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.epil-hero {
    position: relative;
    min-height: 720px;
    padding: 100px 0 74px;
    color: #effffb;
    background:
        linear-gradient(118deg, rgba(5, 50, 61, 0.96) 0%, rgba(10, 95, 100, 0.92) 52%, rgba(49, 132, 142, 0.86) 100%),
        linear-gradient(180deg, #07323c 0%, #0a5960 100%);
}

.epil-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 58px 58px;
    opacity: 0.72;
}

.epil-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
    gap: 54px;
    align-items: center;
}

.epil-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 54px;
    color: rgba(231, 255, 251, 0.7);
    font-size: 13px;
}

.epil-breadcrumbs a {
    color: rgba(231, 255, 251, 0.86);
}

.epil-kicker,
.epil-section-head span,
.epil-cta-panel span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(119, 226, 213, 0.38);
    border-radius: 4px;
    color: #79f1e2;
    background: rgba(8, 83, 91, 0.5);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.epil-hero h1 {
    max-width: 760px;
    margin: 22px 0 20px;
    font-size: 52px;
    line-height: 1.12;
    letter-spacing: 0;
}

.epil-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(237, 255, 252, 0.82);
    font-size: 18px;
    line-height: 1.9;
}

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

.epil-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 138px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.epil-btn:hover {
    transform: translateY(-2px);
}

.epil-btn-primary {
    color: #05333b;
    background: #7cf3dc;
    box-shadow: 0 16px 34px rgba(2, 30, 36, 0.24);
}

.epil-btn-secondary {
    color: #effffb;
    border: 1px solid rgba(199, 246, 240, 0.44);
    background: rgba(255, 255, 255, 0.08);
}

.epil-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.epil-hero-badges span {
    padding: 8px 12px;
    border: 1px solid rgba(198, 240, 235, 0.22);
    border-radius: 4px;
    color: rgba(242, 255, 253, 0.86);
    background: rgba(255, 255, 255, 0.08);
    font-size: 13px;
    font-weight: 700;
}

.epil-hero-visual {
    min-width: 0;
}

.epil-device {
    border: 1px solid rgba(200, 242, 238, 0.34);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.13);
    box-shadow: 0 28px 70px rgba(2, 28, 36, 0.28);
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.epil-device-top {
    display: flex;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.epil-device-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(225, 255, 251, 0.54);
}

.epil-device-body {
    padding: 22px;
}

.epil-code-card,
.epil-qr-panel,
.epil-doc-stack article {
    border: 1px solid rgba(218, 245, 243, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: #18313b;
}

.epil-code-card {
    padding: 20px;
}

.epil-code-card small {
    display: block;
    color: #0b7d78;
    font-size: 13px;
    font-weight: 800;
}

.epil-code-card strong {
    display: block;
    margin-top: 8px;
    color: #063f4b;
    font-size: 30px;
    letter-spacing: 0;
}

.epil-code-card em {
    display: block;
    margin-top: 8px;
    color: #6a7f87;
    font-style: normal;
    line-height: 1.6;
}

.epil-doc-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0;
}

.epil-doc-stack article {
    min-height: 110px;
    padding: 16px 12px;
}

.epil-doc-stack span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 8px;
    border-radius: 4px;
    color: #096d73;
    background: #e8fbf8;
    font-size: 12px;
    font-weight: 900;
}

.epil-doc-stack strong {
    display: block;
    margin-top: 18px;
    font-size: 18px;
}

.epil-qr-panel {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px;
}

.epil-qr {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 104px;
    height: 104px;
    padding: 10px;
    background:
        linear-gradient(90deg, #123a44 50%, transparent 50%) 0 0 / 18px 18px,
        linear-gradient(#123a44 50%, transparent 50%) 0 0 / 18px 18px,
        #f6ffff;
    border: 6px solid #f6ffff;
}

.epil-qr i {
    border: 6px solid #123a44;
    background: #f6ffff;
}

.epil-qr-panel strong {
    display: block;
    color: #063f4b;
    font-size: 20px;
}

.epil-qr-panel p {
    margin: 8px 0 0;
    color: #65777f;
    line-height: 1.65;
}

.epil-section {
    padding: 86px 0;
    background: #f7fbfb;
}

.epil-section-muted {
    background: #edf6f6;
}

.epil-section-head {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.epil-section-head-left {
    margin: 0;
    text-align: left;
}

.epil-section-head span,
.epil-cta-panel span {
    color: #08736d;
    background: #e6f8f5;
    border-color: #bce6df;
}

.epil-section h2,
.epil-cta-panel h2 {
    margin: 16px 0 12px;
    color: #073f4a;
    font-size: 36px;
    line-height: 1.22;
    letter-spacing: 0;
}

.epil-section-head p,
.epil-cta-panel p {
    margin: 0;
    color: #61757e;
    font-size: 16px;
    line-height: 1.8;
}

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

.epil-compliance-grid article,
.epil-workflow article,
.epil-capability-list article,
.epil-value-cards article {
    border: 1px solid #d7e7ea;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(20, 63, 73, 0.08);
}

.epil-compliance-grid article {
    min-height: 218px;
    padding: 24px 22px;
}

.epil-compliance-grid strong {
    display: block;
    color: #073f4a;
    font-size: 20px;
}

.epil-compliance-grid p,
.epil-workflow p,
.epil-capability-list p {
    margin: 12px 0 0;
    color: #637982;
    line-height: 1.75;
}

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

.epil-workflow article {
    position: relative;
    min-height: 250px;
    padding: 26px 22px;
    overflow: hidden;
}

.epil-workflow article::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -38px;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background: rgba(9, 157, 144, 0.08);
}

.epil-workflow span {
    color: #0b9188;
    font-size: 14px;
    font-weight: 900;
}

.epil-workflow h3,
.epil-capability-list h3 {
    margin: 14px 0 0;
    color: #073f4a;
    font-size: 21px;
}

.epil-split {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 46px;
    align-items: start;
}

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

.epil-capability-list article {
    padding: 24px 22px;
}

.epil-section-dark {
    color: #effffb;
    background:
        radial-gradient(circle at 18% 20%, rgba(124, 243, 220, 0.18), transparent 30%),
        linear-gradient(118deg, #07343e 0%, #0a5a60 100%);
}

.epil-section-dark h2 {
    color: #effffb;
}

.epil-section-dark p {
    color: rgba(238, 255, 252, 0.8);
}

.epil-value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    align-items: center;
}

.epil-value-cards {
    display: grid;
    gap: 16px;
}

.epil-value-cards article {
    padding: 22px 24px;
    color: #effffb;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(218, 245, 243, 0.22);
    box-shadow: none;
}

.epil-value-cards strong {
    display: block;
    font-size: 21px;
}

.epil-value-cards span {
    display: block;
    margin-top: 8px;
    color: rgba(238, 255, 252, 0.76);
    line-height: 1.7;
}

.epil-cta {
    padding: 72px 0;
}

.epil-cta-panel {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
    padding: 36px;
    border: 1px solid #cfe5e8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 22px 56px rgba(20, 63, 73, 0.1);
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(7, 30, 37, 0.62);
}

.modal.is-active {
    display: flex;
}

.modal-dialog {
    position: relative;
    width: min(420px, 100%);
    padding: 28px;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    box-shadow: 0 26px 70px rgba(4, 22, 28, 0.28);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    color: #5d7179;
    background: #eef5f6;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.modal-header h3 {
    margin: 8px 0 18px;
    color: #073f4a;
    font-size: 22px;
}

.modal-qr img {
    width: min(260px, 86%);
    height: auto;
}

.modal-qr p {
    margin: 18px 0 0;
    color: #61757e;
}

.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 900;
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #073f4a;
    background: #7cf3dc;
    box-shadow: 0 14px 30px rgba(7, 55, 64, 0.2);
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 980px) {
    .epil-hero-grid,
    .epil-split,
    .epil-value-grid {
        grid-template-columns: 1fr;
    }

    .epil-hero {
        min-height: 0;
        padding-top: 54px;
    }

    .epil-breadcrumbs {
        margin-bottom: 34px;
    }

    .epil-hero h1 {
        font-size: 42px;
    }

    .epil-compliance-grid,
    .epil-workflow,
    .epil-capability-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .epil-container {
        width: min(100% - 28px, 1180px);
    }

    .epil-hero {
        padding: 42px 0 50px;
    }

    .epil-hero h1 {
        font-size: 32px;
    }

    .epil-hero p {
        font-size: 16px;
    }

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

    .epil-section h2,
    .epil-cta-panel h2 {
        font-size: 28px;
    }

    .epil-compliance-grid,
    .epil-workflow,
    .epil-capability-list,
    .epil-doc-stack {
        grid-template-columns: 1fr;
    }

    .epil-qr-panel {
        grid-template-columns: 1fr;
    }

    .epil-cta-panel {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
}
