/* 51漫画 - 13491349.com 创意漫画企业风格 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #45b7d1;
    --success-color: #96ceb4;
    --warning-color: #feca57;
    --error-color: #ff7675;
    --comic-bg: #fff8e1;
    --comic-dark: #2c3e50;
    --comic-light: #ecf0f1;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --text-muted: #95a5a6;
    --border-color: #bdc3c7;
    --shadow-comic: 4px 4px 0px #34495e;
    --shadow-hover: 6px 6px 0px #2c3e50;
}

body {
    font-family: 'Comic Sans MS', 'Marker Felt', 'Trebuchet MS', cursive;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--comic-bg);
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
}

/* 导航栏 - 漫画风格 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 4px solid var(--comic-dark);
    box-shadow: 0 4px 0 var(--comic-dark);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    text-shadow: 3px 3px 0 var(--comic-dark);
    transform: rotate(-2deg);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: rotate(2deg) scale(1.1);
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 20px;
    border: 3px solid transparent;
}

.nav-link:hover {
    color: white;
    background: var(--primary-color);
    border-color: var(--comic-dark);
    box-shadow: var(--shadow-comic);
    transform: translateY(-2px);
}

/* 英雄区域 - 漫画风格 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.2'%3E%3Cpath d='M40 40c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm20-20c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 32px;
    line-height: 1.1;
    color: white;
    text-shadow: 4px 4px 0 var(--comic-dark);
    transform: rotate(-1deg);
    animation: bounce 2s ease-in-out infinite;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 48px;
    color: var(--comic-dark);
    font-weight: 700;
    text-shadow: 2px 2px 0 white;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.2s both;
}

.comic-bubble {
    position: relative;
    background: white;
    border: 4px solid var(--comic-dark);
    border-radius: 30px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: var(--shadow-comic);
    display: inline-block;
}

.comic-bubble::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50px;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid white;
}

.comic-bubble::before {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 46px;
    width: 0;
    height: 0;
    border-left: 24px solid transparent;
    border-right: 24px solid transparent;
    border-top: 24px solid var(--comic-dark);
}

.cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    padding: 16px 32px;
    border: 4px solid var(--comic-dark);
    border-radius: 25px;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-comic);
    text-shadow: 2px 2px 0 var(--comic-dark);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    background: var(--secondary-color);
}

.btn-secondary {
    background: white;
    color: var(--comic-dark);
    box-shadow: var(--shadow-comic);
}

.btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    background: var(--accent-color);
    color: white;
}

/* 特色区域 - 漫画卡片 */
.features {
    padding: 120px 0;
    background: var(--comic-light);
}

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

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 24px;
    text-shadow: 3px 3px 0 white;
    transform: rotate(-1deg);
}

.section-title p {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 700;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    border-radius: 30px;
    padding: 40px;
    border: 4px solid var(--comic-dark);
    box-shadow: var(--shadow-comic);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform: rotate(1deg);
}

.feature-card:nth-child(even) {
    transform: rotate(-1deg);
}

.feature-card:hover {
    transform: translateY(-8px) rotate(0deg) scale(1.05);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin-bottom: 24px;
    border: 4px solid var(--comic-dark);
    box-shadow: 4px 4px 0 var(--comic-dark);
    text-shadow: 2px 2px 0 var(--comic-dark);
}

.feature-card h3 {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-shadow: 2px 2px 0 white;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-weight: 600;
    font-size: 1.1rem;
}

/* 统计数据区域 - 漫画风格 */
.stats {
    padding: 100px 0;
    background: var(--primary-color);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M30 30l15-15v30l-15-15zm-15 0l15 15v-30l-15 15z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    background: white;
    padding: 40px;
    border-radius: 30px;
    border: 4px solid var(--comic-dark);
    box-shadow: var(--shadow-comic);
    transition: all 0.3s ease;
    transform: rotate(2deg);
}

.stat-item:nth-child(even) {
    transform: rotate(-2deg);
}

.stat-item:hover {
    transform: translateY(-8px) rotate(0deg) scale(1.1);
    box-shadow: var(--shadow-hover);
}

.stat-item h3 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 16px;
    text-shadow: 3px 3px 0 var(--comic-dark);
}

.stat-item p {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 700;
    text-shadow: 1px 1px 0 white;
}

/* 页脚 - 漫画风格 */
.footer {
    background: var(--comic-dark);
    color: white;
    padding: 80px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: repeating-linear-gradient(
        45deg,
        var(--primary-color),
        var(--primary-color) 10px,
        var(--secondary-color) 10px,
        var(--secondary-color) 20px
    );
}

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

.footer-section h4 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--primary-color);
    text-shadow: 2px 2px 0 var(--comic-dark);
    transform: rotate(-1deg);
}

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

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

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
    text-shadow: 2px 2px 0 var(--comic-dark);
    transform: translateX(10px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 4px solid var(--primary-color);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

/* 动画 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(-1deg);
    }
    40% {
        transform: translateY(-10px) rotate(-1deg);
    }
    60% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-card {
        transform: rotate(0deg);
    }
}