/* 即刻负重种植牙网站样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 严肃医疗色调 - 深蓝 + 专业灰 + 医疗绿 */
    --primary-blue: #1a365d;
    --secondary-blue: #2c5282;
    --light-blue: #e6f3ff;
    --medical-gray: #4a5568;
    --light-gray: #f7fafc;
    --medical-green: #2d7d32;
    --accent-green: #4caf50;
    --white: #ffffff;
    --text-dark: #2d3748;
    --text-light: #718096;
    --success-green: #38a169;
    --border-gray: #e2e8f0;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    font-weight: 400;
    letter-spacing: 0.01em;
}

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

/* 导航栏 */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.nav-logo h2 {
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 700;
}

.nav-logo span {
    color: var(--medical-green);
    font-size: 14px;
    margin-left: 5px;
    font-weight: 500;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.phone-btn {
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.phone-btn:hover {
    background: var(--secondary-blue);
}

/* 主视觉区域 */
.hero {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 100px 0 60px;
    margin-top: 70px;
    border-bottom: 1px solid var(--border-gray);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--primary-blue);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 20px;
    color: var(--medical-green);
    font-weight: 600;
}

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

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

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

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    padding: 15px 30px;
    border: 2px solid var(--primary-blue);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 400px;
    height: 300px;
    background: var(--light-gray);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-gray);
}

.smile-icon {
    font-size: 60px;
    margin-bottom: 16px;
    color: var(--medical-green);
}

.image-placeholder p {
    color: var(--medical-gray);
    font-weight: 500;
    font-size: 16px;
}

/* 屏幕阅读器专用样式 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.intro-section {
    padding: 80px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-gray);
}

.intro-content {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.intro-text h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 16px;
    letter-spacing: 0.01em;
}

.intro-text p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 15px;
}

.advantage-list {
    list-style: none;
    padding: 0;
}

.advantage-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-gray);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 15px;
}

.advantage-list li:last-child {
    border-bottom: none;
}

.advantage-list strong {
    color: var(--medical-green);
    font-weight: 600;
}

.comparison-section {
    background: var(--light-gray);
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
}

.comparison-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0.01em;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 8px;
    text-align: center;
    border: 1px solid var(--border-gray);
    font-size: 13px;
}

.comparison-table th {
    background: var(--light-gray);
    font-weight: 600;
    color: var(--primary-blue);
}

.comparison-table tbody tr:nth-child(even) {
    background: var(--light-gray);
}

.comparison-table tbody td:first-child {
    background: #fef2f2;
    color: #dc2626;
    font-weight: 600;
}

.comparison-table tbody td:last-child {
    background: #f0fdf4;
    color: var(--medical-green);
    font-weight: 600;
}

.suitable-patients {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--border-gray);
}

.suitable-patients h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 32px;
    text-align: center;
    letter-spacing: 0.01em;
}

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

.patient-item {
    background: var(--white);
    padding: 24px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-gray);
    transition: transform 0.2s ease;
}

.patient-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--medical-green);
}

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

.patient-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.patient-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
}

/* 核心卖点 */
.features {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease;
    border: 1px solid var(--border-gray);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--medical-green);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 16px;
    color: var(--medical-green);
    font-weight: 600;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 12px;
    letter-spacing: 0.01em;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 预约区域 */
.appointment {
    padding: 80px 0;
    background: var(--white);
}

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

.appointment-info h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.appointment-info p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.appointment-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--light-blue);
    border-radius: 8px;
}

.benefit-icon {
    color: var(--medical-green);
    font-weight: bold;
    font-size: 16px;
}

.appointment-form {
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-gray);
}

.form h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: 0.01em;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--medical-green);
    box-shadow: 0 0 0 2px rgba(45, 125, 50, 0.1);
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    background: var(--medical-green);
    color: var(--white);
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    letter-spacing: 0.01em;
}

.btn-submit:hover {
    background: var(--accent-green);
}

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    margin-top: 15px;
}

/* 案例展示 */
.cases {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 50px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.case-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease;
    border: 1px solid var(--border-gray);
}

.case-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--medical-green);
}

.case-image {
    height: 180px;
    background: var(--light-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border-gray);
}

.case-image .image-placeholder {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: var(--light-gray);
}

.case-content {
    padding: 24px;
}

.case-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.case-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.case-result {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 8px;
}

.result-before {
    color: var(--text-light);
    font-size: 14px;
}

.result-after {
    color: var(--medical-green);
    font-weight: 600;
    font-size: 14px;
}

.case-testimonial {
    font-style: italic;
    color: var(--text-dark);
    background: var(--light-gray);
    padding: 16px;
    border-radius: 6px;
    border-left: 3px solid var(--medical-green);
    font-size: 14px;
    line-height: 1.6;
}

.cases-cta {
    text-align: center;
}

/* 底部 */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 16px;
    color: var(--medical-green);
    font-weight: 600;
    letter-spacing: 0.01em;
}

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--medical-green);
}

.contact-info p {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-link {
    background: var(--secondary-blue);
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--white);
    transition: background 0.2s ease;
    font-size: 14px;
}

.social-link:hover {
    background: var(--medical-green);
}

.qr-placeholder {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-blue);
    font-size: 11px;
    text-align: center;
    border: 1px solid var(--border-gray);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--secondary-blue);
    color: var(--light-blue);
}

/* 浮动预约按钮 */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.floating-btn a {
    background: var(--medical-green);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    transition: all 0.2s ease;
    display: block;
    font-size: 14px;
}

.floating-btn a:hover {
    background: var(--accent-green);
    transform: translateY(-1px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .comparison-table {
        font-size: 12px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px 4px;
    }
    
    .patients-grid {
        grid-template-columns: 1fr;
    }
    
    .appointment-content {
        grid-template-columns: 1fr;
    }
    
    .appointment-benefits {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        max-width: 100%;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .floating-btn {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .appointment-form {
        padding: 30px 20px;
    }
    
    .case-content {
        padding: 20px;
    }
}
