/* ==========================================================================
   全球汽车出口推广落地页 - 专有样式表 (css/promo.css)
   ========================================================================== */

/* 引入基础全局样式，复用其核心 CSS 变量及全局重置 */
@import url('/css/style.css');

:root {
    --color-primary-rgb: 0, 242, 254;
    --color-accent-rgb: 192, 132, 252;
}

/* 页面背景装饰物 */
.promo-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, rgba(76, 172, 254, 0.03) 50%, transparent 100%);
    top: -200px;
    right: -100px;
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

.promo-bg-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.08) 0%, rgba(219, 39, 119, 0.02) 60%, transparent 100%);
    bottom: 10%;
    left: -200px;
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

/* --- 首屏 Hero 区域 --- */
.promo-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 100px 0 60px;
    position: relative;
}

@media (max-width: 1024px) {
    .promo-hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 0 40px;
    }
}

.promo-hero-content {
    flex: 1.2;
    max-width: 680px;
    z-index: 2;
}

.promo-hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 30%, #a5f3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.promo-hero-desc {
    font-size: clamp(14px, 2vw, 18px);
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 35px;
}

.promo-hero-image-wrapper {
    flex: 0.8;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.promo-hero-image-frame {
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    padding: 6px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.3) 0%, rgba(192, 132, 252, 0.3) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 242, 254, 0.15);
    animation: float 6s ease-in-out infinite;
}

.promo-hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    object-fit: cover;
}

/* 浮动动画 */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
}

/* --- 数据统计行 (Stats Room) --- */
.promo-stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .promo-stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.promo-stat-card {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.promo-stat-card:hover {
    border-color: rgba(0, 242, 254, 0.25);
    background: rgba(0, 242, 254, 0.02);
    transform: translateY(-5px);
}

.promo-stat-number {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.promo-stat-label {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* --- 核心特色版块 --- */
.promo-section-header {
    text-align: center;
    margin: 80px auto 40px;
    max-width: 700px;
}

.promo-section-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 50%, #9ca3af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.promo-section-subtitle {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --- 担保托管流程图 --- */
.escrow-flow-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    gap: 15px;
    margin: 40px 0;
}

@media (max-width: 900px) {
    .escrow-flow-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .escrow-connector {
        transform: rotate(90deg);
        margin: 10px auto;
    }
}

.escrow-card {
    background: rgba(12, 18, 44, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.escrow-card:hover {
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.1);
    transform: scale(1.02);
}

.escrow-card.highlight {
    border-color: rgba(192, 132, 252, 0.3);
    box-shadow: 0 0 25px rgba(192, 132, 252, 0.1);
}

.escrow-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 22px;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.escrow-card.highlight .escrow-icon-wrapper {
    color: var(--color-accent);
    background: rgba(192, 132, 252, 0.1);
    border-color: rgba(192, 132, 252, 0.2);
}

.escrow-card:hover .escrow-icon-wrapper {
    transform: rotateY(180deg);
}

.escrow-step-num {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.15);
}

.escrow-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.escrow-card-desc {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.escrow-connector {
    text-align: center;
    color: rgba(0, 242, 254, 0.3);
    font-size: 20px;
    animation: pulseArrow 2s infinite;
}

@keyframes pulseArrow {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(5px); }
}

/* --- 多式联运物流追踪展示 (Logistics Tracking) --- */
.logistics-container {
    padding: 40px;
    background: rgba(12, 18, 44, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.logistics-track {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 40px 0;
    z-index: 2;
}

@media (max-width: 768px) {
    .logistics-track {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
        padding-left: 30px;
    }
    
    .logistics-track::before {
        left: 38px !important;
        top: 0 !important;
        width: 2px !important;
        height: 100% !important;
    }
    
    .logistics-progress {
        left: 38px !important;
        top: 0 !important;
        width: 2px !important;
        height: 0% !important;
    }
}

.logistics-track::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-50%);
    border-radius: 2px;
    z-index: -1;
}

.logistics-progress {
    position: absolute;
    left: 0;
    top: 50%;
    height: 4px;
    background: var(--gradient-primary);
    transform: translateY(-50%);
    z-index: 1;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
    width: 0%;
}

.logistics-node {
    background: var(--bg-secondary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: var(--transition-smooth);
    color: var(--color-text-muted);
}

.logistics-node.active {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
    background: #0c122c;
}

.logistics-node-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logistics-node-label {
    position: absolute;
    top: 55px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
}

@media (max-width: 768px) {
    .logistics-node-label {
        position: static;
        margin-left: 20px;
        margin-top: 0;
        text-align: left;
    }
    
    .logistics-node-wrapper {
        flex-direction: row;
    }
}

.logistics-node-desc {
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: 400;
    display: block;
    margin-top: 3px;
}

/* --- 汽车出口估算计算器 (Calculator) --- */
.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calc-options-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.calc-segmented-control {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 4px;
}

.calc-segment-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-family: inherit;
    font-weight: 600;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition-smooth);
    text-align: center;
}

.calc-segment-btn.active {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: #fff;
}

.calc-results-panel {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.02) 0%, rgba(192, 132, 252, 0.02) 100%);
    border: 1px dashed rgba(0, 242, 254, 0.2);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calc-result-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.calc-result-row.total {
    border-bottom: none;
    padding-top: 20px;
    margin-top: 10px;
}

.calc-total-label {
    font-size: 18px;
    font-weight: 800;
}

.calc-total-value {
    font-size: 26px;
    font-weight: 900;
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

/* --- 滚动展现 (Scroll Reveal) --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 按钮微动效 */
.btn-cta {
    background: var(--gradient-primary);
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.2);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-cta:hover {
    box-shadow: 0 6px 25px rgba(0, 242, 254, 0.4);
    transform: translateY(-2px);
}

.btn-cta-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-cta-secondary:hover {
    border-color: rgba(0, 242, 254, 0.4);
    background: rgba(0, 242, 254, 0.05);
    transform: translateY(-2px);
}
