/* 常州智博品牌策划 - 全站样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --text-light: #f8fafc;
    --text-gray: #94a3b8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 1000;
    padding: 15px 0;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 20px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--text-light);
}

/* Hero区域 */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-card) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-light);
    padding: 16px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
}

/* 数据卡片 */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-gray);
    letter-spacing: 0.5px;
}

/* 通用样式 */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--dark-card);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-light);
}

.section-header p {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* 痛点分析 */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pain-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.pain-card:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.pain-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pain-icon i {
    font-size: 24px;
    color: var(--primary);
}

.pain-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-light);
}

.pain-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* 核心服务 */
.service-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 14px 32px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: var(--text-gray);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.service-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.service-content.active {
    display: block;
}

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

.service-detail {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 50px;
}

.service-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
}

.service-info > p {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.service-list {
    list-style: none;
}

.service-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.service-list li i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
}

.service-list li strong {
    display: block;
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 4px;
}

.service-list li span {
    color: var(--text-gray);
    font-size: 13px;
}

.service-visual {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.service-visual i {
    font-size: 60px;
    color: #ffffff;
    margin-bottom: 20px;
}

.service-visual h4 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 8px;
}

.service-visual p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

/* 解决方案 */
.solution-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.solution-item {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.solution-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.solution-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.solution-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-light);
    margin-top: 10px;
}

.solution-item p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* 核心优势 */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.advantage-item {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
}

.advantage-item:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.advantage-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-icon i {
    font-size: 24px;
    color: #ffffff;
}

.advantage-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-light);
}

.advantage-item p {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* 服务套餐 */
.packages {
    background: linear-gradient(180deg, var(--dark-card) 0%, var(--dark-bg) 100%);
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.package-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.package-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
}

.package-card.featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.1) 0%, rgba(30, 41, 59, 0.8) 100%);
}

.package-card.featured::before {
    content: '推荐';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #ffffff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.package-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-light);
}

.package-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 5px;
}

.package-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.package-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.package-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li i {
    color: var(--primary);
    font-size: 14px;
}

.package-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #ffffff;
    padding: 14px 40px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.package-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

/* 成功案例 */
.case-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.case-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
}

.case-tag {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.case-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

.case-section p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-item {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 28px;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.5;
}

.faq-item p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* 联系我们 */
.contact {
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0a0f1a 100%);
}

.contact .section-header h2,
.contact .section-header p {
    color: var(--text-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-item {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 28px;
}

.contact-item i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 16px;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-gray);
}

.contact-cta {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-cta h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 16px;
}

.contact-cta p {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.contact-phone {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 30px;
}

.contact-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #ffffff;
    padding: 18px 50px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

/* 页脚 */
.footer {
    background: #0a0f1a;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-brand h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
    color: var(--text-gray);
}

/* 响应式 */
@media (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    .pain-grid,
    .solution-steps,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .advantage-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .package-grid,
    .case-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero-stats,
    .pain-grid,
    .solution-steps,
    .advantage-grid,
    .package-grid,
    .case-content,
    .faq-grid,
    .contact-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }
    .service-detail {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}
