:root {
    --primary: #00bfff;
    --primary-dark: #00a0e0;
    --secondary: #ffcc00;
    --dark: #0a0a1a;
    --light: #f8f9fa;
    --gray: #6c757d;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 100%);
    color: #e0e0ff;
    overflow-x: hidden;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* 3D背景效果 */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    perspective: 1000px;
}

.cube {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(0, 191, 255, 0.1);
    transform-style: preserve-3d;
    animation: float 20s infinite linear;
    opacity: 0.6;
}

.cube::before, .cube::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: rotateY(90deg);
}

.cube::after {
    transform: rotateX(90deg);
}

@keyframes float {
    0% { transform: rotateX(0deg) rotateY(0deg) translateZ(0px); }
    100% { transform: rotateX(360deg) rotateY(360deg) translateZ(0px); }
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 26, 0.8);
    border-bottom: 1px solid rgba(0, 191, 255, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: url('https://file.star-n.online/svg/ENC.svg') center/contain no-repeat;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #e0e0ff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 封面 */
.cover {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.05), rgba(10, 10, 30, 0.8));
    margin-bottom: 80px;
}

.cover-content {
    text-align: center;
    max-width: 800px;
    padding: 60px;
    position: relative;
    z-index: 1;
}

.cover-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 191, 255, 0.3);
    line-height: 1.1;
}

.cover-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
    line-height: 1.2;
}

.cover-desc {
    font-size: 1.5rem;
    color: #a0b0ff;
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.5;
}

.cover-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    color: #888;
    font-size: 0.9rem;
}

.cover-btn {
    margin-top: 40px;
    padding: 20px 50px;
    font-size: 1.2rem;
}

/* 渐变边框动画 */
.gradient-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    padding: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 300% 300%;
    animation: gradient-animation 6s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 章节 */
.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* 白皮书框架 */
.whitepaper-frame {
    background: linear-gradient(135deg, rgba(10, 10, 30, 0.9), rgba(20, 20, 50, 0.9));
    border-radius: 30px;
    padding: 80px;
    position: relative;
    overflow: hidden;
    margin-bottom: 80px;
}

.content {
    position: relative;
    z-index: 1;
}

.content-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 40px 0 20px;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.content-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.content-text {
    color: #c0d0ff;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* 高亮框 */
.highlight-box {
    background: rgba(0, 191, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    border-left: 4px solid var(--primary);
}

.highlight-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

.highlight-list {
    list-style: none;
    padding-left: 0;
}

.highlight-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #c0d0ff;
    font-size: 1.1rem;
}

.highlight-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: bold;
}

.highlight-list li strong {
    color: #ffffff;
}

/* 架构图 */
.architecture-diagram {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.layer {
    padding: 30px;
    background: rgba(30, 30, 60, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(0, 191, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.layer:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 191, 255, 0.1);
}

.layer-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #000;
    font-size: 1.2rem;
}

.layer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.layer-desc {
    color: #a0b0ff;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 流程图 */
.process-diagram {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process-step {
    padding: 30px;
    background: rgba(30, 30, 60, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(0, 191, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 30px;
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 191, 255, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #000;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.step-desc {
    color: #a0b0ff;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 表格样式 */
.standard-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    background: rgba(30, 30, 60, 0.6);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 191, 255, 0.2);
}

.standard-table th,
.standard-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 191, 255, 0.1);
}

.standard-table th {
    background: rgba(0, 191, 255, 0.1);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

.standard-table td {
    color: #c0d0ff;
    font-size: 1rem;
    line-height: 1.6;
}

.standard-table tr:last-child td {
    border-bottom: none;
}

/* 网格布局 */
.certification-grid,
.equipment-grid,
.expert-grid,
.legal-grid,
.guideline-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.certification-item,
.equipment-item,
.expert-item,
.legal-item,
.guideline-item,
.contact-item {
    padding: 30px;
    background: rgba(30, 30, 60, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(0, 191, 255, 0.2);
    transition: all 0.4s ease;
}

.certification-item:hover,
.equipment-item:hover,
.expert-item:hover,
.legal-item:hover,
.guideline-item:hover,
.contact-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 191, 255, 0.1);
}

.cert-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.cert-title,
.equipment-title,
.expert-name,
.legal-title,
.guideline-title,
.contact-label {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.cert-desc,
.equipment-desc,
.expert-title,
.legal-desc,
.guideline-desc,
.contact-value {
    color: #a0b0ff;
    line-height: 1.8;
    font-size: 1.1rem;
}

.expert-desc {
    color: #a0b0ff;
    line-height: 1.8;
    font-size: 1rem;
    margin-top: 5px;
}

.expert-title {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* 专家网格 */
.expert-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* 联系网格 */
.contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* 下载区域 */
.download-section {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.05), rgba(10, 10, 30, 0.8));
    padding: 80px 0;
    margin-top: 80px;
}

.download-frame {
    background: linear-gradient(135deg, rgba(10, 10, 30, 0.9), rgba(20, 20, 50, 0.9));
    border-radius: 30px;
    padding: 80px;
    position: relative;
    overflow: hidden;
}

.download-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.download-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
    line-height: 1.2;
}

.download-desc {
    color: #c0d0ff;
    line-height: 1.8;
    font-size: 1.3rem;
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.download-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.contact-info {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 191, 255, 0.2);
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
    line-height: 1.2;
}

.contact-desc {
    color: #c0d0ff;
    line-height: 1.8;
    font-size: 1.3rem;
    margin-bottom: 40px;
}

/* 按钮样式 */
.btn {
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #000;
    box-shadow: 0 15px 40px rgba(0, 191, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::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.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 191, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(0, 191, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--secondary);
    color: var(--secondary);
}

/* 页脚 */
footer {
    background: rgba(10, 10, 30, 0.95);
    padding: 80px 40px;
    text-align: center;
    border-top: 1px solid rgba(0, 191, 255, 0.1);
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
}

.footer-desc {
    color: #a0b0ff;
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 40px 0;
}

.footer-link {
    color: #a0b0ff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    padding: 10px 0;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.footer-link:hover::after, .footer-link.active::after {
    width: 100%;
}

.footer-link:hover, .footer-link.active {
    color: var(--primary);
}

.copyright {
    color: #7080a0;
    font-size: 0.9rem;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .navbar {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cover-title {
        font-size: 2.5rem;
    }
    
    .cover-subtitle {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .content-title {
        font-size: 1.8rem;
    }
    
    .certification-grid,
    .equipment-grid,
    .expert-grid,
    .legal-grid,
    .guideline-grid,
    .contact-grid,
    .process-diagram {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .step-number {
        margin: 0 auto;
    }
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* 粒子效果 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 191, 255, 0.6);
    border-radius: 50%;
    animation: particle-float 15s infinite linear;
}

@keyframes particle-float {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

/* 输入框错误样式 */
.input-error {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.3) !important;
}

.error-message {
    color: var(--danger);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* 通知样式 */
.form-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 500;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out, fadeOut 0.3s ease-out 4s forwards;
}

.form-notification.success {
    background: linear-gradient(90deg, #28a745, #218838);
}

.form-notification.error {
    background: linear-gradient(90deg, #dc3545, #c82333);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}