/* ============================================
   spssAgent 官网样式 — 科技感设计
   ============================================ */

:root {
    --bg-dark: #0a0e1a;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --primary: #00d4ff;
    --primary-dim: rgba(0, 212, 255, 0.1);
    --gradient-1: #00d4ff;
    --gradient-2: #7b2ff7;
    --text: #e0e0e0;
    --text-muted: #8892a4;
    --border: #1e2d3d;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: #66e5ff; }

/* Navbar */
.navbar {
    background: rgba(10, 14, 26, 0.95);
    border: none;
    padding: 12px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--border);
}

.navbar-brand {
    font-size: 22px;
    font-weight: 700;
    color: #fff !important;
    padding: 6px 15px;
    letter-spacing: -0.5px;
}
.brand-icon { color: var(--primary); margin-right: 4px; }
.brand-highlight { color: var(--primary); }

.navbar-nav > li > a {
    color: var(--text-muted) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    transition: color 0.2s;
}
.navbar-nav > li > a:hover,
.navbar-nav > li.active > a {
    color: #fff !important;
    background: transparent !important;
}
.navbar-nav > li.active > a { color: var(--primary) !important; }

.nav-btn {
    border: 1px solid var(--border) !important;
    border-radius: 6px !important;
    padding: 8px 18px !important;
    margin-left: 8px;
}
.nav-btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #000 !important;
}
.nav-btn-primary:hover { background: #66e5ff !important; color: #000 !important; }

.navbar-toggle { border-color: var(--border); }
.navbar-toggle .icon-bar { background: var(--text); }

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(123, 47, 247, 0.06) 0%, transparent 50%);
    pointer-events: none;
}
.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 60px;
}
.hero-content { flex: 1; }
.hero-badge {
    display: inline-block;
    background: var(--primary-dim);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}
.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: -1px;
}
.gradient-text {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; margin-bottom: 50px; }
.btn {
    font-family: var(--font);
    font-weight: 600;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 15px;
    transition: all 0.25s;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gradient-1), #0099cc);
    color: #000;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
    color: #000;
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; }

.hero-stats {
    display: flex;
    gap: 30px;
}
.stat-item { text-align: center; }
.stat-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; display: block; }

.hero-visual { flex: 0 0 380px; }
.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hc-header {
    background: rgba(255,255,255,0.03);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}
.hc-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #ff5f57;
}
.hc-dot:nth-child(2) { background: #febc2e; }
.hc-dot:nth-child(3) { background: #28c840; }
.hc-body { padding: 24px; }
.hc-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
}
.hc-label {
    width: 50px;
    font-size: 13px;
    color: var(--text-muted);
    flex-shrink: 0;
}
.hc-bar {
    flex: 1;
    height: 8px;
    background: rgba(0, 212, 255, 0.15);
    border-radius: 4px;
    position: relative;
}
.hc-bar::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    height: 100%;
    width: var(--bar-width, 0);
    background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
    border-radius: 4px;
    animation: barGrow 1.5s ease-out;
}
@keyframes barGrow { from { width: 0; } }
.hc-row:nth-child(1) .hc-bar::after { width: 85%; }
.hc-row:nth-child(2) .hc-bar::after { width: 92%; }
.hc-row:nth-child(3) .hc-bar::after { width: 78%; }
.hc-row:nth-child(4) .hc-bar::after { width: 73%; }
.hc-val {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    width: 60px;
    text-align: right;
    flex-shrink: 0;
}
.hc-footer {
    background: rgba(0, 212, 255, 0.05);
    padding: 12px 24px;
    font-size: 13px;
    color: var(--primary);
    border-top: 1px solid var(--border);
    font-weight: 500;
}

/* Sections */
.section { padding: 90px 0; }
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.section-header p {
    font-size: 17px;
    color: var(--text-muted);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.3s;
}
.feature-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    background: var(--bg-card-hover);
}
.fc-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--primary-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--primary);
}
.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}
.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Pipeline */
.pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.pipe-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    flex: 1;
    max-width: 240px;
    text-align: center;
    transition: all 0.3s;
}
.pipe-step:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}
.ps-num {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}
.ps-content h4 {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}
.ps-content p {
    font-size: 13px;
    color: var(--text-muted);
}
.pipe-arrow {
    font-size: 24px;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* Accuracy */
.accuracy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.acc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.3s;
}
.acc-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
}
.acc-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--primary-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--primary);
}
.acc-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}
.acc-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}
.acc-meta {
    margin-top: 16px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
}

/* CTA */
.cta-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(123, 47, 247, 0.05));
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 70px 40px;
}
.cta-box h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.cta-box p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}
.blog-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
}
.bc-body { padding: 28px; }
.bc-category {
    display: inline-block;
    background: var(--primary-dim);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 14px;
}
.bc-body h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}
.bc-body h3 a { color: #fff; }
.bc-body h3 a:hover { color: var(--primary); }
.bc-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bc-meta {
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
}

/* Blog layout */
.blog-layout {
    display: flex;
    gap: 40px;
}
.blog-sidebar { flex: 0 0 260px; }
.blog-main { flex: 1; }
.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}
.sidebar-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}
.category-list { list-style: none; }
.category-list li { margin-bottom: 8px; }
.category-list a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 14px;
    transition: all 0.2s;
}
.category-list a:hover,
.category-list a.active {
    background: var(--primary-dim);
    color: var(--primary);
}

.blog-post {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 20px;
    transition: all 0.3s;
}
.blog-post:hover { border-color: rgba(0, 212, 255, 0.2); }
.bp-category {
    display: inline-block;
    background: var(--primary-dim);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}
.bp-title { margin-bottom: 12px; }
.bp-title a {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}
.bp-title a:hover { color: var(--primary); }
.bp-summary {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}
.bp-meta {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.bp-tag {
    background: rgba(255,255,255,0.05);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
}

/* Blog Detail */
.blog-detail-layout {
    display: flex;
    gap: 40px;
}
.blog-detail-main { flex: 1; max-width: 800px; }
.blog-detail-sidebar { flex: 0 0 260px; }
.article-header { margin-bottom: 40px; }
.article-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 20px;
}
.article-meta {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.article-tag {
    display: inline-block;
    background: var(--primary-dim);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 4px;
}
.article-nav { margin-top: 40px; }

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand h4 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.footer-brand p { color: var(--text-muted); font-size: 14px; }
.footer-links h5 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}
.footer-links a {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 10px;
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* Page Hero */
.page-hero {
    padding: 140px 0 60px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.06) 0%, transparent 60%);
}
.page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.page-hero p { font-size: 17px; color: var(--text-muted); }

/* Features page */
.detail-feature { margin-bottom: 60px; }
.detail-feature h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}
.detail-feature p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}
.df-list { list-style: none; }
.df-list li {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 10px;
}
.df-list li i { color: var(--primary); margin-right: 10px; }

.method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
}
.method-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s;
}
.method-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}
.method-item i {
    display: block;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 8px;
}
.method-item span { font-size: 13px; font-weight: 500; color: var(--text); }

.gradient-icon {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pricing */

/* 开卡联系醒目横幅 */
.open-card-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    max-width: 980px;
    margin: 0 auto 48px;
    padding: 40px 48px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.14), rgba(123, 47, 247, 0.14));
    border: 2px solid var(--primary);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.2);
    text-align: center;
}
.open-card-notice .ocn-icon {
    width: 88px;
    height: 88px;
    flex: 0 0 88px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
}
.open-card-notice .ocn-title {
    font-size: 46px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}
.open-card-notice .ocn-wx {
    color: #000;
    background: linear-gradient(135deg, var(--gradient-1), #66e5ff);
    padding: 6px 26px;
    border-radius: 12px;
    -webkit-text-fill-color: #000;
    font-size: 46px;
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.6);
}
.open-card-notice .ocn-sub {
    font-size: 18px;
    color: var(--text-muted);
    margin-top: 8px;
}

.pricing-intro {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
    max-width: 760px;
    margin: 0 auto 40px;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1120px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    transition: all 0.3s;
}
.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
}
.pc-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #000;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}
.pc-header { text-align: center; margin-bottom: 28px; }
.pc-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}
.pc-price { margin-bottom: 8px; }
.price-num {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
}
.price-period { font-size: 16px; color: var(--text-muted); }
.pc-header p { font-size: 14px; color: var(--text-muted); }
.pc-features { list-style: none; margin-bottom: 28px; }
.pc-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}
.pc-features li i { margin-right: 10px; }
.pc-features li .fa-check { color: var(--primary); }
.pc-features li .fa-times { color: #ff5f57; }

/* About */
.about-content { max-width: 800px; margin: 0 auto; }
.about-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    margin-top: 40px;
}
.about-content p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.m-t-lg { margin-top: 40px; }

/* Responsive */
@media (max-width: 992px) {
    .hero .container { flex-direction: column; }
    .hero-visual { display: none; }
    .features-grid, .accuracy-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-layout, .blog-detail-layout { flex-direction: column; }
    .blog-sidebar, .blog-detail-sidebar { flex: none; width: 100%; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.featured { transform: none; }
    .pipeline { flex-wrap: wrap; }
    .pipe-arrow { display: none; }
    .method-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .hero h1 { font-size: 32px; }
    .section-header h2 { font-size: 28px; }
    .features-grid, .accuracy-grid, .blog-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-wrap: wrap; }
    .footer-grid { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 28px; }
}
