/* 智子媒体网页样式 */

/* ========== 全局变量 ========== */
:root {
    --primary-color: #1890FF;
    --secondary-color: #FF6B35;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #FFFFFF;
    --bg-light: #F5F5F5;
    --border-color: #E0E0E0;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
}

/* ========== 基础样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
                 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-color);
}

/* ========== 顶部导航栏 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-color);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.brand-name {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    font-size: 16px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* ========== 按钮样式 ========== */
.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

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

.btn-contact {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-contact:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* ========== Hero区 ========== */
.hero-section {
    margin-top: 70px;
    padding: 60px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 80px;
    min-height: 600px;
}

.hero-left {
    flex: 1;
    max-width: 600px;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.hero-brand {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 40px;
    line-height: 1.2;
}

.brand-main {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-en {
    font-size: 24px;
    font-weight: 400;
    color: #667eea;
    margin-top: 4px;
}

.brand-subtitle {
    font-size: 28px;
    font-weight: 500;
    color: #4a5568;
    margin-top: 8px;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #333;
}

.feature-icon {
    font-size: 24px;
}

.feature-text {
    font-weight: 600;
}

.btn-hero {
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.btn-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn-hero:hover .btn-arrow {
    transform: translateX(5px);
}

/* 右侧插图样式 */
.hero-illustration {
    width: 100%;
    max-width: 600px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
                0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.hero-illustration:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2),
                0 12px 32px rgba(0, 0, 0, 0.15);
}

/* ========== 通用区块样式 ========== */
.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
}

.update-time {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    margin-top: -30px;
    margin-bottom: 30px;
}

/* ========== 媒体资源区 ========== */
.media-section {
    padding: 60px 0;
    background: var(--bg-light);
}

/* Tab切换 */
.media-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 40px;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover {
    background: var(--primary-color);
    color: white;
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.search-filter-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: border-color 0.3s;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filter-row {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-row select {
    padding: 10px 15px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
}

.tag-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tag-filters label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 14px;
}

.result-info {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.result-info span {
    color: var(--primary-color);
    font-weight: bold;
}

/* 筛选行 */
.filter-row {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.filter-row select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    transition: border-color 0.3s;
}

.filter-row select:hover {
    border-color: var(--primary-color);
}

/* 媒体表格 */
.media-table {
    width: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 20px;
}

.media-table table {
    width: 100%;
    border-collapse: collapse;
}

.media-table th {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.media-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.media-table tr:hover {
    background: var(--bg-light);
}

.media-table tr:last-child td {
    border-bottom: none;
}
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.media-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.media-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.media-price {
    font-size: 24px;
    color: var(--secondary-color);
    font-weight: bold;
    margin: 10px 0;
}

.media-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.tag {
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-light);
}

.tag.official { background: #e6f7ff; color: #1890ff; }
.tag.baike { background: #fff7e6; color: #fa8c16; }
.tag.ai { background: #f6ffed; color: #52c41a; }
.tag.fast { background: #fff1f0; color: #f5222d; }

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination button {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination button:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination .page-info {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    color: var(--text-light);
    font-size: 14px;
}

/* ========== 免费系统区 ========== */
.free-section {
    padding: 60px 0;
    background: white;
}

.free-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 10px 0;
    font-size: 16px;
    line-height: 1.8;
}

.platforms-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* ========== 联系我们区 ========== */
.contact-section {
    padding: 60px 0;
    background: var(--bg-light);
    text-align: center;
}

.contact-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.qrcode-img {
    width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.contact-note {
    font-size: 16px;
    color: var(--text-light);
}

/* ========== Footer ========== */
.footer {
    background: var(--text-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin: 10px 0;
    font-size: 14px;
}

.footer a {
    color: white;
    text-decoration: underline;
}

.icp-link {
    color: rgba(255,255,255,0.8);
}

/* ========== 二维码弹窗 ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 8px;
    width: 400px;
    text-align: center;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
}

.close:hover {
    color: var(--text-color);
}

.modal-qrcode {
    width: 250px;
    height: auto;
    margin: 20px 0;
}

/* ========== 悬浮联系按钮 ========== */
.floating-contact {
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: var(--shadow-hover);
    z-index: 1000;
    transition: all 0.3s;
}

.floating-contact:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* ========== 响应式布局 ========== */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .free-content {
        grid-template-columns: 1fr;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none;
    }

    .hero-title {
        align-items: center;
    }

    .brand-main {
        font-size: 32px;
    }

    .brand-en {
        font-size: 16px;
    }

    .brand-subtitle {
        font-size: 18px;
    }

    .modal-content {
        width: 90%;
        margin: 20% auto;
    }
}

/* SVIP按钮样式 */
.btn-svip {
    padding: 6px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.btn-svip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.5);
}

/* ========== 响应式布局 ========== */
/* 平板端 */
@media (max-width: 1024px) {
    .hero-content {
        gap: 50px;
    }
    
    .brand-main {
        font-size: 48px;
    }

    .brand-en {
        font-size: 20px;
    }

    .brand-subtitle {
        font-size: 24px;
    }
    
    .hero-illustration {
        max-width: 500px;
    }
}

/* 移动端 */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 40px;
        min-height: auto;
    }
    
    .hero-left {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-title {
        align-items: center;
    }

    .brand-main {
        font-size: 36px;
    }

    .brand-en {
        font-size: 18px;
    }

    .brand-subtitle {
        font-size: 20px;
    }
    
    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-illustration {
        max-width: 100%;
    }
}

/* ========== 动画效果 ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* 应用动画 */
.hero-badge {
    animation: fadeInUp 0.6s ease-out;
}

.hero-brand {
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.hero-title {
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero-features {
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.btn-hero {
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.hero-illustration {
    animation: fadeInRight 0.8s ease-out 0.3s backwards;
}

/* ========== 友情链接区 ========== */
.links-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
}

.links-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.links-group {
    margin-bottom: 50px;
}

.links-group:last-child {
    margin-bottom: 0;
}

.links-group-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid #667eea;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.link-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.link-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.link-content {
    flex: 1;
}

.link-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.link-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* 友情链接响应式 */
@media (max-width: 768px) {
    .links-section {
        padding: 60px 0;
    }
    
    .links-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .links-group-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .link-card {
        padding: 15px;
    }
}

/* ==================== 服务优势区样式 ==================== */
.advantages-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-top: 10px;
    margin-bottom: 50px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-item {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.advantage-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.advantage-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* 服务优势响应式 */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .advantages-section {
        padding: 60px 0;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .advantage-item {
        padding: 30px 20px;
    }
}

/* ==================== FAQ常见问题区样式 ==================== */
.faq-section {
    padding: 80px 0;
    background: #ffffff;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #f0f2f5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.faq-answer {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* FAQ响应式 */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .faq-question {
        font-size: 15px;
    }
    
    .faq-answer {
        font-size: 13px;
    }
}
