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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background: #fff;
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 滚动后的导航栏样式 */
.header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    position: relative;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo {
    height: 36px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text-cn {
    font-size: 20px;
    font-weight: 600;
    color: #309af7;
}

.logo-text-en {
    font-size: 9px;
    font-weight: 500;
    color: #309af7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: #555;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #3b82f6;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-left: auto;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background: #555;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span {
    background: #3b82f6;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* 滚动后移动端菜单按钮颜色 */
.header.scrolled .mobile-menu-toggle span {
    background: #1e293b;
}

/* 主视觉区 */
.hero {
    padding: 140px 24px 80px;
    background: url('../static/img/background.png') no-repeat center center;
    background-size: cover;
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-tag {
    display: inline-block;
    background: #dbeafe;
    color: #1d4ed8;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.3;
}

.hero h1 span {
    color: #3b82f6;
}

.hero-desc {
    font-size: 17px;
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: #3b82f6;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #2563eb;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: #fff;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid #d1d5db;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

/* 数据统计 */
.stats {
    padding: 60px 24px;
    background: #fff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.stats-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    padding: 0 20px;
}

.stat-number {
    font-size: 36px;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
}

/* 服务特色 */
.features {
    padding: 80px 24px;
    background: #fff;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: #64748b;
}

.features-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px 28px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 60px;
    height: 60px;
    background-size: contain;
    background-position: right top;
    background-repeat: no-repeat;
    z-index: 0;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-card:nth-child(1)::before {
    background-image: url('../static/img/pang1.png');
}

.feature-card:nth-child(2)::before {
    background-image: url('../static/img/pang6.png');
}

.feature-card:nth-child(3)::before {
    background-image: url('../static/img/pang4.png');
}

.feature-card:nth-child(4)::before {
    background-image: url('../static/img/pang3.png');
}

.feature-card:nth-child(5)::before {
    background-image: url('../static/img/pang5.png');
}

.feature-card:nth-child(6)::before {
    background-image: url('../static/img/pang2.png');
}

.feature-card:hover {
    background: #f1f5f9;
}


.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
}

/* 预约区域 */
.booking {
    padding: 80px 24px;
    background: #f8fafc;
}

.booking-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.booking-info {
    flex: 1;
}

.booking-info h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.booking-info p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.8;
}

.booking-features {
    list-style: none;
}

.booking-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: #374151;
}

.booking-features li::before {
    content: '\2713';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}

.booking-form-wrapper {
    flex: 1;
    max-width: 420px;
}

.booking-form {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.form-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    color: #374151;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-group input::placeholder {
    color: #9ca3af;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 12px;
}

.submit-btn:hover {
    background: #2563eb;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.detail-link {
    display: block;
    text-align: center;
    color: #64748b;
    font-size: 13px;
    text-decoration: none;
    padding: 10px;
    transition: color 0.2s;
}

.detail-link:hover {
    color: #3b82f6;
}

/* 城市选择器 */
.city-selector {
    position: relative;
}

.city-input {
    cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M2.5 4.5l3.5 3.5 3.5-3.5'/%3E%3C/svg%3E") no-repeat right 14px center;
}

.city-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
    max-height: 280px;
    overflow-y: auto;
    display: none;
    margin-top: 4px;
}

.city-dropdown.show {
    display: block;
}

.city-search {
    padding: 12px 14px;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    width: 100%;
    font-size: 14px;
    outline: none;
}

.city-group-title {
    padding: 10px 14px 6px;
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
    background: #f8fafc;
}

.city-option {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.15s;
}

.city-option:hover {
    background: #f1f5f9;
}

.city-option.hot {
    color: #ea580c;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

/* 页脚 */
.footer {
    padding: 50px 24px 30px;
    background: #1e293b;
    color: #94a3b8;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-brand {
    flex: 1;
}

.footer-logo {
    height: 32px;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    max-width: 380px;
}

.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.footer-qrcode p {
    font-size: 13px;
}

.footer-bottom {
    max-width: 1100px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid #334155;
    text-align: center;
    font-size: 13px;
}

.footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
}

/* 消息提示 */
.message {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 2000;
    opacity: 0;
    transition: all 0.3s;
}

.message.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.message.success {
    background: #dcfce7;
    color: #166534;
}

.message.error {
    background: #fee2e2;
    color: #991b1b;
}

/* 响应式 */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        order: -1;
        max-width: 300px;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card::before {
        width: 50px;
        height: 50px;
        top: 10px;
        right: 10px;
    }

    .booking-container {
        flex-direction: column;
    }

    .booking-form-wrapper {
        max-width: 100%;
        width: 100%;
    }

    .stats-container {
        flex-wrap: wrap;
        gap: 30px;
    }

    .stat-item {
        width: 45%;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-desc {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .nav-container {
        justify-content: flex-start;
    }

    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
    }

    /* 手机端隐藏PC端导航，只显示移动端菜单 */
    nav {
        display: none;
    }

    nav.active {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 24px;
        gap: 0;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 1000;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        display: flex !important;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 16px 0;
        font-size: 16px;
        color: #1e293b;
    }

    .nav-menu a:hover {
        color: #3b82f6;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero h1 {
        font-size: 28px;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

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

    .booking-form {
        padding: 24px 20px;
    }
}
