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

:root {
    --primary-color: #0d9488;
    --primary-light: #14b8a6;
    --primary-dark: #0f766e;
    --secondary-color: #f97316;
    --secondary-light: #fb923c;
    --secondary-dark: #ea580c;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--bg-white);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

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

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn-icon {
    font-size: 16px;
}

.btn-arrow {
    transition: var(--transition);
}

.btn-secondary:hover .btn-arrow {
    transform: translateX(4px);
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
    padding: 20px 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 14px 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: white;
    transition: var(--transition);
}

.navbar.scrolled .nav-brand {
    color: var(--text-color);
}

.logo-icon {
    font-size: 28px;
}

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

.nav-link {
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 15px;
    border-radius: 100px;
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--text-light);
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    background: #f0fdfa;
    color: var(--primary-color);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background-color: var(--text-color);
}

/* ===== 英雄区域 ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #14b8a6 100%);
    color: white;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.shape-1 {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -150px;
}

.shape-2 {
    width: 350px;
    height: 350px;
    bottom: -100px;
    left: -100px;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-number {
    font-size: 28px;
    font-weight: 700;
}

.trust-label {
    font-size: 14px;
    opacity: 0.8;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero右侧视觉卡片 */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-image-card {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.hero-image-inner {
    width: 100%;
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-emoji {
    font-size: 120px;
}

.hero-image-card-bottom {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.mini-card {
    background: white;
    padding: 12px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mini-icon {
    font-size: 20px;
}

.mini-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
}

.mini-desc {
    font-size: 11px;
    color: var(--text-light);
}

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

.section-gray {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: #f0fdfa;
    color: var(--primary-color);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
}

/* ===== 医院介绍 ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-card {
    background: white;
    padding: 28px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.about-card-accent {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    color: white;
}

.about-card-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.about-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.about-card-desc {
    font-size: 13px;
    opacity: 0.8;
}

.about-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-content p {
    margin-bottom: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

.about-features {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.feature-check {
    width: 24px;
    height: 24px;
    background: #f0fdfa;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== 服务项目 ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background-color: white;
    padding: 36px 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: #ccfbf1;
}

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    font-size: 32px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== 医生团队 ===== */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.doctor-card {
    background-color: white;
    padding: 40px 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.doctor-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.doctor-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 4px 12px;
    background: var(--secondary-color);
    color: white;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
}

.doctor-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-color);
}

.doctor-title {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 500;
}

.doctor-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.doctor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.doctor-tags span {
    padding: 5px 14px;
    background-color: #f0fdfa;
    color: var(--primary-color);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
}

/* ===== 设备与环境 ===== */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.equipment-card {
    background: white;
    padding: 36px 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.equipment-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.equipment-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.equipment-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
}

.equipment-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== 成功案例 ===== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.case-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.case-tag {
    display: inline-block;
    padding: 6px 16px;
    background: #fff7ed;
    color: var(--secondary-color);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.case-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.4;
}

.case-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 8px;
}

.case-quote {
    margin-top: 24px;
    padding: 20px;
    background: #f0fdfa;
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.7;
    position: relative;
}

.quote-icon {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1;
}

/* ===== 客户好评 ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.review-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.review-stars {
    font-size: 18px;
    margin-bottom: 16px;
}

.review-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

/* ===== 门店导航 ===== */
.stores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.store-card {
    background: white;
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.store-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
}

.store-badge {
    padding: 6px 14px;
    background: #f0fdfa;
    color: var(--primary-color);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.store-info {
    margin-bottom: 28px;
}

.store-item {
    display: flex;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.6;
}

.store-item strong {
    color: var(--text-color);
    min-width: 80px;
    flex-shrink: 0;
}

.store-item span {
    color: var(--text-light);
}

/* ===== 联系我们 ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info-card,
.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-info-card h3,
.contact-form-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--text-color);
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: #f0fdfa;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-color);
    font-size: 15px;
}

.contact-detail p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-color);
    transition: var(--transition);
    font-family: inherit;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* ===== 页脚 ===== */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.footer-section p,
.footer-section li {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.8;
}

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

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

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

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

/* ===== 返回顶部 ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ===== 响应式设计 ===== */
@media (max-width: 992px) {
    .services-grid,
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .doctors-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid,
    .hero-grid,
    .cases-grid,
    .stores-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 100px 32px;
        gap: 12px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        z-index: 999;
    }

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

    .nav-link {
        color: var(--text-color) !important;
        font-size: 16px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1000;
    }

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

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

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

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

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

    .hero-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .trust-divider {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

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

    .services-grid,
    .doctors-grid,
    .reviews-grid,
    .equipment-grid {
        grid-template-columns: 1fr;
    }

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

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

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}
