/* W3 - 绿色清新风格 - 瀑布流布局 */

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

:root {
    --primary: #00c853;
    --primary-dark: #00a043;
    --secondary: #64dd17;
    --accent-blue: #00bcd4;
    --accent-purple: #9c27b0;
    --accent-orange: #ff6f00;
    --text-dark: #212121;
    --text-gray: #757575;
    --bg-light: #fafafa;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

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

/* 顶部导航 */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
}

.brand-icon {
    color: var(--primary);
    font-size: 28px;
}

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

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

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s;
}

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

.nav-links a:hover:after {
    width: 100%;
}

.btn-register {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.3);
}

/* Hero横幅 */
.hero-banner {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    padding: 100px 0;
}

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

.main-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.sub-title {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.cta-primary {
    background: var(--primary);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 200, 83, 0.3);
}

.cta-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

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

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

.stat-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s;
}

.stat-card:nth-child(3) {
    grid-column: span 2;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 200, 83, 0.2);
}

.stat-card h3 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-card p {
    color: var(--text-gray);
}

/* 关于区域 */
.about-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-gray);
}

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

.about-card {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px var(--shadow);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.card-icon.green { background: rgba(0, 200, 83, 0.1); }
.card-icon.blue { background: rgba(0, 188, 212, 0.1); }
.card-icon.purple { background: rgba(156, 39, 176, 0.1); }
.card-icon.orange { background: rgba(255, 111, 0, 0.1); }

.about-card h3 {
    font-size: 22px;
    color: var(--text-dark);
}

.about-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* 服务区域 - 瀑布流 */
.services-section {
    padding: 80px 0;
    background: var(--white);
}

.services-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    grid-auto-rows: minmax(100px, auto);
}

.service-item {
    background: linear-gradient(135deg, #f5f5f5, #ffffff);
    padding: 35px;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
}

.service-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.service-item.large {
    grid-row: span 2;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.service-item.wide {
    grid-column: span 2;
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--white);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.service-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-item.large h3,
.service-item.large p,
.service-item.large li {
    color: var(--white);
}

.service-intro {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-bottom: 25px;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-gray);
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.service-item.large .service-link {
    color: var(--white);
}

.service-link:hover {
    margin-left: 10px;
}

/* 下载区域 */
.download-section {
    padding: 80px 0;
}

.download-wrapper {
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    border-radius: 20px;
    padding: 60px;
    color: var(--white);
}

.download-info h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.download-info > p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

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

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-item span {
    font-size: 32px;
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 14px;
    opacity: 0.9;
}

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

.platform-btn {
    background: var(--white);
    color: var(--text-dark);
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
}

.platform-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.platform-icon {
    font-size: 36px;
}

.platform-text strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.platform-text small {
    font-size: 12px;
    color: var(--text-gray);
}

/* 评价区域 */
.testimonials-section {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
}

.rating {
    color: #ffc107;
    font-size: 20px;
    margin-bottom: 15px;
}

.comment {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.user {
    display: flex;
    flex-direction: column;
}

.user strong {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.user span {
    font-size: 14px;
    color: var(--text-gray);
}

/* 帮助区域 */
.help-section {
    padding: 80px 0;
}

.help-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.help-info h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.help-info > p {
    color: var(--text-gray);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.method-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.method-icon {
    font-size: 32px;
}

.method-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.method-item p {
    color: var(--text-gray);
    font-size: 14px;
}

.faq-quick h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-quick-item {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 10px var(--shadow);
}

.faq-quick-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.faq-quick-item p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* 页脚 */
.footer {
    background: #1a237e;
    color: var(--white);
    padding: 60px 0 30px;
}

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

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

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

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

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
    text-decoration: underline;
}

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

.footer-bottom p {
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0.8;
}

.risk-warning {
    font-size: 12px !important;
    opacity: 0.6 !important;
}

/* 响应式 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .main-title {
        font-size: 36px;
    }
    
    .sub-title {
        font-size: 24px;
    }
    
    .services-masonry {
        grid-template-columns: 1fr;
    }
    
    .service-item.wide {
        grid-column: span 1;
    }
    
    .help-grid {
        grid-template-columns: 1fr;
    }
    
    .download-wrapper {
        padding: 40px 30px;
    }
}