﻿/* 全局样式 */
:root {
    --primary-color: #7c4dff;
    --primary-color-hover: #651fff;
    --secondary-color: #00e5ff;
    --dark-bg: #121212;
    --dark-bg-secondary: #1e1e1e;
    --text-color: #ffffff;
    --text-color-secondary: #b0b0b0;
    --success-color: #00e676;
    --warning-color: #ffea00;
    --danger-color: #ff1744;
    --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
}

/* Perf: local FA4 compatibility for the existing FA6-style fas classes and aliases. */
.fas {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fa-images::before {
    content: "\f03e";
}

.fa-sync-alt::before {
    content: "\f021";
}

.fa-tools::before {
    content: "\f0ad";
}

.fa-shield-alt::before {
    content: "\f132";
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
header {
    background-color: rgba(30, 30, 30, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo a {
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo a:hover {
    color: var(--secondary-color);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 5px;
}

.nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 20px;
    transition: var(--transition);
}

.nav ul li a:hover {
    color: var(--text-color);
    background-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(124, 77, 255, 0.3);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* 英雄区域优化 */
.hero {
    background: linear-gradient(rgba(18, 18, 18, 0.7), rgba(18, 18, 18, 0.7)), url('../image/pc-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(124, 77, 255, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
    color: var(--text-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease-out;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero p {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(124, 77, 255, 0.3);
}

.btn:hover {
    background-color: var(--primary-color-hover);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(124, 77, 255, 0.4);
}

/* 功能区域 */
.features {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    color: var(--text-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-title p {
    color: var(--text-color-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--dark-bg-secondary);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.05) 0%, rgba(0, 229, 255, 0.05) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-color-secondary);
    font-size: 16px;
    line-height: 1.7;
}

/* 价格区域 */
.pricing {
    padding: 100px 0;
    background-color: var(--dark-bg-secondary);
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(124, 77, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background-color: var(--dark-bg);
    border-radius: 15px;
    padding: 50px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid transparent;
    background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
                linear-gradient(135deg, var(--primary-color), var(--secondary-color)) border-box;
    z-index: 2;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.pricing-price {
    font-size: 52px;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
}

.pricing-price span {
    font-size: 18px;
    color: var(--text-color-secondary);
    font-weight: normal;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color-secondary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.countdown {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* 更新日志 */
.changelog {
    padding: 100px 0;
}

.changelog-item {
    background-color: var(--dark-bg-secondary);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.changelog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.changelog-date {
    color: var(--secondary-color);
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.changelog-date i {
    margin-right: 5px;
}

.changelog-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.changelog-content {
    color: var(--text-color-secondary);
    line-height: 1.8;
}

/* 页脚 */
footer {
    background-color: var(--dark-bg-secondary);
    padding: 60px 0 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom center, rgba(124, 77, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    margin: 0 15px 10px;
    color: var(--text-color-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    color: var(--text-color-secondary);
    font-size: 14px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

/* 管理后台样式 */
.admin-container {
    display: flex;
    min-height: 100vh;
    background-color: #121212;
}

.admin-sidebar {
    width: 280px;
    background-color: #1a1a1a;
    padding: 30px 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    border-right: 1px solid #2a2a2a;
}

.admin-sidebar .logo {
    padding: 0 20px 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #2a2a2a;
    text-align: center;
}

.admin-sidebar ul {
    list-style: none;
    padding: 0 15px;
}

.admin-sidebar ul li {
    padding: 5px 0;
    margin-bottom: 5px;
}

.admin-sidebar ul li a {
    color: #e0e0e0;
    display: block;
    padding: 12px 15px;
    border-radius: 10px;
    transition: var(--transition);
    font-weight: 500;
}

.admin-sidebar ul li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.admin-sidebar ul li a:hover,
.admin-sidebar ul li a.active {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(124, 77, 255, 0.3);
}

.admin-sidebar ul li a:hover i,
.admin-sidebar ul li a.active i {
    color: white;
}

.admin-content {
    flex: 1;
    padding: 30px;
    margin-left: 280px;
    background-color: #121212;
    color: #e0e0e0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #2a2a2a;
}

.admin-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

/* 表单样式优化 */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #e0e0e0;
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid #333;
    border-radius: 10px;
    background-color: #2a2a2a;
    color: #e0e0e0;
    transition: var(--transition);
    font-size: 16px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.2);
}

textarea.form-control {
    min-height: 200px;
    resize: vertical;
    line-height: 1.6;
}

/* 表格样式优化 */
.table-container {
    overflow-x: auto;
    background-color: #1a1a1a;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    border: 1px solid #2a2a2a;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #2a2a2a;
}

.table th {
    background-color: rgba(124, 77, 255, 0.1);
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* 按钮样式 */
.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 20px;
}

.btn-success {
    background-color: var(--success-color);
}

.btn-success:hover {
    background-color: #00c853;
}

.btn-warning {
    background-color: var(--warning-color);
    color: #333;
}

.btn-warning:hover {
    background-color: #ffd600;
}

.btn-danger {
    background-color: var(--danger-color);
}

.btn-danger:hover {
    background-color: #d50000;
}

/* 警告消息 */
.alert {
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 10px;
    border-left: 4px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.alert-success {
    background-color: rgba(0, 230, 118, 0.1);
    border-color: var(--success-color);
    color: var(--success-color);
}

.alert-danger {
    background-color: rgba(255, 23, 68, 0.1);
    border-color: var(--danger-color);
    color: var(--danger-color);
}

/* 动画 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .admin-sidebar {
        width: 240px;
    }
    
    .admin-content {
        margin-left: 240px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark-bg-secondary);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        display: none;
    }
    
    .nav.active {
        display: block;
    }
    
    .nav ul {
        flex-direction: column;
    }
    
    .nav ul li {
        margin: 10px 0;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .admin-container {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 15px 0;
    }
    
    .admin-content {
        margin-left: 0;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .btn {
        padding: 12px 25px;
    }
    
    .features, .pricing, .changelog {
        padding: 60px 0;
    }
}

/* 富文本编辑器黑色主题 */
.ck.ck-editor {
    border-radius: 10px;
    overflow: hidden;
}

.ck-editor__editable {
    min-height: 300px !important;
    color: #e0e0e0 !important;
    background-color: #2a2a2a !important;
    border-color: #333 !important;
}

.ck.ck-editor__main>.ck-editor__editable {
    border-radius: 0 0 10px 10px !important;
}

.ck.ck-toolbar {
    border-radius: 10px 10px 0 0 !important;
    background-color: #1a1a1a !important;
    border-color: #333 !important;
}

.ck.ck-button {
    color: #e0e0e0 !important;
}

.ck.ck-button:hover {
    background-color: #333 !important;
}

.ck.ck-button.ck-on {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* 英雄区域新增样式 */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #333;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 18px;
}

/* 统计数字模块 */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
    animation: fadeInUp 1s ease-out 0.6s;
    animation-fill-mode: both;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 229, 255, 0.5);
}

.stat-label {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 功能展示区域 */
.showcase {
    padding: 100px 0;
    background-color: var(--dark-bg-secondary);
    position: relative;
    overflow: hidden;
}

.showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(124, 77, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
}

.showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 50px;
}

.showcase-item.reverse {
    flex-direction: row-reverse;
}

.showcase-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.showcase-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.showcase-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 性能优化：展示页长列表分段渲染，未进入视口的内容先跳过布局和绘制。 */
.showcase-section .showcase-item {
    content-visibility: auto;
    contain-intrinsic-size: 1px 760px;
}

/* Perf: one delegated lightbox in main.js replaces repeated inline onclick handlers. */
.js-zoomable-image {
    cursor: zoom-in;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.92);
}

.image-lightbox img {
    max-width: 90%;
    max-height: 90vh;
}

.image-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    border: 0;
    background: none;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.showcase-content {
    flex: 1;
}

.showcase-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.showcase-content p {
    color: var(--text-color-secondary);
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-color-secondary);
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--success-color);
    margin-right: 10px;
}

/* 为什么选择我们 */
.why-us {
    padding: 100px 0;
    position: relative;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-us-card {
    background-color: var(--dark-bg-secondary);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.05) 0%, rgba(0, 229, 255, 0.05) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.why-us-card:hover::before {
    opacity: 1;
}

.why-us-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

.why-us-card:hover .why-us-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.why-us-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.why-us-card p {
    color: var(--text-color-secondary);
    font-size: 16px;
    line-height: 1.7;
}

/* 客户评价 */
.testimonials {
    padding: 100px 0;
    background-color: var(--dark-bg);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 229, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    position: relative;
    z-index: 1;
    scrollbar-width: none; /* Firefox */
}

.testimonials-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.testimonial-item {
    background-color: var(--dark-bg-secondary);
    border-radius: 15px;
    padding: 30px;
    min-width: 300px;
    flex: 1;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content p {
    color: var(--text-color);
    font-style: italic;
    line-height: 1.8;
    font-size: 16px;
}

.testimonial-content::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: var(--text-color);
    font-size: 18px;
}

.author-title {
    color: var(--text-color-secondary);
    font-size: 14px;
}

/* 行动召唤区域 */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../image/pc-bg.jpg');
    background-size: cover;
    opacity: 0.1;
    mix-blend-mode: overlay;
}

.cta h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 40px;
    position: relative;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.cta .btn {
    background-color: white;
    color: var(--primary-color);
}

.cta .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

.cta .btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.cta .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 价格方案新增样式 */
.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 0 15px 0 15px;
}

/* 文本居中和间距样式 */
.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

/* 动画类 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .showcase-item {
        flex-direction: column;
        gap: 40px;
    }
    
    .showcase-item.reverse {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 20px);
    }
    
    .testimonials-slider {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .testimonial-item {
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        flex: 0 0 100%;
    }
    
    .cta h2 {
        font-size: 28px;
    }
} 

/* 管理后台新增样式 */
.admin-card {
    background-color: #1a1a1a;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    border: 1px solid #2a2a2a;
}

.form-text {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: var(--text-color-secondary);
} 

/* 页面标题样式 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../image/pc-bg.jpg');
    background-size: cover;
    opacity: 0.1;
    mix-blend-mode: overlay;
}

.page-header h1 {
    font-size: 42px;
    color: white;
    margin-bottom: 15px;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* 展示页面特殊样式 */
.showcase-section {
    padding: 80px 0;
}

.showcase-section .showcase-item {
    margin-bottom: 80px;
}

.showcase-section .showcase-item:last-child {
    margin-bottom: 0;
} 

/* 页脚新样式 */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-right: 30px;
    margin-bottom: 20px;
}

.footer-logo img {
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.footer-logo p {
    color: var(--text-color-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-links-column {
    flex: 1;
    min-width: 150px;
    margin-bottom: 20px;
    padding-right: 20px;
}

.footer-links-column h4 {
    color: var(--text-color);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column ul li a {
    color: var(--text-color-secondary);
    transition: var(--transition);
    font-size: 14px;
    display: block;
}

.footer-links-column ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-info {
    color: var(--text-color-secondary);
    font-size: 14px;
    line-height: 1.8;
}

.contact-info i {
    width: 20px;
    color: var(--primary-color);
    margin-right: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.copyright {
    color: var(--text-color-secondary);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--text-color-secondary);
    font-size: 14px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-right: 0;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-links-column {
        padding-right: 0;
        text-align: center;
    }
    
    .footer-links-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 10px;
    }
} 

/* 下滑指示器样式 */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-down-indicator a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.scroll-down-indicator a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

/* 修复更新日志提交按钮 */
button[type="submit"] {
    position: relative;
    overflow: hidden;
}

button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

button[type="submit"] .spinner {
    display: none;
}

button[type="submit"].loading .spinner {
    display: inline-block;
    margin-right: 5px;
} 

/* 核心功能页面样式 */
.features {
    position: relative;
    padding-bottom: 100px;
}

.features .scroll-down-indicator {
    bottom: 20px;
} 

/* 统计数据下方的下滑指示器 */
.stats-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* 底部下滑指示器 - 调整位置 */
.bottom-indicator {
    position: absolute;
    bottom: 150px;  /* 调整为更高的位置 */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* 英雄区域下滑指示器 - 特殊位置 */
.hero .scroll-down-indicator {
    bottom: 200px;  /* 为首页特别调整，使其更靠近统计数据 */
}

/* 确保英雄区域有足够的底部空间 */
.hero {
    padding-bottom: 180px;
} 

/* 核心功能页面底部样式 */
.features-footer {
    text-align: center;
    margin-top: 40px;
    position: relative;
}

.center-indicator {
    position: relative;
    display: inline-block;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 0 auto;
}

.center-indicator a {
    background-color: #00e5ff;
    border-color: transparent;
    width: 60px;
    height: 60px;
    font-size: 24px;
} 

/* 英雄区域特殊指示器 - 红框位置 */
.hero-indicator {
    position: absolute;
    bottom: 150px;  /* 调整为更低的位置，用户模块下方约30毫米 */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
} 

/* 修复按钮样式 */
.btn-secondary {
    background-color: var(--secondary-color);
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 229, 255, 0.3);
    z-index: 10;
    position: relative;
}

.btn-secondary:hover {
    background-color: #00c2cc;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.4);
} 

/* 界面预览样式 */
.ui-preview {
    padding: 100px 0;
    background-color: var(--dark-bg);
    position: relative;
}

.ui-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(124, 77, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.ui-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.ui-preview-item {
    background-color: var(--dark-bg-secondary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.ui-preview-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.ui-preview-image {
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 比例 */
    position: relative;
    overflow: hidden;
}

.ui-preview-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ui-preview-item:hover .ui-preview-image img {
    transform: scale(1.05);
}

.ui-preview-title {
    padding: 20px;
    text-align: center;
}

.ui-preview-title h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.ui-preview-title p {
    font-size: 14px;
    color: var(--text-color-secondary);
    margin-bottom: 0;
} 
}
    
