/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00bfff; /* Azul claro para detalles/acento */
    --secondary-color: #22223b; /* Gris oscuro */
    --accent-color: #ffb347; /* Naranja suave para acentos */
    --text-primary: #f5f5f5; /* Texto principal blanco suave */
    --text-secondary: #bfc0c0; /* Texto secundario gris claro */
    --text-light: #a0aec0; /* Texto más claro */
    --bg-primary: #111217; /* Fondo principal negro profundo */
    --bg-secondary: #18181c; /* Fondo secundario gris oscuro */
    --bg-dark: #18181c;
    --gradient-primary: linear-gradient(135deg, #232526 0%, #414345 100%);
    --gradient-accent: linear-gradient(135deg, #00bfff 0%, #ffb347 100%);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.15);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.25);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.35);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(24, 24, 28, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid #232526;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #18181c 0%, #232526 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    display: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.greeting {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.hero-name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero-title {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #111217;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    background: var(--accent-color);
    color: #111217;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #111217;
}

.image-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.profile-img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: var(--shadow-heavy);
    position: relative;
    z-index: 2;
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.floating-icons i {
    position: absolute;
    font-size: 2rem;
    color: var(--primary-color);
    animation: float 3s ease-in-out infinite;
    background: white;
    padding: 12px;
    border-radius: 50%;
    box-shadow: var(--shadow-medium);
}

.floating-icons i:nth-child(1) {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.floating-icons i:nth-child(2) {
    bottom: 30%;
    left: 5%;
    animation-delay: 1s;
}

.floating-icons i:nth-child(3) {
    top: 60%;
    right: -5%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-indicator span {
    width: 2px;
    height: 40px;
    background: var(--gradient-primary);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 0; transform: translateY(-20px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(20px); }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: none;
    color: var(--primary-color);
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #18181c;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 500;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: #18181c;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.skill-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

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

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: #232526;
    color: var(--text-primary);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.skill-item:hover {
    background: var(--primary-color);
    color: #111217;
}

.skill-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.skill-item:hover i {
    color: white;
}

.skill-item span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Education Section */
.education {
    background: var(--bg-secondary);
}

.education-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: var(--shadow-medium);
}

.timeline-icon i {
    color: white;
    font-size: 1.5rem;
}

.timeline-content {
    width: 45%;
    background: #18181c;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-content h4 {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-date {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #18181c;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.project-image {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Opcional: fija una altura máxima para uniformidad */
    max-height: 220px;
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px; /* Opcional: bordes redondeados */
    max-height: 220px;  /* Igual que el contenedor para uniformidad */
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.project-link:hover {
    transform: scale(1.1);
    background: var(--accent-color);
    color: white;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    background: #232526;
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-light);
    transition: var(--transition);
    pointer-events: none;
    background: white;
    padding: 0 0.25rem;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    font-size: 0.85rem;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .profile-img {
        width: 250px;
        height: 250px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column !important;
    }
    
    .timeline-content {
        width: 100%;
        margin-left: 2rem;
    }
    
    .education-timeline::before {
        left: 30px;
    }
    
    .timeline-icon {
        left: 30px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-name {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .profile-img {
        width: 200px;
        height: 200px;
    }
}

.notebook {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    margin-top: 2rem;
}
.week-box {
    min-width: 320px;
    max-width: 340px;
    flex: 0 0 320px;
    background: #18181c;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    padding: 1.5rem 1.2rem 2rem 1.2rem;
    margin-bottom: 1.5rem;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    transition: box-shadow 0.3s;
}
.week-box img {
    width: 100%;
    max-width: 220px;
    border-radius: 12px;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.week-title {
    color: #00bfff;
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
    text-align: center;
    font-weight: 600;
}
.week-topics {
    color: #e0e0e0;
    font-size: 1rem;
    text-align: left;
    line-height: 1.6;
    margin-bottom: 0;
    white-space: pre-line;
}
.weeks-tabs {
    margin-bottom: 2rem;
    text-align: center;
}
.weeks-nav {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 1rem;
    justify-content: center;
}
.week-tab {
    cursor: pointer;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    background: #232526;
    color: var(--text-primary);
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}
.week-tab.active {
    background: var(--primary-color);
    color: #111217;
}
.week-table {
    display: none;
    animation: fadeIn 0.5s;
}
.week-table.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.week-table .project-content p {
    font-size: 1.15rem;    /* Puedes ajustar el tamaño según prefieras */
    font-weight: bold;
    color: #222;           /* Opcional: mejora el contraste */
    margin-top: 0.5em;
}
.weeks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.week-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: transform 0.2s;
    opacity: 0.95;
}

.week-card.active {
    opacity: 1;
    transform: scale(1.03);
    box-shadow: var(--shadow-medium);
}

.week-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.week-card-image img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-bottom: 1px solid #232526;
}

.week-card-body {
    padding: 1rem;
    flex: 1;
}

.week-card-body h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.week-card-body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Variables CSS para colores y efectos */
:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #1a1a1a;
    --accent-blue: #00d4ff;
    --accent-purple: #6366f1;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #6b7280;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #00d4ff 0%, #6366f1 100%);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
    --border-gradient: linear-gradient(90deg, #00d4ff, #6366f1, #00d4ff);
}

/* Estilos base del body para el tema oscuro */
body {
    background: var(--primary-dark);
    color: var(--text-primary);
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Sección de reflexión principal */
.reflection {
    background: var(--primary-dark);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.reflection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Header de la sección */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 30px auto;
    border-radius: 2px;
    position: relative;
}

.section-line::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -10px;
    right: -10px;
    bottom: -2px;
    background: var(--gradient-accent);
    border-radius: 4px;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

.section-header p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 20px;
}

/* Contenido principal de reflexión */
.reflection-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Texto de reflexión */
.reflection-text {
    background: var(--secondary-dark);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.reflection-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.reflection-intro h3 {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 25px;
    font-weight: 700;
}

.reflection-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Secciones internas */
.reflection-highlights,
.reflection-challenges,
.reflection-growth,
.reflection-future {
    margin-bottom: 40px;
}

.reflection-highlights h4,
.reflection-challenges h4,
.reflection-growth h4,
.reflection-future h4 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reflection-highlights h4 i {
    color: #fbbf24;
}

.reflection-challenges h4 i {
    color: #f87171;
}

.reflection-growth h4 i {
    color: #34d399;
}

.reflection-future h4 i {
    color: var(--accent-blue);
}

/* Lista de logros */
.achievements-list {
    list-style: none;
    padding: 0;
}

.achievements-list li {
    background: rgba(0, 212, 255, 0.05);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-blue);
    color: var(--text-secondary);
}

.achievements-list li strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 5px;
}

/* Próximos objetivos */
.next-goals {
    margin-top: 30px;
}

.next-goals h5 {
    color: var(--accent-blue);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.goal-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(99, 102, 241, 0.1);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.goal-item:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.goal-item i {
    color: var(--accent-purple);
    font-size: 1.2rem;
}

/* Cita de cierre */
.reflection-closing {
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(99, 102, 241, 0.1));
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.reflection-closing blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-secondary);
    margin: 0;
    position: relative;
}

.reflection-closing i {
    color: var(--accent-blue);
    font-size: 1.5rem;
    opacity: 0.7;
}

/* Sección visual */
.reflection-visual {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.reflection-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.reflection-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
}

.reflection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(99, 102, 241, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estadísticas circulares */
.reflection-stats {
    display: flex;
    gap: 20px;
}

.stat-circle {
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Timeline de evolución */
.journey-timeline {
    background: var(--secondary-dark);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.journey-timeline h4 {
    color: var(--accent-blue);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.mini-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-step {
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
    position: relative;
}

.timeline-step.active .step-dot {
    background: var(--accent-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.step-dot::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-step:last-child .step-dot::after {
    display: none;
}

.step-content {
    display: flex;
    flex-direction: column;
}

.step-content strong {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.step-content span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Animaciones */
@keyframes pulse {
    0%, 100% { transform: scaleX(1); opacity: 0.3; }
    50% { transform: scaleX(1.1); opacity: 0.6; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.6); }
}

/* Responsive Design */
@media (max-width: 968px) {
    .reflection-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .reflection-text {
        padding: 30px;
    }
    
    .goals-grid {
        grid-template-columns: 1fr;
    }
    
    .reflection-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 15px;
    }
    
    .reflection {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .reflection-text {
        padding: 25px;
    }
    
    .reflection-intro h3 {
        font-size: 1.5rem;
    }
    
    .stat-circle {
        width: 60px;
        height: 60px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
}