/* ===== 全局重置 & 字体 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'PingFang SC', Roboto, 'Helvetica Neue', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: background 0.3s, box-shadow 0.3s;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f3b5e;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    color: #3b82f6;
}

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

.nav-link {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s, border-bottom 0.3s;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 28px;
    height: 3px;
    background: #1e293b;
    border-radius: 3px;
    transition: 0.3s;
}

/* ===== Hero 区 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0b2447 0%, #1e4976 50%, #2d6a9f 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.hero-content .highlight {
    color: #facc15;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: #facc15;
    color: #1e293b;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(250, 204, 21, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 28px rgba(250, 204, 21, 0.5);
}

.btn-primary i {
    margin-left: 8px;
}

/* ===== 通用 Section ===== */
.section {
    padding: 80px 0;
}

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

.section-title {
    text-align: center;
    margin-bottom: 56px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.section-title p {
    font-size: 1.1rem;
    color: #64748b;
}

/* ===== 套餐卡片 ===== */
.packages {
    background: #ffffff;
}

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

.package-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    border: 1px solid #e9edf2;
    position: relative;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
    border-color: #bdd3ff;
}

.package-card .icon {
    font-size: 2.4rem;
    color: #2563eb;
    margin-bottom: 16px;
}

.package-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #0f172a;
}

.package-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin: 12px 0;
}

.package-card .price small {
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
}

.package-card ul {
    list-style: none;
    margin: 20px 0;
    text-align: left;
    padding: 0 8px;
}

.package-card ul li {
    padding: 6px 0;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-card ul li i {
    color: #10b981;
    font-size: 0.9rem;
}

.btn-card {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 32px;
    background: #2563eb;
    color: white;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-card:hover {
    background: #1d4ed8;
    transform: scale(1.04);
}

/* ===== 特色卡片 ===== */
.features {
    background: #f1f5f9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}

.feature-card {
    background: white;
    padding: 36px 24px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.feature-card i {
    font-size: 2.4rem;
    color: #2563eb;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #0f172a;
}

.feature-card p {
    color: #475569;
    font-size: 0.95rem;
}

/* ===== 评价 ===== */
.testimonials {
    background: #ffffff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f6;
    transition: 0.3s;
}

.testimonial-card:hover {
    border-color: #bdd3ff;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
}

.testimonial-card .stars {
    color: #f59e0b;
    margin-bottom: 12px;
}

.testimonial-card p {
    color: #334155;
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.7;
}

.testimonial-card .user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.testimonial-card .name {
    font-weight: 600;
    color: #0f172a;
}

.testimonial-card .tag {
    font-size: 0.85rem;
    color: #64748b;
}

/* ===== 预约表单 ===== */
.booking {
    background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
}

.booking-form {
    max-width: 640px;
    margin: 0 auto;
    background: white;
    padding: 40px 36px;
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1 1 45%;
    min-width: 200px;
}

.form-group.full-width {
    flex: 1 1 100%;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1e293b;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d9e6;
    border-radius: 12px;
    font-size: 1rem;
    background: #f9fbfd;
    transition: 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    background: white;
}

.btn-submit {
    flex: 1 1 100%;
    padding: 14px 32px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.form-message {
    max-width: 640px;
    margin: 20px auto 0;
    text-align: center;
    font-weight: 500;
    padding: 12px;
    border-radius: 12px;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
}

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

/* ===== 页脚 ===== */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 48px 0 24px;
}

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

.footer-brand h3 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.footer-brand i {
    color: #3b82f6;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #3b82f6;
}

.footer-contact p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        width: 100%;
        text-align: center;
        padding: 20px 0;
        gap: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

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

    .form-group {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .package-card {
        padding: 24px 16px;
    }

    .btn-primary {
        padding: 12px 28px;
        font-size: 1rem;
    }
}