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

/* 定义色彩变量 */
:root {
    --background-color: #1A1A1A;
    --secondary-background: #2C2C2C;
    --accent-blue: #00BFFF;
    --accent-green: #39FF14;
    --neutral-gray: #F5F5F5;
    --metallic-silver: #E0E0E0;
    --font-title: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* 全局样式 */
body {
    background: radial-gradient(circle, rgb(255, 87, 34), transparent);
    animation: aurora-move 15s linear infinite;
    color: var(--neutral-gray);
    font-family: var(--font-body);
    line-height: 1.6;
    padding: 20px;
}

/* 背景动画 */
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 头部样式 */
header {
    text-align: center;
    padding: 50px 0;
    color: var(--accent-blue);
    font-family: var(--font-title);
    background: linear-gradient(135deg, var(--secondary-background), var(--background-color));
    border-radius: 10px;
    margin-bottom: 40px;
}

header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    color: var(--metallic-silver);
}

/* 容器布局 */
.container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.left-section, .right-section {
    flex: 1;
    min-width: 300px;
    padding: 25px;
    background-color: var(--secondary-background);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* 左侧功能模块 */
.left-section h2 {
    font-family: var(--font-title);
    color: var(--accent-green);
    font-size: 2rem;
    margin-bottom: 15px;
}

.left-section p {
    font-size: 1rem;
    color: var(--neutral-gray);
    margin-bottom: 20px;
}

.left-section .button {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
    border: none;
    color: white;
    padding: 12px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.left-section .button:hover {
    background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
}

/* 右侧品牌故事 */
.right-section h2 {
    font-family: var(--font-title);
    color: var(--accent-blue);
    font-size: 2rem;
    margin-bottom: 15px;
}

.right-section p {
    font-size: 1rem;
    color: var(--neutral-gray);
    margin-bottom: 20px;
}

.right-section .button {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
    border: none;
    color: white;
    padding: 12px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.right-section .button:hover {
    background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
}

/* 图像网格布局 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.05);
}

/* 文章样式 */
article {
    background-color: var(--secondary-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
}

article h2, article h3 {
    font-family: var(--font-title);
    color: var(--accent-blue);
    margin-bottom: 15px;
}

article p {
    font-size: 1rem;
    color: var(--neutral-gray);
    margin-bottom: 15px;
}

article pre {
    background-color: #2C2C2C;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}

article pre code {
    color: var(--accent-green);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
}

/* 代码示例样式 */
.code-example {
    background-color: #2C2C2C;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    overflow-x: auto;
}

.code-example code {
    color: var(--accent-green);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

/* 视觉冲击提示 */
.footer {
    text-align: center;
    padding: 30px 0;
    color: var(--neutral-gray);
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--secondary-background), var(--background-color));
    border-radius: 10px;
}

.footer .image-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    margin-top: 20px;
}

.footer p {
    margin-bottom: 15px;
}

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

    .left-section, .right-section {
        padding: 20px;
    }

    .container {
        gap: 20px;
    }
}

@media (max-width: 1200px) {
    header h1 {
        font-size: 2.2rem;
    }

    article {
        padding: 25px;
    }

    .footer p {
        font-size: 1rem;
    }
}

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

    .left-section h2, .right-section h2 {
        font-size: 1.8rem;
    }

    article h2, article h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }

    .left-section, .right-section {
        flex: 1 1 100%;
    }

    article {
        padding: 20px;
    }

    .footer .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

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

    .left-section h2, .right-section h2 {
        font-size: 1.5rem;
    }

    article h2, article h3 {
        font-size: 1.5rem;
    }

    .button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .footer {
        padding: 20px 0;
    }

    .footer p {
        font-size: 0.9rem;
    }
}

/* 视觉元素补充 */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 10px;
}

.highlight {
    color: var(--accent-green);
    font-weight: bold;
}


