
:root {
    --primary: #0d1b2a;
    --secondary: #1b263b;
    --accent: #00c6ff;
    --highlight: #0072ff;
    --text: #ffffff;
    --card-bg: #415a77;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary), var(--card-bg), #778da9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--gradient);
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.notice {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    padding: 10px 20px;
    border-radius: 30px;
    z-index: 9999;
    font-size: 14px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0,198,255,0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0,198,255,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0,198,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,198,255,0); }
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 27, 42, 0.8);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    background: rgba(13, 27, 42, 0.95);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 120px 10% 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,198,255,0.1) 0%, rgba(0,0,0,0) 70%);
    animation: rotate 30s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--text), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-images {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.hero-img {
    width: 160px;
    height: 160px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.5s ease;
}

.hero-img:nth-child(1) {
    transform: rotate(-5deg) translateY(-20px);
    animation: float 6s ease-in-out infinite;
}

.hero-img:nth-child(2) {
    transform: rotate(5deg) translateY(20px);
    animation: float 6s ease-in-out infinite 1s;
}

.hero-img:nth-child(3) {
    transform: rotate(3deg) translateY(10px);
    animation: float 6s ease-in-out infinite 1.5s;
}

.hero-img:nth-child(4) {
    transform: rotate(-3deg) translateY(-10px);
    animation: float 6s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

article {
    padding: 100px 0;
}

article h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    color: var(--accent);
}

article h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

article h3 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--highlight);
}

article p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

article span {
    color: var(--accent);
    font-weight: bold;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.grid-item {
    background: rgba(65, 90, 119, 0.3);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.grid-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0,198,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-color: rgba(0,198,255,0.3);
}

.grid-item:hover::before {
    animation: shine 1.5s;
    opacity: 1;
}

@keyframes shine {
    0% { left: -100%; }
    20%, 100% { left: 100%; }
}

pre {
    background: rgba(13, 27, 42, 0.7);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
    border-left: 4px solid var(--accent);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
}

pre::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: url('https://images.gptkong.com/demo/sample6.png') no-repeat center/contain;
    opacity: 0.1;
}

code {
    color: var(--accent);
    font-family: 'Courier New', monospace;
}

.visual-element {
    width: 100%;
    height: 300px;
    margin: 50px 0;
    background: rgba(0,0,0,0.2);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.visual-element img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: all 0.5s ease;
}

.visual-element:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.visual-element::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,198,255,0.3), rgba(0,114,255,0.3));
    mix-blend-mode: overlay;
}

.footer {
    background: rgba(13, 27, 42, 0.9);
    padding: 50px 0;
    text-align: center;
    margin-top: 100px;
    backdrop-filter: blur(10px);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

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

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 5% 60px;
    }
    
    .hero-images {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 50px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    article h2 {
        font-size: 2rem;
    }
    
    article h3 {
        font-size: 1.5rem;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-img {
        width: 120px;
        height: 120px;
    }
    
    article {
        padding: 60px 0;
    }
}

