/* style.css - 软佳门诊管理系统对比页面样式 */

:root {
    --primary-color: #2a7de1;
    --primary-dark: #1a5bb8;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --danger-color: #ef4444;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --gray-light: #e2e8f0;
    --gray: #94a3b8;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f9fafb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1e3a8a 0%, var(--primary-color) 100%);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.home-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(30, 58, 138, 0.9), rgba(42, 125, 225, 0.9)), url('images/clinic-background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.cta-button:hover {
    background-color: #e6900b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Introduction */
.introduction {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--dark-color);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto;
    border-radius: 2px;
}

.highlight-box {
    background-color: #f0f9ff;
    border-left: 5px solid var(--primary-color);
    padding: 30px;
    border-radius: var(--radius);
    margin: 40px 0;
    box-shadow: var(--shadow);
}

/* Comparison Section */
.comparison {
    padding: 80px 0;
    background-color: #f1f5f9;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    overflow: hidden;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 600;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid var(--gray-light);
    vertical-align: top;
}

.comparison-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.7);
}

.comparison-table tr:nth-child(odd) {
    background-color: white;
}

.comparison-table .dimension {
    background-color: #f8fafc;
    font-weight: 600;
    width: 20%;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 10px;
}

.badge-tool {
    background-color: #dbeafe;
    color: var(--primary-dark);
}

.badge-system {
    background-color: #dcfce7;
    color: #166534;
}

/* Problems Section */
.problems {
    padding: 80px 0;
    background-color: white;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.problem-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 5px solid var(--danger-color);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.problem-card i {
    font-size: 2.5rem;
    color: var(--danger-color);
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Solution Section */
.solution {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.solution-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-5px);
}

.solution-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(42, 125, 225, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.solution-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Self Test Section */
.self-test {
    padding: 80px 0;
    background-color: white;
}

.test-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.test-box {
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.test-box.system {
    background-color: #f0f9ff;
    border-top: 5px solid var(--primary-color);
}

.test-box.tool {
    background-color: #fef3c7;
    border-top: 5px solid var(--accent-color);
}

.test-box h3 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.test-box h3 i {
    font-size: 1.5rem;
}

.test-box.system h3 i {
    color: var(--primary-color);
}

.test-box.tool h3 i {
    color: var(--accent-color);
}

.question-list {
    list-style: none;
}

.question-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.question-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gray);
    font-size: 1.5rem;
}

.clinic-mode-note {
    background-color: #dcfce7;
    border-left: 4px solid var(--secondary-color);
    padding: 15px;
    margin-top: 20px;
    border-radius: var(--radius);
}

.conclusion-box {
    background-color: #f8fafc;
    padding: 30px;
    border-radius: var(--radius);
    margin-top: 40px;
    border-left: 5px solid var(--secondary-color);
    text-align: center;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #f1f5f9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(42, 125, 225, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: white;
}

.pricing-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    color: white;
    border-radius: var(--radius);
    padding: 50px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--accent-color);
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-weight: 600;
    font-size: 0.9rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 20px 0;
}

.original-price {
    text-decoration: line-through;
    opacity: 0.8;
    margin-right: 15px;
    font-size: 1.8rem;
}

.savings {
    background-color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.features-list {
    margin: 30px 0;
}

.features-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.features-list i {
    margin-right: 10px;
    color: var(--accent-color);
}

/* Cost Comparison */
.cost-comparison {
    background-color: #f0f9ff;
    padding: 30px;
    border-radius: var(--radius);
    margin: 40px auto;
    max-width: 800px;
    text-align: center;
}

/* Final CTA Section */
.final-cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #1e293b 0%, var(--dark-color) 100%);
    color: white;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.final-cta p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .comparison-table {
        display: block;
        overflow-x: auto;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .price {
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
    }
    
    .introduction, .comparison, .problems, .solution, .self-test, .features, .pricing, .final-cta {
        padding: 60px 0;
    }
    
    .cta-button {
        padding: 14px 30px;
        font-size: 1.1rem;
    }
    
    .test-container {
        grid-template-columns: 1fr;
    }
}