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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #97abc9;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.answer textarea {
    width: 100%;
    font-size: 1rem;
    padding: 10px;
    resize: vertical;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}


.header {
    background: linear-gradient(90deg, #2c3e50, #3498db);
    padding: 20px;
    color: white;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: white;
    color: #2c3e50;
    border-color: white;
}

.main-content {
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

#page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.welcome-section {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

#welcome-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

#welcome-message {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.95;
}

.reflection-section {
    margin-bottom: 40px;
}

.question-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #3498db;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.question-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.question-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.answer p {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
}

.technical-highlights {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

#tech-title {
    text-align: center;
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tech-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-2px);
}

.tech-item h4 {
    color: #3498db;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.tech-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

#footer-text {
    font-size: 1rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 20px;
    }

    #page-title {
        font-size: 2rem;
    }

    .welcome-section {
        padding: 20px;
    }

    #welcome-title {
        font-size: 1.5rem;
    }

    .question-card {
        padding: 20px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .language-switcher {
        flex-direction: column;
        gap: 5px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        margin: 0;
        border-radius: 0;
    }

    .main-content {
        padding: 15px;
    }

    #page-title {
        font-size: 1.8rem;
    }

    .welcome-section {
        padding: 15px;
        margin-bottom: 20px;
    }

    .question-card {
        padding: 15px;
        margin-bottom: 15px;
    }

    .technical-highlights {
        padding: 20px;
    }
}

/* Animation for language switching */
.fade-out {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.2s ease;
}

/* Loading animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1s infinite;
}