
/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #ffffff;
    line-height: 1.6;
}

* {
    box-sizing: border-box;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(32, 58, 67, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

nav .logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #3f5efb;
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
    left: 0;
}

nav ul li a:hover {
    color: #3f5efb;
}

nav ul li a:hover::after {
    width: 100%;
}

.hero {
    height: 100vh;
    background: url('https://images.gptkong.com/demo/sample1.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.hero .content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 3em;
    background: -webkit-linear-gradient(#3f5efb, #fc466b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
    background: rgba(32, 58, 67, 0.8);
    backdrop-filter: blur(10px);
}

.section:nth-child(even) {
    background: rgba(44, 83, 100, 0.8);
}

.section h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
    color: #3f5efb;
}

.section p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1em;
}

.section ul {
    list-style: disc inside;
    max-width: 800px;
    margin: 0 auto 20px;
}

.section pre {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

.section code {
    font-family: 'Courier New', Courier, monospace;
    color: #00ffea;
}

.images-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 40px 0;
}

.images-gallery img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.images-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(63, 94, 251, 0.5);
}

.footer {
    background: rgba(32, 58, 67, 0.8);
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    color: #cccccc;
}

.footer a {
    color: #3f5efb;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* 按钮样式 */
.button {
    background: rgba(0, 150, 255, 0.7);
    border: none;
    padding: 10px 20px;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.button:hover {
    background: rgba(0, 150, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

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

@media (max-width: 1200px) {
    nav ul li {
        margin-left: 15px;
    }

    .hero h1 {
        font-size: 2em;
    }
}

@media (max-width: 1024px) {
    .container {
        width: 95%;
    }

    .section h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .hero h1 {
        font-size: 1.8em;
    }

    .section {
        padding: 60px 0;
    }

    .images-gallery {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5em;
    }

    .section h2 {
        font-size: 1.5em;
    }

    .images-gallery {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.2em;
    }

    .section h2 {
        font-size: 1.2em;
    }
}

/* 动画效果 */
@keyframes ripple {
    0% {
        r: 10;
        opacity: 1;
    }
    100% {
        r: 50;
        opacity: 0;
    }
}

.ripple-effect {
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    animation: ripple 1s infinite;
}

a {
    color: #3f5efb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

