:root {
    --primary-color: #c2080a;
    --secondary-color: #a00608;
    --accent-color: #e30a0c;
    --text-color: #333333;
    --light-gray: #f8f8f8;
    --white: #ffffff;
    --border-color: #eaeaea;
    --hover-color: #f5f5f5;
    --dark-blue: #1a237e;
    --section-padding: 6rem 5%;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-links a:hover {
    color: var(--primary-color);
    background-color: var(--hover-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
}

main {
    margin-top: 80px;
}

section {
    padding: 4rem 2rem;
}

.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 160px;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(194, 8, 10, 0.2);
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(194, 8, 10, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.about {
    background-color: var(--light-gray);
    padding: 6rem 0;
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-text {
    text-align: left;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.about-text p {
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-color);
}

.about-text .highlight {
    color: var(--primary-color);
    background: rgba(194, 8, 10, 0.05);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
}

.about-text .mission {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.about-text .value {
    color: var(--text-color);
    opacity: 0.9;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.stat-item h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.services {
    padding: var(--section-padding);
}

.services h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(194, 8, 10, 0.1);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.advantages h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    font-weight: 600;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.advantage-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(194, 8, 10, 0.1);
}

.advantage-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.advantage-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-section {
    padding: 6rem 0;
    background: var(--white);
}

.contact-section h2 {
    text-align: center;
    color: var(--text-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    font-weight: 600;
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.contact-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(194, 8, 10, 0.1);
}

.contact-card.main-card {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding: 2.5rem;
    background: var(--white);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(194, 8, 10, 0.1);
}

.contact-card.main-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-card.main-card .username {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.contact-card.main-card p {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.9;
}

.contact-grid-secondary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.service-list p,
.staff-list p {
    margin-bottom: 0.8rem;
}

.username-list {
    word-break: break-all;
    font-size: 0.9rem;
    line-height: 1.5;
}

footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 5%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-section h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

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

.footer-section a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* 警告部分样式 */
.warning-section {
    padding: var(--section-padding);
    background-color: var(--light-gray);
    text-align: center;
}

.warning-section h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.warning-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    display: inline-block;
}

.warning-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.warning-list li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

/* 专群分组样式 */
.group-section {
    padding: var(--section-padding);
    text-align: center;
}

.group-section h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.group-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.group-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.group-card p {
    line-height: 1.8;
    word-break: break-all;
}

/* 免责声明样式 */
.disclaimer {
    background: var(--light-gray);
    padding: 4rem 0;
    margin-top: 4rem;
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.disclaimer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.disclaimer h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.disclaimer h2::before,
.disclaimer h2::after {
    content: "⚠️";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.disclaimer h2::before {
    left: -2rem;
}

.disclaimer h2::after {
    right: -2rem;
}

.disclaimer p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

@media (max-width: 1024px) {
    :root {
        --section-padding: 5rem 5%;
    }

    .hero h2 {
        font-size: 2.4rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        position: fixed;
        right: 1rem;
        top: 1rem;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }

    body.menu-open {
        overflow: hidden;
    }

    .hero {
        padding: 4rem 5%;
        margin-top: 60px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }

    .services-grid,
    .advantage-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .warning-list {
        text-align: left;
        padding: 0 1rem;
    }

    .group-grid {
        grid-template-columns: 1fr;
    }

    .disclaimer {
        padding: 3rem 0;
        margin-top: 3rem;
    }
    
    .disclaimer-content {
        padding: 0 1.5rem;
    }
    
    .disclaimer h2 {
        font-size: 1.6rem;
    }
    
    .disclaimer p {
        font-size: 1rem;
        padding: 1.2rem;
    }

    .about {
        padding: 4rem 0;
    }
    
    .about-content {
        padding: 0 1.5rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .about-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-grid {
        padding: 0 1.5rem;
    }
    
    .contact-grid-secondary {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 1.5rem;
    }

    main {
        margin-top: 60px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 4rem 5%;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .service-card,
    .advantage-card,
    .contact-card {
        padding: 2rem;
    }
}

/* 顶部弹窗样式 */
.sticky-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 2000;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem 1.5rem 4rem;
    min-height: 80px;
    transition: top 0.3s;
}
.sticky-popup.hide {
    display: none;
}
.sticky-popup .popup-content {
    max-width: 900px;
    color: var(--text-color);
    font-size: 1.1rem;
    text-align: left;
    line-height: 1.7;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.sticky-popup .popup-content strong {
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 0.5rem;
}
.sticky-popup .popup-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 0.7rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    margin-left: 2rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(194,8,10,0.08);
    transition: background 0.2s, box-shadow 0.2s;
}
.sticky-popup .popup-btn:hover {
    background: var(--secondary-color);
    box-shadow: 0 4px 16px rgba(194,8,10,0.15);
}
@media (max-width: 768px) {
    .sticky-popup {
        padding: 1rem 0.5rem 1rem 1rem;
        min-height: 60px;
    }
    .sticky-popup .popup-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        font-size: 1rem;
    }
    .sticky-popup .popup-btn {
        margin-left: 0;
        width: 100%;
        padding: 0.7rem 0;
    }
} 