* {
    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: #333;
    background: #f9fafb;
}

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

/* 顶部导航 */
.navbar {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.navbar-brand h1 {
    font-size: 20px;
    color: #1e40af;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.navbar-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navbar-nav a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-nav a:hover {
    color: #1e40af;
}

.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Hero区域 */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 600;
}

.hero-desc {
    font-size: 16px;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.live-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-item {
    flex: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
    padding: 1.2rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.12) 100%);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 12px 24px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 13px;
    opacity: 0.85;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: white;
    color: #1e40af;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.hero-time {
    font-size: 14px;
    margin-top: 1.5rem;
    opacity: 0.85;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 300px;
}

.certification-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    animation: float 4s ease-in-out infinite;
}

.badge-content {
    text-align: center;
}

.badge-title {
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.badge-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-icon {
    font-size: 16px;
    font-weight: 700;
    color: #10b981;
}

.badge-text {
    font-size: 12px;
    color: white;
    font-weight: 600;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
    50% { transform: translate(-50%, -50%) translateY(-15px); }
}


.realtime {
    background: white;
    padding: 60px 20px;
}

.realtime > .container > h3 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 2rem;
    color: #1e40af;
    font-weight: 700;
}

.user-flow {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 220px;
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid #1e40af;
}

.user-avatar {
    font-size: 40px;
    min-width: 50px;
    text-align: center;
}

.user-info p {
    margin: 0.3rem 0;
}

.user-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.user-score {
    color: #1e40af;
    font-weight: 600;
    font-size: 13px;
}

.live-ticker {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 4px solid #1e40af;
}

.ticker-item {
    font-weight: 600;
    color: #1e40af;
    font-size: 14px;
}

/* 特点对比区域 */
.comparison {
    padding: 80px 20px;
    background: white;
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e40af;
    font-weight: 700;
}

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

.comparison-item {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border-top: 3px solid #1e40af;
}

.comparison-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.1);
}

.comparison-item h4 {
    font-size: 16px;
    color: #1e40af;
    margin-bottom: 1rem;
    font-weight: 700;
}

.comparison-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 游戏化体验区域 */
.gamification {
    background: #f9fafb;
    padding: 80px 20px;
}

.difficulty-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.difficulty-item {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
}

.difficulty-label {
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    display: block;
}

.difficulty-bar {
    height: 12px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.difficulty-fill {
    height: 100%;
    border-radius: 6px;
    animation: fillwidth 1.5s ease;
}

.difficulty-fill.green {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.difficulty-fill.orange {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.difficulty-fill.red {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

.difficulty-item p {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.challenge-text {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #1e40af;
}

@keyframes fillwidth {
    from { width: 0; }
}

/* 结果展示案例 */
.results-showcase {
    background: white;
    padding: 80px 20px;
}

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

.result-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.12);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.result-avatar {
    font-size: 40px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: 50%;
}

.result-meta p {
    margin: 0.2rem 0;
}

.result-name {
    font-weight: 700;
    color: #333;
    font-size: 15px;
}

.result-job {
    font-size: 12px;
    color: #999;
}

.result-score {
    text-align: center;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
}

.score-number {
    font-size: 42px;
    font-weight: 700;
    color: #1e40af;
}

.score-level {
    font-size: 13px;
    color: #1e40af;
    font-weight: 600;
    margin-top: 0.5rem;
}

.result-text {
    color: #666;
    font-size: 14px;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.result-actions {
    display: flex;
    gap: 1rem;
}

.btn-share,
.btn-challenge {
    flex: 1;
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s;
}

.btn-share {
    background: #f3f4f6;
    color: #1e40af;
    border: 1px solid #e5e7eb;
}

.btn-share:hover {
    background: #e5e7eb;
}

.btn-challenge {
    background: #1e40af;
    color: white;
}

.btn-challenge:hover {
    background: #1e3a8a;
}

/* 优势亮点区域 */
.highlights {
    background: #f9fafb;
    padding: 80px 20px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.highlight-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.highlight-icon {
    font-size: 36px;
    margin-bottom: 1rem;
    display: block;
}

.highlight-item h4 {
    color: #1e40af;
    margin-bottom: 0.8rem;
    font-size: 16px;
    font-weight: 700;
}

.highlight-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 用户成就展示 */
.achievements {
    background: white;
    padding: 80px 20px;
}

.achievement-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.wall-item {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #1e40af;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.wall-text {
    font-size: 15px;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.wall-score {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

/* FAQ区域 */
.faq {
    background: #f9fafb;
    padding: 80px 20px;
}

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

.faq-item {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #1e40af;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #1e40af;
}

.faq-item h4 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 15px;
    font-weight: 700;
}

.faq-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 底部CTA */
.cta-final {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.cta-final h3 {
    font-size: 32px;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-final p {
    font-size: 16px;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 16px;
}

.cta-subtext {
    font-size: 13px;
    margin-top: 1.5rem;
    opacity: 0.9;
}

/* 页脚 */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 20px 20px;
}

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

.footer-section h5 {
    font-size: 16px;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section p {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.8;
}

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

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

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

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 12px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .navbar .container {
        padding: 0.8rem 15px;
    }

    .navbar-brand h1 {
        font-size: 16px;
        letter-spacing: 0;
    }

    .navbar-nav {
        gap: 0.5rem;
    }

    .navbar-nav a {
        font-size: 12px;
    }

    .hero {
        padding: 50px 15px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        flex: 1;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.3;
    }

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

    .hero-desc {
        font-size: 14px;
    }

    .live-stats {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .stat-item {
        padding: 1rem 0.8rem;
        border-radius: 8px;
    }

    .stat-number {
        font-size: 24px;
        margin-bottom: 0.4rem;
    }

    .stat-label {
        font-size: 12px;
    }

    .btn-primary {
        padding: 0.8rem 2rem;
        font-size: 14px;
        width: 100%;
    }

    .hero-time {
        font-size: 12px;
    }

    .hero-visual {
        display: none;
    }

    .realtime {
        padding: 50px 15px;
    }

    .realtime > .container > h3 {
        font-size: 20px;
        margin-bottom: 1.5rem;
    }

    .user-flow {
        gap: 1rem;
        margin-bottom: 1.5rem;
        overflow-x: auto;
    }

    .user-item {
        min-width: 100%;
        flex: 1 1 100%;
        padding: 1.2rem;
    }

    .user-avatar {
        font-size: 32px;
        min-width: 40px;
    }

    .user-name {
        font-size: 13px;
    }

    .user-score {
        font-size: 12px;
    }

    .live-ticker {
        gap: 1rem;
        padding: 1.2rem;
        flex-wrap: wrap;
    }

    .ticker-item {
        font-size: 12px;
    }

    .comparison,
    .gamification,
    .results-showcase,
    .highlights,
    .achievements,
    .faq,
    .cta-final {
        padding: 50px 15px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 2rem;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .comparison-item {
        padding: 1.5rem;
    }

    .comparison-item h4 {
        font-size: 15px;
    }

    .comparison-item p {
        font-size: 13px;
    }

    .difficulty-chart {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        max-width: 100%;
    }

    .difficulty-item {
        padding: 1.5rem;
    }

    .difficulty-label {
        font-size: 14px;
    }

    .difficulty-item p {
        font-size: 11px;
    }

    .challenge-text {
        font-size: 16px;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .result-card {
        padding: 1.5rem;
    }

    .result-avatar {
        font-size: 32px;
        width: 40px;
        height: 40px;
    }

    .result-name {
        font-size: 13px;
    }

    .result-job {
        font-size: 11px;
    }

    .result-score {
        padding: 1.2rem;
        margin-bottom: 1.2rem;
    }

    .score-number {
        font-size: 36px;
    }

    .score-level {
        font-size: 12px;
    }

    .result-text {
        font-size: 13px;
    }

    .btn-share,
    .btn-challenge {
        padding: 0.6rem 0.8rem;
        font-size: 12px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .highlight-item {
        padding: 1.5rem;
    }

    .highlight-icon {
        font-size: 28px;
    }

    .highlight-item h4 {
        font-size: 15px;
    }

    .highlight-item p {
        font-size: 13px;
    }

    .achievement-wall {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .wall-item {
        padding: 1.2rem;
    }

    .wall-text {
        font-size: 14px;
    }

    .wall-score {
        font-size: 11px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        max-width: 100%;
    }

    .faq-item {
        padding: 1.5rem;
    }

    .faq-item h4 {
        font-size: 14px;
    }

    .faq-item p {
        font-size: 12px;
    }

    .cta-final h3 {
        font-size: 20px;
        line-height: 1.3;
    }

    .cta-final p {
        font-size: 13px;
    }

    .btn-large {
        padding: 0.8rem 2rem;
        font-size: 14px;
        width: 100%;
    }

    .cta-subtext {
        font-size: 11px;
    }

    .footer {
        padding: 40px 15px 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 1.5rem;
    }

    .footer-section h5 {
        font-size: 14px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 12px;
    }

    .footer-bottom {
        font-size: 10px;
        padding-top: 1.5rem;
    }
}
