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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(135deg, #0a1628 0%, #1a2845 100%);
    color: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.stars {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hero {
    text-align: center;
    margin-bottom: 5rem;
    padding-top: 2rem;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    border: 4px solid #d4a574;
    box-shadow: 0 20px 60px rgba(212, 165, 116, 0.3);
    object-fit: cover;
    object-position: 50% 40%;
    display: block;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero .tagline {
    font-size: 1.4rem;
    color: #d4a574;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero .intro {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.hero .cta-button {
    margin-top: 2rem;
}

.inline-highlight {
    background: rgba(212, 165, 116, 0.16);
    color: #ffffff;
    padding: 0 0.35rem;
    border-radius: 4px;
    white-space: normal;
}

.section {
    margin-bottom: 4rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(212, 165, 116, 0.1);
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #d4a574;
    font-weight: 600;
}

.section h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.section p {
    font-size: 1.05rem;
    margin-bottom: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.section strong {
    color: #d4a574;
}

.highlight {
    background: rgba(212, 165, 116, 0.1);
    border-left: 4px solid #d4a574;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.highlight p {
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    padding: 1.4rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 165, 116, 0.18);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card h3 {
    color: #d4a574;
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
}

.feature-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: #d4a574;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #d4a574;
    margin-bottom: 0.5rem;
}

.project-description {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.project-result {
    background: rgba(22, 163, 52, 0.12);
    border-left: 3px solid #16a34a;
    padding: 0.75rem 1rem;
    color: #b7e4c7;
    font-weight: 600;
    border-radius: 8px;
}

.competences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.competence-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.3rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 165, 116, 0.15);
    transition: all 0.3s ease;
}

.competence-item:hover {
    transform: translateY(-3px);
    border-color: #d4a574;
    background: rgba(212, 165, 116, 0.08);
}

.competence-item h4 {
    color: #d4a574;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.competence-item p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.6;
}

.custom-list {
    list-style: none;
    margin-top: 1.2rem;
}

.custom-list li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
}

.custom-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #d4a574;
    font-weight: bold;
    font-size: 1.2rem;
}

.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 16px;
    margin-top: 3rem;
    border: 1px solid rgba(212, 165, 116, 0.2);
}

.cta-section h2 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #d4a574;
    color: #0a1628;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #e5b685;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.4);
}

.skills-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.8rem;
}

.skills-list li {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 165, 116, 0.15);
    border-left: 3px solid #d4a574;
    padding: 1rem;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.82);
}

.skills-list strong {
    color: #ffffff;
    display: block;
    margin-bottom: 0.4rem;
}

.services-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.service-item {
    background: rgba(255, 255, 255, 0.04);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 3px solid #d4a574;
}

.service-item h3 {
    margin-top: 0;
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .tagline {
        font-size: 1.2rem;
    }

    .section {
        padding: 1.8rem;
    }

    .section h2 {
        font-size: 1.7rem;
    }

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