/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid #e5e7eb;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    line-height: inherit;
    background-color: #0a0a0a;
    color: #d4d4d4;
    overflow: hidden;
    height: 100dvh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    font-family: inherit;
}

/* ===== Scrollbar ===== */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

/* ===== Background Effects ===== */
.bg-effects {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bg-gradient-top {
    position: absolute;
    top: 0;
    width: 100%;
    height: 33.333%;
    background: linear-gradient(to bottom, rgba(168, 85, 247, 0.1), transparent);
}

.bg-gradient-bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 33.333%;
    background: linear-gradient(to top, rgba(59, 130, 246, 0.1), transparent);
}

.bg-noise {
    position: absolute;
    inset: 0;
    opacity: 0.015;
    mix-blend-mode: overlay;
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.5"/></svg>');
}

/* ===== Main Layout ===== */
.main-layout {
    display: flex;
    flex-direction: row;
    height: 100dvh;
    position: relative;
    z-index: 10;
}

/* ===== Sidebar ===== */
.sidebar {
    display: none;
    width: 35%;
    background-color: rgba(23, 23, 23, 0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sidebar.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

.photo-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.photo-container:hover .profile-photo {
    transform: scale(1.05);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.85),
        rgba(10, 10, 10, 0.3),
        transparent
    );
}

.photo-info {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1.5rem;
    width: 100%;
    z-index: 10;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}

.sidebar.animate-in .photo-info {
    opacity: 1;
    transform: translateY(0);
}

.photo-name {
    font-size: 1.875rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.photo-title {
    color: #a3a3a3;
    font-size: 0.875rem;
}

/* ===== Content Area ===== */
.content {
    flex: 1;
    height: 100dvh;
    overflow-y: auto;
    padding: 2rem 1.5rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.content.animate-in {
    opacity: 1;
}

.content-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ===== Header ===== */
.header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

.header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.main-name {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(to right, #fff, #fff, #a3a3a3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.username-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.username {
    font-size: 1.25rem;
    color: #a3a3a3;
    font-weight: 300;
}

.tagline {
    font-size: 1rem;
    color: #737373;
    font-weight: 500;
}

/* ===== Main Content ===== */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
}

.main-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.scrollable-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    overflow-x: visible;
    padding-right: 1rem;
    padding-left: 0.25rem;
}

/* ===== Bio ===== */
.bio {
    font-size: 1rem;
    font-weight: 300;
    color: #d4d4d4;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    line-height: 1.625;
}

/* ===== Tech Section ===== */
.tech-section {
    margin-top: 0.5rem;
}

.tech-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    overflow: visible;
    padding-bottom: 0.25rem;
}

.tech-card {
    position: relative;
    padding: 0.75rem;
    border-radius: 0.75rem;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: default;
    opacity: 0;
    transform: translateY(10px);
}

.tech-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.tech-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
}

.tech-card span {
    font-weight: 500;
    font-size: 0.875rem;
}

.tech-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

/* Tech card colors */
.tech-language {
    background-color: rgba(59, 130, 246, 0.1);
    color: #bfdbfe;
}
.tech-language:hover { background-color: rgba(59, 130, 246, 0.2); }

.tech-backend {
    background-color: rgba(16, 185, 129, 0.1);
    color: #a7f3d0;
}
.tech-backend:hover { background-color: rgba(16, 185, 129, 0.2); }

.tech-frontend {
    background-color: rgba(168, 85, 247, 0.1);
    color: #e9d5ff;
}
.tech-frontend:hover { background-color: rgba(168, 85, 247, 0.2); }

.tech-database {
    background-color: rgba(245, 158, 11, 0.1);
    color: #fde68a;
}
.tech-database:hover { background-color: rgba(245, 158, 11, 0.2); }

.tech-devops {
    background-color: rgba(244, 63, 94, 0.1);
    color: #fecdd3;
}
.tech-devops:hover { background-color: rgba(244, 63, 94, 0.2); }

.tech-ai {
    background-color: rgba(6, 182, 212, 0.1);
    color: #a5f3fc;
}
.tech-ai:hover { background-color: rgba(6, 182, 212, 0.2); }

.tech-security {
    background-color: rgba(234, 179, 8, 0.1);
    color: #fef08a;
}
.tech-security:hover { background-color: rgba(234, 179, 8, 0.2); }

/* ===== Bio Links ===== */
.bio-link {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.15s ease;
    font-weight: 400;
}

.bio-link:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* ===== Contact Section ===== */
.contact-section {
    margin-top: 0.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background-color: rgba(38, 38, 38, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    color: #d4d4d4;
    font-size: 0.875rem;
    font-weight: 500;
}

.contact-card:hover {
    background-color: rgba(64, 64, 64, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #fff;
}

.contact-icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

/* ===== CTA Buttons ===== */
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.6s, transform 0.5s ease 0.6s;
}

.cta-buttons.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.btn {
    display: inline-block;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 0.75rem;
    padding: 0.625rem 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #262626;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background-color: #404040;
    box-shadow: 0 10px 15px -3px rgba(255,255,255,0.1);
}

.btn-secondary {
    background-color: #262626;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: #404040;
    box-shadow: 0 10px 15px -3px rgba(255,255,255,0.1);
}

/* ===== Back Button ===== */
.back-button {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}

.back-button.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #a3a3a3;
    transition: color 0.15s ease;
    cursor: pointer;
}

.back-link:hover {
    color: #fff;
}

.back-link svg {
    transition: transform 0.15s ease;
}

.back-link:hover svg {
    transform: translateX(-4px);
}

/* ===== Contact Page - Top Layout ===== */
.contact-top-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.contact-btn-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1.25rem 1rem;
    border-radius: 0.75rem;
    background-color: rgba(23, 23, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    color: #d4d4d4;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.contact-btn-card:hover {
    background-color: rgba(38, 38, 38, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.contact-btn-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-about {
    padding: 1.5rem;
    border-radius: 0.75rem;
    background-color: rgba(23, 23, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-about-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.contact-about p {
    font-size: 0.875rem;
    color: #a3a3a3;
    line-height: 1.625;
    margin-bottom: 0.75rem;
}

.contact-about p:last-child {
    margin-bottom: 0;
}

/* ===== Contact Form ===== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #d4d4d4;
}

.form-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(23, 23, 23, 0.6);
    color: #fff;
    font-family: inherit;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-input::placeholder {
    color: #525252;
}

.form-input:focus {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* ===== Repos Filters ===== */
.repos-filters {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.repos-search-wrapper {
    position: relative;
    flex: 1;
}

.repos-search-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: #525252;
    pointer-events: none;
}

.repos-search-input {
    width: 100%;
    padding: 0.625rem 0.875rem 0.625rem 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(23, 23, 23, 0.6);
    color: #fff;
    font-family: inherit;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.repos-search-input::placeholder {
    color: #525252;
}

.repos-search-input:focus {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.repos-filter-selects {
    display: flex;
    gap: 0.75rem;
}

.repos-select {
    padding: 0.625rem 2rem 0.625rem 0.875rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(23, 23, 23, 0.6);
    color: #d4d4d4;
    font-family: inherit;
    font-size: 0.8125rem;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23737373" d="M6 8.825L1.175 4 2.238 2.938 6 6.7 9.763 2.937 10.825 4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    transition: border-color 0.2s ease;
    min-width: 0;
    flex: 1;
}

.repos-select:focus {
    border-color: rgba(168, 85, 247, 0.5);
}

.repos-select option {
    background-color: #171717;
    color: #d4d4d4;
}

/* ===== Repo Topics ===== */
.repo-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.125rem;
}

.repo-topic {
    font-size: 0.6875rem;
    padding: 0.125rem 0.5rem;
    border-radius: 1rem;
    background-color: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    font-weight: 500;
}

.repo-github-link {
    color: #525252;
    transition: color 0.15s ease;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.repo-github-link:hover {
    color: #d4d4d4;
}

/* ===== Contact Page Cards (old - kept for compat) ===== */
.contact-page-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-page-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    background-color: rgba(23, 23, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    color: #d4d4d4;
    text-decoration: none;
}

.contact-page-card:hover {
    background-color: rgba(38, 38, 38, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.contact-page-icon-wrapper {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-page-icon {
    width: 1.125rem;
    height: 1.125rem;
}

.whatsapp-bg { background-color: rgba(37, 211, 102, 0.15); color: #25d366; }
.email-bg { background-color: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.github-bg { background-color: rgba(255, 255, 255, 0.1); color: #e5e5e5; }
.linkedin-bg { background-color: rgba(0, 119, 181, 0.15); color: #0a66c2; }

.contact-page-info {
    flex: 1;
    min-width: 0;
}

.contact-page-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.125rem;
}

.contact-page-info p {
    font-size: 0.8125rem;
    color: #737373;
}

.contact-page-arrow {
    color: #525252;
    transition: color 0.15s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.contact-page-card:hover .contact-page-arrow {
    color: #a3a3a3;
    transform: translateX(4px);
}

/* ===== Repository Cards ===== */
.repos-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 0;
    color: #737373;
    font-size: 0.875rem;
}

.loading-spinner {
    width: 2rem;
    height: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: #a3a3a3;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.repos-error {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem 0;
    color: #737373;
    font-size: 0.875rem;
    text-align: center;
}

.repos-empty {
    text-align: center;
    color: #737373;
    padding: 2rem 0;
    font-size: 0.875rem;
}

.repos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.repo-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    background-color: rgba(23, 23, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    color: #d4d4d4;
    text-decoration: none;
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.repo-card:hover {
    background-color: rgba(38, 38, 38, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.repo-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.repo-stars-forks {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.repo-stars-forks .repo-stat svg {
    color: #eab308;
}

.repo-stars-forks .repo-stat:last-child svg {
    color: #737373;
}

.repo-icon {
    color: #737373;
    flex-shrink: 0;
}

.repo-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #60a5fa;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.repo-description {
    font-size: 0.8125rem;
    color: #a3a3a3;
    line-height: 1.5;
    font-weight: 300;
}

.repo-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: #737373;
    margin-top: 0.25rem;
}

.repo-lang {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.repo-lang-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.repo-stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #a3a3a3;
    font-size: 0.8125rem;
}

.repo-stat svg {
    color: #eab308;
}

.repo-date {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* ===== Social Footer ===== */

/* ===== Currículo - Tabs ===== */
.cv-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.5rem;
}

.cv-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #737373;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
    font-family: inherit;
}

.cv-tab:hover {
    color: #d4d4d4;
}

.cv-tab.active {
    color: #a78bfa;
    border-bottom-color: #a78bfa;
}

.cv-tab svg {
    flex-shrink: 0;
}

/* ===== Currículo - Tab Content ===== */
.cv-tab-content {
    display: none;
}

.cv-tab-content.active {
    display: block;
}

/* ===== Currículo - Timeline ===== */
.cv-timeline {
    position: relative;
    padding-left: 2.5rem;
    overflow: visible;
}

.cv-timeline::before {
    content: '';
    position: absolute;
    left: 0.625rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: linear-gradient(to bottom, #a78bfa, rgba(167, 139, 250, 0.2));
}

.cv-timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.cv-timeline-item:last-child {
    padding-bottom: 0;
}

.cv-timeline-dot {
    position: absolute;
    left: -1.875rem;
    top: 0.375rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    transform: translateX(-50%);
}

.cv-timeline-item:hover .cv-timeline-dot {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.35), 0 0 12px rgba(167, 139, 250, 0.25);
}

.cv-timeline-content {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.cv-role {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

.cv-company {
    font-weight: 400;
    color: #737373;
}

.cv-company a {
    color: #a78bfa;
    text-decoration: none;
    transition: color 0.15s ease;
}

.cv-company a:hover {
    color: #c4b5fd;
    text-decoration: underline;
}

.cv-period {
    font-size: 0.8125rem;
    color: #525252;
    font-weight: 400;
    letter-spacing: 0.025em;
}

.cv-description {
    font-size: 0.875rem;
    color: #a3a3a3;
    line-height: 1.625;
    font-weight: 300;
}

.cv-skills {
    font-size: 0.8125rem;
    color: #737373;
    line-height: 1.5;
}

.cv-skills strong {
    color: #d4d4d4;
    font-weight: 600;
}

.cv-credential-link {
    color: #a78bfa;
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.15s ease;
}

.cv-credential-link:hover {
    color: #c4b5fd;
    text-decoration: underline;
}

/* ===== Social Footer ===== */
.social-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    color: #a3a3a3;
}

.social-icon {
    transition: color 0.15s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.social-icon:hover {
    color: #e5e5e5;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* ===== Responsive ===== */
@media (min-width: 768px) {
    .sidebar {
        display: block;
    }

    .content {
        padding: 2rem 4rem;
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .repos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .repos-filters {
        flex-direction: row;
        align-items: center;
    }

    .repos-filter-selects {
        flex-shrink: 0;
    }

    .repos-select {
        flex: none;
        min-width: 160px;
    }

    .contact-top-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .contact-buttons-grid {
        flex: 1;
        min-width: 0;
    }

    .contact-about {
        flex: 1;
        min-width: 0;
    }

    .contact-form {
        max-width: 50%;
    }
}

@media (min-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== Mobile adjustments ===== */
@media (max-width: 767px) {
    .main-layout {
        flex-direction: column;
    }

    .main-name {
        font-size: 2.25rem;
    }

    .content {
        height: 100dvh;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
