/* ========== 全局样式 ========== */
:root {
    --primary: #1a56db;
    --primary-dark: #1240a8;
    --primary-light: #3b82f6;
    --accent: #f97316;
    --accent-light: #fb923c;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #1a56db 0%, #3b82f6 50%, #60a5fa 100%);
    --gradient-2: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1a56db 100%);
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--dark);
    line-height: 1.7;
    background: #ffffff;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ========== 导航栏 ========== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.navbar-custom .navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-custom .navbar-brand .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 18px;
}

.navbar-custom .nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 8px 16px !important;
    position: relative;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--primary);
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    transform: scaleX(1);
}

/* ========== Hero区域 ========== */
.hero-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    color: white;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb 25s ease-in-out infinite reverse;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -40px) scale(1.1); }
}

.hero-section .hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-section .hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-custom {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-custom {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 20px rgba(26, 86, 219, 0.4);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(26, 86, 219, 0.5);
    color: white;
}

.btn-outline-custom {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
    color: white;
}

/* Hero统计数据 */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-light);
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========== 通用区块 ========== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.05rem;
    margin-top: 25px;
}

/* ========== 特色卡片 ========== */
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(26, 86, 219, 0.15);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin-bottom: 24px;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray);
    margin: 0;
}

/* ========== 方案卡片 ========== */
.solution-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.solution-card .card-img {
    height: 200px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
}

.solution-card .card-body {
    padding: 30px;
}

.solution-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.solution-card .highlight {
    color: var(--primary);
    font-weight: 600;
}

.solution-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ========== 版本对比 ========== */
.price-section {
    background: linear-gradient(180deg, var(--light) 0%, white 100%);
}

.price-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid transparent;
    height: 100%;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(26, 86, 219, 0.15);
}

.price-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(26, 86, 219, 0.03) 0%, white 100%);
}

.price-card.featured::before {
    content: '推荐';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-1);
    color: white;
    padding: 4px 20px;
    border-radius: 0 0 10px 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price-card .price-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.price-card .price-desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.price-card .price-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.price-card .price-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-card .price-features li:last-child {
    border-bottom: none;
}

.price-card .price-features li::before {
    content: '✓';
    color: #22c55e;
    font-weight: 700;
}

/* ========== 文章卡片 ========== */
.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.article-card .card-cover {
    height: 180px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.article-card .card-cover::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    transform: rotate(45deg);
}

.article-card .card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card .card-cat {
    display: inline-block;
    font-size: 0.75rem;
    padding: 4px 12px;
    background: rgba(26, 86, 219, 0.1);
    color: var(--primary);
    border-radius: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.article-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-card h4 a {
    color: var(--dark);
}

.article-card h4 a:hover {
    color: var(--primary);
}

.article-card .card-summary {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}

.article-card .card-meta {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray);
}

/* ========== 滚动动画 ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 底部 ========== */
.footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 60px 0 30px;
}

.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.footer a {
    color: #94a3b8;
    display: block;
    padding: 5px 0;
    font-size: 0.9rem;
}

.footer a:hover {
    color: white;
    padding-left: 5px;
}

.footer .contact-item {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.footer .contact-item i {
    color: var(--primary-light);
    font-size: 1.1rem;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 25px;
    font-size: 0.85rem;
    text-align: center;
}

.footer-bottom a {
    display: inline;
    padding: 0;
}

/* ========== 悬浮联系按钮 ========== */
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 999;
}

.floating-contact .btn-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(26, 86, 219, 0.4);
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 24px;
}

.floating-contact .btn-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(26, 86, 219, 0.5);
}

.floating-contact .btn-float span {
    display: none;
}

/* ========== 联系表单 ========== */
.contact-form {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--dark);
}

.contact-form .form-control {
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.1);
}

/* ========== 文章详情页 ========== */
.article-detail {
    padding: 60px 0;
}

.article-detail .article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.article-detail .article-header .cat {
    display: inline-block;
    font-size: 0.8rem;
    padding: 6px 16px;
    background: rgba(26, 86, 219, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.article-detail h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-detail .article-meta {
    color: var(--gray);
    font-size: 0.9rem;
}

.article-detail .article-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #334155;
}

.article-detail .article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 20px;
    padding-left: 15px;
    border-left: 4px solid var(--primary);
}

.article-detail .article-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 30px 0 15px;
}

.article-detail .article-content p {
    margin-bottom: 18px;
}

.article-detail .article-content ul,
.article-detail .article-content ol {
    padding-left: 25px;
    margin-bottom: 18px;
}

.article-detail .article-content li {
    margin-bottom: 8px;
}

.article-detail .article-content strong {
    color: var(--dark);
}

.article-detail .article-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 15px 20px;
    margin: 20px 0;
    background: #fffaf5;
    color: var(--gray);
    border-radius: 0 10px 10px 0;
}

/* ========== 面包屑 ========== */
.breadcrumb-area {
    background: var(--light);
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb-area .breadcrumb {
    margin: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-area .breadcrumb-item + .breadcrumb-item::before {
    content: '›';
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-weight: 500;
}

.pagination a {
    color: var(--dark);
    background: white;
}

.pagination a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination .page-current {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
}

.pagination .page-dots {
    border: none;
    color: var(--gray);
}

/* ========== 404页面 ========== */
.error-404 {
    text-align: center;
    padding: 120px 0;
}

.error-404 .error-num {
    font-size: 10rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.error-404 h2 {
    font-size: 1.5rem;
    margin: 20px 0;
}

/* ========== 产品详情区块 ========== */
.product-feature-row {
    padding: 60px 0;
}

.product-feature-row:nth-child(even) {
    background: var(--light);
}

.product-feature-row .feature-content {
    padding: 30px 0;
}

.product-feature-row h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.product-feature-row .feature-tag {
    display: inline-block;
    padding: 4px 16px;
    background: rgba(26, 86, 219, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-feature-row .feature-img {
    height: 320px;
    border-radius: 20px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 50px rgba(26, 86, 219, 0.2);
}

/* ========== 案例客户 ========== */
.case-marquee {
    overflow: hidden;
    padding: 30px 0;
    background: var(--light);
}

.case-marquee .marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
    gap: 60px;
    width: max-content;
}

.case-marquee .marquee-item {
    font-size: 1.2rem;
    color: var(--gray);
    font-weight: 600;
    white-space: nowrap;
    padding: 10px 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== CTA区块 ========== */
.cta-section {
    background: var(--gradient-hero);
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.cta-section .cta-buttons {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .hero-section { padding: 60px 0; }
    .hero-section h1 { font-size: 2rem; }
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 1.75rem; }
    .hero-stats { gap: 20px; }
    .hero-stats .stat-num { font-size: 2rem; }
    .product-feature-row .feature-img { height: 220px; font-size: 60px; }
    .product-feature-row h3 { font-size: 1.4rem; }
}

@media (max-width: 768px) {
    .hero-section h1 { font-size: 1.75rem; }
    .hero-section .subtitle { font-size: 1rem; }
    .section { padding: 40px 0; }
    .section-title { margin-bottom: 40px; }
    .section-title h2 { font-size: 1.5rem; }
    .feature-card, .price-card { padding: 30px 20px; }
    .article-detail h1 { font-size: 1.5rem; }
    .article-detail .article-content h2 { font-size: 1.25rem; }
    .contact-form { padding: 25px; }
    .cta-section h2 { font-size: 1.5rem; }
    .floating-contact .btn-float { width: 50px; height: 50px; font-size: 20px; }
}

@media (max-width: 576px) {
    .hero-stats { flex-direction: column; gap: 15px; }
    .hero-stats .stat-item { text-align: left; }
    .footer { padding: 40px 0 20px; }
}
