/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', monospace;
    background: #f7f9fb;
    color: #333;
    line-height: 1.6;
    font-size: 14px;
    min-height: 100vh;
}

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

/* Section styling with glassmorphism */
.section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Root section special styling */
.root-section {
    text-align: center;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 32px;
}

.logo-container {
    margin-bottom: 20px;
}

.fractal-tree {
    display: inline-block;
    margin-bottom: 12px;
}

.fractal-tree img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.statement {
    font-size: 16px;
    font-style: italic;
    font-weight: 300;
    color: #555;
    margin: 0;
}

/* Typography */
h2 {
    font-size: 18px;
    font-weight: 500;
    color: #222;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #e0e6ea;
    padding-bottom: 8px;
}

h3 {
    font-size: 15px;
    font-weight: 400;
    color: #333;
    margin-bottom: 6px;
}

/* Content layout */
.content {
    margin-top: 12px;
}

.field {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.label {
    font-weight: 500;
    color: #444;
    min-width: 120px;
    margin-right: 12px;
}

.value {
    color: #666;
    flex: 1;
}

/* Projects */
.project {
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(240, 244, 248, 0.5);
    border-radius: 8px;
    border-left: 3px solid #93a5b3;
}

.project:last-child {
    margin-bottom: 0;
}

.project p {
    color: #666;
    margin: 0 0 12px 0;
    font-size: 13px;
}

.project-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.project-links a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 400;
    padding: 6px 12px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.2s ease;
    font-size: 12px;
}

.project-links a:hover {
    background: rgba(74, 144, 226, 0.2);
    transform: translateY(-1px);
}

/* Links */
.links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.links a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 400;
    padding: 8px 16px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.2s ease;
}

.links a:hover {
    background: rgba(74, 144, 226, 0.2);
    transform: translateY(-1px);
}

/* Groups section special styling */
.section:nth-last-child(2) .content p {
    color: #666;
    line-height: 1.8;
}

/* Responsive design */
@media (max-width: 600px) {
    .container {
        padding: 16px;
    }
    
    .section {
        padding: 20px;
        margin-bottom: 16px;
    }
    
    .field {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .label {
        min-width: auto;
        margin-bottom: 4px;
        margin-right: 0;
    }
    
    .links {
        flex-direction: column;
        gap: 12px;
    }
    
    .links a {
        text-align: center;
    }
    
    .fractal-tree img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 400px) {
    body {
        font-size: 13px;
    }
    
    h2 {
        font-size: 16px;
    }
    
    .statement {
        font-size: 14px;
    }
    
    .section {
        padding: 16px;
    }
}

/* Subtle hover effects */
.section {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}