
/* 重置浏览器默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 引入字体 */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&family=Roboto:wght@400;500&display=swap');

/* 定义颜色变量 */
:root {
    --main-bg: linear-gradient(135deg, #000066, #4B0082);
    --accent-color: #39FF14;
    --secondary-color: #00FFFF;
    --text-color: #FFFFFF;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Orbitron', sans-serif;
    --container-padding: 20px;
    --transition-speed: 0.3s;
}

/* 设置body背景和基本样式 */
body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background: var(--main-bg);
    background-size: cover;
    background-attachment: fixed;
    animation: aurora-move 15s linear infinite;
    line-height: 1.6;
    padding: var(--container-padding);
}

/* 定义动画效果 */
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 主要容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    color: var(--accent-color);
    margin-bottom: 15px;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-top: 20px;
}

h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

h3 {
    font-size: 1.75rem;
    margin-top: 20px;
}

/* 段落样式 */
p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #FFFFFF;
}

/* 按钮样式 */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.button:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

.button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
}

.button:hover::after {
    width: 200px;
    height: 200px;
    opacity: 1;
}

/* 图像样式 */
img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* 卡片样式 */
.card {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid #555;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #3333FF;
    color: #FFF;
}

td {
    background-color: #1a1a1a;
    color: #FFF;
}

pre {
    background-color: #2e2e2e;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    font-family: 'Courier New', Courier, monospace;
    color: #FFD700;
}

/* 文章示例展示样式 */
.sample-article {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.sample-article h2,
.sample-article h3 {
    color: var(--secondary-color);
}

.sample-article p {
    color: #E0E0E0;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 1200px) {
    .container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 320px) {
    .button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* 导航栏样式 */
nav {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 10px;
    transition: color var(--transition-speed);
}

nav a:hover {
    color: var(--accent-color);
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid #555;
    color: #AAA;
    font-size: 0.9rem;
}

/* 动态粒子背景效果 */
.particle-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.gptkong.com/demo/sample1.png') repeat;
    opacity: 0.1;
    z-index: -1;
}

/* 路径导航样式 */
.path-navigation {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.path-navigation a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed);
}

.path-navigation a:hover {
    color: var(--accent-color);
}

/* 卡片翻转效果 */
.flip-card {
    background-color: transparent;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 200px;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
}

.flip-card-front {
    background-color: #333;
    color: white;
}

.flip-card-back {
    background-color: var(--secondary-color);
    color: black;
    transform: rotateY(180deg);
}

/* 卡片内容 */
.card-content {
    padding: 20px;
}

/* 流畅的过渡效果 */
.transition {
    transition: all var(--transition-speed) ease-in-out;
}

/* 内部链接样式 */
a[rel="nofollow"] {
    color: var(--accent-color);
    text-decoration: underline;
}

/* 提示文本样式 */
.reference-note {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: #CCC;
}

/* 代码块样式优化 */
pre {
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
}

/* 语音指令与手势操作示例 */
.interaction-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.interaction-section img {
    max-width: 100px;
    margin-bottom: 10px;
}

/* 个性化财务报表样式 */
.report-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
}

.report-section h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.report-section p {
    color: #E0E0E0;
}

/* 安全与隐私保护样式 */
.security-section {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
}

.security-section h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.security-section p {
    color: #E0E0E0;
}

