/* Hero Section */
body {
    height: auto !important;
    min-height: 100%;
}

.hero-section {
    position: relative;
    height: 500px;
    margin-top: 70px;
    background-color: #333;
    /* Fallback */
    background-image: url('https://images.unsplash.com/photo-1496442226666-8d4d0e62e6e9?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    /* Placeholder city image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

/* Page specific hero backgrounds */
.hero-bg-main {
    background-image: url('/static/img/product/product_hero_main.png');
}

.hero-bg-exec {
    background-image: url('/static/img/product/product_hero_exec.png');
}

.hero-bg-private {
    background-image: url('/static/img/product/product_hero_private.png');
}

.hero-bg-tribe {
    background-image: url('/static/img/product/product_hero_tribe.png');
}

.hero-bg-rights {
    background-image: url('/static/img/product/product_hero_rights.png');
}

.hero-bg-value {
    background-image: url('/static/img/platform_value/platform_tab_bg.png');
}

.hero-bg-route-detail {
    background-image: url('/static/img/border/comment_bg.png');
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title-img {
    max-width: 400px;
    height: auto;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 30px;
    margin-top: 0;
    letter-spacing: 1px;
}

.btn-hero {
    display: inline-block;
    padding: 10px 30px;
    background-color: #bfa15f;
    color: #fff;
    font-size: 14px;
    border-radius: 2px;
}

/* Sub Navbar */
.sub-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: -webkit-sticky;
    position: sticky;
    top: 70px;
    /* Height of the main navbar */
    z-index: 900;
}

.sub-navbar .container {
    display: flex;
    justify-content: center;
    gap: 40px;
}

@media (max-width: 768px) {
    .sub-navbar .container {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        /* Hide scrollbar visual impact */
        -webkit-overflow-scrolling: touch;
        gap: 20px;
    }

    .sub-navbar a {
        white-space: nowrap;
        font-size: 14px;
    }
}

.sub-nav-links {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.sub-nav-links a {
    color: #666;
    font-size: 14px;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

.sub-nav-links a.active {
    color: #000;
    font-weight: bold;
    border-bottom: 2px solid #bfa15f;
    padding-bottom: 5px;
}

/* Features Generic */
.feature-section {
    padding: 80px 0;
    overflow: hidden;
}

.feature-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.feature-container.reverse {
    flex-direction: row-reverse;
}

.section-title {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #222;
}

.feature-desc {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-top: 20px;
}

.feature-img-placeholder {
    width: 500px;
    height: 350px;
    background-color: #e0e0e0;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

/* Feature 1: AI Chat */
.section-chat {
    background: url('/static/img/product/aichat_sec1_bg.png') no-repeat center center;
    background-size: cover;
    padding: 100px 0;
    /* Adjust padding if needed for better visibility */
}

.btn-feature {
    display: inline-block;
    background-color: #1a4f8b;
    /* Blue like in design */
    color: #fff;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 10px;
}

.chat-img {
    background-color: transparent;
    /* Light blueish bg */
    /* Implementation note: In real project, use actual image here */
    background-image: url('/static/img/product/aichat_sec1_ava.png');
    background-size: cover;
    background-position: center;
}

/* Feature 2: Community */
.section-community {
    background-image: url('/static/img/product/aichat_sec2_bg.png');
    /* Warm social gathering bg */
    background-size: cover;
    padding: 100px 0;
    position: relative;
}

.section-community::before {
    content: none;
}

.section-community .container {
    position: relative;
    z-index: 1;
}

.section-community .image-content {
    display: none;
    /* Based on visual, it's text over bg mostly, or layout different */
}

.section-community .feature-desc {
    color: #444;
}

.btn-group {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.btn-box {
    padding: 10px 20px;
    border: 1px solid #333;
    font-size: 14px;
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
}

.btn-box.variant-2 {
    background-color: #1a2a3a;
    color: #fff;
    border-color: #1a2a3a;
}

/* Feature 3: AI Butler */
.section-butler {
    text-align: center;
    background: #fff;
    background-image: url('/static/img/product/aichat_sec3_bg.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    /* Adding padding to give it space like other sections */
}

.text-center-header {
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.butler-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    font-size: 14px;
    color: #1a4f8b;
    position: relative;
}

.marquee-container {
    overflow: hidden;
    width: 100%;
    margin-top: 50px;
}

.marquee-row {
    display: flex;
    white-space: nowrap;
    margin-bottom: 20px;
}

.marquee-content {
    display: flex;
    animation: marquee-scroll 40s linear infinite;
}

.scroll-right .marquee-content {
    animation-direction: reverse;
}

.country-tag {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 4px;
    margin-right: 20px;
    font-size: 14px;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}




/* Feature 4: Privacy */
.section-privacy {
    background-image: url('/static/img/product/aichat_sec5_bg.png');
    /* Abstract puzzle/tech bg */
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #333;
}

.section-privacy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: rgba(255, 255, 255, 0.9);*/
    /* Strong overlay */
}

.privacy-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

/* --- Executive Car Page Styles --- */

/* Section 1: Intro */
.section-exec-intro {
    background-color: #f9f9f9;
    background-image: url('/static/img/product/car_sec1_bg.png');
    background-size: cover;
    background-position: center;
}

.section-subtitle {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #333;
}

.section-exec-intro .section-title,
.section-exec-car .section-title,
.section-exec-driver .section-title,
.section-exec-settle .section-title {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 0;
    color: #222;
}

.section-exec-intro .feature-desc,
.section-exec-car .feature-desc,
.section-exec-driver .feature-desc,
.section-exec-settle .feature-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-top: 20px;
    letter-spacing: 0;
}

.btn-feature-dark {
    display: inline-block;
    background-color: #1a2a3a;
    color: #fff;
    padding: 10px 30px;
    font-size: 14px;
    border-radius: 2px;
    margin-top: 20px;
}

.exec-map-img {
    background-color: transparent;
    /* Remove placeholder bg color if needed */
    /* Placeholder for map */
    border-radius: 50%;
    /* Circular map style */
    width: 450px;
    height: 450px;
    margin: 0 auto;
    background-image: url('/static/img/product/map_fixed.png');
    /* Use a better placeholder or generate one */
    background-size: cover;
}

/* Section 2: Car Display */
.section-exec-car {
    background-color: #F5F5F5;
    text-align: center;
}

.car-display {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

.car-image-container {
    width: 80%;
    max-width: 800px;
    height: 300px;
    /* Fixed height container */
    position: relative;
    margin: 0 20px;
}

.exec-car-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    object-fit: contain;
    /* Ensure image aspect ratio logic */
    display: block;
    /* Ensure it's treated as box */
    /* Remove old background properties */
}

.exec-car-img.active {
    opacity: 1;
    z-index: 2;
}

.car-nav-btn {
    width: 50px;
    height: 50px;
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.car-nav-btn:hover {
    background-color: #333;
    color: #fff;
}

/* Section 3: Driver Cards */
.section-exec-driver {
    background-color: #fff;
    padding-top: 50px;
}

.section-header-left {
    margin-bottom: 50px;
}

.driver-cards {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.driver-card {
    flex: 1;
    background: #f8f9fa;
    padding-bottom: 20px;
}

.driver-img-box {
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
}

.driver-img-box .feature-img-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
    background-color: #ddd;
}

.driver-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.driver-info {
    padding: 0 20px;
}

.driver-info h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a4f8b;
}

.driver-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Section 4: Settle Banner */
.section-exec-settle {
    background-image: url('/static/img/product/car_sec4_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Gold gradient fallback removed */
    padding: 100px 0;
    text-align: center;
}

.settle-desc-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 40px;
    flex-wrap: wrap;
    /* responsive wrap */
}

.settle-desc-item {
    background: rgba(255, 255, 255, 0.85);
    /* Increased opacity for black text */
    backdrop-filter: blur(5px);
    padding: 15px 25px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
}

.settle-role {
    color: #b7950b;
    /* Darker Gold for contrast on light bg */
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
}

.settle-icon {
    color: #b7950b;
    font-size: 18px;
    margin-right: 5px;
}

.settle-detail {
    color: #333;
    /* Black text */
    font-size: 15px;
    font-weight: 400;
    /* Slightly bolder */
    text-align: left;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .settle-desc-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .settle-desc-item {
        width: 100%;
        justify-content: center;
    }
}

/* --- Private Customization Page Styles --- */

/* Timeline Section */
.section-private-timeline {
    background-image: url('/static/img/product/private_sec1_bg.png');
    background-size: 100% 100%;
    /* Force stretch */
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #ffffff;
    /* Essential: White bg to prevent gray body show-through */
    position: relative;
    padding-bottom: 60px;
}

.timeline-container {
    position: relative;
    margin-top: 80px;
    padding: 0 40px;
}

/* Central Spine */
.timeline-spine {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #7296D8 0%, #E0E0E0 100%);
    /* Blue to Gray gradient */
    transform: translateX(-1px);
    z-index: 1;
}

.timeline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    /* Adjust spacing */
    position: relative;
    z-index: 2;
    width: 100%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    /* 16px center + border ring */
    height: 26px;
    background-color: #034EA2;
    /* Core blue dot */
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #034EA2;
    /* Outer blue ring */
    z-index: 10;
}

/* Left Text, Right Image layout */
.timeline-item.left-text {
    flex-direction: row;
}

/* Right Text, Left Image layout */
.timeline-item.right-text {
    flex-direction: row;
}

.timeline-content {
    width: 45%;
    /* Leave space in middle */
}

.timeline-content.text-box {
    position: relative;
    padding: 20px;
}

/* Align text based on side */
.timeline-item.left-text .text-box {
    text-align: right;
    padding-right: 60px;
}

.timeline-item.right-text .text-box {
    text-align: left;
    padding-left: 60px;
}

.step-number-bg {
    position: absolute;
    font-size: 120px;
    font-weight: 700;
    color: rgba(240, 240, 240, 0.6);
    /* Subtle watermark */
    z-index: -1;
    line-height: 1;
    top: -50px;
}

/* Number positioning */
.timeline-item.left-text .step-number-bg {
    right: 0;
}

.timeline-item.right-text .step-number-bg {
    left: 0;
}

.timeline-content.text-box h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 500;
}

.timeline-content.text-box p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

.timeline-content.img-box .timeline-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
    transition: transform 0.3s ease;
}

.timeline-content.img-box .timeline-img:hover {
    transform: translateY(-5px);
}

/* Mobile Responsive Override */
@media (max-width: 768px) {
    .section-private-timeline {
        /* Remove bg image on mobile to fix hard-edge artifacts */
        background-color: #ffffff !important;
        padding-bottom: 50px;
        /* Reducing padding on mobile */
    }

    .timeline-spine,
    .timeline-dot {
        display: none;
        /* Hide spine on mobile */
    }

    .timeline-item,
    .timeline-item.left-text,
    .timeline-item.right-text {
        flex-direction: column !important;
        margin-bottom: 60px;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-item.left-text .text-box,
    .timeline-item.right-text .text-box {
        text-align: center;
        padding: 0 0 30px 0;
    }

    .step-number-bg {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        font-size: 80px;
        top: -30px;
    }

    .timeline-item.right-text {
        flex-direction: column-reverse !important;
        /* Keep image top consistently? Or alter? Let's check logic. */
        /* If original was right-text, it meant image left. */
        /* Design usually stacks Image Top, Text Bottom for all. */
    }

    /* Ensure consistent stacking: Image Top, Text Bottom */
    .timeline-item.left-text {
        flex-direction: column-reverse !important;
        /* Text was left(1st), Img right(2nd). Column-reverse puts Img(2) Top, Text(1) Bottom */
    }

    .timeline-item.right-text {
        flex-direction: column !important;
        /* Img left(1st), Text right(2nd). Column puts Img(1) Top, Text(2) Bottom */
    }
}

/* Section 2: CTA */
.section-private-cta {
    background-color: #ccc;
    height: 400px;
    background-image: url('/static/img/product/cus_sec2_bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Talent Tribe Page Styles --- */

/* Section 1: Experts */
.section-tribe-experts {
    background-color: #f5f5f5;
    padding-bottom: 80px;
}

.experts-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
}

.expert-card {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.expert-img-box {
    position: relative;
    height: 300px;
}

.expert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.expert-card:hover .expert-img {
    transform: scale(1.05);
}

.expert-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    text-align: left;
}





.expert-label {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
}

.section-tribe-experts .section-header-left {
    text-align: left;
    max-width: 800px;
    /* Optional: limit width but keep left aligned */
    margin-bottom: 50px;
    padding: 0;
    /* Ensure no extra padding affecting alignment */
}

.section-tribe-experts .feature-desc {
    text-align: left;
    margin-top: 20px;
}

/* Section 2: Community */
.section-tribe-community {
    background-image: url('/static/img/product/daren_sec2_bg.png');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
}

.section-tribe-community .community-content {
    /* background: rgba(255, 255, 255, 0.8); Removed white box */
    /* backdrop-filter: blur(5px); */
    /* Standard container behavior restored */
}

.section-tribe-community .section-title {
    color: #333;
    margin-bottom: 20px;
    text-align: left;
}

.section-tribe-community .feature-desc {
    color: #555;
    /* Ensure readability */
    text-align: left;
}

.btn-feature-gold {
    display: inline-block;
    background-color: #bfa15f;
    color: #fff;
    padding: 10px 30px;
    font-size: 14px;
    border-radius: 2px;
    transition: all 0.3s;
}

.btn-feature-gold:hover {
    background-color: #a88d4d;
}

/* Section 3: Global */
.section-tribe-global {
    background-color: #fff;
    background-image: url('/static/img/product/daren_sec3_bg.png');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.section-tribe-global .global-content {
    /* Standard container behavior restored */
}

.section-tribe-global .section-title {
    color: #333;
    margin-bottom: 20px;
    text-align: left;
}

.section-tribe-global .feature-desc {
    color: #555;
    text-align: left;
    margin: 20px 0 50px 0;
    /* Adjusted margin for left alignment */
}

/* Mobile Responsive Override for Tribe */
@media (max-width: 768px) {
    .experts-grid {
        flex-direction: column;
    }

    .expert-img-box {
        height: 250px;
    }

    .section-tribe-community {
        height: auto;
        padding: 60px 20px;
    }

    .section-tribe-community .community-content {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        /* Reset desktop margin */
        padding: 0 20px;
    }

    .section-tribe-global .global-content {
        margin-left: 0;
        max-width: 100%;
        padding: 0 20px;
    }
}

.cta-content {
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #000;
    /* Based on image usually, but if bg is light... design shows dark text? Design shows "立即召唤..." centered. */
}

.gold-text {
    color: #333;
    font-weight: 400;
}

.white-text {
    color: #555;
    max-width: 800px;
    margin: 20px auto 0;
}

@media (max-width: 768px) {

    /* Executive Page Mobile */
    .exec-map-img {
        width: 300px;
        height: 300px;
    }

    .car-nav-btn {
        display: none;
        /* Hide arrows on mobile perhaps, or make smaller */
    }

    .exec-car-img {
        height: 200px;
    }

    .driver-cards {
        flex-direction: column;
    }

    .section-header-left {
        text-align: center;
    }
}

@media (max-width: 768px) {

    /* Private Page Mobile */
    .timeline-item,
    .timeline-item.reverse {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .timeline-container {
        padding-left: 0;
    }

    .timeline-content.img-box .feature-img-placeholder {
        height: 200px;
    }

    .step-number-bg {
        font-size: 60px;
        top: -20px;
    }

    /* Hero Section Mobile */
    .hero-section {
        height: 400px;
    }

    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    /* Feature Sections Mobile */
    .feature-section,
    .section-chat,
    .section-community,
    .section-butler {
        padding: 50px 0;
    }

    .feature-container {
        flex-direction: column;
        gap: 30px;
        align-items: stretch;
        /* Align text to left */
    }

    .feature-container.reverse {
        flex-direction: column;
    }

    .text-content {
        width: 100%;
        max-width: 100%;
    }

    .section-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .feature-desc {
        font-size: 15px;
    }

    .feature-img-placeholder,
    .chat-img,
    .section-community .btn-group {
        width: 100%;
        max-width: 100%;
    }

    .feature-img-placeholder {
        height: 250px;
    }

    .chat-img {
        height: 300px;
    }

    /* Privacy Section Mobile */
    .section-privacy {
        height: 300px;
        padding: 0 20px;
    }

    .privacy-content h2 {
        font-size: 24px;
    }
}

/* --- Shared Customer Reviews Section --- */
.section-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.section-reviews {
    background-color: #f3f3f4;
    /* Gray bg matching Inspinia/CrossBorder */
    padding: 60px 0;
    margin: 0;
    max-width: 100%;
}

.section-reviews .section-header,
.section-reviews .reviews-grid {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.review-card-content {
    padding: 30px 30px 40px;
    text-align: center;
}

.reviewer-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: -40px auto 15px;
    /* Pull up */
    border: 3px solid #fff;
    position: relative;
    z-index: 2;
}

.review-bg-img {
    height: 150px;
    width: 100%;
    object-fit: cover;
}

.reviewer-name {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
}

.review-text {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* -- Classic Routes Section (Migrated) -- */
.nav-arrows {
    display: flex;
    gap: 15px;
}

.nav-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: #000;
    color: #fff;
}

.featured-route-card {
    display: flex;
    background: linear-gradient(to right, #C5A065, #DCC088);
    border-radius: 0;
    overflow: hidden;
    height: 450px;
}

.route-info {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #333;
    position: relative;
}

.route-info h3 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.4;
}

.route-tags {
    font-size: 14px;
    margin-bottom: 30px;
    opacity: 0.8;
}

.route-price {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
}

.route-price span {
    font-size: 14px;
    font-weight: 400;
}

.buttons-container {
    display: flex;
    gap: 20px;
}

.route-image {
    flex: 1.5;
    background-size: cover;
    background-position: center;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 90%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 90%);
}

.route-item {
    display: none;
}

.route-item.active {
    display: flex;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.btn-primary-dark {
    background: #0F172A;
    color: #fff;
    padding: 12px 30px;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-outline-dark {
    background: transparent;
    color: #333;
    border: 1px solid #333;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary-dark:hover {
    background: #333;
    color: #fff;
    text-decoration: none;
}

.btn-outline-dark:hover {
    background: #333;
    color: #fff;
    text-decoration: none;
}

/* -- Customization CTA (Migrated) -- */
.customization-cta {
    position: relative;
    background: url('/static/img/border/sec3_bg.png') no-repeat center center;
    background-size: cover;
    padding: 100px 0;
    text-align: center;
    margin-top: 80px;
}

.customization-cta h2 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #333;
}

.customization-cta p {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

/* Mobile Responsive for Routes */
@media (max-width: 768px) {
    .featured-route-card {
        flex-direction: column-reverse;
        /* Image on top, info below */
        height: auto;
    }

    .route-image {
        height: 250px;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .route-info {
        padding: 30px 20px;
    }

    .nav-arrows {
        display: flex;
        gap: 10px;
    }
}

/* Section: Open Platform */
.section-open-platform {
    padding: 80px 0;
    text-align: center;
    background-color: #fff;
    background-image: url('/static/img/platform_value/value/value_share_sec1_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.open-platform-img-placeholder {
    width: 600px;
    height: 400px;
    background-color: transparent;
    margin: 40px auto;
    border-radius: 0;
    display: block;
    background-image: url('/static/img/platform_value/value/value_share_sec1_img.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.section-open-platform .feature-desc {
    max-width: 1000px;
    margin: 0 auto;
}

/* Mobile Responsive for Open Platform */
@media (max-width: 768px) {
    .section-open-platform {
        padding: 40px 0;
        background-size: cover;
        /* Ensure bg covers area */
    }

    .open-platform-img-placeholder {
        width: 90%;
        height: 200px;
        margin: 20px auto;
    }

    .section-open-platform .feature-desc {
        max-width: 100%;
        padding: 0 20px;
        font-size: 14px;
    }
}

/* Section: Cradle of Innovation */
.section-cradle {
    padding: 80px 0;
    /* Placeholder background until user uploads image */
    background: #1a2a3a;
    text-align: left;
    color: #fff;
    background-image: url('/static/img/platform_value/value/value_share_sec2_bg.png');
    background-size: cover;
    background-position: center;
}

.section-cradle .section-title {
    color: #fff;
    text-align: left;
    margin-bottom: 50px;
}

.cradle-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.cradle-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 3px solid #bfa15f;
    /* Gold accent top */
    padding: 40px 30px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cradle-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-top-color: #d4b067;
}

.card-number {
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-size: 100px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    transition: transform 0.4s ease;
}

.cradle-card:hover .card-number {
    transform: scale(1.1) translateX(-10px);
    color: rgba(255, 255, 255, 0.15);
}

.cradle-card h3,
.cradle-card p {
    position: relative;
    z-index: 1;
}

.cradle-card h3 {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 15px;
}

.cradle-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Responsive for Cradle */
@media (max-width: 768px) {
    .cradle-cards {
        flex-direction: column;
    }

    .cradle-card {
        height: auto;
        padding: 30px;
    }
}

/* Section: Reward Programs */
.section-rewards {
    padding: 80px 0;
    background-color: #fdfdfd;
    /* Light background placeholder */
    background-image: url('/static/img/product/right_bg.png');
    background-size: cover;
    background-position: center;
}

.reward-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 80px;
    gap: 50px;
}

.reward-block:last-child {
    margin-bottom: 0;
}

.reward-block.reverse {
    flex-direction: row-reverse;
}

.reward-content {
    flex: 1;
    text-align: left;
}

.reward-content h3 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #333;
}

.reward-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.reward-img-placeholder {
    flex: 1;
    height: 350px;
    background-color: #eee;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

/* Mobile Responsive for Rewards */
@media (max-width: 991px) {

    .reward-block,
    .reward-block.reverse {
        flex-direction: column !important;
        gap: 20px !important;
        margin-bottom: 60px !important;
        display: flex !important;
    }

    .reward-content {
        text-align: center !important;
        width: 100% !important;
        order: 2 !important;
    }

    .reward-content h3 {
        font-size: 26px !important;
        margin-bottom: 15px !important;
    }

    .reward-content p {
        font-size: 15px !important;
    }

    .reward-img-placeholder {
        width: 100% !important;
        height: 280px !important;
        margin-bottom: 20px !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        display: block !important;
        order: 1 !important;
        flex: none !important;
    }
}



.reward-img-referral {
    background-image: url('/static/img/product/right_1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent !important;
    /* Override placeholder gray */
}

.reward-img-acquisition {
    background-image: url('/static/img/product/right_2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent !important;
}

/* --- Settlement Grid Section --- */
.settlement-grid-section {
    padding: 100px 0;
    background-color: #fdfdfd;
    background-image: url('/static/img/product/right_bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.settlement-grid-section .section-header {
    text-align: left;
    margin-bottom: 60px;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.settlement-grid-section .title {
    font-size: 36px;
    font-weight: 300;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.settlement-grid-section .subtitle {
    font-size: 18px;
    color: #888;
    line-height: 1.6;
}

.settlement-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.grid-row {
    display: flex;
    gap: 30px;
}

.top-row .settle-card {
    flex: 1;
}

.bottom-row .settle-card {
    flex: 1;
}

.settle-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(191, 161, 95, 0.15);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    min-height: 160px;
}

.settle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(191, 161, 95, 0.1);
    border-color: rgba(191, 161, 95, 0.4);
    background: #fff;
}

.card-icon {
    font-size: 48px;
    color: #bfa15f;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f9f6f0 0%, #ffffff 100%);
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.02);
}

.card-content p {
    font-size: 18px;
    color: #444;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .settlement-grid-section {
        padding: 60px 0;
    }

    .grid-row {
        flex-direction: column;
        gap: 20px;
    }

    .settlement-grid-section .title {
        font-size: 28px;
    }

    .settlement-grid-section .subtitle {
        font-size: 15px;
    }

    .settle-card {
        padding: 20px;
        min-height: auto;
    }

    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .card-content p {
        font-size: 15px;
    }
}

/* Membership System Section */
.membership-system-section {
    padding: 100px 0;
    background-image: url('/static/img/platform_value/membership/membership_sec1_bg.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.membership-main-title {
    font-size: 32px;
    font-weight: 300;
    color: #333;
    margin-bottom: 80px;
    letter-spacing: 2px;
}

.membership-main-title i {
    color: #bfa15f;
    margin-right: 10px;
}

.membership-block {
    margin-bottom: 80px;
}

.membership-block:last-child {
    margin-bottom: 0;
}


.membership-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.membership-container.reversed {
    flex-direction: row;
    justify-content: space-between;
}

.membership-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.membership-text {
    flex: 1;
}

.tier-title {
    font-size: 32px;
    font-weight: 300;
    color: #333;
    margin-bottom: 25px;
}

.tier-desc {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    max-width: 500px;
}

/* Card General Styles */
.membership-card {
    width: 400px;
    height: 225px;
    border-radius: 6px;
    padding: 25px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-size: cover;
    background-position: center;
}

.card-no {
    font-size: 11px;
    opacity: 0.8;
    font-family: monospace;
}

.card-name {
    font-size: 28px;
    font-weight: 500;
    margin: 10px 0;
}

.card-quote {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    line-height: 1.4;
}

/* OMC Special Styling */
/* OMC Envelope Styling - Vertical */
.omc-envelope {
    position: relative;
    width: 480px;
    height: 300px;
    background-color: transparent;
    perspective: 1000px;
}

.envelope-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #0d1520;
    /* Dark blue frame */
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.envelope-front {
    position: absolute;
    width: 0;
    height: 0;
    z-index: 3;
    border-right: 240px solid #141d2b;
    border-top: 150px solid transparent;
    border-bottom: 150px solid #141d2b;
    border-left: 240px solid #1a2538;
}

/* Hover Animation - Overlay Effect */
.card-slot {
    position: absolute;
    top: 20px;
    left: 40px;
    width: 400px;
    height: 225px;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), z-index 0s 0.6s;
    /* Delay z-index on return */
}

.omc-visual:hover .card-slot {
    animation: cardExtractOverlay 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes cardExtractOverlay {
    0% {
        transform: translateY(0);
        z-index: 2;
    }

    40% {
        transform: translateY(-160px);
        z-index: 2;
    }

    41% {
        z-index: 10;
    }

    100% {
        transform: translateY(-100px) scale(1.05);
        z-index: 10;
    }
}

/* Ensure smooth return */
@keyframes cardRetract {
    0% {
        transform: translateY(-100px) scale(1.05);
        z-index: 10;
    }

    30% {
        transform: translateY(-160px);
        z-index: 10;
    }

    31% {
        z-index: 2;
    }

    100% {
        transform: translateY(0);
        z-index: 2;
    }
}

/* Apply retract animation when NOT hovering, but ONLY after first interaction */
.omc-visual.interacted:not(:hover) .card-slot {
    animation: cardRetract 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Text Sync Animation - Simplified to match card-no logic */
.card-content {
    opacity: 1;
    /* Match natural visibility */
}

.card-frame {
    display: none;
    /* Deprecated */
}

.tongren-card {
    background-image: url('/static/img/platform_value/membership/tongren_card_new.png');
    background-size: cover;
    background-position: center;
    border: none;
}

/* EMC Stacked Cards Styling */
.emc-visual {
    padding-top: 50px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.emc-cards-stack {
    position: relative;
    width: 650px;
    height: 480px;
}

.emc-card {
    position: absolute;
    cursor: pointer;
    box-shadow:
        -5px 5px 15px rgba(0, 0, 0, 0.3),
        -15px 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.emc-card:hover {
    box-shadow:
        -10px 10px 25px rgba(0, 0, 0, 0.4),
        -25px 25px 60px rgba(0, 0, 0, 0.3);
    z-index: 10 !important;
}


/* Individual EMC Card Colors & Positions */
.feilong {
    background-image: url('/static/img/platform_value/membership/feilong_card.png');
    background-size: cover;
    background-position: center;
    border: none;
    right: 0;
    top: 0;
    z-index: 1;
}

.yuelong {
    background-image: url('/static/img/platform_value/membership/yuelong_card.png');
    background-size: cover;
    background-position: center;
    border: none;
    right: 60px;
    top: 60px;
    z-index: 2;
}

.tanglong {
    background-image: url('/static/img/platform_value/membership/tanglong_card.png');
    background-size: cover;
    background-position: center;
    border: none;
    right: 120px;
    top: 120px;
    z-index: 3;
}

.jianlong {
    background-image: url('/static/img/platform_value/membership/jianlong_card.png');
    background-size: cover;
    background-position: center;
    border: none;
    right: 180px;
    top: 180px;
    z-index: 4;
}

.qianlong {
    background-image: url('/static/img/platform_value/membership/qianlong_card.png');
    background-size: cover;
    background-position: center;
    border: none;
    right: 240px;
    top: 240px;
    z-index: 5;
}

/* EMC Stack Interaction */
.emc-cards-stack:hover .emc-card {
    transform: translate(10px, -10px);
}

.emc-cards-stack .emc-card:hover {
    transform: translate(20px, -20px) scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}


/* Mobile Responsive */
@media (max-width: 991px) {

    .membership-container,
    .membership-container.reversed {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .membership-text {
        order: 2;
    }

    .membership-visual {
        order: 1;
        width: 100%;
    }

    .tier-desc {
        margin: 0 auto;
    }

    .emc-visual {
        min-height: auto;
        padding-top: 20px;
    }

    .emc-cards-stack {
        width: 100%;
        max-width: 340px;
        height: 330px;
        margin: 0 auto;
        transform: none;
    }

    .membership-card {
        width: 300px;
        height: 170px;
        padding: 15px;
    }

    .card-name {
        font-size: 20px;
    }

    .card-quote {
        font-size: 11px;
    }

    .emc-card {
        right: auto;
        left: 50%;
        margin-left: -150px;
        /* Reduce shadow for mobile to prevent heavy accumulation */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }

    .feilong {
        top: 0;
    }

    .yuelong {
        top: 40px;
    }

    .tanglong {
        top: 80px;
    }

    .jianlong {
        top: 120px;
    }

    .qianlong {
        top: 160px;
    }

    .card-frame {
        padding: 30px;
        border-radius: 8px 60px 8px 8px;
    }

    /* Vertical Envelope Mobile */
    .omc-envelope {
        width: 320px;
        height: 200px;
        margin: 0 auto;
    }

    .envelope-front {
        border-right-width: 160px;
        border-top-width: 100px;
        border-bottom-width: 100px;
        border-left-width: 160px;
    }

    .card-slot {
        width: 280px;
        height: 157px;
        top: 20px;
        left: 20px;
    }

    .membership-card {
        width: 280px;
        height: 157px;
        padding: 10px;
    }

    .card-name {
        font-size: 18px;
    }

    .card-quote {
        font-size: 10px;
    }

    .omc-visual:hover .card-slot {
        animation: cardExtractOverlayMobile 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    }

    /* Apply retract animation when NOT hovering, but ONLY after first interaction */
    .omc-visual.interacted:not(:hover) .card-slot {
        animation: cardRetractMobile 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    }

    @keyframes cardExtractOverlayMobile {
        0% {
            transform: translateY(0);
            z-index: 2;
        }

        40% {
            transform: translateY(-110px);
            z-index: 2;
        }

        41% {
            z-index: 10;
        }

        100% {
            transform: translateY(-70px) scale(1.05);
            z-index: 10;
        }
    }

    @keyframes cardRetractMobile {
        0% {
            transform: translateY(-70px) scale(1.05);
            z-index: 10;
        }

        30% {
            transform: translateY(-110px);
            z-index: 10;
        }

        31% {
            z-index: 2;
        }

        100% {
            transform: translateY(0);
            z-index: 2;
        }
    }
}

/* Benefits Matrix Section */
.section-benefits-matrix {
    padding: 60px 0 100px 0;
    background-image: url('/static/img/platform_value/membership/membership_sec_2_bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.matrix-header {
    text-align: center;
    position: relative;
    margin-bottom: 60px;
    z-index: 2;
}

.matrix-main-title {
    font-size: 32px;
    font-weight: 300;
    color: #333;
    margin-top: 40px;
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #f2e9d8;
    padding: 40px;
    border-radius: 4px;
}

.grid-row {
    display: flex;
    gap: 20px;
}

.benefit-card {
    background-color: #1a1614;
    /* Very dark brown/black */
    border-radius: 8px;
    padding: 30px;
    color: #f2e9d8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.benefit-card.full-width {
    width: 100%;
}

.benefit-card.half-width {
    flex: 1;
}

.benefit-card .card-title {
    font-size: 22px;
    font-weight: 300;
    color: #e5d1ae;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list li {
    font-size: 14px;
    margin-bottom: 12px;
    color: #d1c1a5;
    position: relative;
    padding-left: 0;
}

.list-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.points-badge {
    background: rgba(229, 209, 174, 0.1);
    border-left: 3px solid #e5d1ae;
    padding: 15px 20px;
    border-radius: 0 4px 4px 0;
}

.points-badge .desc {
    font-size: 16px;
    color: #f2e9d8;
}

/* Mobile Responsiveness for Benefits Matrix */
@media (max-width: 768px) {
    .grid-row {
        flex-direction: column;
    }

    .benefits-grid {
        padding: 20px;
    }

    .matrix-main-title {
        font-size: 24px;
    }

    .v-brand-element {
        font-size: 100px;
        top: -50px;
        left: 20px;
    }

    .list-2-col {
        grid-template-columns: 1fr;
    }
}