@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: linear-gradient(-45deg, #f5f7fa, #eef2f5, #e0eaf5, #f5f7fa);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #1d1d1f;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

nav a:hover, nav a.active {
    color: #0066cc;
    background: rgba(0, 102, 204, 0.05);
}

main {
    flex: 1;
    max-width: 1100px;
    margin: 4rem auto;
    width: 92%;
}

.home-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.profile-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f5f7fa, #ffffff);
    border-radius: 50%;
    border: 6px solid rgba(255,255,255,0.8);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0a0a0;
    font-weight: 500;
}

.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.card-link {
    text-decoration: none;
    color: inherit;
    text-align: left;
    padding: 2rem;
}

.card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.08);
    border-color: rgba(0, 102, 204, 0.2);
}

.card-link h3 { color: #0066cc; margin-bottom: 0.5rem; }
.card-link p { font-size: 0.9rem; color: #666; }

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 1rem 2rem;
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 30px;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.tab-btn:hover { background: rgba(255,255,255,0.9); }
.tab-btn.active {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
}

.tab-content { display: none; }
.tab-content.active {
    display: block;
    animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

h1 { font-size: 3rem; font-weight: 700; letter-spacing: -0.05em; margin-bottom: 1.5rem; }
h2 { font-size: 1.5rem; font-weight: 600; margin: 2rem 0 0.5rem 0; color: #1d1d1f; }
h3 { font-size: 1.2rem; font-weight: 600; }
.meta { font-size: 0.95rem; color: #0066cc; font-weight: 500; margin-bottom: 1rem; display: flex; justify-content: space-between;}
.date { color: #86868b; }
p { margin-bottom: 1rem; color: #444; }
ul { padding-left: 1.5rem; margin-bottom: 1.5rem; color: #444; }
li { margin-bottom: 0.5rem; }

footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    color: #86868b;
    border-top: 1px solid rgba(0,0,0,0.05);
}