* {
    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-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: rgba(255,255,255,0.1);
}

nav ul li a.active {
    background-color: rgba(255,255,255,0.2);
}

.auth-links {
    display: flex;
    gap: 15px;
}

.auth-links a {
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 5px;
    transition: all 0.3s;
}

.auth-links a.login {
    background-color: transparent;
    border: 1px solid #fff;
}

.auth-links a.register {
    background-color: #3498db;
}

.auth-links a:hover {
    opacity: 0.8;
}

.banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.banner h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 18px;
    opacity: 0.9;
}

main {
    padding: 40px 0;
}

.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: #2c3e50;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.info-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.info-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.info-card .card-content {
    padding: 20px;
}

.info-card .card-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.info-card .card-content p {
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.info-card .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 14px;
}

.info-card .card-meta .publisher {
    display: flex;
    align-items: center;
    gap: 5px;
}

.info-card .card-meta .date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.info-card .card-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.info-card .card-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    color: #3498db;
    font-size: 14px;
}

.info-card .card-contact .login-tip {
    margin-left: 10px;
    font-size: 12px;
    color: #e74c3c;
    text-decoration: none;
}

.info-card .card-contact .login-tip:hover {
    text-decoration: underline;
}

.info-card .card-content a {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    margin-top: 10px;
}

.info-card .card-content a:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination button {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

.pagination button:hover:not(:disabled) {
    background-color: #3498db;
    color: #fff;
    border-color: #3498db;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination span {
    padding: 10px 15px;
}

.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.search-bar input {
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 300px;
    font-size: 16px;
}

.search-bar button {
    padding: 12px 25px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.search-bar button:hover {
    background-color: #2980b9;
}

footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 10px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: #fff;
}

.icp-info {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    margin-top: 30px;
}

.icp-info a {
    color: #3498db;
    text-decoration: none;
}

.icp-info a:hover {
    text-decoration: underline;
}

.login-form, .register-form {
    max-width: 450px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
}

.form-group .error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

.form-btn {
    width: 100%;
    padding: 15px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-btn:hover {
    background-color: #2980b9;
}

.form-link {
    text-align: center;
    margin-top: 20px;
}

.form-link a {
    color: #3498db;
    text-decoration: none;
}

.form-link a:hover {
    text-decoration: underline;
}

.agree-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.agree-terms input {
    margin-top: 5px;
}

.agree-terms label {
    font-size: 14px;
    color: #666;
}

.agree-terms label a {
    color: #3498db;
    text-decoration: none;
}

.agree-terms label a:hover {
    text-decoration: underline;
}

.detail-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.detail-header {
    margin-bottom: 30px;
}

.detail-header h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.detail-meta {
    display: flex;
    gap: 30px;
    color: #666;
    font-size: 14px;
}

.detail-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-cover {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
}

.detail-content {
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

.detail-content h2 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #2c3e50;
}

.detail-content h3 {
    font-size: 20px;
    margin: 25px 0 12px;
    color: #34495e;
}

.detail-content p {
    margin-bottom: 15px;
}

.detail-content ul, .detail-content ol {
    padding-left: 25px;
    margin-bottom: 15px;
}

.detail-content li {
    margin-bottom: 8px;
}

.detail-content img {
    max-width: 100%;
    border-radius: 5px;
    margin: 15px 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #3498db;
    text-decoration: none;
    margin-bottom: 30px;
    font-size: 16px;
}

.back-link:hover {
    text-decoration: underline;
}

.contact-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
}

.contact-box h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 16px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item .label {
    color: #666;
    font-weight: 500;
}

.contact-item .value {
    color: #2c3e50;
    font-weight: 500;
}

.contact-item .login-tip {
    color: #e74c3c;
    font-size: 14px;
    text-decoration: none;
    margin-left: 10px;
}

.contact-item .login-tip:hover {
    text-decoration: underline;
}

.service-section {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.service-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.service-section p {
    color: #666;
    margin-bottom: 15px;
}

.service-section ul {
    padding-left: 25px;
}

.service-section ul li {
    color: #666;
    margin-bottom: 10px;
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.pricing-card.featured {
    border-color: #3498db;
    transform: scale(1.05);
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.pricing-card .price {
    font-size: 48px;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 20px;
}

.pricing-card .price span {
    font-size: 24px;
    font-weight: normal;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card button {
    padding: 12px 30px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.pricing-card button:hover {
    background-color: #2980b9;
}

.audit-process {
    max-width: 800px;
    margin: 0 auto;
}

.audit-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.audit-step .step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

.audit-step .step-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.audit-step .step-content p {
    color: #666;
}

.terms-container, .privacy-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.terms-container h1, .privacy-container h1 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: #2c3e50;
}

.terms-container h2, .privacy-container h2 {
    font-size: 22px;
    margin: 25px 0 15px;
    color: #34495e;
}

.terms-container h3, .privacy-container h3 {
    font-size: 18px;
    margin: 20px 0 10px;
    color: #34495e;
}

.terms-container p, .privacy-container p {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.8;
}

.terms-container ul, .privacy-container ul {
    padding-left: 25px;
    margin-bottom: 15px;
}

.terms-container li, .privacy-container li {
    color: #666;
    margin-bottom: 8px;
}

.empty-state {
    text-align: center;
    padding: 60px 0;
    color: #999;
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #666;
}

.empty-state p {
    font-size: 16px;
}

.loading {
    text-align: center;
    padding: 40px 0;
    color: #3498db;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .banner h1 {
        font-size: 28px;
    }
    
    .banner p {
        font-size: 16px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .detail-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .detail-cover {
        height: 250px;
    }
    
    .audit-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .pricing-table {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .search-bar {
        flex-direction: column;
        align-items: center;
    }
    
    .search-bar input {
        width: 100%;
        max-width: 300px;
    }
}