:root {
    --primary-gradient: linear-gradient(135deg, #F8B195 0%, #C06C84 100%);
    --secondary-gradient: linear-gradient(135deg, #13547a 0%, #80d0c7 100%);
    --bg-color: #f7f9fc;
    --text-color: #2D3436;
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.35);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.page-header {
    width: 100%;
    margin-bottom: 2rem;
}

.page-footer {
    width: 100%;
    margin-top: 80px;
    position: relative;
}

.capsule-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.capsule-wrapper img {
    min-width: 100%;
    height: auto;
    display: block;
}

.content-wrapper {
    max-width: 1200px;
    margin: -100px auto 0;
    padding: 0 20px;
    z-index: 10;
    position: relative;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 40px;
    margin-bottom: 40px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px 0 rgba(31, 38, 135, 0.2);
}

.profile-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.25rem;
    color: #636e72;
    margin-bottom: 25px;
}

.links-grid {
    display: flex;
    gap: 20px;
    margin-top: 35px;
}

.btn {
    padding: 14px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--text-color);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--text-color);
    border: 1px solid rgba(0,0,0,0.1);
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.section-title {
    margin: 80px 0 35px;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.project-card {
    padding: 24px;
}

.project-card img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 20px;
}

.project-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.project-link:hover {
    border-color: var(--text-color);
}

.section-header-card {
    padding: 0;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 20px;
}

.section-header-card img {
    width: 100%;
    display: block;
}

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

.tech-category {
    padding: 30px;
    text-align: center;
}

.tech-category h4 {
    margin-bottom: 20px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
}

.tech-category img {
    max-width: 100%;
    height: auto;
}

.social-grid {
    margin-bottom: 80px;
}

.social-category {
    padding: 40px;
    text-align: center;
}

.social-category img {
    max-width: 100%;
    height: auto;
}

@media (min-width: 1200px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-content {
    background: white;
    padding-top: 10px;
    margin-top: -1px; /* Removes gap between SVG and div */
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #636e72;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 30px 40px;
    color: #b2bec3;
    font-size: 0.95rem;
}

.site-status {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.site-status img {
    height: 20px;
    border-radius: 4px;
}

.attribution {
    margin-top: 40px;
    font-size: 0.85rem;
    color: #b2bec3;
    text-align: center;
}

.attribution a {
    color: #636e72;
    text-decoration: none;
    font-weight: 600;
}

.page-header {
    width: 100%;
    margin-bottom: 2rem;
    min-height: 200px; /* Prevents layout jump */
}

/* Consolidated Media Queries */
@media (max-width: 768px) {
    .content-wrapper {
        margin-top: -50px;
    }

    .profile-header h1 {
        font-size: 2.25rem;
    }

    .links-grid {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
/* Software Curation Section Styles */
.curation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.selection-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.selection-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-color);
}

.curation-list {
    list-style: none;
}

.curation-list li {
    margin-bottom: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.curation-list li strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.curation-list li span {
    font-size: 0.8rem;
    color: #4b5563;
}

.positive-item { 
    background: rgba(16, 185, 129, 0.08); 
    border-color: rgba(16, 185, 129, 0.2) !important;
}
.positive-item strong { color: #059669; }

.negative-item { 
    background: rgba(244, 63, 94, 0.08); 
    border-color: rgba(244, 63, 94, 0.2) !important;
}
.negative-item strong { color: #e11d48; }

.curation-list li:hover {
    transform: translateX(5px);
}

.curation-footer {
    text-align: center;
    margin-top: -20px;
    margin-bottom: 80px;
    padding: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    border-radius: 20px;
}

.curation-footer p {
    font-size: 0.9rem;
    color: #636e72;
    margin-bottom: 20px;
}

.curation-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.curation-links .btn {
    padding: 10px 24px;
    font-size: 0.85rem;
}

@media (max-width: 1200px) {
    .curation-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}
