@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');
:root {
    /* Primary Brand Colors */
    --primary-blue: #0A4D68;
    --secondary-blue: #1E88E5;
    --accent-cyan: #00E5FF;
    --success-green: #00C853;
    /* Neutral Colors */
    --dark-bg: #0F1419;
    --darker-bg: #0A0E13;
    --card-bg: #1A1F26;
    --border-color: #2D3748;
    --text-primary: #FFFFFF;
    --text-secondary: #A0AEC0;
    --text-muted: #718096;
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #0A4D68 0%, #1E88E5 100%);
    --accent-gradient: linear-gradient(135deg, #00E5FF 0%, #1E88E5 100%);
    --dark-gradient: linear-gradient(135deg, #0F1419 0%, #1A1F26 100%);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}
.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
}
.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}
.nav-links a:hover {
    color: var(--accent-cyan);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}
/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 5px;
}
.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}
/* Mobile Menu */
.mobile-nav {
    position: fixed;
    top: 70px;
    right: 0;
    background: var(--darker-bg);
    border-left: 1px solid var(--border-color);
    padding: 2rem;
    width: 250px;
    height: calc(100vh - 70px);
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 1001;
}
.mobile-nav.active {
    display: flex;
}
.mobile-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}
.mobile-nav a:hover {
    color: var(--accent-cyan);
}
/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-gradient);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    z-index: 2;
    position: relative;
}
.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--accent-cyan);
    border-radius: 50px;
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
    white-space: nowrap;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
}
.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
}
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}
.btn-secondary:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}
/* Section Styles */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}
.section-header-text {
    flex-grow: 1;
}
.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.section-subtitle {
    text-align: left;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 1.2rem;
}
/* About Section */
.about-profile-photo-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.about-profile-photo-placeholder:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: start;
}
.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}
.about-text h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.about-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}
.skills-grid-container {
    width: 100%;
}
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.skill-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}
.skill-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
}
.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.skill-item h4 {
    color: var(--text-primary);
    font-weight: 600;
}
.skill-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex-grow: 1;
}
.software-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    display: block;
}
/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.project-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-cyan);
}
.project-image {
    height: 200px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}
.project-content {
    padding: 2rem;
}
.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.project-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.tag {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-cyan);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}
/* Resource Section */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.resource-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.resource-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
}
.resource-status {
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.resource-status.completed {
    background: rgba(0, 200, 83, 0.2);
    color: var(--success-green);
}
.resource-status.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
}
/* Credentials Section */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.credential-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}
.credential-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
}
.credential-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.credential-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}
.credential-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.credential-status {
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.credential-status.completed {
    background: rgba(0, 200, 83, 0.2);
    color: var(--success-green);
}
.credential-status.in-progress {
    background: rgba(0, 229, 255, 0.2);
    color: var(--accent-cyan);
}
/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 3rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}
.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}
.social-links a:hover {
    color: var(--accent-cyan);
    transform: translateY(-2px);
}
/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger-menu { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .nav-left { gap: 0.5rem; }
    .credentials-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .about-buttons { justify-content: center; }
    .section-header { flex-direction: column; text-align: center; }
    .section-title, .section-subtitle { text-align: center; }
    .about-profile-photo-placeholder { margin-bottom: 2rem; }
    /* Asegurar que el badge sea visible en móviles */
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }
    .hero-description {
        font-size: 1rem;
        max-width: 90%;
    }
    .section {
        padding: 4rem 1.5rem;
    }
}
@media (max-width: 480px) {
    .skills-grid { grid-template-columns: 1fr; }
    .resource-grid { grid-template-columns: 1fr; }
    .credential-card { margin-bottom: 1.5rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    .cta-buttons {
        gap: 0.8rem;
    }
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}
/* Software learning modal styles */
.learning-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
    overflow-y: auto;
}
.learning-modal-content {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    max-width: 800px;
    width: 100%;
    border: 1px solid var(--border-color);
    max-height: 80vh;
    overflow-y: auto;
}
.learning-sections {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}
.learning-section h3 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}
.learning-section ul {
    list-style: none;
    padding: 0;
}
.learning-section li {
    background: var(--darker-bg);
    padding: 0.8rem 1.2rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-cyan);
    color: var(--text-secondary);
}
.software-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--darker-bg);
    padding: 0.8rem 1.2rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-cyan);
}
.software-item .btn-secondary {
    margin: 0;
}