/**
 * 马来西亚线路专题 — 对齐 test/my/code.html
 */
.my-page.route-landing {
    background: #f8f9fa;
    color: #191c1d;
}

.my-page .route-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-page .route-section--compact {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.my-page .route-section--alt {
    background: #f3f4f5;
}

.my-page .route-section--surface {
    background: #f8f9fa;
}

.my-page .route-section--white {
    background: #fff;
}

.my-page .route-main {
    max-width: 1280px;
    padding-left: 24px;
    padding-right: 24px;
}

/* —— 按钮 —— */
.my-page .nf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.9375rem;
    line-height: 1.2;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
    box-sizing: border-box;
}

.my-page .my-btn-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 10px 28px rgba(var(--primary-rgb), 0.22);
}

.my-page .my-btn-gradient:hover {
    transform: scale(1.03);
    color: #fff;
}

.my-page .nf-btn--ghost,
.my-page .my-btn-muted {
    background: #e1e3e4;
    color: #191c1d;
}

.my-page .nf-btn--ghost:hover,
.my-page .my-btn-muted:hover {
    background: #edeeef;
    color: #191c1d;
}

/* —— Hero 全宽港口背景（对齐 test/my/code.html） —— */
.my-page .my-hero-section {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: min(870px, 92vh) !important;
    margin: 0;
    padding: 5rem 0 4rem;
    overflow: hidden;
    background-color: #f8f9fa;
    background-image: var(--my-hero-img);
    background-size: cover;
    background-position: center center;
    box-sizing: border-box;
}

.my-page .my-hero-media,
.my-page .my-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block !important;
    overflow: hidden;
}

.my-page .my-hero-media img,
.my-page .my-hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block !important;
}

.my-page .my-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        #f8f9fa 0%,
        rgba(248, 249, 250, 0.92) 38%,
        rgba(248, 249, 250, 0.55) 58%,
        rgba(248, 249, 250, 0.15) 78%,
        transparent 100%
    );
}

.my-page .my-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

.my-page .my-hero-content-inner {
    max-width: 36rem;
}

.my-page .my-badge {
    display: inline-block;
    padding: 6px 16px;
    margin-bottom: 2rem;
    border-radius: 999px;
    background: #ffd9e1;
    color: #8f0044;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.my-page .my-h1 {
    margin: 0 0 2rem;
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #191c1d;
}

.my-page .my-h1-accent {
    color: var(--primary);
    font-style: italic;
}

.my-page .my-lead {
    margin: 0 0 2rem;
    max-width: 32rem;
    font-size: 1.25rem;
    line-height: 1.75;
    color: #5d5e61;
}

.my-page .my-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.my-page .my-btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* —— Stats Bento —— */
.my-page .my-stats-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-page .my-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .my-page .my-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.my-page .my-stat-card {
    padding: 2.5rem;
    border-radius: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.my-page .my-stat-card--wide {
    background: #f3f4f5;
    justify-content: space-between;
    min-height: 220px;
}

@media (min-width: 768px) {
    .my-page .my-stat-card--wide {
        grid-column: span 2;
        text-align: left;
    }
}

.my-page .my-stat-card--white {
    background: #fff;
    text-align: center;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.my-page .my-stat-card--primary {
    background: var(--primary);
    color: #fff;
    text-align: center;
}

.my-page .my-stat-ico {
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

.my-page .my-stat-ico .material-symbols-outlined {
    font-size: 2.25rem;
    font-variation-settings: "FILL" 1;
}

.my-page .my-stat-card h3 {
    margin: 0 0 1rem;
    font-size: 1.875rem;
    font-weight: 800;
}

.my-page .my-stat-card p {
    margin: 0;
    color: #5d5e61;
    line-height: 1.75;
}

.my-page .my-watermark {
    margin-top: 2rem;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(var(--primary-rgb), 0.2);
    letter-spacing: -0.04em;
    line-height: 1;
}

.my-page .my-stat-num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.my-page .my-stat-card--primary .my-stat-num {
    color: #fff;
}

.my-page .my-stat-lbl {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #5d5e61;
}

.my-page .my-stat-card--primary .my-stat-lbl {
    color: rgba(255, 255, 255, 0.8);
}

/* —— 航线资费 —— */
.my-page .my-rates-section {
    background: #f3f4f5;
}

.my-page .my-rates-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.my-page .my-h2 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #191c1d;
}

.my-page .my-muted {
    margin: 0;
    font-size: 1.125rem;
    color: #5d5e61;
    line-height: 1.6;
}

.my-page .my-tabs {
    display: flex;
    padding: 6px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.my-page .my-tab {
    padding: 0.5rem 2rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 800;
    color: #5d5e61;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.my-page .my-tab--on {
    background: var(--primary);
    color: #fff;
}

.my-page .my-table-card {
    background: #fff;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.my-page .my-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.my-page .my-table thead tr {
    background: rgba(231, 232, 233, 0.5);
}

.my-page .my-table th {
    padding: 1.5rem 2rem;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #5d5e61;
}

.my-page .my-table th:last-child {
    text-align: right;
}

.my-page .my-table tbody tr {
    border-top: 1px solid #edeeef;
    transition: background 0.15s ease;
}

.my-page .my-table tbody tr:hover {
    background: rgba(var(--primary-rgb), 0.05);
}

.my-page .my-table td {
    padding: 2rem;
    vertical-align: middle;
    font-size: 0.9375rem;
}

.my-page .my-table td:last-child {
    text-align: right;
}

.my-page .my-td-service {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.my-page .my-td-ico {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: #ffd9e1;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.my-page .my-td-ico--sea {
    background: #e2e2e5;
    color: #5d5e61;
}

.my-page .my-td-ico .material-symbols-outlined {
    font-size: 1.5rem;
}

.my-page .my-td-title {
    display: block;
    font-weight: 800;
    color: #191c1d;
}

.my-page .my-td-sub {
    display: block;
    margin-top: 2px;
    font-size: 0.75rem;
    color: #5d5e61;
}

.my-page .my-td-price {
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}

.my-page .my-row-btn {
    padding: 0.5rem 1.5rem !important;
    font-size: 0.875rem !important;
    border-radius: 999px !important;
    background: #e1e3e4 !important;
}

.my-page .my-table tbody tr:hover .my-row-btn {
    background: var(--primary) !important;
    color: #fff !important;
}

.my-page .my-table-panel--hide {
    display: none;
}

.my-page .my-table-note {
    margin: 1rem 0 0;
    text-align: center;
    font-size: 0.875rem;
    color: #5d5e61;
    font-style: italic;
}

/* —— Kinetic Flow —— */
.my-page .my-flow-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
    background: #fff;
}

.my-page .my-flow-head {
    max-width: 42rem;
    margin: 0 auto 5rem;
    text-align: center;
}

.my-page .my-h2--italic {
    font-style: italic;
}

.my-page .my-flow-track {
    position: relative;
    padding: 0 0 1rem;
}

.my-page .my-flow-rail {
    display: none;
}

@media (min-width: 768px) {
    .my-page .my-flow-rail {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 1.75rem;
        height: 6px;
        background: #e1e3e4;
        border-radius: 999px;
        overflow: hidden;
        z-index: 0;
    }
}

.my-page .my-flow-fill {
    display: block;
    width: 75%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 999px;
    transition: width 1s ease-out;
}

.my-page .my-flow-steps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .my-page .my-flow-steps {
        flex-direction: row;
        justify-content: space-between;
        gap: 1rem;
    }
}

.my-page .my-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.my-page .my-flow-ico {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #e1e3e4;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.my-page .my-flow-step:hover .my-flow-ico {
    transform: scale(1.08);
    border-color: var(--primary);
}

.my-page .my-flow-ico--on {
    border-color: var(--primary);
}

.my-page .my-flow-ico .material-symbols-outlined {
    font-size: 1.375rem;
}

.my-page .my-flow-ico--on .material-symbols-outlined {
    color: var(--primary);
}

.my-page .my-flow-ico:not(.my-flow-ico--on) .material-symbols-outlined {
    color: #5d5e61;
}

.my-page .my-flow-step strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: #191c1d;
}

.my-page .my-flow-step span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #5d5e61;
}

/* —— 数字化体验（深色） —— */
.my-page .my-feature-section {
    background: #2e3132;
    color: #fff;
    overflow: hidden;
}

.my-page .my-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .my-page .my-feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.my-page .my-feature-visual {
    position: relative;
}

.my-page .my-feature-img {
    width: 100%;
    border-radius: 3rem;
    display: block;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 1;
}

.my-page .my-feature-glow {
    position: absolute;
    top: -2.5rem;
    right: -2.5rem;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    filter: blur(48px);
    opacity: 0.3;
    pointer-events: none;
}

.my-page .my-h2--light {
    margin: 0 0 3rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #fff;
}

.my-page .my-h2--light .my-accent-pink {
    color: var(--primary-dark);
}

.my-page .my-feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.my-page .my-feature-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.my-page .my-feature-ico {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-page .my-feature-ico .material-symbols-outlined {
    font-size: 1.5rem;
}

.my-page .my-feature-list h4 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
}

.my-page .my-feature-list p {
    margin: 0;
    font-size: 0.9375rem;
    color: rgba(252, 252, 255, 0.6);
    line-height: 1.7;
}

/* —— FAQ —— */
.my-page .my-faq-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-page .my-faq-wrap {
    max-width: 56rem;
    margin: 0 auto;
}

.my-page .my-faq-title {
    text-align: center;
    margin-bottom: 4rem;
}

.my-page .my-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.my-page .my-faq-item {
    border-radius: 1rem;
    background: #f3f4f5;
    overflow: hidden;
}

.my-page .my-faq-q {
    width: 100%;
    padding: 1.5rem;
    border: none;
    background: transparent;
    text-align: left;
    font-weight: 800;
    font-size: 1rem;
    color: #191c1d;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.my-page .my-faq-q .material-symbols-outlined {
    flex-shrink: 0;
    color: #5d5e61;
    transition: transform 0.2s ease;
}

.my-page .my-faq-q[aria-expanded="true"] .material-symbols-outlined {
    transform: rotate(180deg);
}

.my-page .my-faq-a {
    display: none;
    padding: 0 1.5rem 1.5rem;
    color: #5d5e61;
    line-height: 1.75;
    font-size: 0.9375rem;
}

.my-page .my-faq-q[aria-expanded="true"] + .my-faq-a {
    display: block;
}

/* —— CTA —— */
.my-page .my-cta-section {
    padding-top: 0;
    padding-bottom: 6rem;
}

.my-page .my-cta-banner {
    position: relative;
    padding: 4rem 2rem;
    border-radius: 3rem;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}

@media (min-width: 768px) {
    .my-page .my-cta-banner {
        padding: 6rem 4rem;
    }
}

.my-page .my-cta-dots {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
    background-image: radial-gradient(circle at 2px 2px, #fff 1px, transparent 0);
    background-size: 40px 40px;
}

.my-page .my-cta-banner h2 {
    position: relative;
    margin: 0 0 2rem;
    font-size: clamp(2rem, 4.5vw, 3.75rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.my-page .my-cta-banner > p {
    position: relative;
    margin: 0 auto 3rem;
    max-width: 42rem;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.my-page .my-cta-actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.my-page .my-cta-white {
    background: #fff !important;
    color: var(--primary) !important;
    padding: 1.25rem 3rem !important;
    font-size: 1.25rem !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
}

.my-page .my-cta-white:hover {
    transform: scale(1.05);
}

.my-page .my-cta-outline {
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(12px);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 1.25rem 3rem !important;
    font-size: 1.25rem !important;
}

.my-page .my-cta-outline:hover {
    background: rgba(0, 0, 0, 0.3) !important;
    color: #fff !important;
}

.my-page .route-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.my-page .material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    display: inline-block;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 767px) {
    .my-page .my-hero-section {
        min-height: min(560px, 85vh) !important;
        padding-top: 4rem;
        padding-bottom: 3rem;
        align-items: flex-end;
    }

    .my-page .my-hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(248, 249, 250, 0.15) 0%,
            rgba(248, 249, 250, 0.88) 45%,
            #f8f9fa 72%
        );
    }

    .my-page .my-hero-content-inner {
        max-width: none;
    }

    .my-page .my-table thead {
        display: none;
    }

    .my-page .my-table,
    .my-page .my-table tbody,
    .my-page .my-table tr,
    .my-page .my-table td {
        display: block;
        width: 100%;
    }

    .my-page .my-table tr {
        padding: 1rem 1.25rem;
    }

    .my-page .my-table td {
        padding: 0.35rem 0;
        text-align: left !important;
    }

    .my-page .my-table td:last-child {
        padding-top: 0.75rem;
    }
}
