
:root {
    --primary-color: #1E273D;
    --secondary-color: #654FCD;
    --accent-color: #3FC89C;
    --background-color: #ffffff;
    --text-color: #333333;
    --gradient-accent: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    --section-padding: 80px;
    --border-radius: 12px;
    --box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

@font-face {
    font-family: 'Montserrat';
    src: url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');
}

@font-face {
    font-family: 'Roboto';
    src: url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');
}

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

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

.header {
    position: relative;
    height: 600px;
    background: var(--gradient-accent);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    display: flex;
    align-items: center;
    padding: 0 10%;
    margin-bottom: 80px;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    color: white;
    z-index: 2;
}

.header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
}

.header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.notice {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-size: 0.9rem;
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

article {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 60px;
    margin-bottom: 80px;
}

article h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

article h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

article h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin: 40px 0 20px;
}

article p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-color);
}

pre {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 30px 0;
    overflow: auto;
    border-left: 4px solid var(--accent-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

code {
    font-family: 'Roboto Mono', monospace;
    color: #333;
}

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

.image-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.image-caption {
    padding: 20px;
    background: white;
}

.image-caption h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.nav-tabs {
    display: flex;
    margin: 40px 0;
    border-bottom: 1px solid #eee;
}

.nav-tab {
    padding: 12px 24px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    position: relative;
    transition: all 0.3s;
}

.nav-tab.active {
    color: var(--accent-color);
}

.nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
    color: var(--accent-color);
}

@media (max-width: 1024px) {
    .header {
        height: 500px;
        padding: 0 5%;
    }
    
    .header h1 {
        font-size: 2.8rem;
    }
    
    article {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .header {
        height: 400px;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }
    
    .header h1 {
        font-size: 2.2rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    article {
        padding: 30px;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header {
        height: 350px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    article h2 {
        font-size: 1.8rem;
    }
    
    article h3 {
        font-size: 1.4rem;
    }
}

