/* 宝宝商旅 - 专业商旅服务平台 */

/* ==================== 通用样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主色调 - 专业商务蓝 */
    --primary-color: #0052CC;
    --primary-dark: #003D99;
    --primary-light: #2684FF;

    /* 辅助色 - 温暖橙色（旅行感）*/
    --secondary-color: #FF8B00;
    --secondary-dark: #E67700;
    --secondary-light: #FFA633;

    /* 中性色 */
    --text-color: #172B4D;
    --text-secondary: #5E6C84;
    --text-light: #6B778C;

    /* 背景色 */
    --bg-color: #FFFFFF;
    --bg-light: #F4F5F7;
    --bg-dark: #091E42;
    --bg-panel: #FAFBFD;

    /* 边框和分隔线 */
    --border-color: #DFE1E6;
    --border-hover: #B3BAC5;
    --accent-metal: #C89A52;

    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(9, 30, 66, 0.12);
    --shadow-md: 0 4px 12px rgba(9, 30, 66, 0.15);
    --shadow-lg: 0 8px 24px rgba(9, 30, 66, 0.2);

    /* 成功/警告/错误 */
    --success-color: #36B37E;
    --warning-color: #FF991F;
    --error-color: #DE350B;
}

body {
    font-family: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Hiragino Sans GB',
        'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 16px;
}

h1,
h2,
h3,
h4 {
    font-family: 'Noto Serif SC', 'Source Han Serif SC', 'STSong', 'Songti SC', serif;
    letter-spacing: 0.2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== 头部样式 ==================== */
.header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    min-height: 72px;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0c3d92, #226be0);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.brand-mark-sm {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 11px;
    margin-right: 6px;
    vertical-align: middle;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 15px;
}

.nav a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.nav a.active {
    background: var(--primary-color);
    color: white;
}

.nav .btn-login {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    margin-left: 8px;
}

.nav .btn-login:hover {
    background: var(--primary-dark);
}

/* ==================== Hero 区域 ==================== */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.18;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.2px;
}

.icon-glyph {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

.icon-glyph svg {
    width: 100%;
    height: 100%;
}

.icon-glyph-light {
    color: var(--primary-color);
    border-color: rgba(0, 82, 204, 0.28);
    background: rgba(0, 82, 204, 0.05);
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

.btn-merchant {
    background: var(--primary-color);
    color: white;
}

.btn-merchant:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ==================== Hero 统计数据 ==================== */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 15px;
    opacity: 0.9;
}

/* ==================== 特色区域 ==================== */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.section-desc {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.feature-card {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-panel) 100%);
    padding: 40px 32px;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-metal));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #fff;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #cbd8f1;
    transition: all 0.25s ease;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
}

.feature-card:hover .feature-icon {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), #1f66d7);
    border-color: transparent;
}

.feature-card h4 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* ==================== 服务流程区域 ==================== */
.how-it-works {
    padding: 100px 0;
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.process-step {
    background: white;
    padding: 36px 24px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.process-step:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
}

.process-step h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 600;
}

.process-step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.process-arrow {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 700;
}

/* ==================== 商家入驻 CTA ==================== */
.merchant-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #091E42 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.merchant-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.merchant-cta-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.merchant-cta-text {
    color: white;
}

.merchant-cta-text h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.merchant-cta-text>p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.merchant-benefits {
    list-style: none;
    margin-bottom: 24px;
}

.merchant-benefits li {
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(255, 139, 0, 0.16);
    flex: 0 0 8px;
}

.merchant-requirements {
    margin-top: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    font-size: 14px;
}

.merchant-cta-action {
    text-align: center;
}

.merchant-note {
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== 页脚样式 ==================== */
.footer {
    background: linear-gradient(180deg, #061632 0%, #091E42 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.8;
}

.footer-slogan {
    color: var(--secondary-color) !important;
    font-style: italic;
    margin-top: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin: 0 8px;
}

.footer-bottom a:hover {
    color: white;
}

.contact-label {
    display: inline-block;
    min-width: 42px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .process-arrow {
        display: none;
    }

    .merchant-cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .nav a {
        font-size: 14px;
        padding: 8px 12px;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        gap: 32px;
    }

    .stat-number {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-desc {
        font-size: 16px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .merchant-cta-text h3 {
        font-size: 28px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 15px;
    }

    .feature-card {
        padding: 28px 20px;
    }

    .process-step {
        padding: 24px 16px;
    }
}