/* 南强信息科技官网样式 */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #22d3ee;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #22d3ee 100%);
}

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

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

/* 导航 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.admin-link {
    padding: 0.5rem 1rem;
    background: var(--gradient);
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Hero区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 1rem 4rem;
    background: linear-gradient(135deg, #0a0a1a 0%, #0f172a 30%, #1e1b4b 70%, #0f172a 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(99, 102, 241, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(34, 211, 238, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 50% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    animation: heroGlow 10s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.03) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(99, 102, 241, 0.5);
    color: var(--text);
}

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
}

/* 区块样式 */
.section {
    padding: 5rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* 价值展示 */
.values {
    background: var(--dark-light);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.08) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 平台服务 */
.platforms {
    background: var(--dark);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.platform-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.platform-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.platform-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.platform-card:hover::after {
    transform: scaleX(1);
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.platform-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.platform-icon.aliyun { background: #ff6a00; }
.platform-icon.tencent { background: #0090ff; }
.platform-icon.bytedance { background: #000; border: 1px solid #333; }

.platform-card h3 {
    font-size: 1.25rem;
}

.platform-card ul {
    list-style: none;
    color: var(--text-muted);
}

.platform-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.platform-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

/* 案例展示 */
.cases {
    background: var(--dark-light);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.case-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 50%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
}

.case-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.case-content {
    padding: 1.5rem;
}

.case-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.case-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.case-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--secondary);
}

/* 合作伙伴 */
.partners {
    background: var(--dark);
    text-align: center;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.partner-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 1rem 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
}

/* 联系表单 */
.contact {
    background: var(--dark-light);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: var(--dark);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* 底部 */
.footer {
    background: var(--dark);
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer p {
    color: var(--text-muted);
}

/* 汉堡菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 响应式 */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--dark-light);
        flex-direction: column;
        padding: 80px 2rem 2rem;
        gap: 0;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 0;
    }
    
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    
    .nav-overlay.active {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 5%;
    }
    
    .about-content h1, .blog-hero h1 {
        font-size: 2rem;
    }
    
    .pricing-grid, .advantage-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-panel {
        width: calc(100% - 40px);
        right: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* 页面加载动画 */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: var(--gradient);
    width: 0%;
    animation: load 1s ease-out forwards;
}

@keyframes load {
    to { width: 100%; }
}

/* 登录页样式 */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    padding: 2rem;
}

.login-box {
    background: var(--dark-light);
    padding: 2.5rem;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(255,255,255,0.05);
}

.login-box h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

/* 后台样式 */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: var(--dark-light);
    padding: 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.admin-sidebar h2 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-menu {
    list-style: none;
}

.admin-menu li {
    margin-bottom: 0.5rem;
}

.admin-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.admin-menu a:hover,
.admin-menu a.active {
    background: rgba(99, 102, 241, 0.2);
    color: var(--text);
}

.admin-main {
    flex: 1;
    padding: 2rem;
    background: var(--dark);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-card {
    background: var(--dark-light);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--dark-light);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-card h3 {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.stat-card .value {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

/* 表格样式 */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.data-table th {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

.data-table tr:hover {
    background: rgba(255,255,255,0.02);
}

/* 闪光动画 */
@keyframes shine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

/* 客服浮窗 */
.chat-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.chat-float-main {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    transition: transform 0.3s;
}

.chat-float-main:hover {
    transform: scale(1.1);
}

.chat-float-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
}

.chat-float:hover .chat-float-btns {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.chat-float-btn:hover {
    transform: scale(1.1);
}

.chat-float-btn.wechat { background: #07c160; }
.chat-float-btn.qq { background: #12b7f5; }
.chat-float-btn.phone { background: #ff6b00; }
.chat-float-btn.contact-btn { background: var(--gradient); }

/* 联系弹窗 */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.contact-modal-content {
    background: var(--dark-light);
    border-radius: 16px;
    padding: 1.5rem;
    width: 90%;
    max-width: 360px;
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

#modalContactForm input,
#modalContactForm select,
#modalContactForm textarea {
    width: 100%;
    padding: 0.6rem;
    margin-bottom: 0.6rem;
    background: var(--dark);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.9rem;
}

#modalContactForm input:focus,
#modalContactForm select:focus,
#modalContactForm textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* 飘动浮层 */
.floating-contact {
    position: fixed;
    bottom: 100px;
    left: 30px;
    z-index: 9998;
}

.floating-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    animation: floatBall 2s ease-in-out infinite;
}

.floating-inner span:first-child {
    font-size: 1.25rem;
}

.floating-text {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

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

.chat-panel {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 320px;
    background: var(--dark-light);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 9999;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.chat-header {
    background: var(--gradient);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.chat-body {
    padding: 1rem;
    min-height: 100px;
    max-height: 200px;
    overflow-y: auto;
}

.chat-body p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.chat-form {
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.chat-form input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: var(--dark);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text);
}

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

/* 动画增强 */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, var(--dark));
}

.value-stat {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.value-stat strong {
    font-size: 1.5rem;
    color: var(--secondary);
    display: block;
    margin-top: 0.25rem;
}

.platform-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: -0.25rem;
}

.case-stats {
    display: flex;
    gap: 1rem;
    margin: 0.75rem 0;
    font-size: 0.85rem;
    color: var(--secondary);
}

.case-stats span {
    background: rgba(99, 102, 241, 0.15);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* 分享浮窗 */
.share-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
    z-index: 9997;
    transition: transform 0.3s;
    font-size: 1.25rem;
}

.share-float:hover {
    transform: scale(1.1);
}

.share-panel {
    position: fixed;
    bottom: 160px;
    right: 30px;
    background: var(--dark-light);
    border-radius: 12px;
    padding: 1rem;
    width: 200px;
    z-index: 9998;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.share-panel.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-weight: 600;
}

.share-close {
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-muted);
}

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

.share-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.share-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
}

.share-item:hover {
    background: rgba(255,255,255,0.1);
}

/* 资质证书 - 全新设计 */
.certs-section {
    background: linear-gradient(180deg, var(--dark) 0%, #0a0a2e 100%);
    position: relative;
    overflow: hidden;
}

.certs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 50% 30% at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 40% 25% at 80% 80%, rgba(34, 211, 238, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.certs-showcase {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1100px;
    margin: 3rem auto 0;
    padding: 0 5%;
    position: relative;
    z-index: 1;
}

.cert-badge {
    width: 200px;
    height: 260px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.cert-badge:hover {
    transform: translateY(-10px) scale(1.02);
}

.cert-badge-inner {
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cert-badge-gold {
    background: linear-gradient(145deg, #1a1a2e 0%, #2d2d4a 100%);
    border: 2px solid #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2), inset 0 0 30px rgba(255, 215, 0, 0.05);
}

.cert-badge-gold:hover {
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.4), inset 0 0 30px rgba(255, 215, 0, 0.1);
}

.cert-badge-blue {
    background: linear-gradient(145deg, #1a1a2e 0%, #1e3a5f 100%);
    border: 2px solid #007bff;
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.2), inset 0 0 30px rgba(0, 123, 255, 0.05);
}

.cert-badge-blue:hover {
    box-shadow: 0 0 50px rgba(0, 123, 255, 0.4), inset 0 0 30px rgba(0, 123, 255, 0.1);
}

.cert-badge-orange {
    background: linear-gradient(145deg, #1a1a2e 0%, #3d2914 100%);
    border: 2px solid #ff6b35;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.2), inset 0 0 30px rgba(255, 107, 53, 0.05);
}

.cert-badge-orange:hover {
    box-shadow: 0 0 50px rgba(255, 107, 53, 0.4), inset 0 0 30px rgba(255, 107, 53, 0.1);
}

.cert-badge-green {
    background: linear-gradient(145deg, #1a1a2e 0%, #1a3d2e 100%);
    border: 2px solid #00c851;
    box-shadow: 0 0 30px rgba(0, 200, 81, 0.2), inset 0 0 30px rgba(0, 200, 81, 0.05);
}

.cert-badge-green:hover {
    box-shadow: 0 0 50px rgba(0, 200, 81, 0.4), inset 0 0 30px rgba(0, 200, 81, 0.1);
}

.cert-seal {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: #00c851;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    font-weight: bold;
}

.cert-badge-icon {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 0 10px currentColor);
}

.cert-badge h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #fff;
}

.cert-badge p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

.cert-year {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
}

/* 合作伙伴展示 */
.cert-partners {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    width: 100%;
    clear: both;
    display: block;
}

.cert-partners p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.partner-logo {
    padding: 0.75rem 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
}

.partner-logo:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary);
}

/* 底部备案 */
.footer-content {
    text-align: center;
}

.footer-icp {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* 案例详情链接 */
.case-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.case-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.share-item.wechat:hover { background: rgba(7, 193, 96, 0.2); }
.share-item.weibo:hover { background: rgba(228, 80, 60, 0.2); }
.share-item.qq:hover { background: rgba(18, 183, 245, 0.2); }
.share-item.link:hover { background: rgba(99, 102, 241, 0.2); }

.share-icon {
    font-size: 1.25rem;
}

.share-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9996;
    display: none;
}

.share-overlay.active {
    display: block;
}
