/* 基础样式 */
body {
    font-family: 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    color: #1779ba;
    transition: color 0.3s ease;
}

a:hover {
    color: #1468a0;
}

/* 导航栏样式 */
.top-bar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.7rem 0;
}

.top-bar .menu-text {
    font-weight: bold;
    color: #333;
    padding: 0;
    margin-right: 1rem;
}

.top-bar ul.menu a {
    font-weight: 500;
}

/* 主横幅 */
.hero-section {
    background: linear-gradient(135deg, #1e5799 0%,#207cca 51%,#2989d8 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section-text h5 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* 特色服务 */
.feature-box {
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 3rem;
    color: #1779ba;
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* 精选案例 */
.portfolio-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.portfolio-item {
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.portfolio-item img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

/* 客户评价 */
.testimonial-section {
    padding: 4rem 0;
}

.testimonial-item {
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item p {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: #777;
}

/* 联系我们 */
.contact-section {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.contact-section h3 {
    margin-bottom: 1.5rem;
}

.contact-section p {
    margin-bottom: 1rem;
}

.contact-section i {
    margin-right: 0.5rem;
    width: 1.25rem;
    text-align: center;
}

/* 页脚 */
footer {
    background-color: #222;
    color: #fff;
    padding: 3rem 0 0;
}

footer h5 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

footer ul.menu.vertical li {
    margin-bottom: 0.5rem;
}

footer ul.menu.vertical a {
    color: #ccc;
    padding: 0;
}

footer ul.menu.vertical a:hover {
    color: #fff;
}

.social-links a {
    display: inline-block;
    color: #fff;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

/* 付费资讯页面样式 */
.page-header {
    background-color: #f5f5f5;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.news-filter {
    padding: 1.5rem 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.news-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-card-image {
    position: relative;
}

.news-card-image img {
    width: 100%;
    height: auto;
}

.price-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #1779ba;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.news-card-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: #777;
}

.news-card-content h3 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.news-card-content p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.author {
    display: flex;
    align-items: center;
}

.author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.stats span {
    margin-left: 1rem;
    color: #777;
    font-size: 0.9rem;
}

.stats i {
    margin-right: 0.3rem;
}

.publish-cta {
    background-color: #1779ba;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.publish-cta h3 {
    margin-bottom: 0.5rem;
}

.publish-cta p {
    opacity: 0.9;
    margin-bottom: 0;
}

/* 关于我们页面样式 */
.about-section {
    padding: 4rem 0;
}

.about-section h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.advantages-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.advantage-box {
    text-align: center;
    padding: 2rem;
}

.advantage-icon {
    font-size: 2.5rem;
    color: #1779ba;
    margin-bottom: 1.5rem;
}

.advantage-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.team-section {
    padding: 4rem 0;
}

.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #f1f1f1;
}

.team-member h4 {
    margin-bottom: 0.3rem;
}

.position {
    color: #1779ba;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.bio {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-section {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #1779ba;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
}

.timeline-year {
    width: 100px;
    height: 100px;
    background: #1779ba;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-grow: 1;
}

.timeline-content h4 {
    margin-bottom: 0.5rem;
}

.partners-section {
    padding: 4rem 0;
}

.partners-section img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    max-width: 100%;
    height: auto;
    padding: 1rem;
}

.partners-section img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.contact-cta {
    background-color: #333;
    color: white;
    padding: 2rem 0;
}

.contact-cta h3 {
    margin-bottom: 0.5rem;
}

.contact-cta p {
    opacity: 0.9;
    margin-bottom: 0;
}

/* 登录注册页面样式 */
.auth-container {
    padding: 4rem 0;
}

.auth-tabs {
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.auth-tabs .tabs {
    border: none;
    background: #f5f5f5;
}

.auth-tabs .tabs-title {
    width: 50%;
    text-align: center;
}

.auth-tabs .tabs-title a {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem;
    width: 100%;
}

.auth-tabs .tabs-title.is-active a {
    background: #1779ba;
    color: white;
}

.tabs-panel {
    padding: 2rem;
}

.tabs-panel h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 2rem;
}

.social-login {
    text-align: center;
    margin-bottom: 1.5rem;
}

.social-login p {
    color: #777;
    margin-bottom: 1rem;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-buttons .button {
    min-width: 120px;
}

.social-wechat {
    background-color: #07C160;
    color: white;
}

.social-weibo {
    background-color: #E6162D;
    color: white;
}

.or-divider {
    position: relative;
    margin: 1.5rem 0;
    text-align: center;
}

.or-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
    z-index: 1;
}

.or-divider span {
    position: relative;
    display: inline-block;
    padding: 0 1rem;
    background: white;
    z-index: 2;
    color: #777;
}

.password-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.forgot-password {
    color: #777;
}

.password-strength {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.strength-indicator {
    width: 25%;
    height: 4px;
    background: #eee;
    margin-right: 0.3rem;
    border-radius: 2px;
}

.strength-indicator.weak {
    background: #ff4d4d;
}

.strength-text {
    font-size: 0.8rem;
    color: #777;
    margin-left: 0.5rem;
}

/* 响应式调整 */
@media screen and (max-width: 639px) {
    .hero-section-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-section-text h5 {
        font-size: 1.2rem;
    }
    
    .timeline::before {
        left: 50px;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-year {
        margin: 0 0 1rem 0;
    }
    
    .timeline-content {
        margin-left: 0;
    }
    
    .social-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .social-buttons .button {
        width: 100%;
    }
}