/* ==============================
   Custom RF Design Page
================================= */

.custom-rf-design-page {
    padding: 45px 0 65px;
    overflow: visible;
}

.custom-rf-page-head {
    max-width: 880px;
    margin-bottom: 30px;
}

.custom-rf-page-head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #2651b5;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.custom-rf-page-head h1 {
    margin: 0 0 16px;
    color: #06182b;
    font-size: 42px;
    line-height: 1.25;
    font-weight: 800;
}

.custom-rf-page-head p {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.75;
}

/* ==============================
   Sticky Anchor Nav
================================= */

.custom-rf-nav-wrap {
    position: sticky;
    top: 65px;
    z-index: 50;
    margin-bottom: 34px;
    padding: 12px 0;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
}

.custom-rf-nav {
    padding: 12px;
    background: #F3F4F6;
    border-radius: 22px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;

    /* 隐藏滚动条 */
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE / Edge old */
}

.custom-rf-nav::-webkit-scrollbar {
    display: none;                  /* Chrome / Safari / Edge */
}

.custom-rf-nav::-webkit-scrollbar-thumb {
    background: rgba(36,50,79,.25);
    border-radius: 10px;
}

.custom-rf-nav a {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 24px;
    background: #fff;
    color: #24324f;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: all .3s ease;
}

.custom-rf-nav a b {
    color: #2651b5;
    font-size: 14px;
    font-weight: 800;
}

.custom-rf-nav a span {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.custom-rf-nav a:hover,
.custom-rf-nav a.active {
    background: #24324f;
    color: #fff;
    box-shadow: 0 10px 24px rgba(36, 50, 79, .18);
}

.custom-rf-nav a:hover b,
.custom-rf-nav a.active b {
    color: #fff;
}

/* ==============================
   Common Section
================================= */

.custom-rf-section {
    position: relative;
    scroll-margin-top: 130px;
    margin-bottom: 30px;
    overflow: hidden;
}

.custom-rf-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.custom-rf-label b {
    min-width: 42px;
    height: 30px;
    padding: 0 10px;
    background: #24324f;
    border-radius: 18px;
    color: #fff;
    font-size: 14px;
    line-height: 30px;
    font-weight: 800;
    text-align: center;
}

.custom-rf-label span {
    height: 30px;
    padding: 0 14px;
    background: #fff;
    border-radius: 18px;
    color: #2651b5;
    font-size: 13px;
    line-height: 30px;
    font-weight: 700;
}

.custom-rf-info h2,
.custom-rf-overlay-info h2,
.custom-rf-prototype-head h2,
.custom-rf-production-content h2 {
    margin: 0 0 16px;
    color: #06182b;
    font-size: 34px;
    line-height: 1.28;
    font-weight: 800;
}

.custom-rf-info p,
.custom-rf-overlay-info p,
.custom-rf-prototype-head p,
.custom-rf-production-content p {
    margin: 0 0 16px;
    color: #374151;
    font-size: 16px;
    line-height: 1.75;
}

.custom-rf-desc {
    color: #24324f !important;
    font-size: 17px !important;
    font-weight: 600;
}

.custom-rf-img {
    overflow: hidden;
    border-radius: 24px;
    background: #e9edf5;
}

.custom-rf-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .45s ease;
}

.custom-rf-section:hover .custom-rf-img img {
    transform: scale(1.05);
}

/* ==============================
   Style 01
================================= */

.custom-rf-style-01 {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 44px;
    align-items: center;
    padding: 38px;
    background: #F3F4F6;
    border-radius: 30px;
}

.custom-rf-style-01 .custom-rf-img {
    height: 390px;
}

.custom-rf-points {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.custom-rf-points span {
    min-height: 58px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 16px;
    color: #24324f;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.custom-rf-points i {
    margin-top: 3px;
    color: #2651b5;
}

/* ==============================
   Style 02
================================= */

.custom-rf-style-02 {
    display: grid;
    grid-template-columns: 1fr 42%;
    gap: 44px;
    align-items: center;
    padding: 42px;
    background: #24324f;
    border-radius: 30px;
}

.custom-rf-style-02 .custom-rf-info h2,
.custom-rf-style-02 .custom-rf-info p,
.custom-rf-style-02 .custom-rf-desc {
    color: #fff !important;
}

.custom-rf-style-02 .custom-rf-label b {
    background: #fff;
    color: #24324f;
}

.custom-rf-style-02 .custom-rf-img {
    height: 380px;
}

.custom-rf-mini-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.custom-rf-mini-grid div {
    padding: 22px 18px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
}

.custom-rf-mini-grid i {
    margin-bottom: 12px;
    color: #fff;
    font-size: 26px;
}

.custom-rf-mini-grid h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 17px;
}

.custom-rf-mini-grid p {
    margin: 0;
    color: rgba(255,255,255,.78) !important;
    font-size: 14px;
    line-height: 1.55;
}

/* ==============================
   Style 03
================================= */

.custom-rf-style-03 {
    min-height: 520px;
    border-radius: 30px;
    background: #06182b;
}

.custom-rf-bg {
    position: absolute;
    inset: 0;
}

.custom-rf-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .62;
}

.custom-rf-style-03::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6,24,43,.92) 0%, rgba(6,24,43,.68) 48%, rgba(6,24,43,.12) 100%);
}

.custom-rf-overlay-info {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 55px;
}

.custom-rf-overlay-info h2,
.custom-rf-overlay-info p,
.custom-rf-overlay-info .custom-rf-desc {
    color: #fff !important;
}

.custom-rf-overlay-points {
    position: relative;
    z-index: 2;
    padding: 0 55px 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.custom-rf-overlay-points span {
    padding: 14px 18px;
    background: rgba(255,255,255,.14);
    border-radius: 24px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.custom-rf-overlay-points i {
    margin-right: 7px;
}

/* ==============================
   Style 04
================================= */

.custom-rf-style-04 {
    display: grid;
    grid-template-columns: 1fr 42%;
    gap: 44px;
    align-items: center;
    padding: 40px;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 30px;
    box-shadow: 0 12px 34px rgba(36,50,79,.08);
}

.custom-rf-list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.custom-rf-list li {
    margin-bottom: 12px;
    padding: 15px 18px;
    background: #F3F4F6;
    border-radius: 15px;
    color: #24324f;
    font-size: 15px;
    font-weight: 700;
}

.custom-rf-list i {
    width: 22px;
    margin-right: 8px;
    color: #2651b5;
}

.custom-rf-image-stack {
    position: relative;
    min-height: 390px;
}

.custom-rf-image-stack img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 26px;
}

.custom-rf-stack-card {
    position: absolute;
    left: -28px;
    bottom: 28px;
    padding: 22px 24px;
    background: #24324f;
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 14px 32px rgba(36,50,79,.22);
}

.custom-rf-stack-card b {
    display: block;
    margin-bottom: 6px;
    font-size: 22px; color:#fff;
}

.custom-rf-stack-card span {
    font-size: 14px;
    opacity: .86;
}

/* ==============================
   Style 05
================================= */

.custom-rf-style-05 {
    padding: 40px;
    background: #F3F4F6;
    border-radius: 30px;
}

.custom-rf-prototype-head {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 45px;
    align-items: end;
    margin-bottom: 30px;
}

.custom-rf-prototype-body {
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: 30px;
}

.custom-rf-prototype-img {
    overflow: hidden;
    border-radius: 26px;
}

.custom-rf-prototype-img img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    display: block;
}

.custom-rf-process {
    display: grid;
    gap: 16px;
}

.custom-rf-process div {
    padding: 24px;
    background: #fff;
    border-radius: 20px;
}

.custom-rf-process b {
    display: inline-flex;
    margin-bottom: 12px;
    color: #2651b5;
    font-size: 22px;
}

.custom-rf-process h3 {
    margin: 0 0 8px;
    color: #06182b;
    font-size: 20px;
}

.custom-rf-process p {
    margin: 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
}

/* ==============================
   Style 06
================================= */

.custom-rf-style-06 {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 44px;
    align-items: center;
    padding: 40px;
    background: linear-gradient(135deg, #eef3ff 0%, #f7f8fb 100%);
    border-radius: 30px;
}

.custom-rf-style-06 .custom-rf-img {
    height: 400px;
    border-radius: 50px 22px 50px 22px;
}

.custom-rf-test-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.custom-rf-test-grid div {
    padding: 22px 18px;
    background: #fff;
    border-radius: 18px;
    text-align: center;
}

.custom-rf-test-grid strong {
    display: block;
    margin-bottom: 8px;
    color: #06182b;
    font-size: 20px;
}

.custom-rf-test-grid span {
    color: #4b5563;
    font-size: 14px;
}

/* ==============================
   Style 07
================================= */

.custom-rf-style-07 {
    display: grid;
    grid-template-columns: 1fr 44%;
    gap: 44px;
    align-items: center;
    padding: 44px;
    background: #06182b;
    border-radius: 30px;
}

.custom-rf-production-content h2,
.custom-rf-production-content p,
.custom-rf-production-content .custom-rf-desc {
    color: #fff !important;
}

.custom-rf-production-img {
    border-radius: 28px;
    overflow: hidden;
}

.custom-rf-production-img img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    display: block;
}

.custom-rf-production-points {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.custom-rf-production-points span {
    min-height: 58px;
    padding: 15px 16px;
    background: rgba(255,255,255,.12);
    border-radius: 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-rf-production-points i {
    color: #fff;
    font-size: 18px;
}

/* ==============================
   Tablet
================================= */

@media (max-width: 992px) {
    .custom-rf-style-01,
    .custom-rf-style-02,
    .custom-rf-style-04,
    .custom-rf-style-06,
    .custom-rf-style-07,
    .custom-rf-prototype-head,
    .custom-rf-prototype-body {
        grid-template-columns: 1fr;
    }

    .custom-rf-style-02 .custom-rf-img,
    .custom-rf-style-07 .custom-rf-production-img {
        order: -1;
    }

    .custom-rf-points,
    .custom-rf-mini-grid,
    .custom-rf-test-grid,
    .custom-rf-production-points {
        grid-template-columns: 1fr;
    }

    .custom-rf-stack-card {
        left: 24px;
    }
}

/* ==============================
   Mobile
================================= */

@media (max-width: 768px) {
    .custom-rf-design-page {
        padding: 30px 0 42px;
    }

    .custom-rf-page-head h1 {
        font-size: 30px;
    }

    .custom-rf-page-head p {
        font-size: 15px;
        line-height: 1.7;
    }

    .custom-rf-nav-wrap {
        top: 0;
        margin-bottom: 24px;
        padding: 10px 0;
    }

    .custom-rf-nav {
        border-radius: 16px;
        padding: 10px;
    }

    .custom-rf-nav a {
        min-height: 42px;
        padding: 0 14px;
        border-radius: 22px;
    }

    .custom-rf-section {
        scroll-margin-top: 105px;
        margin-bottom: 20px;
    }

    .custom-rf-style-01,
    .custom-rf-style-02,
    .custom-rf-style-04,
    .custom-rf-style-05,
    .custom-rf-style-06,
    .custom-rf-style-07 {
        padding: 22px;
        border-radius: 22px;
        gap: 22px;
    }

    .custom-rf-style-01 .custom-rf-img,
    .custom-rf-style-02 .custom-rf-img,
    .custom-rf-style-06 .custom-rf-img,
    .custom-rf-prototype-img img,
    .custom-rf-image-stack img,
    .custom-rf-production-img img {
        height: 240px;
        border-radius: 18px;
    }

    .custom-rf-overlay-info {
        padding: 28px 22px;
    }

    .custom-rf-style-03 {
        min-height: auto;
        border-radius: 22px;
    }

    .custom-rf-style-03::after {
        background: rgba(6,24,43,.76);
    }

    .custom-rf-overlay-points {
        padding: 0 22px 28px;
        display: grid;
        grid-template-columns: 1fr;
    }

    .custom-rf-info h2,
    .custom-rf-overlay-info h2,
    .custom-rf-prototype-head h2,
    .custom-rf-production-content h2 {
        font-size: 24px;
    }

    .custom-rf-info p,
    .custom-rf-overlay-info p,
    .custom-rf-prototype-head p,
    .custom-rf-production-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .custom-rf-desc {
        font-size: 16px !important;
    }

    .custom-rf-prototype-head {
        gap: 12px;
        margin-bottom: 22px;
    }

    .custom-rf-process div {
        padding: 20px;
    }

    .custom-rf-stack-card {
        position: static;
        margin-top: 14px;
    }

    .custom-rf-production-points span,
    .custom-rf-points span {
        min-height: auto;
    }
}