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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #2d2d2d;
    background: linear-gradient(135deg, #f8f9fa 0%, #2f5233 100%);
    padding: 2.5rem 1.5rem;
}

header {
    text-align: center;
    padding-bottom: 2rem;
    margin-bottom: 2.5rem;
    border-bottom: 3px solid #2f5233;
    position: relative;
}

header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #9a7b4f;
}

h1 {
    font-size: 2.8em;
    color: #2f5233;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 1.5em;
    color: #2f5233;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
    font-weight: 600;
    position: relative;
}

h2::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #9a7b4f;
}

h3 {
    font-size: 1.15em;
    color: #2f5233;
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    color: #4a4a4a;
}

li strong {
    color: #2f5233;
}

.cv-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 3.5rem 4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}

.subtitle {
    font-size: 1.4em;
    color: #666666;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.date {
    color: #9a7b4f;
    font-style: italic;
    font-weight: 500;
    float: right;
    font-size: 0.95em;
}

.company {
    color: #2f5233;
    font-weight: 700;
    font-size: 1.3em;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
    clear: both;
}

.section {
    margin-bottom: 2rem;
}

.experience {
    border-top: 1px solid #e0e0e0;
    padding-top: 2rem;
}

.experience > div {
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.experience > div:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.technical-summary-list {
    list-style: none;
    margin-left: 0;
}

.technical-summary-list li {
    padding-left: 1.5rem;
    position: relative;
}

.technical-summary-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #9a7b4f;
    font-weight: bold;
}

.technical-summary-list li strong,
.technical-summary-list li span {
    color: #2f5233;
    font-weight: 600;
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    
    .cv-container {
        padding: 2rem 1.5rem;
        border-radius: 4px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .subtitle {
        font-size: 1.2em;
    }
    
    h2 {
        font-size: 1.3em;
        margin-top: 2rem;
    }
    
    h3 {
        font-size: 1.1em;
    }
    
    .company {
        font-size: 1.15em;
    }
    
    .technical-summary-list {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .date {
        float: none;
        display: block;
        margin-top: 0.25rem;
    }
}

@media print {
    body {
        background: white;
        padding: 0;
    }
    
    .cv-container {
        box-shadow: none;
        padding: 1.5rem;
        border-radius: 0;
    }
    
    header::after,
    h2::before {
        display: none;
    }
}

