/* Reset & Base Styles */
* {
    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: #333333;
    background-color: #ffffff;
    padding-bottom: 80px;
}

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

/* Header */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333333;
}

.site-name {
    margin-left: 12px;
    font-size: 20px;
    font-weight: 600;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #C41230;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: #333333;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: #C41230;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #a00f28;
}

.btn-outline {
    background-color: transparent;
    color: #C41230;
    border: 2px solid #C41230;
}

.btn-outline:hover {
    background-color: #C41230;
    color: #ffffff;
}

.btn-light {
    background-color: #ffffff;
    color: #C41230;
}

.btn-light:hover {
    background-color: #f5f5f5;
}

.btn-large {
    padding: 14px 32px;
    font-size: 18px;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: 80px 0;
    text-align: center;
}

.banner-inner {
    padding: 60px 0;
}

.banner-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333333;
}

.banner-subtitle {
    font-size: 20px;
    color: #666666;
    margin-bottom: 32px;
}

.banner-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
}

.trust-badges {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666666;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-gray {
    background-color: #F5F6FA;
}

.section-primary {
    background-color: #C41230;
    color: #ffffff;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: #333333;
}

.section-footer {
    text-align: center;
    margin-top: 48px;
}

/* CTA Section */
.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.advantage-card {
    background-color: #ffffff;
    padding: 32px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

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

.advantage-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.advantage-card p {
    color: #666666;
    font-size: 14px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

/* Comment Grid */
.comment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

/* Category Nav */
.category-nav {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Content List */
.content-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Article Detail */
.article-detail {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 32px;
}

.article-title {
    font-size: 32px;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    gap: 24px;
    color: #666666;
    font-size: 14px;
}

.article-cover {
    margin-bottom: 32px;
    border-radius: 8px;
    overflow: hidden;
}

.article-summary {
    background-color: #F5F6FA;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 32px;
    font-size: 16px;
    color: #444444;
}

.article-content {
    margin-bottom: 40px;
    line-height: 1.8;
}

.article-footer {
    text-align: center;
}

/* About Content */
.about-content h2 {
    font-size: 28px;
    margin-bottom: 24px;
    color: #333333;
}

.about-content h3 {
    font-size: 24px;
    margin: 48px 0 24px;
    color: #333333;
}

.about-content p {
    margin-bottom: 16px;
    color: #666666;
    font-size: 16px;
}

.qualification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 24px;
}

.qualification-item {
    text-align: center;
}

.qualification-item img {
    border-radius: 8px;
    margin-bottom: 12px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.contact-item {
    font-size: 16px;
}

.contact-item span:first-child {
    font-weight: 600;
    color: #333333;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 20px;
}

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

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: #cccccc;
}

.footer-col p {
    color: #999999;
    font-size: 14px;
}

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

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

.footer-col ul li a {
    color: #999999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #C41230;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 20px;
    text-align: center;
    color: #666666;
    font-size: 14px;
}

/* Fixed Bottom Bar */
.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    z-index: 99;
}

.fixed-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-dialog {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px;
    width: 90%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999999;
    line-height: 1;
}

.modal-close:hover {
    color: #333333;
}

.modal-dialog h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: #333333;
}

.modal-form .modal-input {
    display: block;
    width: 100%;
    margin-bottom: 16px;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.modal-form .modal-input:focus {
    border-color: #C41230;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

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

    .banner-subtitle {
        font-size: 16px;
    }

    .banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .banner-actions .btn {
        width: 100%;
    }

    .trust-badges {
        gap: 24px;
        flex-wrap: wrap;
    }

    .section {
        padding: 48px 0;
    }

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

    .fixed-bar-content span {
        font-size: 14px;
    }
}