* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background: linear-gradient(135deg, #f5f5fc02 0%, #f6f2fa00 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand span {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.navbar-links a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.navbar-links a:hover {
    color: #667eea;
}

.ad-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.ad-banner {
    background: linear-gradient(135deg, #a4a3e2 0%, #694bf0 100%);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    margin-top: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(245, 87, 108, 0.3);
}

.ad-placeholder {
    background: linear-gradient(135deg, #a4a3e2 0%, #694bf0 100%);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(245, 87, 108, 0.3);
}

.page-wrapper {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.side-ad {
    width: 160px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.side-ad .qr-box {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    width: 160px;
    max-width: 160px;
}

.side-ad .qr-box .qr-title {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    width: 100%;
}

.side-ad .qr-box .qr-title span {
    color: #667eea;
}

.side-ad .qr-box img {
    width: 120px;
    max-width: 100%;
    height: 120px;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
}

.side-ad .ad-placeholder {
    height: 540px;
    width: 160px;
}

.main-wrapper {
    flex: 1;
    min-width: 0;
}

.main-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
}

.tools-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.tool-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.tool-card>.tool-icon {
    width: 70px;
    height: 50px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.tool-card>.tool-header {
    background: transparent;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    flex-shrink: 0;
    flex: 1;
}

.tool-card>.tool-content {
    width: 100%;
    background: #fff;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tool-icon {
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

.tool-icon svg {
    display: none;
}

.tool-header {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100px;
    padding: 0 16px;
    gap: 12px;
}

.tool-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.tool-content {
    padding: 0 16px 16px;
}

.tool-desc {
    display: none;
}

.tool-features {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 12px;
}

.tool-features h4 {
    font-size: 12px;
    color: #667eea;
    margin-bottom: 6px;
}

.tool-features ul {
    list-style: none;
    font-size: 12px;
    color: #555;
    margin: 0;
    padding: 0;
}

.tool-features li {
    padding: 3px 0;
    padding-left: 16px;
    position: relative;
}

.tool-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 10px;
}

.tool-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tool-meta {
    display: flex;
    gap: 12px;
    margin: 0;
    font-size: 11px;
    color: #888;
}

.tool-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.download-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.section-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 4px solid #667eea;
}

.help-section {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.help-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.2s;
}

.help-item:hover {
    background: #f0f2ff;
}

.help-item h4 {
    font-size: 15px;
    color: #667eea;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.contact-section {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #555;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    fill: #667eea;
}

.footer {
    background: #1a1a2e;
    color: #fff;
    padding: 32px 20px;
    text-align: center;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-copy {
    font-size: 12px;
    color: #666;
}

@media (max-width: 768px) {
    .tools-section {
        grid-template-columns: 1fr;
    }

    .navbar-links {
        display: none;
    }
}

.stats-section {
    margin: 24px 0 !important;
    padding: 28px 20px !important;
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    width: 100% !important;
    overflow: hidden !important;
    clear: both !important;
    box-sizing: border-box !important;
}

.stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    text-align: center !important;
}

.stat-item {
    padding: 12px 8px !important;
    border-right: 1px solid #f0f0f0 !important;
}

.stat-item:last-child {
    border-right: none !important;
}

.stat-number {
    font-size: 30px !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 4px !important;
    line-height: 1.2 !important;
}

.stat-label {
    font-size: 14px !important;
    color: #888 !important;
    font-weight: 500 !important;
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}