:root {
    --fy-blue-950: #06376e;
    --fy-blue-900: #084b91;
    --fy-blue-800: #0967bc;
    --fy-blue-700: #0e82db;
    --fy-blue-500: #37b9f3;
    --fy-sky-100: #eaf7ff;
    --fy-sky-50: #f5fbff;
    --fy-text: #123a5e;
    --fy-muted: #6d879e;
    --fy-border: #d9e8f3;
    --fy-card: #ffffff;
    --fy-shadow: 0 20px 60px rgba(17, 75, 132, .13);
    --fy-radius: 26px;
    --fy-max: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--fy-text);
    background: #fff;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "PingFang SC",
        "Microsoft YaHei",
        Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

button,
input,
select {
    font: inherit;
}

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

.fy-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 30;
    padding: 20px 0;
}

.fy-nav {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.fy-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}

.fy-brand-mark {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 17px;
    background: rgba(255,255,255,.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
    backdrop-filter: blur(10px);
}

.fy-brand-mark svg {
    width: 32px;
    height: 32px;
}

.fy-brand-text strong {
    display: block;
    font-size: 31px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: .02em;
}

.fy-brand-text span {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .24em;
    opacity: .78;
}

.fy-nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    color: rgba(255,255,255,.88);
    font-size: 16px;
    font-weight: 800;
}

.fy-nav-links a {
    transition: opacity .2s ease, transform .2s ease;
}

.fy-nav-links a:hover {
    opacity: .76;
    transform: translateY(-1px);
}

.fy-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fy-btn {
    display: inline-flex;
    min-height: 48px;
    padding: 0 24px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 900;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

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

.fy-btn-white {
    background: #fff;
    color: #0b73c9;
    box-shadow: 0 12px 30px rgba(2, 47, 96, .18);
}

.fy-btn-glass {
    border-color: rgba(255,255,255,.34);
    background: rgba(255,255,255,.08);
    color: #fff;
}

.fy-btn-green {
    background: #64d300;
    color: #fff;
    box-shadow: 0 12px 28px rgba(70, 154, 0, .25);
}

.fy-menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 14px;
    background: rgba(255,255,255,.10);
    color: #fff;
    cursor: pointer;
}

.fy-menu-toggle span,
.fy-menu-toggle::before,
.fy-menu-toggle::after {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
}

.fy-menu-toggle span {
    margin: 5px 0;
}

.fy-hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(92, 215, 255, .42),
            transparent 30%
        ),
        radial-gradient(
            circle at 18% 82%,
            rgba(39, 144, 238, .34),
            transparent 34%
        ),
        linear-gradient(
            125deg,
            #084480 0%,
            #0b69bd 47%,
            #36baf2 100%
        );
    color: #fff;
}

.fy-hero::after {
    position: absolute;
    top: 108px;
    right: -180px;
    width: 470px;
    height: 470px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    content: "";
}

.fy-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 760px;
    padding-top: 130px;
    align-content: center;
    justify-items: center;
    text-align: center;
}

.fy-eyebrow {
    display: inline-flex;
    min-height: 42px;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .18em;
    backdrop-filter: blur(8px);
}

.fy-hero h1 {
    max-width: 920px;
    margin: 34px auto 22px;
    font-size: clamp(54px, 7vw, 92px);
    font-weight: 950;
    line-height: .98;
    letter-spacing: -.055em;
}

.fy-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255,255,255,.84);
    font-size: 20px;
    line-height: 1.9;
}

.fy-hero-actions {
    display: flex;
    margin-top: 34px;
    justify-content: center;
    gap: 14px;
}

.fy-metrics {
    display: grid;
    width: min(760px, 100%);
    margin-top: 48px;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    background: rgba(0, 62, 126, .25);
    backdrop-filter: blur(10px);
}

.fy-metric {
    padding: 20px 18px;
    text-align: center;
}

.fy-metric + .fy-metric {
    border-left: 1px solid rgba(255,255,255,.16);
}

.fy-metric strong {
    display: block;
    font-size: 27px;
    font-weight: 950;
}

.fy-metric span {
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,.72);
    font-size: 12px;
}

.fy-section {
    padding: 100px 0;
}

.fy-section-soft {
    background: linear-gradient(180deg, #f5fbff, #edf7fe);
}

.fy-section-title {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.fy-section-title small {
    color: #1186dc;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .24em;
}

.fy-section-title h2 {
    margin: 10px 0 12px;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 950;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.fy-section-title p {
    margin: 0;
    color: var(--fy-muted);
    font-size: 17px;
    line-height: 1.8;
}

.fy-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.fy-service-card {
    min-height: 420px;
    padding: 46px 36px;
    border: 1px solid var(--fy-border);
    border-radius: var(--fy-radius);
    background: var(--fy-card);
    box-shadow: var(--fy-shadow);
    text-align: center;
}

.fy-icon-wrap {
    display: grid;
    width: 96px;
    height: 96px;
    margin: 0 auto 26px;
    place-items: center;
}

.fy-icon-wrap svg {
    display: block;
    width: 96px;
    height: 96px;
    filter: drop-shadow(
        0 14px 18px
        rgba(31, 116, 206, .18)
    );
}

.fy-service-card h3 {
    margin: 0 0 16px;
    font-size: 30px;
    font-weight: 950;
}

.fy-service-card p {
    margin: 0;
    color: var(--fy-muted);
    font-size: 17px;
    line-height: 1.8;
}

.fy-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.fy-plan-card {
    display: flex;
    min-height: 620px;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--fy-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--fy-shadow);
}

.fy-plan-head {
    min-height: 160px;
    padding: 30px 26px;
    border-bottom: 1px solid #e2edf5;
    background: linear-gradient(145deg, #fbfeff, #e8f6ff);
}

.fy-plan-head h3 {
    margin: 0;
    font-size: 21px;
    font-weight: 950;
}

.fy-price {
    margin-top: 26px;
    color: #0e7ed4;
    font-size: 34px;
    font-weight: 950;
}

.fy-price small {
    margin-left: 4px;
    font-size: 12px;
}

.fy-plan-list {
    display: grid;
    margin: 0;
    padding: 26px 26px 20px;
    gap: 15px;
    color: #667f95;
    font-size: 15px;
    line-height: 1.5;
    list-style: none;
}

.fy-plan-list li {
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: start;
    gap: 8px;
}

.fy-plan-list span {
    display: inline-flex;
    width: 24px;
    justify-content: center;
}

.fy-plan-foot {
    margin-top: auto;
    padding: 20px 24px 24px;
}

.fy-plan-foot .fy-btn {
    width: 100%;
}

.fy-map-wrap {
    display: grid;
    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(300px, .8fr);
    align-items: center;
    gap: 46px;
}

.fy-map-card {
    overflow: hidden;
    border: 1px solid var(--fy-border);
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(56, 183, 244, .14),
            transparent 44%
        ),
        linear-gradient(145deg, #f8fdff, #e9f7ff);
    box-shadow: var(--fy-shadow);
}

.fy-world-map {
    display: block;
    width: 100%;
    height: auto;
}

.fy-map-copy h2 {
    margin: 0 0 16px;
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 950;
    line-height: 1.1;
}

.fy-map-copy p {
    margin: 0;
    color: var(--fy-muted);
    font-size: 17px;
    line-height: 1.9;
}

.fy-node-list {
    display: grid;
    margin-top: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.fy-node {
    display: flex;
    min-height: 54px;
    padding: 0 15px;
    align-items: center;
    gap: 10px;
    border: 1px solid #dbeaf5;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(22, 84, 139, .07);
    font-size: 14px;
    font-weight: 800;
}

.fy-node::before {
    width: 10px;
    height: 10px;
    border: 3px solid #bdeeff;
    border-radius: 50%;
    background: #1696e5;
    content: "";
}

.fy-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.fy-why-card {
    min-height: 280px;
    padding: 34px 26px;
    border: 1px solid var(--fy-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--fy-shadow);
    text-align: center;
}

.fy-why-card svg {
    width: 72px;
    height: 72px;
}

.fy-why-card h3 {
    margin: 20px 0 12px;
    font-size: 22px;
    font-weight: 950;
}

.fy-why-card p {
    margin: 0;
    color: var(--fy-muted);
    font-size: 15px;
    line-height: 1.7;
}

.fy-cta {
    padding: 82px 0;
    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(73, 207, 255, .42),
            transparent 30%
        ),
        linear-gradient(
            125deg,
            #074584,
            #0b6ec3 55%,
            #31b4ed
        );
    color: #fff;
    text-align: center;
}

.fy-cta h2 {
    margin: 0 0 14px;
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 950;
}

.fy-cta p {
    margin: 0 0 28px;
    color: rgba(255,255,255,.78);
    font-size: 17px;
}

.fy-footer {
    padding: 66px 0 30px;
    background: #fff;
}

.fy-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 46px;
}

.fy-footer h3 {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 950;
}

.fy-footer-links {
    display: grid;
    gap: 14px;
    color: #71899e;
    font-size: 15px;
}

.fy-footer-note {
    color: #71899e;
    font-size: 14px;
    line-height: 1.8;
}

.fy-copyright {
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid #e4edf4;
    color: #8a9daf;
    font-size: 13px;
    text-align: center;
}

/* WHMCS购物车 */

body.fy-cart-page {
    background: #eef6fc !important;
}

body.fy-cart-page #order-standard_cart {
    width: auto !important;
    max-width: 1360px !important;
    margin: 0 auto !important;
    padding: 26px 24px 70px !important;
}

body.fy-cart-page .fy-cart-grid {
    display: grid !important;
    grid-template-columns:
        repeat(4, minmax(220px, 1fr)) !important;
    gap: 22px !important;
    align-items: stretch !important;
}

body.fy-cart-page .fy-cart-grid > * {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.fy-cart-page .fy-cart-card {
    display: flex !important;
    min-height: 580px !important;
    overflow: hidden !important;
    flex-direction: column !important;
    border: 1px solid #d5e6f2 !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow:
        0 18px 52px
        rgba(17, 75, 132, .13) !important;
}

body.fy-cart-page .fy-cart-card h3,
body.fy-cart-page .fy-cart-card h4,
body.fy-cart-page .fy-cart-card .header {
    margin: 0 !important;
    padding: 28px 24px !important;
    background:
        linear-gradient(
            145deg,
            #fbfeff,
            #e9f7ff
        ) !important;
    color: #123a5e !important;
    font-weight: 950 !important;
}

body.fy-cart-page .fy-cart-card ul,
body.fy-cart-page .fy-cart-card .product-desc {
    flex: 1 1 auto !important;
    padding-bottom: 20px !important;
}

body.fy-cart-page .fy-cart-card .product-btm,
body.fy-cart-page .fy-cart-card .footer,
body.fy-cart-page .fy-cart-card .c-plan__footer {
    position: static !important;
    margin-top: auto !important;
    padding: 0 20px 20px !important;
}

body.fy-cart-page .fy-cart-card .btn,
body.fy-cart-page .fy-cart-card button,
body.fy-cart-page .fy-cart-card .order-button,
body.fy-cart-page .fy-cart-card [id$="-order-button"] {
    display: flex !important;
    width: 100% !important;
    min-height: 50px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 12px !important;
    background:
        linear-gradient(
            135deg,
            #117ad3,
            #2ba9f2
        ) !important;
    color: #fff !important;
    font-weight: 900 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

#fy-clear-cart {
    position: fixed;
    bottom: 20px;
    left: 14px;
    z-index: 2147482000;
    display: inline-flex;
    min-height: 46px;
    padding: 0 16px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 12px;
    background:
        linear-gradient(
            135deg,
            #ef5359,
            #d93642
        );
    box-shadow:
        0 12px 28px
        rgba(125, 18, 29, .25);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 1120px) {
    .fy-nav-links {
        gap: 18px;
        font-size: 14px;
    }

    .fy-plan-grid,
    body.fy-cart-page .fy-cart-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

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

@media (max-width: 860px) {
    .fy-menu-toggle {
        display: grid;
    }

    .fy-nav-links,
    .fy-nav-actions {
        position: fixed;
        right: 18px;
        left: 18px;
        display: none;
        border: 1px solid rgba(255,255,255,.14);
        background:
            linear-gradient(
                180deg,
                rgba(5,54,108,.98),
                rgba(13,116,202,.98)
            );
        box-shadow:
            0 24px 60px
            rgba(2,31,68,.36);
        backdrop-filter: blur(16px);
    }

    .fy-nav-links {
        top: 92px;
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
        border-radius: 18px 18px 0 0;
    }

    .fy-nav-actions {
        top: 302px;
        padding: 0 20px 20px;
        flex-direction: column;
        border-top: 0;
        border-radius: 0 0 18px 18px;
    }

    body.fy-menu-open .fy-nav-links,
    body.fy-menu-open .fy-nav-actions {
        display: flex;
    }

    .fy-nav-actions .fy-btn {
        width: 100%;
    }

    .fy-map-wrap {
        grid-template-columns: 1fr;
    }

    .fy-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .fy-shell {
        width: min(calc(100% - 24px), var(--fy-max));
    }

    .fy-brand-text span {
        display: none;
    }

    .fy-brand-text strong {
        font-size: 26px;
    }

    .fy-hero,
    .fy-hero-inner {
        min-height: 700px;
    }

    .fy-hero-inner {
        padding-top: 120px;
    }

    .fy-hero h1 {
        font-size: 50px;
    }

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

    .fy-hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .fy-hero-actions .fy-btn {
        width: 100%;
    }

    .fy-metrics {
        grid-template-columns: 1fr;
    }

    .fy-metric + .fy-metric {
        border-top: 1px solid rgba(255,255,255,.16);
        border-left: 0;
    }

    .fy-section {
        padding: 76px 0;
    }

    .fy-service-grid,
    .fy-plan-grid,
    .fy-why-grid,
    body.fy-cart-page .fy-cart-grid {
        grid-template-columns: 1fr !important;
    }

    .fy-service-card {
        min-height: 0;
    }

    .fy-node-list {
        grid-template-columns: 1fr;
    }

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

    #fy-clear-cart {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }
}
