/* ==========================================================================
   Modern Tech Design System — 科技智能化样式
   专为 Start Bootstrap Modern Business 模板打造
   ========================================================================== */

/* ---- CSS 变量：科技配色体系 ---- */
:root {
    --tech-primary: #0ea5e9;          /* 科技蓝 */
    --tech-primary-dark: #0284c7;
    --tech-secondary: #8b5cf6;         /* 紫色强调 */
    --tech-accent: #10b981;            /* 绿色点缀 */
    --tech-dark: #0f172a;              /* 深空黑 */
    --tech-darker: #020617;
    --tech-light: #f8fafc;
    --tech-gray-100: #f1f5f9;
    --tech-gray-200: #e2e8f0;
    --tech-gray-300: #cbd5e1;
    --tech-gray-600: #64748b;
    --tech-gray-700: #475569;
    --tech-gray-800: #1e293b;
    --tech-gradient-1: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 50%, #10b981 100%);
    --tech-gradient-2: linear-gradient(135deg, #0284c7 0%, #6d28d9 50%, #059669 100%);
    --tech-gradient-3: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    --tech-gradient-card: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --tech-shadow: 0 10px 30px rgba(14, 165, 233, 0.12);
    --tech-shadow-lg: 0 20px 60px rgba(14, 165, 233, 0.15);
    --tech-glow: 0 0 20px rgba(14, 165, 233, 0.4);
    --tech-glow-hover: 0 0 30px rgba(14, 165, 233, 0.6);
    --tech-border-radius: 0.75rem;
    --tech-border-radius-lg: 1.25rem;
    --tech-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --tech-font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

/* ---- 暗黑模式 ---- */
[data-theme="dark"] {
    --tech-primary: #38bdf8;
    --tech-secondary: #a78bfa;
    --tech-accent: #34d399;
    --tech-dark: #020617;
    --tech-darker: #000000;
    --tech-light: #0f172a;
    --tech-gray-100: #0f172a;
    --tech-gray-200: #1e293b;
    --tech-gray-300: #334155;
    --tech-gray-600: #94a3b8;
    --tech-gray-700: #cbd5e1;
    --tech-gray-800: #e2e8f0;
}

/* ---- 全局基础 ---- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--tech-gradient-3);
    color: var(--tech-gray-700);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---- 动画背景容器 ---- */
.animated-bg {
    position: relative;
}

.animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--tech-gradient-3);
    z-index: 0;
    pointer-events: none;
}

.animated-bg > * {
    position: relative;
    z-index: 1;
}

/* ---- 粒子背景 ---- */
.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---- 毛玻璃效果 ---- */
.glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

/* ---- 科技导航栏 ---- */
.navbar {
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(14, 165, 233, 0.15);
    transition: var(--tech-transition);
    z-index: 1030;
}

.navbar.scrolled {
    background: rgba(2, 6, 23, 0.85) !important;
    border-bottom: 1px solid rgba(14, 165, 233, 0.3);
    box-shadow: var(--tech-glow);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    background: var(--tech-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--tech-transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--tech-gray-300) !important;
    font-weight: 500;
    position: relative;
    transition: var(--tech-transition);
    padding: 0.6rem 1rem !important;
    border-radius: var(--tech-border-radius);
    margin: 0 2px;
}

.navbar-nav .nav-link:hover {
    color: var(--tech-primary) !important;
    background: rgba(14, 165, 233, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--tech-gradient-1);
    transition: var(--tech-transition);
}

.navbar-nav .nav-link:hover::after {
    width: 70%;
}

.navbar-nav .nav-link.active {
    color: var(--tech-primary) !important;
}

.navbar-nav .nav-link.active::after {
    width: 70%;
}

/* ---- 下拉菜单科技风格 ---- */
.dropdown-menu {
    background: rgba(15, 23, 42, 0.9) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(14, 165, 233, 0.2) !important;
    border-radius: var(--tech-border-radius) !important;
    box-shadow: var(--tech-shadow-lg);
}

.dropdown-item {
    color: var(--tech-gray-300) !important;
    transition: var(--tech-transition);
    border-radius: 0.5rem;
    margin: 2px 4px;
}

.dropdown-item:hover {
    background: rgba(14, 165, 233, 0.15) !important;
    color: var(--tech-primary) !important;
    transform: translateX(4px);
}

/* ---- 科技英雄区 ---- */
.hero-tech {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--tech-gradient-3);
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
}

.hero-tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(16, 185, 135, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-tech .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: var(--tech-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(14, 165, 233, 0.2);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--tech-gray-300);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.6;
}

.hero-code {
    font-family: var(--tech-font-mono);
    font-size: 0.9rem;
    color: var(--tech-accent);
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: var(--tech-border-radius);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    backdrop-filter: blur(8px);
    overflow-x: auto;
    white-space: pre-wrap;
}

.hero-code .code-keyword { color: #a78bfa; }
.hero-code .code-string { color: #86efac; }
.hero-code .code-comment { color: #64748b; font-style: italic; }
.hero-code .code-function { color: #38bdf8; }

/* ---- 科技按钮 ---- */
.btn-tech {
    background: var(--tech-gradient-1);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: var(--tech-transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--tech-shadow);
    font-size: 1rem;
}

.btn-tech::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--tech-gradient-1);
    z-index: -1;
    border-radius: 50px;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-tech:hover {
    transform: translateY(-3px);
    box-shadow: var(--tech-glow-hover);
}

.btn-tech:hover::before {
    opacity: 1;
}

.btn-tech-ghost {
    background: transparent;
    border: 2px solid rgba(14, 165, 233, 0.5);
    color: var(--tech-primary);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: var(--tech-transition);
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.btn-tech-ghost:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: var(--tech-primary);
    box-shadow: var(--tech-glow);
    transform: translateY(-3px);
}

/* ---- 科技卡片 ---- */
.card-tech {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: var(--tech-border-radius-lg);
    padding: 2rem;
    transition: var(--tech-transition);
    box-shadow: var(--tech-shadow);
    position: relative;
    overflow: hidden;
}

.card-tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--tech-gradient-card);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.card-tech:hover {
    transform: translateY(-8px);
    box-shadow: var(--tech-glow-hover);
    border-color: rgba(14, 165, 233, 0.4);
}

.card-tech:hover::before {
    opacity: 1;
}

.card-tech > * {
    position: relative;
    z-index: 1;
}

.card-tech .card-icon {
    width: 60px;
    height: 60px;
    background: var(--tech-gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
    box-shadow: var(--tech-glow);
}

.card-tech .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--tech-light);
    margin-bottom: 0.75rem;
}

.card-tech .card-text {
    color: var(--tech-gray-300);
    line-height: 1.7;
}

/* ---- 科技数据卡片 ---- */
.data-card {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: var(--tech-border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--tech-transition);
    position: relative;
    overflow: hidden;
}

.data-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--tech-gradient-1);
}

.data-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--tech-glow-hover);
    border-color: rgba(14, 165, 233, 0.4);
}

.data-card .data-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--tech-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.data-card .data-label {
    color: var(--tech-gray-300);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ---- 科技分节 ---- */
.section-tech {
    padding: 5rem 0;
    position: relative;
}

.section-tech .section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--tech-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tech .section-subtitle {
    text-align: center;
    color: var(--tech-gray-300);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.section-tech .section-divider {
    width: 60px;
    height: 3px;
    background: var(--tech-gradient-1);
    margin: 1rem auto 2rem;
    border-radius: 3px;
}

/* ---- 科技手风琴 ---- */
.accordion-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: var(--tech-border-radius) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.accordion-button {
    background: rgba(15, 23, 42, 0.3) !important;
    color: var(--tech-light) !important;
    font-weight: 600;
    transition: var(--tech-transition);
}

.accordion-button:not(.collapsed) {
    background: rgba(14, 165, 233, 0.15) !important;
    color: var(--tech-primary) !important;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(14, 165, 233, 0.3);
}

.accordion-body {
    background: rgba(15, 23, 42, 0.2);
    color: var(--tech-gray-300);
    border-top: 1px solid rgba(14, 165, 233, 0.1);
}

/* ---- 科技表单 ---- */
.form-control, .form-select {
    background: rgba(15, 23, 42, 0.5) !important;
    border: 1px solid rgba(14, 165, 233, 0.3) !important;
    color: var(--tech-light) !important;
    border-radius: var(--tech-border-radius) !important;
    padding: 0.75rem 1rem;
    transition: var(--tech-transition);
}

.form-control:focus, .form-select:focus {
    background: rgba(15, 23, 42, 0.7) !important;
    border-color: var(--tech-primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(14, 165, 233, 0.25) !important;
    color: var(--tech-light) !important;
}

.form-label {
    color: var(--tech-gray-300);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* ---- 科技定价卡片 ---- */
.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: var(--tech-border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: var(--tech-transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.pricing-card.popular {
    border-color: var(--tech-primary);
    box-shadow: var(--tech-glow);
}

.pricing-card.popular::before {
    content: 'HOT';
    position: absolute;
    top: 0;
    right: 0;
    background: var(--tech-gradient-1);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-bottom-left-radius: 10px;
}

.pricing-card .price-amount {
    font-size: 3rem;
    font-weight: 800;
    background: var(--tech-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0;
}

.pricing-card .price-period {
    color: var(--tech-gray-300);
    font-size: 1rem;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-card ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    color: var(--tech-gray-300);
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

/* ---- 科技新闻卡片 ---- */
.blog-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: var(--tech-border-radius-lg);
    overflow: hidden;
    transition: var(--tech-transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--tech-glow-hover);
    border-color: rgba(14, 165, 233, 0.4);
}

.blog-card .blog-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-card .blog-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
}

.blog-card .blog-content {
    padding: 1.5rem;
}

.blog-card .blog-badge {
    display: inline-block;
    background: var(--tech-gradient-1);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.blog-card .blog-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--tech-light);
    margin-bottom: 0.5rem;
}

.blog-card .blog-meta {
    color: var(--tech-gray-600);
    font-size: 0.85rem;
}

/* ---- 科技页脚 ---- */
.footer-tech {
    background: var(--tech-dark) !important;
    border-top: 1px solid rgba(14, 165, 233, 0.2);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-tech .footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--tech-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-tech .footer-links h5 {
    color: var(--tech-light);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-tech .footer-links a {
    color: var(--tech-gray-600);
    text-decoration: none;
    transition: var(--tech-transition);
    display: block;
    padding: 0.4rem 0;
}

.footer-tech .footer-links a:hover {
    color: var(--tech-primary);
    transform: translateX(4px);
}

.footer-tech .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 50%;
    color: var(--tech-gray-300);
    transition: var(--tech-transition);
    margin-right: 0.5rem;
}

.footer-tech .footer-social a:hover {
    background: var(--tech-gradient-1);
    color: white;
    transform: translateY(-3px);
}

.footer-tech .footer-bottom {
    border-top: 1px solid rgba(14, 165, 233, 0.1);
    margin-top: 2rem;
    padding-top: 1.5rem;
    color: var(--tech-gray-600);
    font-size: 0.9rem;
}

/* ---- 暗黑模式切换按钮 ---- */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--tech-gradient-1);
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: var(--tech-shadow-lg);
    transition: var(--tech-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(20deg);
    box-shadow: var(--tech-glow-hover);
}

/* ---- 打字机效果 ---- */
.typewriter {
    overflow: hidden;
    border-right: 3px solid var(--tech-primary);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 2px;
    animation: typing 3.5s steps(40, end) 1s normal both,
               blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--tech-primary); }
}

/* ---- 科技徽标 ---- */
.logo-tech {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    font-weight: 800;
}

.logo-tech .logo-dot {
    width: 12px;
    height: 12px;
    background: var(--tech-gradient-1);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* ---- 科技时间线 ---- */
.timeline-tech {
    position: relative;
    padding: 2rem 0;
}

.timeline-tech::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--tech-gradient-1);
    left: 50%;
    margin-left: -1px;
}

.timeline-tech .timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-tech .timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 3rem;
}

.timeline-tech .timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 3rem;
}

.timeline-tech .timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--tech-gradient-1);
    box-shadow: var(--tech-glow);
    z-index: 1;
}

.timeline-tech .timeline-item:nth-child(odd)::before {
    right: -50px;
}

.timeline-tech .timeline-item:nth-child(even)::before {
    left: -50px;
}

.timeline-tech .timeline-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: var(--tech-border-radius);
    padding: 1.5rem;
    transition: var(--tech-transition);
}

.timeline-tech .timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--tech-glow);
    border-color: rgba(14, 165, 233, 0.4);
}

.timeline-tech .timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--tech-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

/* ---- 科技网格 ---- */
.grid-tech {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* ---- 科技徽标墙 ---- */
.logo-wall {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.logo-wall img {
    height: 40px;
    filter: grayscale(100%);
    transition: var(--tech-transition);
}

.logo-wall img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

/* ---- 科技团队成员 ---- */
.team-member-tech {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: var(--tech-border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--tech-transition);
    position: relative;
    overflow: hidden;
}

.team-member-tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--tech-gradient-card);
    opacity: 0;
    transition: opacity 0.3s;
}

.team-member-tech:hover {
    transform: translateY(-8px);
    box-shadow: var(--tech-glow-hover);
    border-color: rgba(14, 165, 233, 0.4);
}

.team-member-tech:hover::before {
    opacity: 1;
}

.team-member-tech .member-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--tech-gradient-1);
    box-shadow: var(--tech-glow);
}

.team-member-tech .member-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--tech-light);
    margin-bottom: 0.3rem;
}

.team-member-tech .member-title {
    color: var(--tech-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ---- 科技联系卡片 ---- */
.contact-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: var(--tech-border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--tech-transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--tech-glow);
    border-color: rgba(14, 165, 233, 0.4);
}

.contact-card .contact-icon {
    width: 50px;
    height: 50px;
    background: var(--tech-gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
    color: white;
}

/* ---- 科技徽标 ---- */
.badge-tech {
    background: var(--tech-gradient-1);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
}

/* ---- 科技分隔线 ---- */
.divider-tech {
    height: 1px;
    background: var(--tech-gradient-1);
    width: 100%;
    margin: 2rem 0;
    opacity: 0.3;
}

/* ---- 科技滚动到顶部 ---- */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--tech-gradient-1);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--tech-shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--tech-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: scale(1.1);
    box-shadow: var(--tech-glow-hover);
}

/* ---- 科技代码块 ---- */
.code-block {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: var(--tech-border-radius);
    padding: 1.5rem;
    font-family: var(--tech-font-mono);
    font-size: 0.9rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.code-block .code-line {
    display: flex;
    align-items: center;
}

.code-block .code-line-number {
    color: var(--tech-gray-600);
    margin-right: 1rem;
    user-select: none;
}

/* ---- 科技统计数字 ---- */
.counter-tech {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--tech-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- 科技进度条 ---- */
.progress-tech {
    height: 8px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.progress-tech .progress-bar-tech {
    height: 100%;
    background: var(--tech-gradient-1);
    border-radius: 10px;
    transition: width 1s ease;
    width: 0;
}

/* ---- 科技装饰角标 ---- */
.corner-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--tech-gradient-1);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-bottom-left-radius: 10px;
    border-top-right-radius: var(--tech-border-radius);
}

/* ---- 科技背景图案 ---- */
.bg-pattern {
    background-image:
        radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.03) 1px, transparent 2px),
        radial-gradient(circle at 30% 40%, rgba(139, 92, 246, 0.03) 1px, transparent 2px),
        radial-gradient(circle at 70% 80%, rgba(16, 185, 135, 0.03) 1px, transparent 2px);
    background-size: 50px 50px;
}

/* ---- 科技网格背景 ---- */
.bg-grid {
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* ---- 科技悬浮效果 ---- */
.hover-glow {
    transition: var(--tech-transition);
}

.hover-glow:hover {
    box-shadow: var(--tech-glow-hover);
    transform: translateY(-3px);
}

/* ---- 科技文字渐变 ---- */
.text-gradient-tech {
    background: var(--tech-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- 科技边框渐变 ---- */
.border-gradient-tech {
    border: 1px solid transparent;
    position: relative;
}

.border-gradient-tech::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: var(--tech-gradient-1);
    z-index: -1;
    border-radius: calc(var(--tech-border-radius) + 1px);
    opacity: 0.3;
}

/* ---- 科技动画数字 ---- */
.animate-number {
    display: inline-block;
    transition: all 0.5s ease;
}

/* ---- 科技加载动画 ---- */
.spinner-tech {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(14, 165, 233, 0.3);
    border-top-color: var(--tech-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---- 科技脉冲线 ---- */
.pulse-line {
    position: relative;
}

.pulse-line::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--tech-gradient-1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s;
}

.pulse-line:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ---- 科技响应式 ---- */
@media (max-width: 768px) {
    .hero-tech {
        min-height: 70vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .timeline-tech::before {
        left: 15px;
    }

    .timeline-tech .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left;
        padding-left: 40px !important;
        padding-right: 0 !important;
    }

    .timeline-tech .timeline-item:nth-child(odd)::before,
    .timeline-tech .timeline-item:nth-child(even)::before {
        left: -50px;
    }

    .theme-toggle {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-code {
        font-size: 0.75rem;
        padding: 0.75rem;
    }
}

/* ==========================================================================
   修复滚动问题 — 确保页面可以正常滚动查看全部内容
   ========================================================================== */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    height: auto !important;
    overflow-x: hidden;
}

body.d-flex.flex-column {
    min-height: 100vh;
    height: auto !important;
}

main.flex-shrink-0 {
    flex-shrink: 0;
    min-width: 0;
}

/* 确保内容区域可以滚动 */
.main-content {
    flex: 1 0 auto;
}

/* 粒子画布不阻挡滚动 */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---- 科技新闻卡片别名 (CSS 类名别名，与博客卡片样式相同) ---- */
.news-card { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(12px); border: 1px solid rgba(14, 165, 233, 0.15); border-radius: var(--tech-border-radius-lg); overflow: hidden; transition: var(--tech-transition); height: 100%; }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--tech-glow-hover); border-color: rgba(14, 165, 233, 0.4); }
.news-card .news-img { height: 200px; background-size: cover; background-position: center; position: relative; }
.news-card .news-img::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%; background: linear-gradient(transparent, rgba(0,0,0,0.5)); }
.news-card .news-content { padding: 1.5rem; }
.news-card .news-badge { display: inline-block; background: var(--tech-gradient-1); color: white; font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.8rem; border-radius: 20px; margin-bottom: 1rem; }
.news-card .news-title { font-size: 1.2rem; font-weight: 700; color: var(--tech-light); margin-bottom: 0.5rem; }
.news-card .news-meta { color: var(--tech-gray-600); font-size: 0.85rem; }

/* ---- 新闻列表项（科技感毛玻璃效果） ---- */
.news-item {
    padding: 1.25rem 1.5rem;
    border-radius: var(--tech-border-radius);
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(14, 165, 233, 0.15);
    transition: var(--tech-transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--tech-gradient-1);
    opacity: 0;
    transition: var(--tech-transition);
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(14, 165, 233, 0.25);
    transform: translateX(6px);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.1);
}

.news-item:hover::before {
    opacity: 1;
}

.news-date {
    color: var(--tech-gray-600);
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.news-date i {
    color: var(--tech-primary);
    font-size: 0.8rem;
}

.news-link {
    text-decoration: none;
    color: var(--tech-gray-200);
    transition: var(--tech-transition);
    display: block;
    position: relative;
    z-index: 2;
}

.news-link:hover {
    color: var(--tech-primary);
}

.news-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.5;
    transition: var(--tech-transition);
    background: var(--tech-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-link:hover .news-title {
    color: var(--tech-primary);
    -webkit-text-fill-color: var(--tech-primary);
    background: none;
}

/* ---- 新闻详情页 ---- */
.news-detail-header {
    text-align: center;
    margin-bottom: 2rem;
}

.news-detail-header h1 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    background: var(--tech-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-detail-meta {
    color: var(--tech-gray-600);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.news-detail-meta i {
    color: var(--tech-primary);
}

.news-detail-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.news-detail-author img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(14, 165, 233, 0.3);
}

.news-detail-author .author-name {
    font-weight: 600;
    color: var(--tech-gray-200);
    font-size: 0.9rem;
}

.news-detail-author .author-role {
    color: var(--tech-gray-600);
    font-size: 0.8rem;
}

.news-detail-cover {
    border-radius: var(--tech-border-radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid rgba(14, 165, 233, 0.15);
}

.news-detail-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.news-detail-body {
    max-width: 800px;
    margin: 0 auto;
}

.news-detail-body p {
    color: var(--tech-gray-300);
    line-height: 1.8;
    font-size: 1.05rem;
}

.news-detail-body h2 {
    color: var(--tech-light);
    font-weight: 700;
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.news-detail-body figure {
    margin: 1.5rem 0;
    border-radius: var(--tech-border-radius);
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.news-detail-body figure img {
    width: 100%;
    height: auto;
    display: block;
}

.news-detail-body .badge {
    margin-right: 0.35rem;
    margin-bottom: 0.35rem;
}
