/* ===================================
   酒店运营方案 - 主样式表
   风格：高端简约 | OTA 平台线性图标
   =================================== */

:root {
    /* 携程 OTA 蓝白配色 */
    --primary: #007AFF;
    --primary-light: #4DA3FF;
    --primary-dark: #0056B3;
    --primary-bg: rgba(0, 122, 255, 0.08);
    --accent: #007AFF;
    --success: #07C160;
    --white: #FFFFFF;
    
    /* 中性色 - 电商规范 */
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --text-light: #999999;
    --border: #E5E5E5;
    --border-light: #F0F0F0;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F7FA;
    --bg-tertiary: #EBF2FF;
    
    /* 阴影 - OTA 平台规范 */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,122,255,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-secondary);
    -webkit-font-smoothing: antialiased;
}

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

/* ===================================
   顶部导航
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: transform 0.4s ease;
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 36px;
    width: auto;
    display: block;
}

.navbar-menu {
    display: flex;
    gap: 8px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s ease;
}

.nav-btn:hover {
    background: var(--primary-bg);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.nav-btn.active {
    color: var(--text-primary);
    font-weight: 700;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-icon {
    width: 18px;
    height: 18px;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    padding: 100px 0 60px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-image-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border: 1px solid var(--border);
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* ===================================
   模块入口卡片
   =================================== */
.module-entrance {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.entrance-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.entrance-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,122,255,0.15);
    border-color: var(--primary);
}

.entrance-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    color: var(--primary);
    background: var(--primary-bg);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.entrance-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.entrance-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.entrance-hook {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   底部 CTA
   =================================== */
.footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
}

.footer-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.footer-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 16px 48px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,122,255,0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,122,255,0.4);
}

/* ===================================
   全屏覆盖层
   =================================== */
.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-secondary);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
}

.fullscreen-overlay.active {
    opacity: 1;
    visibility: visible;
}

.fullscreen-container {
    min-height: 100vh;
    padding: 80px 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.25s ease;
    margin-bottom: 32px;
    margin-left: 140px;
}

.back-button:hover {
    background: var(--primary-bg);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(-4px);
}

.back-button svg {
    width: 18px;
    height: 18px;
}

.fullscreen-logo {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 10;
}

.fullscreen-logo .logo-image {
    height: 36px;
    width: auto;
    display: block;
}

.fullscreen-module {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
}

.fullscreen-module .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.fullscreen-module .section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.fullscreen-module .section-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ===================================
   痛点模块
   =================================== */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.pain-card {
    background: var(--bg-primary);
    border-radius: 14px;
    padding: 28px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.pain-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    color: var(--primary);
    background: var(--primary-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pain-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.pain-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.pain-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
}

.pain-data {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.data-label {
    font-size: 12px;
    color: var(--text-light);
}

.data-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

/* ===================================
   价值模块
   =================================== */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.value-card {
    background: var(--bg-primary);
    border-radius: 14px;
    padding: 32px 26px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,122,255,0.12);
    border-color: var(--primary);
}

.value-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    color: var(--primary);
    background: var(--primary-bg);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 26px;
    height: 26px;
    stroke-width: 2;
}

.value-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

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

/* 时间轴 */
.goal-timeline {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 40px 32px;
    margin-top: 40px;
    border: 1px solid var(--border);
}

.timeline-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 36px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 13px;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0,122,255,0.3);
}

.timeline-content {
    flex: 1;
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 18px;
    margin: 0 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.timeline-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===================================
   案例模块
   =================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,122,255,0.15);
    border-color: var(--primary);
}

.case-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-secondary);
    position: relative;
}

.case-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-image {
    transform: scale(1.03);
}

.case-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,122,255,0.95);
    color: white;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(8px);
}

.case-badge svg {
    width: 13px;
    height: 13px;
}

.case-header {
    padding: 22px;
    border-bottom: 1px solid var(--border-light);
}

.case-header h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
    letter-spacing: -0.3px;
}

.case-header p {
    font-size: 13px;
    color: var(--text-secondary);
}

.case-body {
    padding: 18px 22px;
}

.case-result {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.case-result:last-child {
    margin-bottom: 0;
}

.case-result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--primary-bg);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--primary);
}

.case-result-icon svg {
    width: 11px;
    height: 11px;
    stroke-width: 2.5;
}

/* ===================================
   合作模块
   =================================== */
.risk-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

@media (max-width: 1200px) {
    .risk-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .risk-cards {
        grid-template-columns: 1fr;
    }
}

.risk-card {
    background: var(--bg-primary);
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.risk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,122,255,0.12);
    border-color: var(--primary);
}

.risk-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    color: var(--primary);
    background: var(--primary-bg);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.risk-icon svg {
    width: 26px;
    height: 26px;
    stroke-width: 2;
}

.risk-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.risk-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 服务承诺 */
.promise-section {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 40px 32px;
    margin-top: 40px;
    border: 1px solid var(--border);
}

.promise-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 36px;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.promise-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.promise-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,122,255,0.12);
    border-color: var(--primary);
}

.promise-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.promise-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.promise-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===================================
   响应式
   =================================== */

/* ===================================
   服务流程概览 - 首页新增
   =================================== */
.process-preview {
    padding: 80px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
}

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

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.process-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.process-step {
    width: 64px;
    height: 64px;
    line-height: 64px;
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-bg);
    border-radius: 50%;
    margin: 0 auto 24px;
    flex-shrink: 0;
    border: 2px solid var(--primary);
}

.process-card h3 {
    font-size: 19px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

.process-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
}

.process-cta {
    text-align: center;
    margin-top: 20px;
}

.process-link {
    display: inline-block;
    font-size: 16px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    background: var(--primary-bg);
    transition: all 0.3s ease;
}

.process-link:hover {
    color: var(--primary-dark);
    background: rgba(0, 122, 255, 0.15);
    letter-spacing: 0.5px;
}

/* ===================================
   联系入口 - 首页新增
   =================================== */
.contact-preview {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.contact-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.contact-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.contact-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--white);
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ===================================
   响应式
   =================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .nav-btn span {
        display: none;
    }
    
    .module-entrance {
        grid-template-columns: 1fr;
    }
    
    .fullscreen-module {
        padding: 30px 20px;
    }
    
    .fullscreen-module .section-header h2 {
        font-size: 28px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }
    
    .timeline-marker {
        position: absolute;
        left: 0;
        width: 40px;
        height: 40px;
        font-size: 12px;
    }
    
    .timeline-content {
        margin: 0;
    }
    
    /* 服务流程响应式 */
    .process-preview {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 26px;
        margin-bottom: 35px;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .process-card {
        padding: 30px 25px;
        flex-direction: row;
        text-align: left;
        gap: 25px;
    }
    
    .process-step {
        width: 56px;
        height: 56px;
        line-height: 56px;
        font-size: 26px;
        margin: 0;
        flex-shrink: 0;
    }
    
    .process-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .process-card p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .process-cta {
        margin-top: 30px;
    }
    
    .process-link {
        font-size: 15px;
        padding: 10px 20px;
    }
    
    .contact-card {
        padding: 40px 25px;
    }
    
    .contact-content h2 {
        font-size: 24px;
    }
    
    .contact-content p {
        font-size: 14px;
    }
}
