/* Castrel page styles extracted from castrel.html during Wave D migration. */

/* 页眉与首屏背景融合 - 初始透明，滚动后变白 */
.header:not(.header-active) {
    background-color: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.header.header-active {
    background-color: #FFFFFF !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Castrel页面背景色交替设置 */
/* 第2屏 - Integration Section */
/* 内层已有 .product-section-content 做居中，外层不加横向 padding 避免叠加 */
.product-integration {
    background: #FFFFFF;
}

.product-integration-header {
    margin-bottom: 60px;
}

.product-integration-title {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: var(--title-section);
    line-height: 56px;
    font-weight: 600;
    color: #1F2A28;
    text-align: center;
}

.product-integration-logos {
    max-width: 1280px;
    margin: 0 auto;
}

.product-integration-logos img {
    width: 100%;
    max-width: 1280px;
    aspect-ratio: 1280 / 498;
    height: auto;
    display: block;
}

/* 第3屏 - Benefits Section */
/* 内层已有 .product-section-content 做居中，外层不加横向 padding 避免叠加 */
.product-benefits {
    background: #FFFFFF;
    padding: 152px 0 0;
}

.product-benefits-header {
    text-align: center;
    margin-bottom: 80px;
}

.product-benefits-main-title {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: var(--title-section);
    line-height: 56px;
    font-weight: 600;
    color: #1F2A28;
}

.product-benefits-sub-title {
    margin: 20px 0 0;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
    color: #6B7280;
}

.product-benefits .product-benefit-item:first-child {
    margin-top: 0;
}

.product-benefits .product-benefit-item:last-child {
    padding-bottom: 0;
}

.product-benefits .product-benefit-image-wrapper {
    aspect-ratio: 16 / 9;
    border: 0;
    box-shadow: none;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.product-benefits .product-benefit-image-wrapper:hover {
    transform: translateY(-4px);
    filter: drop-shadow(0px 12px 20px rgba(98, 70, 232, 0.18)) drop-shadow(0px 30px 40px rgba(98, 70, 232, 0.12));
}

.product-benefits .product-benefit-image-wrapper::before {
    content: none;
}

.product-benefits .product-benefit-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* 第4屏 - Features Section */
.product-features {
    background: linear-gradient(90deg, #EBF0FF 0%, #FFFFFF 47%, #EBF0FF 100%);
    padding: 80px 0 80px;
}

.product-features-banner {
    position: relative;
    margin-top: 132px;
    padding: 0;
    background: transparent;
    overflow: hidden;
}

.product-features-banner-header {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, calc(100% - 48px));
    text-align: center;
    z-index: 2;
    pointer-events: none;
}

.product-features-banner-title {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: var(--title-section);
    line-height: 56px;
    font-weight: 600;
    color: #1F2A28;
}

.product-features-banner-description {
    margin: 20px 0 0;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
    color: #6B7280;
}

.product-features-banner-image {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
}

.product-features-banner-image img {
    width: 100%;
    aspect-ratio: 1920 / 1240;
    height: auto;
    display: block;
}

.banner-chat-card {
    position: absolute;
    top: 19%;
    left: 63.6%;
    width: 29.6%;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 2;
    overflow: visible;
}

/* 主卡片：纯白背景 + 白色描边，对应 Figma 564.3×734.43 100% white */
.banner-chat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 8px;
    z-index: -1;
    pointer-events: none;
}

/* 次卡片：20% 白色，向右偏移，对应 Figma 543.34×728.04 FFFFFF 20% */
.banner-chat-card::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0.87%;
    left: 7.72%;
    right: -4%;
    background: rgba(255, 255, 255, 0.20);
    border-radius: 8px;
    z-index: -2;
    pointer-events: none;
}

.banner-chat-item {
    padding: 1.8% 0;
    border-bottom: 1px dashed #C8CACC;
}

.banner-chat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.banner-chat-item:first-child {
    padding-top: 0;
}

.banner-chat-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 21px;
    line-height: normal;
    font-weight: 400;
    color: #595757;
}

.banner-chat-line .dot {
    flex-shrink: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    /* normal 行高约 1.4，垂直居中公式 */
    margin-top: calc((1.4em - 11px) / 2);
}

.banner-chat-line .dot-blue {
    background: #0065FA;
}

.banner-chat-line .dot-green {
    background: #00FF71;
}

.banner-chat-line .q-ref {
    color: #0065FA;
}

.product-features .product-features-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-features .product-features-title {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: var(--title-section);
    line-height: 56px;
    font-weight: 600;
    color: #1F2A28;
    white-space: nowrap;
}

.product-features .product-features-description {
    margin: 20px 0 0;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
    color: #6B7280;
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.product-pricing-cards {
    width: 100%;
    max-width: 1000px;
    margin: 60px auto 0;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.product-pricing-card {
    width: 320px;
    min-height: 606px;
    background: #FFFFFF;
    border: 1px solid #D9DEE8;
    border-radius: 8px;
    padding: 24px 20px 20px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.product-pricing-card:hover {
    border-color: #6246E8;
    box-shadow: 0 8px 28px rgba(98, 70, 232, 0.18);
}

.product-pricing-card.is-highlight {
    border: 1px solid #D9DEE8;
}
.product-pricing-card.is-highlight:hover {
    border-color: #6246E8;
}

.product-pricing-title {
    margin: 0;
    font-size: 30px;
    line-height: 38px;
    color: #1F2A28;
    font-weight: 600;
}

.product-pricing-price {
    margin: 12px 0;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    color: #1F2A28;
    min-height: 40px;
}

.product-pricing-price strong {
    color: #4F46E5;
    display: inline-flex;
    align-items: flex-end;
}

.product-pricing-price .price-currency {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0;
    margin-right: 8px;
}

.product-pricing-price .price-amount {
    font-size: 46px;
    line-height: 0.98;
    font-weight: 900;
    display: inline-block;
    font-family: "Arial Black", "DIN Alternate", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
    letter-spacing: -0.02em;
    transform: translateY(2px);
}

.product-pricing-price .price-amount .price-comma {
    font-weight: 800;
    font-style: normal;
    display: inline-block;
    background: inherit;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.product-pricing-price.is-free strong {
    color: #4F46E5;
}

.product-pricing-price.is-free strong .price-amount {
    background: linear-gradient(90deg, #519CFF 0%, #6E30FF 49%, #4D50F6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-size: 100% 100%;
}

.product-pricing-price.is-gradient strong {
    color: #4F46E5;
}

.product-pricing-price.is-gradient strong .price-amount {
    background: linear-gradient(90deg, #519CFF 0%, #6E30FF 49%, #4D50F6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-size: 100% 100%;
}

.product-pricing-price.is-gradient strong .price-amount.is-contact-text {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 32px;
    letter-spacing: 0;
    transform: none;
    margin-bottom: 12px;
}

.product-pricing-price > span {
    font-size: 16px;
    line-height: 1;
    color: #374151;
}

.product-pricing-desc {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: #4B5563;
    min-height: 44px;
}

.product-pricing-desc .product-pricing-audience {
    display: block;
    margin-top: 12px;
    font-weight: 700;
    color: #1F293B;
}

.product-pricing-action {
    margin-top: 32px;
    width: 100%;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #5A46D6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: #5A46D6;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-pricing-action:hover,
.product-pricing-action:focus {
    background: #6246E8;
    border-color: #6246E8;
    color: #fff;
    opacity: 0.9;
    box-shadow: 0 6px 20px rgba(98, 70, 232, 0.4);
}

.product-pricing-card.is-highlight .product-pricing-action {
    margin-top: 42px;
}

.product-pricing-action.is-primary {
    background: transparent;
}
.product-pricing-action.is-primary:hover,
.product-pricing-action.is-primary:focus {
    background: #6246E8;
}

.product-pricing-spec-title {
    margin: 22px 0 0;
    font-size: 14px;
    line-height: 22px;
    color: #111827;
    font-weight: 700;
}

.product-pricing-list {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
    font-size: 14px;
    line-height: 22px;
    color: #6B7280;
}

.product-pricing-list .emphasis {
    color: #FF5A52;
}

.product-pricing-list .emphasis-dark {
    color: #1F2A28;
}

.product-pricing-list .single-line-note {
    font-size: 12px;
    line-height: 18px;
    letter-spacing: -0.01em;
    white-space: nowrap;
    color: #1E293B;
    margin-top: 14px;
}

.product-pricing-compare {
    margin: 40px auto 0;
    width: 200px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid #D1D5DB;
    background: #FFFFFF;
    color: #374151;
    font-size: 14px;
    line-height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-pricing-compare svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.product-pricing-compare.is-expanded svg {
    transform: rotate(180deg);
}

.product-compare-panel {
    width: min(965px, 100%);
    margin: 40px auto 0;
    margin-bottom: 0;
}

.product-compare-top {
    width: 100%;
    background: #F3F0FF;
    border: 1px solid #E5E7EB;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.product-compare-head-grid {
    display: grid;
    grid-template-columns: 230px 245px 245px 245px;
    align-items: flex-start;
    min-height: 113px;
}

.product-compare-col {
    min-height: 113px;
    padding: 18px 12px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.product-compare-col h4 {
    margin: 0;
    font-size: 22px;
    line-height: 30px;
    font-weight: 600;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    color: #1F2937;
    white-space: nowrap;
}

.product-compare-col p {
    margin: 12px 0 0;
    font-size: 24px;
    line-height: 25px;
    font-weight: 800;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    white-space: nowrap;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
}

.product-compare-col p .compare-price {
    display: inline-flex;
    align-items: flex-end;
    gap: 0;
    font-weight: 900;
    font-family: "Arial Black", "DIN Alternate", "Helvetica Neue", Arial, sans-serif;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #519CFF 0%, #6E30FF 49%, #4D50F6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.product-compare-col p .compare-price .compare-comma {
    font-weight: 800;
    font-style: normal;
    display: inline-block;
    line-height: 1;
}

.product-compare-col p .compare-price .compare-currency {
    font-size: 1em;
    line-height: 1;
    margin-right: 0;
}

.product-compare-col p .compare-price.compare-contact {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 22px;
    letter-spacing: 0;
}

.product-compare-col p > span:not(.compare-price) {
    font-size: 14px;
    color: #374151;
    font-weight: 400;
    margin-left: 0;
    line-height: 1;
}

.product-compare-col.is-hot {
    position: relative;
}

.product-compare-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 12px;
    line-height: 18px;
    padding: 0 8px;
    border-radius: 999px;
    color: #5B4BFF;
    background: #E5DCFF;
}

.product-compare-toggle-wrap {
    width: 230px;
    min-height: 113px;
    display: flex;
    align-items: top;
    justify-content: flex-start;
    gap: 12px;
    padding: 18px 28px 0;
    box-sizing: border-box;
}

.product-compare-toggle-label {
    font-size: 14px;
    line-height: 22px;
    color: #4B5563;
    white-space: nowrap;
}

.product-compare-toggle {
    width: 38px;
    height: 22px;
    border: 0;
    border-radius: 999px;
    background: #B7C1D1;
    padding: 2px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.product-compare-toggle .thumb {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFFFFF;
    transition: transform 0.2s ease;
}

.product-compare-toggle.is-active {
    background: #5B4BFF;
}

.product-compare-toggle.is-active .thumb {
    transform: translateX(16px);
}

.product-compare-body {
    width: 100%;
    height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #E5E7EB;
    border-radius: 0 0 8px 8px;
    background: #FFFFFF;
}

.product-compare-top-section {
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 28px;
    border-top: 1px solid #E5E7EB;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: #1E293B;
    background: #F3F0FF;
}

.product-compare-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.product-compare-table col.col-feature {
    width: 23.834%;
}

.product-compare-table col.col-plan {
    width: 25.389%;
}

.product-compare-table td {
    padding: 14px 16px;
    font-size: 14px;
    line-height: 22px;
    color: #374151;
    border-bottom: 1px solid #EEF2F7;
    vertical-align: middle;
}

.product-compare-table td:not(:first-child) {
    text-align: center;
}

.product-compare-table td:first-child {
    padding-left: 28px;
}

.product-compare-table tr.section-row td {
    background: #F3F0FF;
    font-weight: 700;
    color: #111827;
}

.product-compare-table .check {
    color: #72BF44;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
}

.product-compare-table .dash {
    color: #9CA3AF;
}

.product-cta {
    background: #FFFFFF;
    padding: 120px 0;
}

.product-cta .product-cta-content {
    width: min(1280px, calc(100% - 48px));
    min-height: 310px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 56px 40px 48px;
    box-sizing: border-box;
    text-align: center;
    overflow: visible;
    background:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, #6246E8 0%, #411CF5 100%);
    background-size: 36px 36px, 36px 36px, 100% 100%;
}

@keyframes cta-gradient-shift {
    from { background-position: 0% 50%; }
    to   { background-position: 100% 50%; }
}

@keyframes cta-fade-in-up {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

.product-cta .product-cta-title {
    margin: 0;
    font-size: var(--title-section);
    line-height: 1.3;
    font-weight: 600;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    white-space: nowrap;
    /* 渐变光流文字 — 对称渐变 + alternate 无缝循环 */
    background: linear-gradient(to right, #fff, #ede9fe, #c4b5fd, #a78bfa, #c4b5fd, #ede9fe, #fff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: cta-gradient-shift 5s linear infinite alternate;
}

.product-cta .product-cta-buttons {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.product-cta .product-btn-primary,
.product-cta .product-btn-secondary {
    width: 200px;
    height: 62px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-size: 18px;
    line-height: 21px;
    font-weight: 600;
    box-shadow: none;
    white-space: nowrap;
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
}
.product-cta .product-btn-primary svg,
.product-cta .product-btn-secondary svg {
    transition: transform 0.2s ease;
}
.product-cta .product-btn-primary:hover,
.product-cta .product-btn-primary:focus {
    opacity: 0.9;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}
.product-cta .product-btn-secondary:hover,
.product-cta .product-btn-secondary:focus {
    opacity: 0.9;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.product-cta .product-btn-primary:hover svg,
.product-cta .product-btn-primary:focus svg,
.product-cta .product-btn-secondary:hover svg,
.product-cta .product-btn-secondary:focus svg {
    transform: translateX(4px);
}

.product-cta .product-btn-primary {
    background: #FFFFFF;
    color: #4D43E9;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.product-cta .product-btn-secondary {
    background: #15233F;
    color: #FFFFFF;
    border: 1px solid #15233F;
}

.product-cta .product-btn-primary svg,
.product-cta .product-btn-secondary svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 1100px) {
    .product-pricing-cards {
        max-width: 320px;
        flex-direction: column;
    }

    .product-pricing-card {
        width: 100%;
        min-height: auto;
    }

    .product-features .product-features-title,
    .product-features-banner-title,
    .product-cta .product-cta-title {
        font-size: 34px;
        line-height: 42px;
        white-space: normal;
    }

    .product-features-banner {
        padding-top: 0;
    }

    .product-features-banner-header {
        top: 40px;
        width: calc(100% - 32px);
    }

    .product-cta .product-btn-primary,
    .product-cta .product-btn-secondary {
        width: 180px;
        height: 52px;
        font-size: 20px;
        line-height: 28px;
    }

    .product-cta .product-cta-title {
        white-space: normal;
    }

    .product-compare-top {
        overflow-x: auto;
    }

    .product-compare-head-grid {
        width: 965px;
    }

    .product-compare-toggle-wrap {
        padding: 0 12px;
    }

    .product-compare-col h4 {
        font-size: 18px;
        line-height: 26px;
    }

    .product-compare-col p {
        font-size: 30px;
        line-height: 32px;
    }

    .product-compare-top-section {
        font-size: 14px;
        line-height: 20px;
        padding: 0 12px;
    }

    .product-compare-body {
        height: 460px;
    }

    .product-compare-table td {
        padding: 12px 8px;
        font-size: 12px;
        line-height: 18px;
    }

    .product-compare-table td:first-child {
        padding-left: 12px;
    }
}

/* 第5屏 - Testimonials Section */
.product-testimonials {
    background: #F7F9F8;
}

/* Hero: Castrel 首屏 - 对齐 ITAM 页面参数 */
/* Figma: 线性渐变 #F5F4FF(0%) → #E1DBFF(100%), H:640, 保留 Header.png 网格叠层 */
.product-hero {
    background-image: url('/frontStatic/cn/image/newIndex/Header.png'),
                      linear-gradient(135deg, #F5F4FF 0%, #E1DBFF 100%);
    background-color: #F5F4FF;
    background-position: center center, center center;
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    height: 640px;
    /* 间距：标签距顶部160px（含64px页眉），按钮距底部164px */
    padding-top: 160px;
    padding-bottom: 164px;
    align-items: flex-start;
}
h2.product-integration-title {
    margin-top: 120px;
    margin-bottom: 60px;
}
/* 1. 左侧标签 */
.product-hero .product-badge {
    color: #6B7280;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 24px;
}
.product-hero .product-badge .product-badge-highlight {
    color: #6246E8;
    font-weight: 700;
}

/* 2. 标题 */
.product-hero .product-hero-title {
    color: #6246E8;
    font-size: var(--title-hero);
    line-height: 68px;
}

/* 3. 描述文本 */
.product-hero .product-hero-description {
    color: #1E293B;
    font-size: 20px;
    line-height: 28px;
    max-width: 680px;
}

/* 4. 按钮 - 对齐 ITAM: 233×62, radius:12, gap:43, fill:#6246E8, 去掉绿色阴影 */
.product-hero .product-btn-primary {
    border-radius: 12px;
    height: 62px;
    min-width: 233px;
    font-size: 18px;
    line-height: 21px;
    gap: 43px;
    box-shadow: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-left: none;
    border-right: none;
    background: linear-gradient(180deg, #6246E8 0%, #6246E8 100%);
    transition: opacity 0.25s ease, box-shadow 0.25s ease;
}
.product-hero .product-btn-primary svg {
    transition: transform 0.25s ease;
}
.product-hero .product-btn-primary:hover,
.product-hero .product-btn-primary:focus {
    opacity: 0.9;
    box-shadow: 0 8px 24px rgba(98, 70, 232, 0.45);
}
.product-hero .product-btn-primary:hover svg,
.product-hero .product-btn-primary:focus svg {
    transform: translateX(4px);
}

/* 5. 右侧图片 */
.product-hero .product-hero-image-wrapper img {
    width: 600px;
    height: 335px;
    border-radius: 8px;
    object-fit: cover;
}

/* Wave D closeout: keep Castrel aligned with the migrated product-detail standards. */
@media (max-width: 767px) {
    body.castrel-page .product-hero {
        height: auto;
        min-height: 0;
        padding-top: 120px;
        padding-bottom: 64px;
    }

    body.castrel-page .product-hero .product-hero-title,
    body.castrel-page .product-integration-title,
    body.castrel-page .product-benefits-main-title,
    body.castrel-page .product-features-banner-title,
    body.castrel-page .product-features .product-features-title,
    body.castrel-page .product-cta .product-cta-title {
        font-size: 36px;
        line-height: 44px;
    }

    body.castrel-page .product-integration,
    body.castrel-page .product-benefits,
    body.castrel-page .product-features,
    body.castrel-page .product-cta {
        padding-left: 24px;
        padding-right: 24px;
    }

    body.castrel-page .product-cta .product-cta-content {
        padding: 64px 24px;
    }
}


@media (max-width: 767px) {
    body.castrel-page .product-hero {
        padding: 88px var(--page-gutter) 32px;
        margin-bottom: 0;
    }

    body.castrel-page .product-hero .product-hero-content,
    body.castrel-page .product-hero .product-hero-grid,
    body.castrel-page .product-hero .product-hero-left,
    body.castrel-page .product-hero .product-hero-right {
        width: 100%;
        max-width: none;
    }

    body.castrel-page .product-hero .product-hero-grid {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    body.castrel-page .product-hero .product-hero-title,
    body.castrel-page .product-integration-title,
    body.castrel-page .product-benefits-main-title,
    body.castrel-page .product-features-banner-title,
    body.castrel-page .product-features .product-features-title,
    body.castrel-page .product-cta .product-cta-title {
        font-size: 24px;
        line-height: 32px;
    }

    body.castrel-page .product-benefit-title,
    body.castrel-page .product-pricing-title {
        font-size: 18px;
        line-height: 26px;
    }

    body.castrel-page .product-hero .product-hero-description,
    body.castrel-page .product-benefits-sub-title,
    body.castrel-page .product-benefit-description,
    body.castrel-page .product-features-banner-description,
    body.castrel-page .product-features .product-features-description,
    body.castrel-page .product-pricing-desc,
    body.castrel-page .product-pricing-list li {
        font-size: 14px;
        line-height: 22px;
    }

    body.castrel-page .product-hero .product-btn-primary {
        width: 152px;
        min-width: unset;
        height: 40px;
        min-height: 40px;
        padding: 8px 28px;
        gap: 10px;
        border-radius: 8px;
        font-size: 15px;
        line-height: 20px;
        justify-content: center;
        box-sizing: border-box;
    }

    body.castrel-page .product-hero .product-hero-image-wrapper,
    body.castrel-page .product-hero .product-hero-image-wrapper img,
    body.castrel-page .product-integration-logos,
    body.castrel-page .product-integration-logos img,
    body.castrel-page .product-benefit-image-wrapper,
    body.castrel-page .product-benefit-image-wrapper img,
    body.castrel-page .product-features-banner-image,
    body.castrel-page .product-features-banner-image img {
        width: 100%;
        max-width: none;
        height: auto;
    }

    body.castrel-page .product-hero .product-hero-image-wrapper img,
    body.castrel-page .product-benefit-image-wrapper img,
    body.castrel-page .product-features-banner-image img {
        display: block;
        object-fit: cover;
    }

    body.castrel-page .product-benefit-image-wrapper img {
        height: 100%;
    }

    body.castrel-page .product-integration {
        padding: 64px 0 0 !important; /* 覆盖 mobile.css §9.3 padding:96px 0 !important，上：64px，下：0（由 benefits margin-top:64px 提供分隔） */
    }

    body.castrel-page .product-integration-header {
        margin-bottom: 32px;
        padding: 0 var(--page-gutter);
    }

    body.castrel-page h2.product-integration-title {
        margin: 0;
    }

    body.castrel-page .product-benefits {
        margin-top: 64px;
        padding: 0 var(--page-gutter) !important; /* 覆盖 mobile.css §9.4 padding-bottom:48px !important，消除与 features-banner margin-top:64px 的叠加（否则 48+64=112px） */
    }

    body.castrel-page .product-benefits-header {
        margin-bottom: 32px;
    }

    body.castrel-page .product-benefits-main-title {
        margin: 0 0 12px;
    }

    body.castrel-page .product-benefits .product-benefit-item,
    body.castrel-page .product-benefits .product-benefit-item.reverse {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin: 0;
        padding: 0;
    }

    body.castrel-page .product-benefits .product-benefit-item + .product-benefit-item {
        margin-top: 32px;
    }

    body.castrel-page .product-benefit-content {
        padding: 0;
    }

    body.castrel-page .product-features-banner {
        margin-top: 64px !important; /* 覆盖 mobile.css §9.5 margin-top:0 !important，恢复与 benefits 之间的 64px 间距 */
        padding: 0;
    }

    body.castrel-page .product-features-banner-header {
        position: static;
        width: auto;
        transform: none;
        padding: 0 var(--page-gutter) 32px;
        pointer-events: auto;
    }

    body.castrel-page .product-features-banner-title {
        margin: 0 0 12px;
    }

    body.castrel-page .product-features-banner-image {
        margin: 0;
        padding: 0 var(--page-gutter);
    }

    body.castrel-page .banner-chat-card {
        position: static;
        width: auto;
        max-width: none;
        margin: 16px 0 0;
        padding: 16px;
        transform: none;
    }

    body.castrel-page .product-features {
        margin-top: 64px;
        padding: 32px var(--page-gutter) 32px !important; /* 覆盖 mobile.css §9.6 padding:48px !important，收窄上下各 16px */
    }

    body.castrel-page .product-features .product-features-header {
        margin-bottom: 32px;
    }

    body.castrel-page .product-features .product-features-title {
        margin: 0 0 12px;
    }

    body.castrel-page .product-pricing-cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
        max-width: none;
        margin: 0;
    }

    body.castrel-page .product-pricing-card {
        width: 100%;
        min-height: 0;
        padding: 24px 16px;
    }

    body.castrel-page .product-compare-panel {
        margin-top: 32px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    body.castrel-page .product-compare-top {
        overflow: visible;
        width: 760px;
        min-width: 760px;
    }

    body.castrel-page .product-compare-body {
        overflow-x: visible;
        overflow-y: auto;
        width: 760px;
        min-width: 760px;
    }

    body.castrel-page .product-compare-head-grid,
    body.castrel-page .product-compare-table {
        width: 760px;
        min-width: 760px;
    }

    body.castrel-page .product-compare-head-grid {
        grid-template-columns: 180px repeat(3, 193.333px);
    }

    body.castrel-page .product-compare-toggle-wrap {
        width: 180px;
        padding-left: 16px;
        padding-right: 12px;
    }

    body.castrel-page .product-compare-table col.col-feature {
        width: 180px;
    }

    body.castrel-page .product-compare-table col.col-plan {
        width: 193.333px;
    }

    body.castrel-page .product-cta {
        margin-top: 64px;
        padding: 0 var(--page-gutter) 64px !important; /* 覆盖 mobile.css §9.8 padding:48px 16px !important，顶部清零消除蓝色内容框上方大白块 */
    }

    body.castrel-page .product-cta .product-cta-content {
        width: 100%;
        max-width: none;
        min-height: 0;
        height: auto;
        padding: 32px 16px !important; /* 覆盖 mobile.css §9.8 .product-cta-content padding:44px 20px !important */
        border-radius: 12px;
        transform: none;
        gap: 0;
    }

    body.castrel-page .product-cta .product-cta-buttons {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 12px;
        width: 100%;
        height: auto;
        margin-top: 32px;
    }

    body.castrel-page .product-cta .product-btn-primary,
    body.castrel-page .product-cta .product-btn-secondary {
        flex: 1 1 0;
        width: calc((100% - 12px) / 2);
        max-width: none;
        min-width: 0;
        height: 54px;
        min-height: 54px;
        padding: 0 12px;
        font-size: 14px;
        line-height: 20px;
        white-space: nowrap;
    }
}
