* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Corporate Futurism background effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 150, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(150, 0, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 0%, rgba(0, 150, 255, 0.03) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(150, 0, 255, 0.03) 50%, transparent 100%);
    background-size: 100px 100px;
    z-index: -1;
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    flex: 1;
    width: 100%;
}

header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

h1 {
    font-size: clamp(24px, 5vw, 42px);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    position: relative;
    display: inline-block;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    box-shadow: 0 0 10px #00d4ff;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.language-item {
    background: rgba(20, 20, 40, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.language-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.language-item:hover::before {
    left: 100%;
}

.language-item:hover {
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    transform: translateY(-5px);
}

.language-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.flag {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 15px;
    object-fit: cover;
    border: 2px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.language-item:hover .flag {
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    transform: scale(1.1);
}

.language-name {
    font-size: 18px;
    font-weight: 400;
    color: #e0e0e0;
    line-height: 1.6;
    margin-top: 10px;
}

/* Article page styles */
.back-link {
    display: inline-block;
    margin-bottom: 25px;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.back-link:hover {
    color: #00ffff;
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    transform: translateX(-3px);
}

.article-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 30px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-image:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
    border-color: #00d4ff;
}

.content {
    margin-top: 35px;
}

.content h2 {
    color: #00d4ff;
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    padding-bottom: 15px;
    font-weight: 400;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content p {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 1.1em;
    color: #d1d5db;
    line-height: 1.8;
}

.content a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    padding-bottom: 2px;
}

.content a:hover {
    color: #00ffff;
    border-bottom-color: rgba(0, 255, 255, 0.6);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

.content strong {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Contents page styles */
.method-description {
    background: rgba(0, 212, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.method-description h2 {
    color: #00d4ff;
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 400;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.method-description p {
    margin-bottom: 18px;
    text-align: justify;
    font-size: 1.1em;
    color: #d1d5db;
    line-height: 1.8;
}

.method-description a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    padding-bottom: 2px;
}

.method-description a:hover {
    color: #00ffff;
    border-bottom-color: rgba(0, 255, 255, 0.6);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

.contents {
    margin-top: 40px;
}

.contents > h2 {
    color: #00d4ff;
    font-size: 2.4em;
    margin-bottom: 30px;
    border-bottom: 3px solid rgba(0, 212, 255, 0.4);
    padding-bottom: 15px;
    font-weight: 400;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section {
    margin-bottom: 35px;
    background: rgba(20, 20, 40, 0.6);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.section:hover {
    background: rgba(20, 20, 40, 0.8);
    border-color: #00d4ff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.section-title {
    color: #00d4ff;
    font-size: 1.6em;
    font-weight: 400;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title.no-link {
    color: #ffffff;
}

.article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    transition: transform 0.2s ease;
}

.article-list li:hover {
    transform: translateX(5px);
}

.article-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
    font-size: 1.1em;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

.article-list a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 1.05em;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 4px 0;
}

.article-list a:hover {
    color: #00d4ff;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
    transform: translateX(3px);
}

footer {
    background: rgba(10, 10, 10, 0.9);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding: 30px 20px;
    margin-top: auto;
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #00d4ff;
    border-radius: 6px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.05);
    transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
    color: #00ffff;
    border-color: rgba(0, 255, 255, 0.6);
}

.social-link img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0.85);
    transition: filter 0.3s ease;
}

.social-link:hover img {
    filter: brightness(1);
}

@media (max-width: 768px) {
    .languages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .container {
        padding: 20px 15px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .contents > h2 {
        font-size: 2em;
    }
    
    .section {
        padding: 20px;
    }
    
    .method-description {
        padding: 25px;
    }
    
    .content h2 {
        font-size: 1.6em;
    }
    
    .content p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }
    
    .container {
        padding: 15px 10px;
    }
    
    .contents > h2 {
        font-size: 1.8em;
    }
}

