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

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #ef4444;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

.site-header {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.logo-text {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.header-contact .hotline {
    font-size: 0.95rem;
    color: var(--text-light);
}

.header-contact .hotline strong {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.main-nav {
    padding: 10px 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.main-nav a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

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

.quick-contact {
    padding: 60px 0;
    background: var(--bg-light);
}

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

.contact-card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-info {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 10px 0;
}

.contact-desc {
    color: var(--text-light);
    margin-bottom: 15px;
}

.copy-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.copy-btn:hover {
    background: var(--primary-color);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.about-section,
.services-section,
.contact-section,
.faq-section,
.news-section {
    padding: 70px 0;
}

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

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.about-text h4 {
    color: var(--primary-color);
    margin: 25px 0 15px;
}

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

.advantage-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.advantage-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.service-item {
    background: var(--bg-color);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.service-item p {
    color: var(--text-light);
    line-height: 1.7;
}

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

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

.contact-info-box,
.contact-qr-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
}

.contact-info-box h3,
.contact-qr-box h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.info-label {
    font-weight: 600;
    color: var(--text-color);
    min-width: 100px;
}

.info-value {
    color: var(--text-light);
    flex: 1;
}

.info-value a {
    color: var(--secondary-color);
}

.copy-btn-small {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-left: 10px;
    transition: var(--transition);
}

.copy-btn-small:hover {
    background: var(--primary-color);
}

.qr-placeholder {
    background: var(--bg-color);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    margin-top: 15px;
}

.qr-placeholder p {
    color: var(--text-light);
    margin: 5px 0;
}

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

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-color);
    padding: 25px;
    border-radius: var(--radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.faq-item strong {
    color: var(--accent-color);
}

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

.news-list {
    display: grid;
    gap: 25px;
}

.news-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.news-item:hover {
    box-shadow: var(--shadow-lg);
}

.news-item h3 {
    margin-bottom: 10px;
}

.news-item h3 a {
    color: var(--text-color);
}

.news-item h3 a:hover {
    color: var(--secondary-color);
}

.news-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-summary {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 500;
}

.read-more:hover {
    color: var(--primary-color);
}

.site-footer {
    background: var(--bg-dark);
    color: #9ca3af;
    padding: 50px 0 20px;
}

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

.footer-info h3,
.footer-links h3,
.footer-tags h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-info p {
    margin: 8px 0;
    line-height: 1.6;
}

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

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

.footer-links a {
    color: #9ca3af;
}

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

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    background: rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.tag-cloud a:hover {
    background: var(--secondary-color);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #9ca3af;
}

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

.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.phone-btn {
    background: var(--accent-color);
    color: white;
}

.wechat-btn {
    background: #07c160;
    color: white;
}

.top-btn {
    background: var(--primary-color);
    color: white;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.top-btn.show {
    opacity: 1;
    visibility: visible;
}

.float-btn:hover {
    transform: scale(1.1);
}

.copy-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 30px;
    border-radius: var(--radius);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 9999;
}

.copy-toast.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .main-nav ul {
        gap: 10px;
    }
    
    .main-nav a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .hero-banner {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-contact {
        right: 10px;
        bottom: 10px;
    }
    
    .float-btn {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}
