/* 腾翊辰曜科技 - 主样式文件 */
/* 霸气高级现代化设计 */

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

:root {
    /* 优雅淡雅配色方案 - 复刻1.html */
    --primary-dark: #fafbff;
    --secondary-dark: #f8f9fe;
    --accent-blue: #95D1F0;
    --accent-purple: #E0BBE4;
    --accent-green: #e6f7f0;
    --neon-pink: #FFD1DC;
    --text-primary: #000000;
    --text-secondary: #333333;
    --gradient-primary: linear-gradient(135deg, #E0BBE4, #95D1F0);
    --gradient-secondary: linear-gradient(45deg, #e6f7f0, #95D1F0);
    --shadow-glow: 0 0 30px rgba(149, 209, 240, 0.3);
    --shadow-intense: 0 0 60px rgba(224, 187, 228, 0.5);
    
    /* 新增淡雅背景变量 */
    --light-purple: #E0BBE4;
    --light-blue: #95D1F0;
    --light-pink: #FFD1DC;
    --background-gradient: linear-gradient(135deg, #E0BBE4 0%, #95D1F0 40%, #FFD1DC 80%, #E0BBE4 100%);
    --glass-bg: rgba(232, 227, 247, 0.25);
    --glass-border: rgba(212, 197, 240, 0.4);
    --neural-blue: #e1f2ff;
    --quantum-blue: #f0e6ff;
    --hologram-blue: #e8e3f7;
    --hologram-green: #e6f7f0;
    --neural-pink: #ffe6f2;
    --purple-glow: #e8e3f7;
    --violet-glow: #f0e6ff;
    --indigo-glow: #e1f2ff;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--primary-dark);
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* 高科技蓝色加载动画 */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a23 0%, #1a1a3a 25%, #2a2a5a 50%, #1a1a3a 75%, #0a0a23 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

/* 添加科技感背景网格 */
.loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 150, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 200, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: techGridMove 8s linear infinite;
    opacity: 0.6;
}

@keyframes techGridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

/* 添加扫描线效果 */
.loading-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffff, #0080ff, transparent);
    animation: scanLine 3s linear infinite;
    box-shadow: 0 0 20px #00ffff;
}

@keyframes scanLine {
    0% { left: -100%; top: 20%; }
    25% { left: 100%; top: 40%; }
    50% { left: -100%; top: 60%; }
    75% { left: 100%; top: 80%; }
    100% { left: -100%; top: 100%; }
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(0, 150, 255, 0.2);
    border-top: 3px solid #00ffff;
    border-right: 3px solid #0080ff;
    border-radius: 50%;
    animation: techSpin 1s linear infinite;
    margin-bottom: 2rem;
    position: relative;
    box-shadow:
        0 0 30px rgba(0, 255, 255, 0.5),
        inset 0 0 30px rgba(0, 150, 255, 0.2);
}

/* 添加内部旋转环 */
.loading-spinner::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(0, 200, 255, 0.3);
    border-bottom: 2px solid #00ffff;
    border-radius: 50%;
    animation: techSpin 0.8s linear infinite reverse;
}

/* 添加中心点 */
.loading-spinner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #00ffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px #00ffff;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes techSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.2); }
}

.loading-text {
    font-size: 1.3rem;
    color: #00ffff;
    text-align: center;
    margin-bottom: 1.5rem;
    text-shadow:
        0 0 10px #00ffff,
        0 0 20px #0080ff,
        0 0 30px #0040ff;
    animation: textGlow 2s ease-in-out infinite;
    font-weight: 600;
    letter-spacing: 2px;
}

@keyframes textGlow {
    0%, 100% {
        text-shadow:
            0 0 10px #00ffff,
            0 0 20px #0080ff,
            0 0 30px #0040ff;
    }
    50% {
        text-shadow:
            0 0 20px #00ffff,
            0 0 30px #0080ff,
            0 0 40px #0040ff;
    }
}

.loading-progress {
    width: 300px;
    height: 6px;
    background: rgba(0, 150, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 200, 255, 0.3);
    box-shadow:
        0 0 20px rgba(0, 255, 255, 0.3),
        inset 0 0 10px rgba(0, 150, 255, 0.2);
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0040ff, #0080ff, #00ffff, #0080ff, #0040ff);
    background-size: 200% 100%;
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 3px;
    animation: progressFlow 2s linear infinite;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

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

.loading-percentage {
    font-size: 1.1rem;
    color: #00ffff;
    opacity: 0.9;
    text-shadow: 0 0 10px #00ffff;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* 添加加载状态文字的科技感效果 */
#loadingProgress {
    font-size: 1rem;
    color: #0080ff;
    text-align: center;
    text-shadow: 0 0 8px #0080ff;
    animation: statusBlink 1.5s ease-in-out infinite;
    letter-spacing: 1px;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.loading-screen.hidden {
    opacity: 0;
}




    display: flex;
    align-items: center;
    gap: 8px;
}

.execute-btn {
    background: linear-gradient(135deg, #00ff88 0%, #00cc66 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.execute-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.cancel-btn {
    background: linear-gradient(135deg, #ff4444 0%, #cc3333 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
}

.cancel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.4);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(50px) scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

/* 神经网络背景 - 完全复刻1.html */
.neural-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: var(--background-gradient);
    will-change: transform, opacity;
    animation: backgroundFlowPulse 12s ease-in-out infinite;
}

/* 保持原有容器但简化 */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

@keyframes backgroundFlowPulse {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1) rotate(0deg);
    }
    25% {
        opacity: 0.95;
        transform: scale(1.02) rotate(0.5deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) rotate(-0.5deg);
    }
    75% {
        opacity: 0.95;
        transform: scale(1.03) rotate(0.3deg);
    }
}

/* 移除网格背景，保持纯净 */
#particles-container::before {
    display: none;
}

@keyframes gridFlow {
    0% {
        transform: translate(0, 0);
        opacity: 0.3;
    }
    50% {
        transform: translate(25px, 25px);
        opacity: 0.5;
    }
    100% {
        transform: translate(50px, 50px);
        opacity: 0.3;
    }
}

/* 移除扫描线效果，保持纯净 */
#particles-container::after {
    display: none;
}

@keyframes purpleScanLine {
    0% {
        left: -100%;
        top: 0%;
    }
    25% {
        left: 100%;
        top: 25%;
    }
    50% {
        left: -100%;
        top: 50%;
    }
    75% {
        left: 100%;
        top: 75%;
    }
    100% {
        left: -100%;
        top: 100%;
    }
}



/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 0;
    background: rgba(250, 251, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(224, 187, 228, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(250, 251, 255, 0.98);
    box-shadow: var(--shadow-glow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.5px;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.logo:hover::after {
    transform: scaleX(1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
    padding: 10px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #000000;
    font-weight: 600;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

/* 主要内容区域 */
.main-content {
    min-height: 100vh;
    position: relative;
    padding-top: 100px; /* 为固定导航栏留出空间 */
}

/* 英雄区域 */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    padding: 0 40px;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #000000;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3)); }
    100% { filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.6)); }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #000000;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.feature-tag {
    padding: 12px 24px;
    background: rgba(224, 187, 228, 0.2);
    border: 1px solid rgba(224, 187, 228, 0.5);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: default;
}

.feature-tag:hover {
    transform: translateY(-5px);
    background: rgba(224, 187, 228, 0.3);
    color: #000000;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: var(--gradient-primary);
    color: #000000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.cta-button::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;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-intense);
}

.cta-button:hover::before {
    left: 100%;
}

/* 3D背景元素 */
.bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50%;
    filter: blur(1px);
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 0; /* 移动端导航栏高度稍微减少 */
    }

    .navbar.scrolled {
        padding: 12px 0;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-menu {
        gap: 15px; /* 移动端菜单项间距减少 */
        flex-wrap: wrap; /* 允许换行 */
    }

    .nav-link {
        font-size: 14px; /* 移动端字体稍小 */
        padding: 8px 12px;
    }

    .main-content {
        padding-top: 90px; /* 调整为更合适的高度 */
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-features {
        gap: 15px;
    }

    .feature-tag {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .navbar {
        padding: 12px 0;
    }

    .navbar.scrolled {
        padding: 10px 0;
    }

    .nav-container {
        padding: 0 15px;
    }

    .nav-menu {
        gap: 10px;
        justify-content: center;
    }

    .nav-link {
        font-size: 13px;
        padding: 6px 10px;
    }

    .main-content {
        padding-top: 80px;
    }

    .logo {
        font-size: 18px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* 低性能模式优化 */
.low-performance-mode .particle,
.low-performance-mode .matrix-char,
.low-performance-mode .data-stream,
.low-performance-mode .floating-element {
    display: none !important;
}

.low-performance-mode .stars-layer {
    opacity: 0.3;
}

.low-performance-mode .depth-layer {
    display: none;
}

.low-performance-mode #particles-container {
    animation: none;
}

.low-performance-mode #particles-container::before,
.low-performance-mode #particles-container::after {
    animation: none;
    opacity: 0.2;
}

/* 页面加载动画 */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

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

.loader-logo {
    font-size: 48px;
    font-weight: 800;
    color: #000000;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

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

/* 页脚样式 */
.site-footer {
    background: linear-gradient(135deg, rgba(240, 240, 250, 0.8), rgba(250, 245, 255, 0.8));
    border-top: 2px solid rgba(224, 187, 228, 0.4);
    padding: 40px 0;
    margin-top: 60px;
    position: relative;
    width: 100%;
    clear: both;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    flex-direction: column;
}

.beian-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.beian-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.beian-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.copyright-info {
    font-size: 13px;
    color: #555555;
    font-weight: 400;
    letter-spacing: 0.3px;
    margin-top: 20px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(224, 187, 228, 0.2);
    backdrop-filter: blur(8px);
    display: inline-block;
}

.icp-info {
    font-size: 14px;
    color: #333333;
    font-weight: 500;
    letter-spacing: 0.8px;
    margin: 0;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    border: 2px solid rgba(224, 187, 228, 0.5);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(224, 187, 228, 0.3);
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

.icp-info:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(224, 187, 228, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(224, 187, 228, 0.4);
    color: #222222;
}

/* 备案号链接样式 */
a.icp-info {
    color: #333333;
    text-decoration: none;
}

a.icp-info:visited {
    color: #333333;
}

a.icp-info:hover {
    color: #222222;
    text-decoration: none;
}

/* 外部链接样式 */
.nav-link[target="_blank"]::after {
    content: "↗";
    font-size: 0.8em;
    margin-left: 4px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-link[target="_blank"]:hover::after {
    opacity: 1;
}

/* 移动端页脚样式 */
@media (max-width: 768px) {
    .site-footer {
        padding: 30px 0;
        margin-top: 40px;
    }

    .footer-content {
        padding: 0 15px;
    }

    .icp-info {
        font-size: 13px;
        padding: 10px 18px;
        letter-spacing: 0.5px;
        font-weight: 500;
    }

    .beian-links {
        flex-direction: column;
        gap: 20px;
    }

    .beian-icon {
        width: 18px;
        height: 18px;
    }

    .copyright-info {
        font-size: 12px;
        margin-top: 15px;
        padding: 6px 12px;
    }
}