/* 科幻主题样式 */

/* CSS变量 - 普通设计系统 */
:root {
    --color-primary: #00d4ff;
    --color-primary-dark: #0099cc;
    --color-secondary: #7c3aed;
    --color-accent: #ff00ff;
    --color-neon-cyan: #00ffff;
    --color-neon-purple: #bf00ff;
    --color-neon-pink: #ff00aa;
    --color-neon-blue: #0066ff;
    --color-success: #00ff88;
    --color-warning: #ffaa00;
    --color-danger: #ff4466;
    
    --color-bg-primary: #000510;
    --color-bg-secondary: #050a1a;
    --color-bg-tertiary: #0a1025;
    --color-bg-card: rgba(10, 20, 40, 0.8);
    
    --color-text-primary: #ffffff;
    --color-text-secondary: #b0c4ff;
    --color-text-muted: #6b8cd9;
    --color-text-disabled: #3a4f7a;
    
    --font-family-sans: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    --font-family-mono: 'Courier New', Consolas, monospace;
    
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    --line-height-tight: 1.1;
    --line-height-normal: 1.4;
    --line-height-relaxed: 1.6;
    --line-height-loose: 1.8;
    
    --letter-spacing-tight: -0.05em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.1em;
    --letter-spacing-wider: 0.2em;
}

/* 科幻背景 */
body {
    background: radial-gradient(ellipse at 50% 0%, #1a1a4e 0%, #050515 50%, #000005 100%);
    color: var(--color-text-primary);
    font-family: var(--font-family-sans);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* 星空背景 */
.starfield-bg {
    position: relative;
    overflow: hidden;
}

.starfield-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 10%, rgba(0, 212, 255, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 90%, rgba(124, 58, 237, 0.08) 0%, transparent 35%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: cosmicPulse 8s ease-in-out infinite;
}

.starfield-bg > * {
    position: relative;
    z-index: 1;
}

/* 科幻网格背景 */
.scifi-grid {
    position: relative;
}

.scifi-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
    animation: gridMove 20s linear infinite;
}

.scifi-grid > * {
    position: relative;
    z-index: 1;
}

/* 霓虹发光效果 */
.neon-glow {
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5),
                0 0 20px rgba(0, 212, 255, 0.3),
                0 0 40px rgba(0, 212, 255, 0.2),
                0 0 80px rgba(124, 58, 237, 0.1);
}

.neon-text {
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.8),
                 0 0 10px rgba(0, 212, 255, 0.6),
                 0 0 20px rgba(0, 212, 255, 0.4),
                 0 0 40px rgba(124, 58, 237, 0.3);
}

.neon-border {
    border: 1px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3),
                inset 0 0 15px rgba(0, 212, 255, 0.1);
}

.neon-border-purple {
    border: 1px solid rgba(124, 58, 237, 0.4);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.3),
                inset 0 0 15px rgba(124, 58, 237, 0.1);
}

/* 科幻卡片 */
.scifi-card {
    background: linear-gradient(135deg, rgba(10, 20, 40, 0.9), rgba(5, 10, 25, 0.95));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.scifi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.scifi-card:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.25),
                0 0 50px rgba(124, 58, 237, 0.15),
                0 10px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-8px) scale(1.02);
}

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

/* 科幻按钮 */
.btn-tech {
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.btn-tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-tech:hover::before {
    left: 100%;
}

.btn-tech:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4),
                0 0 40px rgba(124, 58, 237, 0.3),
                0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 212, 255, 0.6);
}

.btn-tech:active {
    transform: translateY(-1px);
}

/* 科幻导航栏 */
.navbar-tech {
    background: rgba(5, 10, 20, 0.92) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.05);
}

.navbar-tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
}

.navbar-tech .nav-link {
    color: #88aaff !important;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.05em;
}

.navbar-tech .nav-link:hover,
.navbar-tech .nav-link.active {
    color: #00d4ff !important;
}

.navbar-tech .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #7c3aed);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.navbar-tech .nav-link:hover::after,
.navbar-tech .nav-link.active::after {
    width: 90%;
}

/* 科幻页脚 */
.footer-tech {
    background: linear-gradient(180deg, rgba(5, 10, 20, 0.98), rgba(0, 5, 10, 1));
    border-top: 1px solid rgba(0, 212, 255, 0.15);
    position: relative;
}

.footer-tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
}

.footer-tech a {
    color: #6b8cd9;
    transition: all 0.3s ease;
}

.footer-tech a:hover {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* 科幻幻灯片样式 */
.slideshow {
    height: 550px;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
    position: relative;
}

.slideshow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.05) 0%, transparent 50%, rgba(0, 5, 10, 0.8) 100%);
}

/* 科幻标题装饰线 */
.title-line {
    position: relative;
    display: inline-block;
    padding: 10px 0;
}

.title-line::before,
.title-line::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.6), rgba(0, 212, 255, 0.3));
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.title-line::before {
    right: 100%;
    margin-right: 20px;
}

.title-line::after {
    left: 100%;
    margin-left: 20px;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.3), rgba(0, 212, 255, 0.6), transparent);
}

.title-line::first-letter {
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

/* 科幻动画 */
@keyframes cosmicPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 40px;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.5),
                    0 0 40px rgba(124, 58, 237, 0.3);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.7),
                    0 0 60px rgba(124, 58, 237, 0.4);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes scanLine {
    0% {
        top: -100%;
    }
    100% {
        top: 100%;
    }
}

@keyframes glitch {
    0%, 90%, 100% {
        transform: translate(0);
        opacity: 1;
    }
    92% {
        transform: translate(-2px, 1px);
        opacity: 0.8;
    }
    94% {
        transform: translate(2px, -1px);
        opacity: 0.9;
    }
    96% {
        transform: translate(-1px, 2px);
        opacity: 0.7;
    }
    98% {
        transform: translate(1px, -2px);
        opacity: 0.85;
    }
}

.animate-cosmic-pulse {
    animation: cosmicPulse 8s ease-in-out infinite;
}

.animate-grid-move {
    animation: gridMove 20s linear infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2.5s ease-in-out infinite;
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-shimmer {
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.animate-glitch {
    animation: glitch 5s infinite;
}

/* 扫描线效果 */
.scan-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.8), transparent);
    animation: scanLine 3s linear infinite;
    opacity: 0.3;
}

/* 科幻渐变文字 */
.text-gradient {
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 30%, #00ffff 60%, #00d4ff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease infinite;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.text-gradient-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #bf00ff 50%, #ff00aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .slideshow {
        height: 320px;
    }
    
    .navbar-tech {
        background: rgba(5, 10, 20, 0.98) !important;
    }
    
    .title-line::before,
    .title-line::after {
        width: 40px;
        margin-left: 10px;
        margin-right: 10px;
    }
}

/* 科幻列表项 */
.list-tech li {
    position: relative;
    padding-left: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.list-tech li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    border-radius: 2px;
    transform: translateY(-50%) rotate(45deg);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6),
                inset 0 0 5px rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.list-tech li:hover::before {
    transform: translateY(-50%) rotate(45deg) scale(1.3);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.8),
                inset 0 0 10px rgba(255, 255, 255, 0.4);
}

.list-tech li:hover {
    padding-left: 35px;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* 科幻分页 */
.page-tech .page-link,
.page-tech .page-num {
    background: rgba(10, 20, 40, 0.7);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: #88aaff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
}

.page-tech .page-link:hover,
.page-tech .page-num:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.5);
    color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.page-tech .page-num-current {
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    border-color: rgba(0, 212, 255, 0.8);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    color: #ffffff;
}

/* 科幻在线客服 */
.online-tech dl {
    background: linear-gradient(135deg, rgba(10, 20, 40, 0.9), rgba(5, 10, 25, 0.95));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.online-tech dl:hover {
    background: linear-gradient(135deg, rgba(15, 25, 50, 0.9), rgba(10, 15, 35, 0.95));
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.25),
                inset 0 0 20px rgba(0, 212, 255, 0.05);
}

/* 科幻产品卡片 */
.product-card {
    background: linear-gradient(135deg, rgba(10, 20, 40, 0.8), rgba(5, 10, 25, 0.9));
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2),
                0 15px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-10px);
}

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

.product-card .card-img-top {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .card-img-top {
    transform: scale(1.08);
}

/* 科幻关于我们区域 */
.about-section {
    background: linear-gradient(135deg, rgba(10, 20, 40, 0.9), rgba(5, 10, 25, 0.95)) !important;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    backdrop-filter: blur(30px);
    box-shadow: 
        0 0 40px rgba(0, 212, 255, 0.1),
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(0, 212, 255, 0.1);
    position: relative;
}

.about-section .content,
.about-section .content p,
.about-section .content div,
.about-section .content span {
    background: transparent !important;
    color: #a0aec0 !important;
}

.about-section .content h1,
.about-section .content h2,
.about-section .content h3,
.about-section .content h4,
.about-section .content h5,
.about-section .content h6 {
    color: #fff !important;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
}

/* 科幻新闻列表 */
.news-item {
    position: relative;
    padding: 20px;
    background: rgba(10, 20, 40, 0.5);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-item:hover {
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(10, 20, 40, 0.7);
    transform: translateX(5px);
}

.news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #00d4ff, #7c3aed);
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.news-item:hover::before {
    opacity: 1;
}

/* 科幻排版 */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 0.5em;
    text-transform: uppercase;
    position: relative;
}

h1 { 
    font-size: 3rem; 
    letter-spacing: -0.05em;
}
h2 { 
    font-size: 2.25rem; 
    letter-spacing: -0.04em;
}
h3 { 
    font-size: 1.75rem; 
    letter-spacing: -0.03em;
}
h4 { font-size: 1.375rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

h1::after, h2::after, h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #7c3aed);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

p {
    font-size: 1rem;
    line-height: 1.8;
    color: #b0c4ff;
    margin-top: 0;
    margin-bottom: 1.25em;
    text-align: left;
    word-break: normal;
    overflow-wrap: anywhere;
    line-break: strict;
}

strong, b {
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

a {
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #00d4ff, #7c3aed);
    transition: width 0.3s ease;
}

a:hover {
    color: #7c3aed;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

a:hover::after {
    width: 100%;
}

ul, ol {
    margin-top: 0;
    margin-bottom: 1.25em;
    padding-left: 1.75rem;
}

ul { list-style-type: none; }
ol { list-style-type: decimal; }

li {
    margin-bottom: 0.75em;
    color: #b0c4ff;
    position: relative;
}

blockquote {
    border-left: 3px solid #00d4ff;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #88aaff;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.08), transparent);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    position: relative;
}

blockquote::before {
    content: '"';
    position: absolute;
    top: 0;
    left: -10px;
    font-size: 4rem;
    color: rgba(0, 212, 255, 0.2);
    font-family: serif;
}

code {
    font-family: 'JetBrains Mono', 'Fira Code', 'Share Tech Mono', monospace;
    font-size: 0.875rem;
    background: rgba(0, 212, 255, 0.1);
    padding: 0.25em 0.5em;
    border-radius: 6px;
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

pre {
    background: rgba(5, 10, 25, 0.98);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 2rem 0;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

pre code {
    background: transparent;
    padding: 0;
    color: #b0c4ff;
    border: none;
}

hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    margin: 2.5rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background: rgba(10, 20, 40, 0.8);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

th, td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

th {
    font-weight: 600;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.15), rgba(0, 212, 255, 0.05));
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}

td { color: #b0c4ff; }

tbody tr:hover {
    background: rgba(0, 212, 255, 0.08);
    transform: scale(1.01);
    transition: all 0.3s ease;
}

/* 科幻表单样式 */

input, textarea, select {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #ffffff;
    background: rgba(5, 10, 25, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

input:focus, textarea:focus, select:focus {
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15),
                0 0 30px rgba(0, 212, 255, 0.2),
                inset 0 0 20px rgba(0, 212, 255, 0.05);
}

input:hover, textarea:hover, select:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}

/* 科幻输入框样式 - 评论专用 */
.scifi-input {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(5, 15, 35, 0.95), rgba(10, 20, 45, 0.9));
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.scifi-input::placeholder {
    color: #4a6a9a;
    font-style: italic;
}

.scifi-input:focus {
    border-color: rgba(0, 212, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.18),
                0 0 35px rgba(0, 212, 255, 0.25),
                inset 0 0 25px rgba(0, 212, 255, 0.08);
}

.scifi-input:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

textarea.scifi-input {
    min-height: 180px;
    resize: vertical;
    padding: 1.25rem 1.5rem;
}

/* 科幻二维码卡片样式 */
.scifi-qr-card {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.08), rgba(79, 70, 229, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1),
                0 0 0 1px rgba(0, 212, 255, 0.1) inset,
                0 0 60px rgba(0, 212, 255, 0.05) inset;
    transition: all 0.3s ease;
}

.scifi-qr-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.15),
                0 0 0 1px rgba(0, 212, 255, 0.2) inset,
                0 0 80px rgba(0, 212, 255, 0.1) inset;
}

.qr-code-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
}

.qr-code-inner {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 12px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3),
                inset 0 0 10px rgba(0, 212, 255, 0.1);
}

.qr-code-inner .code {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code-inner .code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* 科幻角标装饰 */
.qr-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 212, 255, 0.8);
    border-radius: 4px;
}

.qr-corner-tl {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.qr-corner-tr {
    top: -2px;
    right: -2px;
    border-left: none;
    border-bottom: none;
}

.qr-corner-bl {
    bottom: -2px;
    left: -2px;
    border-right: none;
    border-top: none;
}

.qr-corner-br {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

/* 合作伙伴Logo样式 */
.partner-logo {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-height: 80px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(30%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* 数字动画 */
.counter {
    animation: countUp 2s ease-out;
}

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

input.scifi-input {
    height: 48px;
}

input::placeholder, textarea::placeholder {
    color: #4a5a8a;
}

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

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2300d4ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

input[type="checkbox"], input[type="radio"] {
    width: auto;
    margin-right: 0.75rem;
    accent-color: #00d4ff;
}

label {
    display: block;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}

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

/* 科幻按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    padding: 1rem 2rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    color: #ffffff;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.4),
                0 0 50px rgba(124, 58, 237, 0.3),
                0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 212, 255, 0.6);
}

.btn-secondary {
    background: rgba(10, 20, 40, 0.9);
    color: #b0c4ff;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(15, 25, 50, 0.9);
    border-color: rgba(0, 212, 255, 0.5);
    color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* 科幻卡片样式 */
.card {
    background: linear-gradient(135deg, rgba(10, 20, 40, 0.8), rgba(5, 10, 25, 0.9));
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
}

.card:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.15);
}

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.1), transparent);
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    background: rgba(5, 10, 25, 0.5);
}

/* 内容区域样式 */
.content {
    font-size: 1rem;
    line-height: 2;
    color: #d1d5db;
    background: transparent !important;
}

.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    color: #fff;
}

.content p {
    margin-bottom: 1.25em;
    color: #a0aec0;
}

.content ul, .content ol {
    margin-bottom: 1.25em;
}

.content li {
    margin-bottom: 0.5em;
    color: #a0aec0;
}

.content img {
    max-width: 100%;
    border-radius: 8px;
}

.content a {
    color: #00d4ff;
}

.content a:hover {
    color: #00ffff;
}

.content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.25em;
}

.content th, .content td {
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 0.75em;
    text-align: left;
    color: #a0aec0;
}

.content th {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
}

.content blockquote {
    border-left: 4px solid #00d4ff;
    padding-left: 1em;
    margin: 1.25em 0;
    color: #a0aec0;
    font-style: italic;
}

.content code, .content pre {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 4px;
    padding: 0.25em 0.5em;
    font-family: 'Courier New', monospace;
    color: #00d4ff;
}

.content pre {
    padding: 1em;
    overflow-x: auto;
}

.content hr {
    border: none;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    margin: 2em 0;
}
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.content a {
    color: #6366f1;
}

.content hr {
    margin: 2rem 0;
}

/* 工具类 */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }

.text-primary { color: #6366f1; }
.text-secondary { color: #8b5cf6; }
.text-muted { color: #9ca3af; }

/* 响应式排版 */
@media (max-width: 768px) {
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .content {
        font-size: 0.875rem;
        line-height: 1.75;
    }
}
